update_portfolio
¶
update_portfolio(
id: Id,
*,
config_overrides: Optional[ServiceCatalogClientConfig] = 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/service_catalog.py
5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 | |