Personalize.Client.
describe_metric_attribution
(**kwargs)¶Describes a metric attribution.
See also: AWS API Documentation
Request Syntax
response = client.describe_metric_attribution(
metricAttributionArn='string'
)
[REQUIRED]
The metric attribution's Amazon Resource Name (ARN).
{
'metricAttribution': {
'name': 'string',
'metricAttributionArn': 'string',
'datasetGroupArn': 'string',
'metricsOutputConfig': {
's3DataDestination': {
'path': 'string',
'kmsKeyArn': 'string'
},
'roleArn': 'string'
},
'status': 'string',
'creationDateTime': datetime(2015, 1, 1),
'lastUpdatedDateTime': datetime(2015, 1, 1),
'failureReason': 'string'
}
}
Response Structure
The details of the metric attribution.
The metric attribution's name.
The metric attribution's Amazon Resource Name (ARN).
The metric attribution's dataset group Amazon Resource Name (ARN).
The metric attribution's output configuration.
The configuration details of an Amazon S3 input or output bucket.
The file path of the Amazon S3 bucket.
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files.
The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket and add metrics to Amazon CloudWatch. For more information, see Measuring impact of recommendations.
The metric attribution's status.
The metric attribution's creation date time.
The metric attribution's last updated date time.
The metric attribution's failure reason.
Exceptions
Personalize.Client.exceptions.InvalidInputException
Personalize.Client.exceptions.ResourceNotFoundException