:doc:`Personalize <../../personalize>` / Client / list_metric_attributions

************************
list_metric_attributions
************************



.. py:method:: Personalize.Client.list_metric_attributions(**kwargs)

  

  Lists metric attributions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListMetricAttributions>`_  


  **Request Syntax**
  ::

    response = client.list_metric_attributions(
        datasetGroupArn='string',
        nextToken='string',
        maxResults=123
    )
    
  :type datasetGroupArn: string
  :param datasetGroupArn: 

    The metric attributions' dataset group Amazon Resource Name (ARN).

    

  
  :type nextToken: string
  :param nextToken: 

    Specify the pagination token from a previous request to retrieve the next page of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of metric attributions to return in one page of results.

    

  
  
  :rtype: 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 <https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeMetricAttribution.html>`__.

          
          

          - **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**
  
  *   :py:class:`Personalize.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Personalize.Client.exceptions.InvalidNextTokenException`

  