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 |
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.
UpdateInferenceExperiment' | |
|
Instances
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_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.
UpdateInferenceExperimentResponse' | |
|
Instances
Generic UpdateInferenceExperimentResponse Source # | |
Read UpdateInferenceExperimentResponse Source # | |
Show UpdateInferenceExperimentResponse Source # | |
NFData UpdateInferenceExperimentResponse Source # | |
Defined in Amazonka.SageMaker.UpdateInferenceExperiment rnf :: UpdateInferenceExperimentResponse -> () # | |
Eq UpdateInferenceExperimentResponse Source # | |
type Rep UpdateInferenceExperimentResponse Source # | |
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 #
:: 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.