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
5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 | |