terminate_provisioned_product
async
¶
terminate_provisioned_product(
terminate_token: IdempotencyToken,
*,
config_overrides: Optional[AsyncServiceCatalogClientConfig] = None,
provisioned_product_name: Optional[ProvisionedProductNameOrArn] = None,
provisioned_product_id: Optional[Id] = None,
ignore_errors: Optional[IgnoreErrors] = None,
accept_language: Optional[AcceptLanguage] = None,
retain_physical_resources: Optional[RetainPhysicalResources] = None,
) -> TerminateProvisionedProductOutput
Terminates the specified provisioned product.
This operation does not delete any records associated with the provisioned product.
You can check the status of this request using DescribeRecord.
Parameters:
-
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 cannot specify both
ProvisionedProductNameandProvisionedProductId. -
terminate_token(IdempotencyToken) –An idempotency token that uniquely identifies the termination request. This token is only valid during the termination process. After the provisioned product is terminated, subsequent requests to terminate the same provisioned product always return ResourceNotFound.
-
ignore_errors(Optional[IgnoreErrors], default:None) –If set to true, Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources.
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
retain_physical_resources(Optional[RetainPhysicalResources], default:None) –When this boolean parameter is set to true, the
TerminateProvisionedProductAPI deletes the Service Catalog provisioned product. However, it does not remove the CloudFormation stack, stack set, or the underlying resources of the deleted provisioned product. The default value is false.
Raises:
-
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
7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 | |