2019/07/17 - AWS Config - 2 updated api methods
Changes This release adds more granularity to the status of an OrganizationConfigRule by adding a new status. It also adds an exception when organization access is denied.
{'OrganizationConfigRuleStatuses': {'OrganizationRuleStatus': ['UPDATE_FAILED', 'UPDATE_SUCCESSFUL', 'UPDATE_IN_PROGRESS']}}
See also: AWS API Documentation
Request Syntax
client.describe_organization_config_rule_statuses( OrganizationConfigRuleNames=[ 'string', ], Limit=123, NextToken='string' )
list
(string) --
integer
string
dict
Response Syntax
{ 'OrganizationConfigRuleStatuses': [ { 'OrganizationConfigRuleName': 'string', 'OrganizationRuleStatus': 'CREATE_SUCCESSFUL'|'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_SUCCESSFUL'|'UPDATE_FAILED'|'UPDATE_IN_PROGRESS'|'DELETE_SUCCESSFUL'|'DELETE_FAILED'|'DELETE_IN_PROGRESS', 'ErrorCode': 'string', 'ErrorMessage': 'string', 'LastUpdateTime': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) --
OrganizationConfigRuleStatuses (list) --
(dict) --
OrganizationConfigRuleName (string) --
OrganizationRuleStatus (string) --
ErrorCode (string) --
ErrorMessage (string) --
LastUpdateTime (datetime) --
NextToken (string) --
{'Filters': {'MemberAccountRuleStatus': ['UPDATE_FAILED', 'UPDATE_SUCCESSFUL', 'UPDATE_IN_PROGRESS']}}Response
{'OrganizationConfigRuleDetailedStatus': {'MemberAccountRuleStatus': ['UPDATE_FAILED', 'UPDATE_SUCCESSFUL', 'UPDATE_IN_PROGRESS']}}
See also: AWS API Documentation
Request Syntax
client.get_organization_config_rule_detailed_status( OrganizationConfigRuleName='string', Filters={ 'AccountId': 'string', 'MemberAccountRuleStatus': 'CREATE_SUCCESSFUL'|'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_SUCCESSFUL'|'UPDATE_FAILED'|'UPDATE_IN_PROGRESS'|'DELETE_SUCCESSFUL'|'DELETE_FAILED'|'DELETE_IN_PROGRESS' }, Limit=123, NextToken='string' )
string
[REQUIRED]
dict
AccountId (string) --
MemberAccountRuleStatus (string) --
integer
string
dict
Response Syntax
{ 'OrganizationConfigRuleDetailedStatus': [ { 'AccountId': 'string', 'ConfigRuleName': 'string', 'MemberAccountRuleStatus': 'CREATE_SUCCESSFUL'|'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_SUCCESSFUL'|'UPDATE_FAILED'|'UPDATE_IN_PROGRESS'|'DELETE_SUCCESSFUL'|'DELETE_FAILED'|'DELETE_IN_PROGRESS', 'ErrorCode': 'string', 'ErrorMessage': 'string', 'LastUpdateTime': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) --
OrganizationConfigRuleDetailedStatus (list) --
(dict) --
AccountId (string) --
ConfigRuleName (string) --
MemberAccountRuleStatus (string) --
ErrorCode (string) --
ErrorMessage (string) --
LastUpdateTime (datetime) --
NextToken (string) --