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 |
Returns details about an inference experiment.
Synopsis
- data DescribeInferenceExperiment = DescribeInferenceExperiment' {}
- newDescribeInferenceExperiment :: Text -> DescribeInferenceExperiment
- describeInferenceExperiment_name :: Lens' DescribeInferenceExperiment Text
- data DescribeInferenceExperimentResponse = DescribeInferenceExperimentResponse' {
- completionTime :: Maybe POSIX
- creationTime :: Maybe POSIX
- dataStorageConfig :: Maybe InferenceExperimentDataStorageConfig
- description :: Maybe Text
- kmsKey :: Maybe Text
- lastModifiedTime :: Maybe POSIX
- roleArn :: Maybe Text
- schedule :: Maybe InferenceExperimentSchedule
- shadowModeConfig :: Maybe ShadowModeConfig
- statusReason :: Maybe Text
- httpStatus :: Int
- arn :: Text
- name :: Text
- type' :: InferenceExperimentType
- status :: InferenceExperimentStatus
- endpointMetadata :: EndpointMetadata
- modelVariants :: [ModelVariantConfigSummary]
- newDescribeInferenceExperimentResponse :: Int -> Text -> Text -> InferenceExperimentType -> InferenceExperimentStatus -> EndpointMetadata -> DescribeInferenceExperimentResponse
- describeInferenceExperimentResponse_completionTime :: Lens' DescribeInferenceExperimentResponse (Maybe UTCTime)
- describeInferenceExperimentResponse_creationTime :: Lens' DescribeInferenceExperimentResponse (Maybe UTCTime)
- describeInferenceExperimentResponse_dataStorageConfig :: Lens' DescribeInferenceExperimentResponse (Maybe InferenceExperimentDataStorageConfig)
- describeInferenceExperimentResponse_description :: Lens' DescribeInferenceExperimentResponse (Maybe Text)
- describeInferenceExperimentResponse_kmsKey :: Lens' DescribeInferenceExperimentResponse (Maybe Text)
- describeInferenceExperimentResponse_lastModifiedTime :: Lens' DescribeInferenceExperimentResponse (Maybe UTCTime)
- describeInferenceExperimentResponse_roleArn :: Lens' DescribeInferenceExperimentResponse (Maybe Text)
- describeInferenceExperimentResponse_schedule :: Lens' DescribeInferenceExperimentResponse (Maybe InferenceExperimentSchedule)
- describeInferenceExperimentResponse_shadowModeConfig :: Lens' DescribeInferenceExperimentResponse (Maybe ShadowModeConfig)
- describeInferenceExperimentResponse_statusReason :: Lens' DescribeInferenceExperimentResponse (Maybe Text)
- describeInferenceExperimentResponse_httpStatus :: Lens' DescribeInferenceExperimentResponse Int
- describeInferenceExperimentResponse_arn :: Lens' DescribeInferenceExperimentResponse Text
- describeInferenceExperimentResponse_name :: Lens' DescribeInferenceExperimentResponse Text
- describeInferenceExperimentResponse_type :: Lens' DescribeInferenceExperimentResponse InferenceExperimentType
- describeInferenceExperimentResponse_status :: Lens' DescribeInferenceExperimentResponse InferenceExperimentStatus
- describeInferenceExperimentResponse_endpointMetadata :: Lens' DescribeInferenceExperimentResponse EndpointMetadata
- describeInferenceExperimentResponse_modelVariants :: Lens' DescribeInferenceExperimentResponse [ModelVariantConfigSummary]
Creating a Request
data DescribeInferenceExperiment Source #
See: newDescribeInferenceExperiment
smart constructor.
Instances
newDescribeInferenceExperiment Source #
Create a value of DescribeInferenceExperiment
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:
DescribeInferenceExperiment
, describeInferenceExperiment_name
- The name of the inference experiment to describe.
Request Lenses
describeInferenceExperiment_name :: Lens' DescribeInferenceExperiment Text Source #
The name of the inference experiment to describe.
Destructuring the Response
data DescribeInferenceExperimentResponse Source #
See: newDescribeInferenceExperimentResponse
smart constructor.
DescribeInferenceExperimentResponse' | |
|
Instances
newDescribeInferenceExperimentResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> InferenceExperimentType | |
-> InferenceExperimentStatus | |
-> EndpointMetadata | |
-> DescribeInferenceExperimentResponse |
Create a value of DescribeInferenceExperimentResponse
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:
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_completionTime
- The timestamp at which the inference experiment was completed.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_creationTime
- The timestamp at which you created the inference experiment.
$sel:dataStorageConfig:DescribeInferenceExperimentResponse'
, describeInferenceExperimentResponse_dataStorageConfig
- The Amazon S3 location and configuration for storing inference request
and response data.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_description
- The description of the inference experiment.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_kmsKey
- The Amazon Web Services Key Management Service (Amazon Web Services KMS)
key that Amazon SageMaker uses to encrypt data on the storage volume
attached to the ML compute instance that hosts the endpoint. For more
information, see CreateInferenceExperimentRequest$KmsKey.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_lastModifiedTime
- The timestamp at which you last modified the inference experiment.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_roleArn
- The ARN of the IAM role that Amazon SageMaker can assume to access model
artifacts and container images, and manage Amazon SageMaker Inference
endpoints for model deployment.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_schedule
- The duration for which the inference experiment ran or will run.
$sel:shadowModeConfig:DescribeInferenceExperimentResponse'
, describeInferenceExperimentResponse_shadowModeConfig
- The configuration of ShadowMode
inference experiment type, which shows
the production variant that takes all the inference requests, and the
shadow variant to which Amazon SageMaker replicates a percentage of the
inference requests. For the shadow variant it also shows the percentage
of requests that Amazon SageMaker replicates.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_statusReason
- The error message or client-specified Reason
from the
StopInferenceExperiment API, that explains the status of the inference
experiment.
$sel:httpStatus:DescribeInferenceExperimentResponse'
, describeInferenceExperimentResponse_httpStatus
- The response's http status code.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_arn
- The ARN of the inference experiment being described.
DescribeInferenceExperiment
, describeInferenceExperimentResponse_name
- The name of the inference experiment.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_type
- The type of the inference experiment.
DescribeInferenceExperimentResponse
, describeInferenceExperimentResponse_status
- The status of the inference experiment. The following are the possible
statuses for an inference experiment:
Creating
- Amazon SageMaker is creating your experiment.Created
- Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time.Updating
- When you make changes to your experiment, your experiment shows as updating.Starting
- Amazon SageMaker is beginning your experiment.Running
- Your experiment is in progress.Stopping
- Amazon SageMaker is stopping your experiment.Completed
- Your experiment has completed.Cancelled
- When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.
$sel:endpointMetadata:DescribeInferenceExperimentResponse'
, describeInferenceExperimentResponse_endpointMetadata
- The metadata of the endpoint on which the inference experiment ran.
$sel:modelVariants:DescribeInferenceExperimentResponse'
, describeInferenceExperimentResponse_modelVariants
- An array of ModelVariantConfigSummary
objects. There is one for each
variant in the inference experiment. Each ModelVariantConfigSummary
object in the array describes the infrastructure configuration for
deploying the corresponding variant.
Response Lenses
describeInferenceExperimentResponse_completionTime :: Lens' DescribeInferenceExperimentResponse (Maybe UTCTime) Source #
The timestamp at which the inference experiment was completed.
describeInferenceExperimentResponse_creationTime :: Lens' DescribeInferenceExperimentResponse (Maybe UTCTime) Source #
The timestamp at which you created the inference experiment.
describeInferenceExperimentResponse_dataStorageConfig :: Lens' DescribeInferenceExperimentResponse (Maybe InferenceExperimentDataStorageConfig) Source #
The Amazon S3 location and configuration for storing inference request and response data.
describeInferenceExperimentResponse_description :: Lens' DescribeInferenceExperimentResponse (Maybe Text) Source #
The description of the inference experiment.
describeInferenceExperimentResponse_kmsKey :: Lens' DescribeInferenceExperimentResponse (Maybe Text) Source #
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. For more information, see CreateInferenceExperimentRequest$KmsKey.
describeInferenceExperimentResponse_lastModifiedTime :: Lens' DescribeInferenceExperimentResponse (Maybe UTCTime) Source #
The timestamp at which you last modified the inference experiment.
describeInferenceExperimentResponse_roleArn :: Lens' DescribeInferenceExperimentResponse (Maybe Text) Source #
The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.
describeInferenceExperimentResponse_schedule :: Lens' DescribeInferenceExperimentResponse (Maybe InferenceExperimentSchedule) Source #
The duration for which the inference experiment ran or will run.
describeInferenceExperimentResponse_shadowModeConfig :: Lens' DescribeInferenceExperimentResponse (Maybe ShadowModeConfig) Source #
The configuration of ShadowMode
inference experiment type, which shows
the production variant that takes all the inference requests, and the
shadow variant to which Amazon SageMaker replicates a percentage of the
inference requests. For the shadow variant it also shows the percentage
of requests that Amazon SageMaker replicates.
describeInferenceExperimentResponse_statusReason :: Lens' DescribeInferenceExperimentResponse (Maybe Text) Source #
The error message or client-specified Reason
from the
StopInferenceExperiment API, that explains the status of the inference
experiment.
describeInferenceExperimentResponse_httpStatus :: Lens' DescribeInferenceExperimentResponse Int Source #
The response's http status code.
describeInferenceExperimentResponse_arn :: Lens' DescribeInferenceExperimentResponse Text Source #
The ARN of the inference experiment being described.
describeInferenceExperimentResponse_name :: Lens' DescribeInferenceExperimentResponse Text Source #
The name of the inference experiment.
describeInferenceExperimentResponse_type :: Lens' DescribeInferenceExperimentResponse InferenceExperimentType Source #
The type of the inference experiment.
describeInferenceExperimentResponse_status :: Lens' DescribeInferenceExperimentResponse InferenceExperimentStatus Source #
The status of the inference experiment. The following are the possible statuses for an inference experiment:
Creating
- Amazon SageMaker is creating your experiment.Created
- Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time.Updating
- When you make changes to your experiment, your experiment shows as updating.Starting
- Amazon SageMaker is beginning your experiment.Running
- Your experiment is in progress.Stopping
- Amazon SageMaker is stopping your experiment.Completed
- Your experiment has completed.Cancelled
- When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.
describeInferenceExperimentResponse_endpointMetadata :: Lens' DescribeInferenceExperimentResponse EndpointMetadata Source #
The metadata of the endpoint on which the inference experiment ran.
describeInferenceExperimentResponse_modelVariants :: Lens' DescribeInferenceExperimentResponse [ModelVariantConfigSummary] Source #
An array of ModelVariantConfigSummary
objects. There is one for each
variant in the inference experiment. Each ModelVariantConfigSummary
object in the array describes the infrastructure configuration for
deploying the corresponding variant.