ServiceCatalog.Client.
list_portfolio_access
(**kwargs)¶Lists the account IDs that have access to the specified portfolio.
A delegated admin can list the accounts that have access to the shared portfolio. Note that if a delegated admin is de-registered, they can no longer perform this operation.
See also: AWS API Documentation
Request Syntax
response = client.list_portfolio_access(
AcceptLanguage='string',
PortfolioId='string',
OrganizationParentId='string',
PageToken='string',
PageSize=123
)
The language code.
en
- English (default)jp
- Japanesezh
- Chinese[REQUIRED]
The portfolio identifier.
dict
Response Syntax
{
'AccountIds': [
'string',
],
'NextPageToken': 'string'
}
Response Structure
(dict) --
AccountIds (list) --
Information about the Amazon Web Services accounts with access to the portfolio.
NextPageToken (string) --
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
Exceptions
ServiceCatalog.Client.exceptions.ResourceNotFoundException
ServiceCatalog.Client.exceptions.InvalidParametersException