update_portfolio
async
¶
update_portfolio(
id: Id,
*,
config_overrides: Optional[AsyncServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
display_name: Optional[PortfolioDisplayName] = None,
description: Optional[PortfolioDescription] = None,
provider_name: Optional[ProviderName] = None,
add_tags: Optional[AddTags] = None,
remove_tags: Optional[TagKeys] = None,
) -> UpdatePortfolioOutput
Updates the specified portfolio.
You cannot update a product that was shared with you.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
id(Id) –The portfolio identifier.
-
display_name(Optional[PortfolioDisplayName], default:None) –The name to use for display purposes.
-
description(Optional[PortfolioDescription], default:None) –The updated description of the portfolio.
-
provider_name(Optional[ProviderName], default:None) –The updated name of the portfolio provider.
-
add_tags(Optional[AddTags], default:None) –The tags to add.
-
remove_tags(Optional[TagKeys], default:None) –The tags to remove.
Raises:
-
InvalidParametersException–One or more parameters provided to the operation are not valid.
-
LimitExceededException–The current limits of the service would have been exceeded by this operation. Decrease your resource use or increase your service limits and retry the operation.
-
ResourceNotFoundException–The specified resource was not found.
-
TagOptionNotMigratedException–An operation requiring TagOptions failed because the TagOptions migration process has not been performed for this account. Use the Amazon Web Services Management Console to perform the migration process before retrying the operation.
-
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
7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 | |