terminate_provisioned_product
¶
terminate_provisioned_product(
terminate_token: IdempotencyToken,
*,
config_overrides: Optional[ServiceCatalogClientConfig] = 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/service_catalog.py
6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 | |