update_product
¶
update_product(
id: Id,
*,
config_overrides: Optional[ServiceCatalogClientConfig] = 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/service_catalog.py
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 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 | |