update_product
async
¶
update_product(
id: Id,
*,
config_overrides: Optional[AsyncServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
name: Optional[ProductViewName] = None,
owner: Optional[ProductViewOwner] = None,
description: Optional[ProductViewShortDescription] = None,
distributor: Optional[ProductViewOwner] = None,
support_description: Optional[SupportDescription] = None,
support_email: Optional[SupportEmail] = None,
support_url: Optional[SupportUrl] = None,
add_tags: Optional[AddTags] = None,
remove_tags: Optional[TagKeys] = None,
source_connection: Optional[SourceConnection] = None,
) -> UpdateProductOutput
Updates the specified product.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
id(Id) –The product identifier.
-
name(Optional[ProductViewName], default:None) –The updated product name.
-
owner(Optional[ProductViewOwner], default:None) –The updated owner of the product.
-
description(Optional[ProductViewShortDescription], default:None) –The updated description of the product.
-
distributor(Optional[ProductViewOwner], default:None) –The updated distributor of the product.
-
support_description(Optional[SupportDescription], default:None) –The updated support description for the product.
-
support_email(Optional[SupportEmail], default:None) –The updated support email for the product.
-
support_url(Optional[SupportUrl], default:None) –The updated support URL for the product.
-
add_tags(Optional[AddTags], default:None) –The tags to add to the product.
-
remove_tags(Optional[TagKeys], default:None) –The tags to remove from the product.
-
source_connection(Optional[SourceConnection], default:None) –Specifies connection details for the updated product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The
SourceConnectionparameter consists of the following sub-fields.-
Type -
ConnectionParamters
-
Raises:
-
InvalidParametersException–One or more parameters provided to the operation are not valid.
-
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
6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 | |