update_provisioned_product
¶
update_provisioned_product(
update_token: IdempotencyToken,
*,
config_overrides: Optional[ServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
provisioned_product_name: Optional[ProvisionedProductNameOrArn] = None,
provisioned_product_id: Optional[Id] = None,
product_id: Optional[Id] = None,
product_name: Optional[ProductViewName] = None,
provisioning_artifact_id: Optional[Id] = None,
provisioning_artifact_name: Optional[ProvisioningArtifactName] = None,
path_id: Optional[Id] = None,
path_name: Optional[PortfolioDisplayName] = None,
provisioning_parameters: Optional[UpdateProvisioningParameters] = None,
provisioning_preferences: Optional[UpdateProvisioningPreferences] = None,
tags: Optional[Tags] = None,
) -> UpdateProvisionedProductOutput
Requests updates to the configuration of the specified provisioned product.
If there are tags associated with the object, they cannot be updated or added. Depending on the specific updates requested, this operation can update with no interruption, with some interruption, or replace the provisioned product entirely.
You can check the status of this request using DescribeRecord.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
provisioned_product_name(Optional[ProvisionedProductNameOrArn], default:None) –The name of the provisioned product. You cannot specify both
ProvisionedProductNameandProvisionedProductId. -
provisioned_product_id(Optional[Id], default:None) –The identifier of the provisioned product. You must provide the name or ID, but not both.
-
product_id(Optional[Id], default:None) –The identifier of the product. You must provide the name or ID, but not both.
-
product_name(Optional[ProductViewName], default:None) –The name of the product. You must provide the name or ID, but not both.
-
provisioning_artifact_id(Optional[Id], default:None) –The identifier of the provisioning artifact.
-
provisioning_artifact_name(Optional[ProvisioningArtifactName], default:None) –The name of the provisioning artifact. You must provide the name or ID, but not both.
-
path_id(Optional[Id], default:None) –The path identifier. This value is optional if the product has a default path, and required if the product has more than one path. You must provide the name or ID, but not both.
-
path_name(Optional[PortfolioDisplayName], default:None) –The name of the path. You must provide the name or ID, but not both.
-
provisioning_parameters(Optional[UpdateProvisioningParameters], default:None) –The new parameters.
-
provisioning_preferences(Optional[UpdateProvisioningPreferences], default:None) –An object that contains information about the provisioning preferences for a stack set.
-
tags(Optional[Tags], default:None) –One or more tags. Requires the product to have
RESOURCE_UPDATEconstraint withTagUpdatesOnProvisionedProductset toALLOWEDto allow tag updates. -
update_token(IdempotencyToken) –The idempotency token that uniquely identifies the provisioning update request.
Raises:
-
InvalidParametersException–One or more parameters provided to the operation are not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_service_catalog/_services/service_catalog.py
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 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 | |