Copyright | (c) 2013-2017 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 |
Requests termination of an existing ProvisionedProduct object. If there are Tags
associated with the object, they are terminated when the ProvisionedProduct object is terminated.
This operation does not delete any records associated with the ProvisionedProduct object.
You can check the status of this request using the DescribeRecord
operation.
- 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 ProvisionedProduct object to terminate. Specify eitherProvisionedProductName
orProvisionedProductId
, but not both.tppAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChinesetppIgnoreErrors
- If set to true, AWS Service Catalog stops managing the specified ProvisionedProduct object even if it cannot delete the underlying resources.tppProvisionedProductId
- The identifier of the ProvisionedProduct object to terminate. Specify eitherProvisionedProductName
orProvisionedProductId
, but not both.tppTerminateToken
- An idempotency token that uniquely identifies the termination request. This token is only valid during the termination process. After the ProvisionedProduct object is terminated, further requests to terminate the same ProvisionedProduct object always return ResourceNotFound regardless of the value ofTerminateToken
.
data TerminateProvisionedProduct Source #
See: terminateProvisionedProduct
smart constructor.
Request Lenses
tppProvisionedProductName :: Lens' TerminateProvisionedProduct (Maybe Text) Source #
The name of the ProvisionedProduct object to terminate. Specify either ProvisionedProductName
or ProvisionedProductId
, but not both.
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 ProvisionedProduct object even if it cannot delete the underlying resources.
tppProvisionedProductId :: Lens' TerminateProvisionedProduct (Maybe Text) Source #
The identifier of the ProvisionedProduct object to terminate. Specify either ProvisionedProductName
or ProvisionedProductId
, but not both.
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 ProvisionedProduct object is terminated, further requests to terminate the same ProvisionedProduct object always return ResourceNotFound regardless of the value of TerminateToken
.
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
- The detailed result of theTerminateProvisionedProduct
request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object that the request is modifying, and a list of any errors that the request encountered.tpprsResponseStatus
- -- | The response status code.
data TerminateProvisionedProductResponse Source #
See: terminateProvisionedProductResponse
smart constructor.
Response Lenses
tpprsRecordDetail :: Lens' TerminateProvisionedProductResponse (Maybe RecordDetail) Source #
The detailed result of the TerminateProvisionedProduct
request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object that the request is modifying, and a list of any errors that the request encountered.
tpprsResponseStatus :: Lens' TerminateProvisionedProductResponse Int Source #
- - | The response status code.