:doc:`CloudWatch <../../cloudwatch>` / Client / describe_alarm_contributors

***************************
describe_alarm_contributors
***************************



.. py:method:: CloudWatch.Client.describe_alarm_contributors(**kwargs)

  

  Returns the information of the current alarm contributors that are in ``ALARM`` state. This operation returns details about the individual time series that contribute to the alarm's state.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmContributors>`_  


  **Request Syntax**
  ::

    response = client.describe_alarm_contributors(
        AlarmName='string',
        NextToken='string'
    )
    
  :type AlarmName: string
  :param AlarmName: **[REQUIRED]** 

    The name of the alarm for which to retrieve contributor information.

    

  
  :type NextToken: string
  :param NextToken: 

    The token returned by a previous call to indicate that there is more data available.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'AlarmContributors': [
              {
                  'ContributorId': 'string',
                  'ContributorAttributes': {
                      'string': 'string'
                  },
                  'StateReason': 'string',
                  'StateTransitionedTimestamp': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AlarmContributors** *(list) --* 

        A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.

        
        

        - *(dict) --* 

          Represents an individual contributor to a multi-timeseries alarm, containing information about a specific time series and its contribution to the alarm's state.

          
          

          - **ContributorId** *(string) --* 

            The unique identifier for this alarm contributor.

            
          

          - **ContributorAttributes** *(dict) --* 

            A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
          

          - **StateReason** *(string) --* 

            An explanation for the contributor's current state, providing context about why it is in its current condition.

            
          

          - **StateTransitionedTimestamp** *(datetime) --* 

            The timestamp when the contributor last transitioned to its current state.

            
      
    
      

      - **NextToken** *(string) --* 

        The token that marks the start of the next batch of returned results.

        
  
  **Exceptions**
  
  *   :py:class:`CloudWatch.Client.exceptions.InvalidNextToken`

  
  *   :py:class:`CloudWatch.Client.exceptions.ResourceNotFoundException`

  