ServiceCatalog / Client / delete_provisioning_artifact

delete_provisioning_artifact#

ServiceCatalog.Client.delete_provisioning_artifact(**kwargs)#

Deletes the specified provisioning artifact (also known as a version) for the specified product.

You cannot delete a provisioning artifact associated with a product that was shared with you. You cannot delete the last provisioning artifact for a product, because a product must have at least one provisioning artifact.

See also: AWS API Documentation

Request Syntax

response = client.delete_provisioning_artifact(
    AcceptLanguage='string',
    ProductId='string',
    ProvisioningArtifactId='string'
)
Parameters:
  • AcceptLanguage (string) –

    The language code.

    • jp - Japanese

    • zh - Chinese

  • ProductId (string) –

    [REQUIRED]

    The product identifier.

  • ProvisioningArtifactId (string) –

    [REQUIRED]

    The identifier of the provisioning artifact.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ServiceCatalog.Client.exceptions.ResourceNotFoundException

  • ServiceCatalog.Client.exceptions.ResourceInUseException

  • ServiceCatalog.Client.exceptions.InvalidParametersException