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
7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 | |