ServiceCatalog / Paginator / ListOrganizationPortfolioAccess

ListOrganizationPortfolioAccess#

class ServiceCatalog.Paginator.ListOrganizationPortfolioAccess#
paginator = client.get_paginator('list_organization_portfolio_access')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from ServiceCatalog.Client.list_organization_portfolio_access().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    AcceptLanguage='string',
    PortfolioId='string',
    OrganizationNodeType='ORGANIZATION'|'ORGANIZATIONAL_UNIT'|'ACCOUNT',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • AcceptLanguage (string) –

    The language code.

    • jp - Japanese

    • zh - Chinese

  • PortfolioId (string) –

    [REQUIRED]

    The portfolio identifier. For example, port-2abcdext3y5fk.

  • OrganizationNodeType (string) –

    [REQUIRED]

    The organization node type that will be returned in the output.

    • ORGANIZATION - Organization that has access to the portfolio.

    • ORGANIZATIONAL_UNIT - Organizational unit that has access to the portfolio within your organization.

    • ACCOUNT - Account that has access to the portfolio within your 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

{
    'OrganizationNodes': [
        {
            'Type': 'ORGANIZATION'|'ORGANIZATIONAL_UNIT'|'ACCOUNT',
            'Value': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • OrganizationNodes (list) –

      Displays information about the organization nodes.

      • (dict) –

        Information about the organization node.

        • Type (string) –

          The organization node type.

        • Value (string) –

          The identifier of the organization node.

    • NextToken (string) –

      A token to resume pagination.