list_organization_portfolio_access
async
¶
list_organization_portfolio_access(
portfolio_id: Id,
organization_node_type: OrganizationNodeType,
*,
config_overrides: Optional[AsyncServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
page_token: Optional[PageToken] = None,
page_size: Optional[PageSize] = None,
) -> ListOrganizationPortfolioAccessOutput
Lists the organization nodes that have access to the specified portfolio. This API can only be called by the management account in the organization or by a delegated admin.
If a delegated admin is de-registered, they can no longer perform this operation.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
portfolio_id(Id) –The portfolio identifier. For example,
port-2abcdext3y5fk. -
organization_node_type(OrganizationNodeType) –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.
-
-
page_token(Optional[PageToken], default:None) –The page token for the next set of results. To retrieve the first set of results, use null.
-
page_size(Optional[PageSize], default:None) –The maximum number of items to return with this call.
Raises:
-
InvalidParametersException–One or more parameters provided to the operation are not valid.
-
OperationNotSupportedException–The operation is not supported.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_service_catalog/_services/async_service_catalog.py
4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 | |