Personalize / Client / list_metric_attributions
list_metric_attributions#
- Personalize.Client.list_metric_attributions(**kwargs)#
Lists metric attributions.
See also: AWS API Documentation
Request Syntax
response = client.list_metric_attributions( datasetGroupArn='string', nextToken='string', maxResults=123 )
- Parameters:
datasetGroupArn (string) – The metric attributions’ dataset group Amazon Resource Name (ARN).
nextToken (string) – Specify the pagination token from a previous request to retrieve the next page of results.
maxResults (integer) – The maximum number of metric attributions to return in one page of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'metricAttributions': [ { 'name': 'string', 'metricAttributionArn': 'string', 'status': 'string', 'creationDateTime': datetime(2015, 1, 1), 'lastUpdatedDateTime': datetime(2015, 1, 1), 'failureReason': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
metricAttributions (list) –
The list of metric attributions.
(dict) –
Provides a summary of the properties of a metric attribution. For a complete listing, call the DescribeMetricAttribution.
name (string) –
The name of the metric attribution.
metricAttributionArn (string) –
The metric attribution’s Amazon Resource Name (ARN).
status (string) –
The metric attribution’s status.
creationDateTime (datetime) –
The metric attribution’s creation date time.
lastUpdatedDateTime (datetime) –
The metric attribution’s last updated date time.
failureReason (string) –
The metric attribution’s failure reason.
nextToken (string) –
Specify the pagination token from a previous request to retrieve the next page of results.
Exceptions