list_principals_for_portfolio
async
¶
list_principals_for_portfolio(
portfolio_id: Id,
*,
config_overrides: Optional[AsyncServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
page_size: Optional[PageSize] = None,
page_token: Optional[PageToken] = None,
) -> ListPrincipalsForPortfolioOutput
Lists all PrincipalARNs and corresponding PrincipalTypes associated with the specified portfolio.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
portfolio_id(Id) –The portfolio identifier.
-
page_size(Optional[PageSize], default:None) –The maximum number of items to return with this call.
-
page_token(Optional[PageToken], default:None) –The page token for the next set of results. To retrieve the first set of results, use null.
Raises:
-
InvalidParametersException–One or more parameters provided to the operation are not valid.
-
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
5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 | |