Bedrock / Client / get_model_copy_job
get_model_copy_job#
- Bedrock.Client.get_model_copy_job(**kwargs)#
- Retrieves information about a model copy job. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide. - See also: AWS API Documentation - Request Syntax- response = client.get_model_copy_job( jobArn='string' ) - Parameters:
- jobArn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the model copy job. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'jobArn': 'string', 'status': 'InProgress'|'Completed'|'Failed', 'creationTime': datetime(2015, 1, 1), 'targetModelArn': 'string', 'targetModelName': 'string', 'sourceAccountId': 'string', 'sourceModelArn': 'string', 'targetModelKmsKeyArn': 'string', 'targetModelTags': [ { 'key': 'string', 'value': 'string' }, ], 'failureMessage': 'string', 'sourceModelName': 'string' } - Response Structure- (dict) – - jobArn (string) – - The Amazon Resource Name (ARN) of the model copy job. 
- status (string) – - The status of the model copy job. 
- creationTime (datetime) – - The time at which the model copy job was created. 
- targetModelArn (string) – - The Amazon Resource Name (ARN) of the copied model. 
- targetModelName (string) – - The name of the copied model. 
- sourceAccountId (string) – - The unique identifier of the account that the model being copied originated from. 
- sourceModelArn (string) – - The Amazon Resource Name (ARN) of the original model being copied. 
- targetModelKmsKeyArn (string) – - The Amazon Resource Name (ARN) of the KMS key encrypting the copied model. 
- targetModelTags (list) – - The tags associated with the copied model. - (dict) – - Definition of the key/value pair for a tag. - key (string) – - Key for the tag. 
- value (string) – - Value for the tag. 
 
 
- failureMessage (string) – - An error message for why the model copy job failed. 
- sourceModelName (string) – - The name of the original model being copied. 
 
 
 - Exceptions- Bedrock.Client.exceptions.ResourceNotFoundException
- Bedrock.Client.exceptions.AccessDeniedException
- Bedrock.Client.exceptions.ValidationException
- Bedrock.Client.exceptions.InternalServerException
- Bedrock.Client.exceptions.ThrottlingException