| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
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
- data UpdateInferenceExperiment = UpdateInferenceExperiment' {}
 - newUpdateInferenceExperiment :: Text -> UpdateInferenceExperiment
 - updateInferenceExperiment_dataStorageConfig :: Lens' UpdateInferenceExperiment (Maybe InferenceExperimentDataStorageConfig)
 - updateInferenceExperiment_description :: Lens' UpdateInferenceExperiment (Maybe Text)
 - updateInferenceExperiment_modelVariants :: Lens' UpdateInferenceExperiment (Maybe (NonEmpty ModelVariantConfig))
 - updateInferenceExperiment_schedule :: Lens' UpdateInferenceExperiment (Maybe InferenceExperimentSchedule)
 - updateInferenceExperiment_shadowModeConfig :: Lens' UpdateInferenceExperiment (Maybe ShadowModeConfig)
 - updateInferenceExperiment_name :: Lens' UpdateInferenceExperiment Text
 - data UpdateInferenceExperimentResponse = UpdateInferenceExperimentResponse' {}
 - newUpdateInferenceExperimentResponse :: Int -> Text -> UpdateInferenceExperimentResponse
 - updateInferenceExperimentResponse_httpStatus :: Lens' UpdateInferenceExperimentResponse Int
 - updateInferenceExperimentResponse_inferenceExperimentArn :: Lens' UpdateInferenceExperimentResponse Text
 
Creating a Request
data UpdateInferenceExperiment Source #
See: newUpdateInferenceExperiment smart constructor.
Constructors
| UpdateInferenceExperiment' | |
Fields 
  | |
Instances
newUpdateInferenceExperiment Source #
Arguments
| :: Text | |
| -> UpdateInferenceExperiment | 
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_description :: Lens' UpdateInferenceExperiment (Maybe Text) Source #
The description of the inference experiment.
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
newUpdateInferenceExperimentResponse Source #
Arguments
| :: Int | |
| -> Text | 
  | 
| -> UpdateInferenceExperimentResponse | 
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
updateInferenceExperimentResponse_httpStatus :: Lens' UpdateInferenceExperimentResponse Int Source #
The response's http status code.
updateInferenceExperimentResponse_inferenceExperimentArn :: Lens' UpdateInferenceExperimentResponse Text Source #
The ARN of the updated inference experiment.