ConfigService / Paginator / DescribeOrganizationConformancePackStatuses

DescribeOrganizationConformancePackStatuses#

class ConfigService.Paginator.DescribeOrganizationConformancePackStatuses#
paginator = client.get_paginator('describe_organization_conformance_pack_statuses')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from ConfigService.Client.describe_organization_conformance_pack_statuses().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    OrganizationConformancePackNames=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • OrganizationConformancePackNames (list) –

    The names of organization conformance packs for which you want status details. If you do not specify any names, Config returns details for all your organization conformance packs.

    • (string) –

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'OrganizationConformancePackStatuses': [
        {
            'OrganizationConformancePackName': 'string',
            'Status': 'CREATE_SUCCESSFUL'|'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_SUCCESSFUL'|'DELETE_FAILED'|'DELETE_IN_PROGRESS'|'UPDATE_SUCCESSFUL'|'UPDATE_IN_PROGRESS'|'UPDATE_FAILED',
            'ErrorCode': 'string',
            'ErrorMessage': 'string',
            'LastUpdateTime': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • OrganizationConformancePackStatuses (list) –

      A list of OrganizationConformancePackStatus objects.

      • (dict) –

        Returns the status for an organization conformance pack in an organization.

        • OrganizationConformancePackName (string) –

          The name that you assign to organization conformance pack.

        • Status (string) –

          Indicates deployment status of an organization conformance pack. When management account calls PutOrganizationConformancePack for the first time, conformance pack status is created in all the member accounts. When management account calls PutOrganizationConformancePack for the second time, conformance pack status is updated in all the member accounts. Additionally, conformance pack status is updated when one or more member accounts join or leave an organization. Conformance pack status is deleted when the management account deletes OrganizationConformancePack in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.

          Config sets the state of the conformance pack to:

          • CREATE_SUCCESSFUL when an organization conformance pack has been successfully created in all the member accounts.

          • CREATE_IN_PROGRESS when an organization conformance pack creation is in progress.

          • CREATE_FAILED when an organization conformance pack creation failed in one or more member accounts within that organization.

          • DELETE_FAILED when an organization conformance pack deletion failed in one or more member accounts within that organization.

          • DELETE_IN_PROGRESS when an organization conformance pack deletion is in progress.

          • DELETE_SUCCESSFUL when an organization conformance pack has been successfully deleted from all the member accounts.

          • UPDATE_SUCCESSFUL when an organization conformance pack has been successfully updated in all the member accounts.

          • UPDATE_IN_PROGRESS when an organization conformance pack update is in progress.

          • UPDATE_FAILED when an organization conformance pack update failed in one or more member accounts within that organization.

        • ErrorCode (string) –

          An error code that is returned when organization conformance pack creation or deletion has failed in a member account.

        • ErrorMessage (string) –

          An error message indicating that organization conformance pack creation or deletion failed due to an error.

        • LastUpdateTime (datetime) –

          The timestamp of the last update.