

# StatusReason

Why AWS Context created or closed a change set or curation proposal. For example, when a connection is removed from an agent context, the change sets that record and remove its data and the proposals AWS Context archives carry `CONNECTION_REMOVED`, and `message` names the connection.

## Contents
<a name="API_StatusReason_Contents"></a>

 ** code **   <a name="context-Type-StatusReason-code"></a>
Why the change happened. AWS Context currently sets `CONNECTION_REMOVED`. Handle a value you don't recognize.  
Type: String  
Valid Values: `REQUEST_EXPIRED | CONNECTION_REMOVED`   
Required: Yes

 ** message **   <a name="context-Type-StatusReason-message"></a>
A human-readable description. Don't parse it.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: Yes

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/context-2022-07-26/StatusReason) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/StatusReason) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/StatusReason) 