

# DescribeAlarmContributors
<a name="API_DescribeAlarmContributors"></a>

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.

## Request Syntax
<a name="API_DescribeAlarmContributors_RequestSyntax"></a>

```
{
   "AlarmName": "{{string}}",
   "NextToken": "{{string}}"
}
```

## Request Parameters
<a name="API_DescribeAlarmContributors_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [AlarmName](#API_DescribeAlarmContributors_RequestSyntax) **   <a name="ACW-DescribeAlarmContributors-request-AlarmName"></a>
The name of the alarm for which to retrieve contributor information.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

 ** [NextToken](#API_DescribeAlarmContributors_RequestSyntax) **   <a name="ACW-DescribeAlarmContributors-request-NextToken"></a>
The token returned by a previous call to indicate that there is more data available.  
Type: String  
Required: No

## Response Syntax
<a name="API_DescribeAlarmContributors_ResponseSyntax"></a>

```
{
   "AlarmContributors": [ 
      { 
         "ContributorAttributes": { 
            "string" : "string" 
         },
         "ContributorId": "string",
         "StateReason": "string",
         "StateTransitionedTimestamp": number
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_DescribeAlarmContributors_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [AlarmContributors](#API_DescribeAlarmContributors_ResponseSyntax) **   <a name="ACW-DescribeAlarmContributors-response-AlarmContributors"></a>
A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.  
Type: Array of [AlarmContributor](API_AlarmContributor.md) objects

 ** [NextToken](#API_DescribeAlarmContributors_ResponseSyntax) **   <a name="ACW-DescribeAlarmContributors-response-NextToken"></a>
The token that marks the start of the next batch of returned results.  
Type: String

## Errors
<a name="API_DescribeAlarmContributors_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidNextToken **   
The next token specified is invalid.    
 ** message **   

HTTP Status Code: 400

 ** ResourceNotFoundException **   
The named resource does not exist.  
HTTP Status Code: 404

## See Also
<a name="API_DescribeAlarmContributors_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/monitoring-2010-08-01/DescribeAlarmContributors) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/monitoring-2010-08-01/DescribeAlarmContributors) 
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/monitoring-2010-08-01/DescribeAlarmContributors) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/monitoring-2010-08-01/DescribeAlarmContributors) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/monitoring-2010-08-01/DescribeAlarmContributors) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/monitoring-2010-08-01/DescribeAlarmContributors) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/monitoring-2010-08-01/DescribeAlarmContributors) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/monitoring-2010-08-01/DescribeAlarmContributors) 
+  [Amazon SDK for Python (Boto3)](https://docs.amazonaws.cn/goto/boto3/monitoring-2010-08-01/DescribeAlarmContributors) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/monitoring-2010-08-01/DescribeAlarmContributors) 