CleanRoomsML / Client / get_configured_model_algorithm
get_configured_model_algorithm#
- CleanRoomsML.Client.get_configured_model_algorithm(**kwargs)#
Returns information about a configured model algorithm.
See also: AWS API Documentation
Request Syntax
response = client.get_configured_model_algorithm( configuredModelAlgorithmArn='string' )
- Parameters:
configuredModelAlgorithmArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the configured model algorithm that you want to return information about.
- Return type:
dict
- Returns:
Response Syntax
{ 'createTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1), 'configuredModelAlgorithmArn': 'string', 'name': 'string', 'trainingContainerConfig': { 'imageUri': 'string', 'entrypoint': [ 'string', ], 'arguments': [ 'string', ], 'metricDefinitions': [ { 'name': 'string', 'regex': 'string' }, ] }, 'inferenceContainerConfig': { 'imageUri': 'string' }, 'roleArn': 'string', 'description': 'string', 'tags': { 'string': 'string' }, 'kmsKeyArn': 'string' }
Response Structure
(dict) –
createTime (datetime) –
The time at which the configured model algorithm was created.
updateTime (datetime) –
The most recent time at which the configured model algorithm was updated.
configuredModelAlgorithmArn (string) –
The Amazon Resource Name (ARN) of the configured model algorithm.
name (string) –
The name of the configured model algorithm.
trainingContainerConfig (dict) –
The configuration information of the training container for the configured model algorithm.
imageUri (string) –
The registry path of the docker image that contains the algorithm. Clean Rooms ML supports both
registry/repository[:tag]
andregistry/repositry[@digest]
image path formats. For more information about using images in Clean Rooms ML, see the Sagemaker API reference.entrypoint (list) –
The entrypoint script for a Docker container used to run a training job. This script takes precedence over the default train processing instructions. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.
(string) –
arguments (list) –
The arguments for a container used to run a training job. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.
(string) –
metricDefinitions (list) –
A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse algorithm logs. Amazon Web Services Clean Rooms ML publishes each metric to all members’ Amazon CloudWatch using IAM role configured in PutMLConfiguration.
(dict) –
Information about the model metric that is reported for a trained model.
name (string) –
The name of the model metric.
regex (string) –
The regular expression statement that defines how the model metric is reported.
inferenceContainerConfig (dict) –
Configuration information for the inference container.
imageUri (string) –
The registry path of the docker image that contains the inference algorithm. Clean Rooms ML supports both
registry/repository[:tag]
andregistry/repositry[@digest]
image path formats. For more information about using images in Clean Rooms ML, see the Sagemaker API reference.
roleArn (string) –
The Amazon Resource Name (ARN) of the service role that was used to create the configured model algorithm.
description (string) –
The description of the configured model algorithm.
tags (dict) –
The optional metadata that you applied to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50.
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8.
Maximum value length - 256 Unicode characters in UTF-8.
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case sensitive.
Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
(string) –
(string) –
kmsKeyArn (string) –
The Amazon Resource Name (ARN) of the KMS key. This key is used to encrypt and decrypt customer-owned data in the configured ML model and associated data.
Exceptions
CleanRoomsML.Client.exceptions.ValidationException
CleanRoomsML.Client.exceptions.AccessDeniedException
CleanRoomsML.Client.exceptions.ResourceNotFoundException