Organizations / Paginator / ListDelegatedServicesForAccount

ListDelegatedServicesForAccount#

class Organizations.Paginator.ListDelegatedServicesForAccount#
paginator = client.get_paginator('list_delegated_services_for_account')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The account ID number of a delegated administrator account in the organization.

  • 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

{
    'DelegatedServices': [
        {
            'ServicePrincipal': 'string',
            'DelegationEnabledDate': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • DelegatedServices (list) –

      The services for which the account is a delegated administrator.

      • (dict) –

        Contains information about the Amazon Web Services service for which the account is a delegated administrator.

        • ServicePrincipal (string) –

          The name of an Amazon Web Services service that can request an operation for the specified service. This is typically in the form of a URL, such as: servicename.amazonaws.com.

        • DelegationEnabledDate (datetime) –

          The date that the account became a delegated administrator for this service.