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
4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 | |