Bedrock / Client / get_provisioned_model_throughput

get_provisioned_model_throughput#

Bedrock.Client.get_provisioned_model_throughput(**kwargs)#

Get details for a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.

See also: AWS API Documentation

Request Syntax

response = client.get_provisioned_model_throughput(
    provisionedModelId='string'
)
Parameters:

provisionedModelId (string) –

[REQUIRED]

The ARN or name of the provisioned throughput.

Return type:

dict

Returns:

Response Syntax

{
    'modelUnits': 123,
    'desiredModelUnits': 123,
    'provisionedModelName': 'string',
    'provisionedModelArn': 'string',
    'modelArn': 'string',
    'desiredModelArn': 'string',
    'foundationModelArn': 'string',
    'status': 'Creating'|'InService'|'Updating'|'Failed',
    'creationTime': datetime(2015, 1, 1),
    'lastModifiedTime': datetime(2015, 1, 1),
    'failureMessage': 'string',
    'commitmentDuration': 'OneMonth'|'SixMonths',
    'commitmentExpirationTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • modelUnits (integer) –

      The current number of model units requested to be available for this provisioned throughput.

    • desiredModelUnits (integer) –

      The desired number of model units that was requested to be available for this provisioned throughput.

    • provisionedModelName (string) –

      The name of the provisioned throughput.

    • provisionedModelArn (string) –

      The ARN of the provisioned throughput.

    • modelArn (string) –

      The ARN or name of the model associated with this provisioned throughput.

    • desiredModelArn (string) –

      The ARN of the new model to asssociate with this provisioned throughput.

    • foundationModelArn (string) –

      ARN of the foundation model.

    • status (string) –

      Status of the provisioned throughput.

    • creationTime (datetime) –

      The timestamp of the creation time for this provisioned throughput.

    • lastModifiedTime (datetime) –

      The timestamp of the last modified time of this provisioned throughput.

    • failureMessage (string) –

      Failure message for any issues that the create operation encounters.

    • commitmentDuration (string) –

      Commitment duration of the provisioned throughput.

    • commitmentExpirationTime (datetime) –

      Commitment expiration time for the provisioned throughput.

Exceptions

  • Bedrock.Client.exceptions.ResourceNotFoundException

  • Bedrock.Client.exceptions.AccessDeniedException

  • Bedrock.Client.exceptions.ValidationException

  • Bedrock.Client.exceptions.InternalServerException

  • Bedrock.Client.exceptions.ThrottlingException