Bedrock / Client / get_provisioned_model_throughput

get_provisioned_model_throughput#

Bedrock.Client.get_provisioned_model_throughput(**kwargs)#

Returns details for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.

See also: AWS API Documentation

Request Syntax

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

provisionedModelId (string) –

[REQUIRED]

The Amazon Resource Name (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 number of model units allocated to this Provisioned Throughput.

    • desiredModelUnits (integer) –

      The number of model units that was requested for this Provisioned Throughput.

    • provisionedModelName (string) –

      The name of the Provisioned Throughput.

    • provisionedModelArn (string) –

      The Amazon Resource Name (ARN) of the Provisioned Throughput.

    • modelArn (string) –

      The Amazon Resource Name (ARN) of the model associated with this Provisioned Throughput.

    • desiredModelArn (string) –

      The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput. This value differs from the modelArn if updating hasn’t completed.

    • foundationModelArn (string) –

      The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.

    • status (string) –

      The status of the Provisioned Throughput.

    • creationTime (datetime) –

      The timestamp of the creation time for this Provisioned Throughput.

    • lastModifiedTime (datetime) –

      The timestamp of the last time that this Provisioned Throughput was modified.

    • failureMessage (string) –

      A failure message for any issues that occurred during creation, updating, or deletion of the Provisioned Throughput.

    • commitmentDuration (string) –

      Commitment duration of the Provisioned Throughput.

    • commitmentExpirationTime (datetime) –

      The timestamp for when the commitment term for the Provisioned Throughput expires.

Exceptions