Skip to content

DescribeInferenceExperimentResponse

Source code in docs_src/capo_sagemaker/types/describe_inference_experiment_response.py
class DescribeInferenceExperimentResponse(TypedDict, closed=True):
    arn: NotRequired[
        "capo_sagemaker.types.inference_experiment_arn.InferenceExperimentArn"
    ]
    """<p>The ARN of the inference experiment being described.</p>"""
    name: NotRequired[
        "capo_sagemaker.types.inference_experiment_name.InferenceExperimentName"
    ]
    """<p>The name of the inference experiment.</p>"""
    type: NotRequired[
        "capo_sagemaker.types.inference_experiment_type.InferenceExperimentType"
    ]
    """<p>The type of the inference experiment.</p>"""
    schedule: NotRequired[
        "capo_sagemaker.types.inference_experiment_schedule.InferenceExperimentSchedule"
    ]
    """<p>The duration for which the inference experiment ran or will run.</p>"""
    status: NotRequired[
        "capo_sagemaker.types.inference_experiment_status.InferenceExperimentStatus"
    ]
    """<p> The status of the inference experiment. The following are the possible statuses for an inference experiment: </p> <ul> <li> <p> <code>Creating</code> - Amazon SageMaker is creating your experiment. </p> </li> <li> <p> <code>Created</code> - Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time. </p> </li> <li> <p> <code>Updating</code> - When you make changes to your experiment, your experiment shows as updating. </p> </li> <li> <p> <code>Starting</code> - Amazon SageMaker is beginning your experiment. </p> </li> <li> <p> <code>Running</code> - Your experiment is in progress. </p> </li> <li> <p> <code>Stopping</code> - Amazon SageMaker is stopping your experiment. </p> </li> <li> <p> <code>Completed</code> - Your experiment has completed. </p> </li> <li> <p> <code>Cancelled</code> - When you conclude your experiment early using the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StopInferenceExperiment.html">StopInferenceExperiment</a> API, or if any operation fails with an unexpected error, it shows as cancelled. </p> </li> </ul>"""
    status_reason: NotRequired[
        "capo_sagemaker.types.inference_experiment_status_reason.InferenceExperimentStatusReason"
    ]
    """<p> The error message or client-specified <code>Reason</code> from the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StopInferenceExperiment.html">StopInferenceExperiment</a> API, that explains the status of the inference experiment. </p>"""
    description: NotRequired[
        "capo_sagemaker.types.inference_experiment_description.InferenceExperimentDescription"
    ]
    """<p>The description of the inference experiment.</p>"""
    creation_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>The timestamp at which you created the inference experiment.</p>"""
    completion_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p> The timestamp at which the inference experiment was completed. </p>"""
    last_modified_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>The timestamp at which you last modified the inference experiment.</p>"""
    role_arn: NotRequired["capo_sagemaker.types.role_arn.RoleArn"]
    """<p> 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. </p>"""
    endpoint_metadata: NotRequired[
        "capo_sagemaker.types.endpoint_metadata.EndpointMetadata"
    ]
    """<p>The metadata of the endpoint on which the inference experiment ran.</p>"""
    model_variants: NotRequired[
        "capo_sagemaker.types.model_variant_config_summary_list.ModelVariantConfigSummaryList"
    ]
    """<p> An array of <code>ModelVariantConfigSummary</code> objects. There is one for each variant in the inference experiment. Each <code>ModelVariantConfigSummary</code> object in the array describes the infrastructure configuration for deploying the corresponding variant. </p>"""
    data_storage_config: NotRequired[
        "capo_sagemaker.types.inference_experiment_data_storage_config.InferenceExperimentDataStorageConfig"
    ]
    """<p>The Amazon S3 location and configuration for storing inference request and response data.</p>"""
    shadow_mode_config: NotRequired[
        "capo_sagemaker.types.shadow_mode_config.ShadowModeConfig"
    ]
    """<p> The configuration of <code>ShadowMode</code> 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. </p>"""
    kms_key: NotRequired["capo_sagemaker.types.kms_key_id.KmsKeyId"]
    """<p> 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 <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateInferenceExperiment.html">CreateInferenceExperiment</a>. </p>"""

arn instance-attribute

arn: NotRequired[InferenceExperimentArn]

The ARN of the inference experiment being described.

completion_time instance-attribute

completion_time: NotRequired[Timestamp]

The timestamp at which the inference experiment was completed.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

The timestamp at which you created the inference experiment.

data_storage_config instance-attribute

data_storage_config: NotRequired[InferenceExperimentDataStorageConfig]

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

description instance-attribute

description: NotRequired[InferenceExperimentDescription]

The description of the inference experiment.

endpoint_metadata instance-attribute

endpoint_metadata: NotRequired[EndpointMetadata]

The metadata of the endpoint on which the inference experiment ran.

kms_key instance-attribute

kms_key: NotRequired[KmsKeyId]

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 CreateInferenceExperiment.

last_modified_time instance-attribute

last_modified_time: NotRequired[Timestamp]

The timestamp at which you last modified the inference experiment.

model_variants instance-attribute

model_variants: NotRequired[ModelVariantConfigSummaryList]

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.

name instance-attribute

name: NotRequired[InferenceExperimentName]

The name of the inference experiment.

role_arn instance-attribute

role_arn: NotRequired[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.

schedule instance-attribute

schedule: NotRequired[InferenceExperimentSchedule]

The duration for which the inference experiment ran or will run.

shadow_mode_config instance-attribute

shadow_mode_config: NotRequired[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.

status instance-attribute

status: NotRequired[InferenceExperimentStatus]

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.

status_reason instance-attribute

status_reason: NotRequired[InferenceExperimentStatusReason]

The error message or client-specified Reason from the StopInferenceExperiment API, that explains the status of the inference experiment.

type instance-attribute

type: NotRequired[InferenceExperimentType]

The type of the inference experiment.