Skip to content

Bedrock  >  Operations  >  get_custom_model_deployment

get_custom_model_deployment

Operation

get_custom_model_deployment async

get_custom_model_deployment(input: GetCustomModelDeploymentInput, plugins: list[Plugin] | None = None) -> GetCustomModelDeploymentOutput

Retrieves information about a custom model deployment, including its status, configuration, and metadata. Use this operation to monitor the deployment status and retrieve details needed for inference requests.

The following actions are related to the GetCustomModelDeployment operation:

Parameters:

Name Type Description Default
input GetCustomModelDeploymentInput

An instance of GetCustomModelDeploymentInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetCustomModelDeploymentOutput

An instance of GetCustomModelDeploymentOutput.

Input

GetCustomModelDeploymentInput dataclass

Dataclass for GetCustomModelDeploymentInput structure.

Attributes

custom_model_deployment_identifier class-attribute instance-attribute
custom_model_deployment_identifier: str | None = None

The Amazon Resource Name (ARN) or name of the custom model deployment to retrieve information about.

Output

GetCustomModelDeploymentOutput dataclass

Dataclass for GetCustomModelDeploymentOutput structure.

Attributes

created_at instance-attribute
created_at: datetime

The date and time when the custom model deployment was created.

custom_model_deployment_arn instance-attribute
custom_model_deployment_arn: str

The Amazon Resource Name (ARN) of the custom model deployment.

description class-attribute instance-attribute
description: str | None = None

The description of the custom model deployment.

failure_message class-attribute instance-attribute
failure_message: str | None = None

If the deployment status is FAILED, this field contains a message describing the failure reason.

last_updated_at class-attribute instance-attribute
last_updated_at: datetime | None = None

The date and time when the custom model deployment was last updated.

model_arn instance-attribute
model_arn: str

The Amazon Resource Name (ARN) of the custom model associated with this deployment.

model_deployment_name instance-attribute
model_deployment_name: str

The name of the custom model deployment.

status instance-attribute

The status of the custom model deployment. Possible values are:

  • CREATING - The deployment is being set up and prepared for inference.

  • ACTIVE - The deployment is ready and available for inference requests.

  • FAILED - The deployment failed to be created or became unavailable.

update_details class-attribute instance-attribute
update_details: CustomModelDeploymentUpdateDetails | None = None

Details about any pending or completed updates to the custom model deployment, including the new model ARN and update status.