Bedrock / Client / get_imported_model
get_imported_model#
- Bedrock.Client.get_imported_model(**kwargs)#
Gets properties associated with a customized model you imported.
See also: AWS API Documentation
Request Syntax
response = client.get_imported_model( modelIdentifier='string' )
- Parameters:
modelIdentifier (string) –
[REQUIRED]
Name or Amazon Resource Name (ARN) of the imported model.
- Return type:
dict
- Returns:
Response Syntax
{ 'modelArn': 'string', 'modelName': 'string', 'jobName': 'string', 'jobArn': 'string', 'modelDataSource': { 's3DataSource': { 's3Uri': 'string' } }, 'creationTime': datetime(2015, 1, 1), 'modelArchitecture': 'string', 'modelKmsKeyArn': 'string', 'instructSupported': True|False }
Response Structure
(dict) –
modelArn (string) –
The Amazon Resource Name (ARN) associated with this imported model.
modelName (string) –
The name of the imported model.
jobName (string) –
Job name associated with the imported model.
jobArn (string) –
Job Amazon Resource Name (ARN) associated with the imported model.
modelDataSource (dict) –
The data source for this imported model.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
s3DataSource
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
s3DataSource (dict) –
The Amazon S3 data source of the imported model.
s3Uri (string) –
The URI of the Amazon S3 data source.
creationTime (datetime) –
Creation time of the imported model.
modelArchitecture (string) –
The architecture of the imported model.
modelKmsKeyArn (string) –
The imported model is encrypted at rest using this key.
instructSupported (boolean) –
Specifies if the imported model supports converse.
Exceptions
Bedrock.Client.exceptions.ResourceNotFoundException
Bedrock.Client.exceptions.AccessDeniedException
Bedrock.Client.exceptions.ValidationException
Bedrock.Client.exceptions.InternalServerException
Bedrock.Client.exceptions.ThrottlingException