Bedrock / Client / get_inference_profile
get_inference_profile#
- Bedrock.Client.get_inference_profile(**kwargs)#
Gets information about an inference profile. For more information, see the Amazon Bedrock User Guide.
See also: AWS API Documentation
Request Syntax
response = client.get_inference_profile( inferenceProfileIdentifier='string' )
- Parameters:
inferenceProfileIdentifier (string) –
[REQUIRED]
The unique identifier of the inference profile.
- Return type:
dict
- Returns:
Response Syntax
{ 'inferenceProfileName': 'string', 'models': [ { 'modelArn': 'string' }, ], 'description': 'string', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'inferenceProfileArn': 'string', 'inferenceProfileId': 'string', 'status': 'ACTIVE', 'type': 'SYSTEM_DEFINED' }
Response Structure
(dict) –
inferenceProfileName (string) –
The name of the inference profile.
models (list) –
A list of information about each model in the inference profile.
(dict) –
Contains information about a model.
modelArn (string) –
The Amazon Resource Name (ARN) of the model.
description (string) –
The description of the inference profile.
createdAt (datetime) –
The time at which the inference profile was created.
updatedAt (datetime) –
The time at which the inference profile was last updated.
inferenceProfileArn (string) –
The Amazon Resource Name (ARN) of the inference profile.
inferenceProfileId (string) –
The unique identifier of the inference profile.
status (string) –
The status of the inference profile.
ACTIVE
means that the inference profile is available to use.type (string) –
The type of the inference profile.
SYSTEM_DEFINED
means that the inference profile is defined by Amazon Bedrock.
Exceptions
Bedrock.Client.exceptions.ResourceNotFoundException
Bedrock.Client.exceptions.AccessDeniedException
Bedrock.Client.exceptions.ValidationException
Bedrock.Client.exceptions.InternalServerException
Bedrock.Client.exceptions.ThrottlingException