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.
{'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 )
string
The language code.
en - English (default)
jp - Japanese
zh - Chinese
string
[REQUIRED]
The portfolio identifier.
string
The ID of an organization node the portfolio is shared with. All children of this node with an inherited portfolio share will be returned.
string
The page token for the next set of results. To retrieve the first set of results, use null.
integer
The maximum number of items to return with this call.
dict
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.