list_organization_portfolio_access
¶
list_organization_portfolio_access(
portfolio_id: Id,
organization_node_type: OrganizationNodeType,
*,
config_overrides: Optional[ServiceCatalogClientConfig] = 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/service_catalog.py
4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 | |