Organizations / Paginator / ListAWSServiceAccessForOrganization

ListAWSServiceAccessForOrganization#

class Organizations.Paginator.ListAWSServiceAccessForOrganization#
paginator = client.get_paginator('list_aws_service_access_for_organization')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Organizations.Client.list_aws_service_access_for_organization().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

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

{
    'EnabledServicePrincipals': [
        {
            'ServicePrincipal': 'string',
            'DateEnabled': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • EnabledServicePrincipals (list) –

      A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with Organizations.

      • (dict) –

        A structure that contains details of a service principal that represents an Amazon Web Services service that is enabled to integrate with Organizations.

        • ServicePrincipal (string) –

          The name of the service principal. This is typically in the form of a URL, such as: servicename.amazonaws.com.

        • DateEnabled (datetime) –

          The date that the service principal was enabled for integration with Organizations.