

# DescribeChangeSetHooks
<a name="API_DescribeChangeSetHooks"></a>

Returns Hook-related information for the change set and a list of changes that CloudFormation makes when you run the change set.

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

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

 ** ChangeSetName **   
The name or Amazon Resource Name (ARN) of the change set that you want to describe.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `[a-zA-Z][-a-zA-Z0-9]*|arn:[-a-zA-Z0-9:/]*`   
Required: Yes

 ** LogicalResourceId **   
If specified, lists only the Hooks related to the specified `LogicalResourceId`.  
Type: String  
Required: No

 ** NextToken **   
The token for the next set of items to return. (You received this token from a previous call.)  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: No

 ** StackName **   
If you specified the name of a change set, specify the stack name or stack ID (ARN) of the change set you want to describe.  
Type: String  
Length Constraints: Minimum length of 1.  
Pattern: `([a-zA-Z][-a-zA-Z0-9]*)|(arn:\b(aws|aws-us-gov|aws-cn)\b:[-a-zA-Z0-9:/._+]*)`   
Required: No

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

The following elements are returned by the service.

 ** ChangeSetId **   
The change set identifier (stack ID).  
Type: String  
Length Constraints: Minimum length of 1.  
Pattern: `arn:[-a-zA-Z0-9:/]*` 

 ** ChangeSetName **   
The change set name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[a-zA-Z][-a-zA-Z0-9]*` 

 **Hooks.member.N**   
List of Hook objects.  
Type: Array of [ChangeSetHook](API_ChangeSetHook.md) objects

 ** NextToken **   
Pagination token, `null` or empty if no more results.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** StackId **   
The stack identifier (stack ID).  
Type: String

 ** StackName **   
The stack name.  
Type: String

 ** Status **   
Provides the status of the change set Hook.  
Type: String  
Valid Values: `PLANNING | PLANNED | UNAVAILABLE` 

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

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

 ** ChangeSetNotFound **   
The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the `ListChangeSets` operation.  
HTTP Status Code: 404

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/cloudformation-2010-05-15/DescribeChangeSetHooks) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/cloudformation-2010-05-15/DescribeChangeSetHooks) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/cloudformation-2010-05-15/DescribeChangeSetHooks) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/cloudformation-2010-05-15/DescribeChangeSetHooks) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudformation-2010-05-15/DescribeChangeSetHooks) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/cloudformation-2010-05-15/DescribeChangeSetHooks) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/cloudformation-2010-05-15/DescribeChangeSetHooks) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/cloudformation-2010-05-15/DescribeChangeSetHooks) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/cloudformation-2010-05-15/DescribeChangeSetHooks) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudformation-2010-05-15/DescribeChangeSetHooks) 