Bedrock / Client / get_custom_model_deployment

get_custom_model_deployment

Bedrock.Client.get_custom_model_deployment(**kwargs)

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:

See also: AWS API Documentation

Request Syntax

response = client.get_custom_model_deployment(
    customModelDeploymentIdentifier='string'
)
Parameters:

customModelDeploymentIdentifier (string) –

[REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{
    'customModelDeploymentArn': 'string',
    'modelDeploymentName': 'string',
    'modelArn': 'string',
    'createdAt': datetime(2015, 1, 1),
    'status': 'Creating'|'Active'|'Failed',
    'description': 'string',
    'failureMessage': 'string',
    'lastUpdatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • customModelDeploymentArn (string) –

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

    • modelDeploymentName (string) –

      The name of the custom model deployment.

    • modelArn (string) –

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

    • createdAt (datetime) –

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

    • status (string) –

      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.

    • description (string) –

      The description of the custom model deployment.

    • failureMessage (string) –

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

    • lastUpdatedAt (datetime) –

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

Exceptions

  • Bedrock.Client.exceptions.ResourceNotFoundException

  • Bedrock.Client.exceptions.AccessDeniedException

  • Bedrock.Client.exceptions.ValidationException

  • Bedrock.Client.exceptions.InternalServerException

  • Bedrock.Client.exceptions.ThrottlingException