Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
.
Synopsis
- terminateProvisionedProduct :: Text -> TerminateProvisionedProduct
- data TerminateProvisionedProduct
- tppProvisionedProductName :: Lens' TerminateProvisionedProduct (Maybe Text)
- tppAcceptLanguage :: Lens' TerminateProvisionedProduct (Maybe Text)
- tppIgnoreErrors :: Lens' TerminateProvisionedProduct (Maybe Bool)
- tppProvisionedProductId :: Lens' TerminateProvisionedProduct (Maybe Text)
- tppTerminateToken :: Lens' TerminateProvisionedProduct Text
- terminateProvisionedProductResponse :: Int -> TerminateProvisionedProductResponse
- data TerminateProvisionedProductResponse
- tpprsRecordDetail :: Lens' TerminateProvisionedProductResponse (Maybe RecordDetail)
- tpprsResponseStatus :: Lens' TerminateProvisionedProductResponse Int
Creating a Request
terminateProvisionedProduct Source #
Creates a value of TerminateProvisionedProduct
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tppProvisionedProductName
- The name of the provisioned product. You cannot specify bothProvisionedProductName
andProvisionedProductId
.tppAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChinesetppIgnoreErrors
- If set to true, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources.tppProvisionedProductId
- The identifier of the provisioned product. You cannot specify bothProvisionedProductName
andProvisionedProductId
.tppTerminateToken
- 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 .
data TerminateProvisionedProduct Source #
See: terminateProvisionedProduct
smart constructor.
Instances
Request Lenses
tppProvisionedProductName :: Lens' TerminateProvisionedProduct (Maybe Text) Source #
The name of the provisioned product. You cannot specify both ProvisionedProductName
and ProvisionedProductId
.
tppAcceptLanguage :: Lens' TerminateProvisionedProduct (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
tppIgnoreErrors :: Lens' TerminateProvisionedProduct (Maybe Bool) Source #
If set to true, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources.
tppProvisionedProductId :: Lens' TerminateProvisionedProduct (Maybe Text) Source #
The identifier of the provisioned product. You cannot specify both ProvisionedProductName
and ProvisionedProductId
.
tppTerminateToken :: Lens' TerminateProvisionedProduct Text Source #
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 .
Destructuring the Response
terminateProvisionedProductResponse Source #
Creates a value of TerminateProvisionedProductResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tpprsRecordDetail
- Information about the result of this request.tpprsResponseStatus
- -- | The response status code.
data TerminateProvisionedProductResponse Source #
See: terminateProvisionedProductResponse
smart constructor.
Instances
Response Lenses
tpprsRecordDetail :: Lens' TerminateProvisionedProductResponse (Maybe RecordDetail) Source #
Information about the result of this request.
tpprsResponseStatus :: Lens' TerminateProvisionedProductResponse Int Source #
- - | The response status code.