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
5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 | |