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
6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 | |