

# MemberAccountStatus
<a name="API_MemberAccountStatus"></a>

Organization Amazon Config rule creation or deletion status in each member account. This includes the name of the rule, the status, error code and error message when the rule creation or deletion failed.

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

 ** AccountId **   <a name="config-Type-MemberAccountStatus-AccountId"></a>
The 12-digit account ID of a member account.  
Type: String  
Pattern: `\d{12}`   
Required: Yes

 ** ConfigRuleName **   <a name="config-Type-MemberAccountStatus-ConfigRuleName"></a>
The name of Amazon Config rule deployed in the member account.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** MemberAccountRuleStatus **   <a name="config-Type-MemberAccountStatus-MemberAccountRuleStatus"></a>
Indicates deployment status for Amazon Config rule in the member account. When management account calls `PutOrganizationConfigRule` action for the first time, Amazon Config rule status is created in the member account. When management account calls `PutOrganizationConfigRule` action for the second time, Amazon Config rule status is updated in the member account. Amazon Config rule status is deleted when the management account deletes `OrganizationConfigRule` and disables service access for `config-multiaccountsetup.amazonaws.com`.   
 Amazon Config sets the state of the rule to:  
+  `CREATE_SUCCESSFUL` when Amazon Config rule has been created in the member account. 
+  `CREATE_IN_PROGRESS` when Amazon Config rule is being created in the member account.
+  `CREATE_FAILED` when Amazon Config rule creation has failed in the member account.
+  `DELETE_FAILED` when Amazon Config rule deletion has failed in the member account.
+  `DELETE_IN_PROGRESS` when Amazon Config rule is being deleted in the member account.
+  `DELETE_SUCCESSFUL` when Amazon Config rule has been deleted in the member account. 
+  `UPDATE_SUCCESSFUL` when Amazon Config rule has been updated in the member account.
+  `UPDATE_IN_PROGRESS` when Amazon Config rule is being updated in the member account.
+  `UPDATE_FAILED` when Amazon Config rule deletion has failed in the member account.
Type: String  
Valid Values: `CREATE_SUCCESSFUL | CREATE_IN_PROGRESS | CREATE_FAILED | DELETE_SUCCESSFUL | DELETE_FAILED | DELETE_IN_PROGRESS | UPDATE_SUCCESSFUL | UPDATE_IN_PROGRESS | UPDATE_FAILED`   
Required: Yes

 ** ErrorCode **   <a name="config-Type-MemberAccountStatus-ErrorCode"></a>
An error code that is returned when Amazon Config rule creation or deletion failed in the member account.  
Type: String  
Required: No

 ** ErrorMessage **   <a name="config-Type-MemberAccountStatus-ErrorMessage"></a>
An error message indicating that Amazon Config rule account creation or deletion has failed due to an error in the member account.  
Type: String  
Required: No

 ** LastUpdateTime **   <a name="config-Type-MemberAccountStatus-LastUpdateTime"></a>
The timestamp of the last status update.  
Type: Timestamp  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/config-2014-11-12/MemberAccountStatus) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/config-2014-11-12/MemberAccountStatus) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/config-2014-11-12/MemberAccountStatus) 