Personalize / Paginator / ListMetricAttributions

ListMetricAttributions#

class Personalize.Paginator.ListMetricAttributions#
paginator = client.get_paginator('list_metric_attributions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Personalize.Client.list_metric_attributions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    datasetGroupArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • datasetGroupArn (string) – The metric attributions’ dataset group Amazon Resource Name (ARN).

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

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) –

      A token to resume pagination.