amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.UpdateInferenceExperiment

Description

Updates an inference experiment that you created. The status of the inference experiment has to be either Created, Running. For more information on the status of an inference experiment, see DescribeInferenceExperimentResponse$Status.

Synopsis

Creating a Request

data UpdateInferenceExperiment Source #

See: newUpdateInferenceExperiment smart constructor.

Constructors

UpdateInferenceExperiment' 

Fields

  • dataStorageConfig :: Maybe InferenceExperimentDataStorageConfig

    The Amazon S3 location and configuration for storing inference request and response data.

  • description :: Maybe Text

    The description of the inference experiment.

  • modelVariants :: Maybe (NonEmpty ModelVariantConfig)

    An array of ModelVariantConfig objects. There is one for each variant, whose infrastructure configuration you want to update.

  • schedule :: Maybe InferenceExperimentSchedule

    The duration for which the inference experiment will run. If the status of the inference experiment is Created, then you can update both the start and end dates. If the status of the inference experiment is Running, then you can update only the end date.

  • shadowModeConfig :: Maybe ShadowModeConfig

    The configuration of ShadowMode inference experiment type. Use this field to specify a production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant also specify the percentage of requests that Amazon SageMaker replicates.

  • name :: Text

    The name of the inference experiment to be updated.

Instances

Instances details
ToJSON UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

ToHeaders UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

ToPath UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

ToQuery UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

AWSRequest UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

Generic UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

Associated Types

type Rep UpdateInferenceExperiment :: Type -> Type #

Read UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

Show UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

NFData UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

Eq UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

Hashable UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

type AWSResponse UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

type Rep UpdateInferenceExperiment Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

newUpdateInferenceExperiment Source #

Create a value of UpdateInferenceExperiment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataStorageConfig:UpdateInferenceExperiment', updateInferenceExperiment_dataStorageConfig - The Amazon S3 location and configuration for storing inference request and response data.

UpdateInferenceExperiment, updateInferenceExperiment_description - The description of the inference experiment.

$sel:modelVariants:UpdateInferenceExperiment', updateInferenceExperiment_modelVariants - An array of ModelVariantConfig objects. There is one for each variant, whose infrastructure configuration you want to update.

UpdateInferenceExperiment, updateInferenceExperiment_schedule - The duration for which the inference experiment will run. If the status of the inference experiment is Created, then you can update both the start and end dates. If the status of the inference experiment is Running, then you can update only the end date.

$sel:shadowModeConfig:UpdateInferenceExperiment', updateInferenceExperiment_shadowModeConfig - The configuration of ShadowMode inference experiment type. Use this field to specify a production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant also specify the percentage of requests that Amazon SageMaker replicates.

UpdateInferenceExperiment, updateInferenceExperiment_name - The name of the inference experiment to be updated.

Request Lenses

updateInferenceExperiment_dataStorageConfig :: Lens' UpdateInferenceExperiment (Maybe InferenceExperimentDataStorageConfig) Source #

The Amazon S3 location and configuration for storing inference request and response data.

updateInferenceExperiment_modelVariants :: Lens' UpdateInferenceExperiment (Maybe (NonEmpty ModelVariantConfig)) Source #

An array of ModelVariantConfig objects. There is one for each variant, whose infrastructure configuration you want to update.

updateInferenceExperiment_schedule :: Lens' UpdateInferenceExperiment (Maybe InferenceExperimentSchedule) Source #

The duration for which the inference experiment will run. If the status of the inference experiment is Created, then you can update both the start and end dates. If the status of the inference experiment is Running, then you can update only the end date.

updateInferenceExperiment_shadowModeConfig :: Lens' UpdateInferenceExperiment (Maybe ShadowModeConfig) Source #

The configuration of ShadowMode inference experiment type. Use this field to specify a production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant also specify the percentage of requests that Amazon SageMaker replicates.

updateInferenceExperiment_name :: Lens' UpdateInferenceExperiment Text Source #

The name of the inference experiment to be updated.

Destructuring the Response

data UpdateInferenceExperimentResponse Source #

See: newUpdateInferenceExperimentResponse smart constructor.

Constructors

UpdateInferenceExperimentResponse' 

Fields

Instances

Instances details
Generic UpdateInferenceExperimentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

Associated Types

type Rep UpdateInferenceExperimentResponse :: Type -> Type #

Read UpdateInferenceExperimentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

Show UpdateInferenceExperimentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

NFData UpdateInferenceExperimentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

Eq UpdateInferenceExperimentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

type Rep UpdateInferenceExperimentResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateInferenceExperiment

type Rep UpdateInferenceExperimentResponse = D1 ('MetaData "UpdateInferenceExperimentResponse" "Amazonka.SageMaker.UpdateInferenceExperiment" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "UpdateInferenceExperimentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "inferenceExperimentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateInferenceExperimentResponse Source #

Create a value of UpdateInferenceExperimentResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateInferenceExperimentResponse', updateInferenceExperimentResponse_httpStatus - The response's http status code.

$sel:inferenceExperimentArn:UpdateInferenceExperimentResponse', updateInferenceExperimentResponse_inferenceExperimentArn - The ARN of the updated inference experiment.

Response Lenses