

# ImageStateChangeReason
<a name="API_ImageStateChangeReason"></a>

Describes the reason why the last image state change occurred.

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

 ** Code **   <a name="WorkSpacesApplications-Type-ImageStateChangeReason-Code"></a>
The state change reason code.  
Type: String  
Valid Values: `INTERNAL_ERROR | IMAGE_BUILDER_NOT_AVAILABLE | IMAGE_COPY_FAILURE | IMAGE_UPDATE_FAILURE | IMAGE_IMPORT_FAILURE`   
Required: No

 ** Message **   <a name="WorkSpacesApplications-Type-ImageStateChangeReason-Message"></a>
The state change reason message.  
Type: String  
Length Constraints: Minimum length of 1.  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/appstream-2016-12-01/ImageStateChangeReason) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appstream-2016-12-01/ImageStateChangeReason) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appstream-2016-12-01/ImageStateChangeReason) 