AWS Service Catalog

2020/02/19 - AWS Service Catalog - 1 updated api methods

Changes  "ListPortfolioAccess" API now has a new optional parameter "OrganizationParentId". When it is provided and if the portfolio with the "PortfolioId" given was shared with an organization or organizational unit with "OrganizationParentId", all accounts in the organization sub-tree under parent which inherit an organizational portfolio share will be listed, rather than all accounts with external shares. To accommodate long lists returned from the new option, the API now supports pagination.

ListPortfolioAccess (updated) Link ΒΆ
Changes (request)
{'OrganizationParentId': 'string', 'PageSize': 'integer', 'PageToken': 'string'}

Lists the account IDs that have access to the specified portfolio.

See also: AWS API Documentation

Request Syntax

client.list_portfolio_access(
    AcceptLanguage='string',
    PortfolioId='string',
    OrganizationParentId='string',
    PageToken='string',
    PageSize=123
)
type AcceptLanguage

string

param AcceptLanguage

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

type PortfolioId

string

param PortfolioId

[REQUIRED]

The portfolio identifier.

type OrganizationParentId

string

param OrganizationParentId

The ID of an organization node the portfolio is shared with. All children of this node with an inherited portfolio share will be returned.

type PageToken

string

param PageToken

The page token for the next set of results. To retrieve the first set of results, use null.

type PageSize

integer

param PageSize

The maximum number of items to return with this call.

rtype

dict

returns

Response Syntax

{
    'AccountIds': [
        'string',
    ],
    'NextPageToken': 'string'
}

Response Structure

  • (dict) --

    • AccountIds (list) --

      Information about the AWS accounts with access to the portfolio.

      • (string) --

    • NextPageToken (string) --

      The page token to use to retrieve the next set of results. If there are no additional results, this value is null.