update_provisioning_artifact
async
¶
update_provisioning_artifact(
product_id: Id,
provisioning_artifact_id: Id,
*,
config_overrides: Optional[AsyncServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
name: Optional[ProvisioningArtifactName] = None,
description: Optional[ProvisioningArtifactDescription] = None,
active: Optional[ProvisioningArtifactActive] = None,
guidance: Optional[ProvisioningArtifactGuidance] = None,
) -> UpdateProvisioningArtifactOutput
Updates the specified provisioning artifact (also known as a version) for the specified product.
You cannot update a provisioning artifact for a product that was shared with you.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
product_id(Id) –The product identifier.
-
provisioning_artifact_id(Id) –The identifier of the provisioning artifact.
-
name(Optional[ProvisioningArtifactName], default:None) –The updated name of the provisioning artifact.
-
description(Optional[ProvisioningArtifactDescription], default:None) –The updated description of the provisioning artifact.
-
active(Optional[ProvisioningArtifactActive], default:None) –Indicates whether the product version is active.
Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact.
-
guidance(Optional[ProvisioningArtifactGuidance], default:None) –Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.
The
DEFAULTvalue indicates that the product version is active.The administrator can set the guidance to
DEPRECATEDto inform users that the product version is deprecated. Users are able to make updates to a provisioned product of a deprecated version but cannot launch new provisioned products using a deprecated version.
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/async_service_catalog.py
6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 | |