AWS Config

2019/07/17 - AWS Config - 2 updated api methods

Changes  Update config client to latest version

DescribeOrganizationConfigRuleStatuses (updated) Link ¶
Changes (response)
{'OrganizationConfigRuleStatuses': {'OrganizationRuleStatus': {'UPDATE_FAILED',
                                                               'UPDATE_IN_PROGRESS',
                                                               'UPDATE_SUCCESSFUL'}}}

See also: AWS API Documentation

Request Syntax

client.describe_organization_config_rule_statuses(
    OrganizationConfigRuleNames=[
        'string',
    ],
    Limit=123,
    NextToken='string'
)
type OrganizationConfigRuleNames:

list

param OrganizationConfigRuleNames:
  • (string) --

type Limit:

integer

param Limit:

type NextToken:

string

param NextToken:

rtype:

dict

returns:

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) --

GetOrganizationConfigRuleDetailedStatus (updated) Link ¶
Changes (request, response)
Request
{'Filters': {'MemberAccountRuleStatus': {'UPDATE_FAILED',
                                         'UPDATE_IN_PROGRESS',
                                         'UPDATE_SUCCESSFUL'}}}
Response
{'OrganizationConfigRuleDetailedStatus': {'MemberAccountRuleStatus': {'UPDATE_FAILED',
                                                                      'UPDATE_IN_PROGRESS',
                                                                      'UPDATE_SUCCESSFUL'}}}

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'
)
type OrganizationConfigRuleName:

string

param OrganizationConfigRuleName:

[REQUIRED]

type Filters:

dict

param Filters:
  • AccountId (string) --

  • MemberAccountRuleStatus (string) --

type Limit:

integer

param Limit:

type NextToken:

string

param NextToken:

rtype:

dict

returns:

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) --