amazonka-servicecatalog-1.4.5: Amazon Service Catalog SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Contents

Description

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.

Synopsis

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. You must specify either ProvisionedProductName or ProvisionedProductId , but not both.
  • tppAcceptLanguage - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
  • tppIgnoreErrors - 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. You must specify either ProvisionedProductName or ProvisionedProductId , 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 of TerminateToken .

data TerminateProvisionedProduct Source #

See: terminateProvisionedProduct smart constructor.

Instances

Eq TerminateProvisionedProduct Source # 
Data TerminateProvisionedProduct Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TerminateProvisionedProduct -> c TerminateProvisionedProduct #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TerminateProvisionedProduct #

toConstr :: TerminateProvisionedProduct -> Constr #

dataTypeOf :: TerminateProvisionedProduct -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TerminateProvisionedProduct) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TerminateProvisionedProduct) #

gmapT :: (forall b. Data b => b -> b) -> TerminateProvisionedProduct -> TerminateProvisionedProduct #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TerminateProvisionedProduct -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TerminateProvisionedProduct -> r #

gmapQ :: (forall d. Data d => d -> u) -> TerminateProvisionedProduct -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TerminateProvisionedProduct -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TerminateProvisionedProduct -> m TerminateProvisionedProduct #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TerminateProvisionedProduct -> m TerminateProvisionedProduct #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TerminateProvisionedProduct -> m TerminateProvisionedProduct #

Read TerminateProvisionedProduct Source # 
Show TerminateProvisionedProduct Source # 
Generic TerminateProvisionedProduct Source # 
Hashable TerminateProvisionedProduct Source # 
ToJSON TerminateProvisionedProduct Source # 
NFData TerminateProvisionedProduct Source # 
AWSRequest TerminateProvisionedProduct Source # 
ToPath TerminateProvisionedProduct Source # 
ToHeaders TerminateProvisionedProduct Source # 
ToQuery TerminateProvisionedProduct Source # 
type Rep TerminateProvisionedProduct Source # 
type Rep TerminateProvisionedProduct = D1 (MetaData "TerminateProvisionedProduct" "Network.AWS.ServiceCatalog.TerminateProvisionedProduct" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "TerminateProvisionedProduct'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tppProvisionedProductName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tppAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tppIgnoreErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_tppProvisionedProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tppTerminateToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs TerminateProvisionedProduct Source # 

Request Lenses

tppProvisionedProductName :: Lens' TerminateProvisionedProduct (Maybe Text) Source #

The name of the ProvisionedProduct object to terminate. You must specify either ProvisionedProductName or ProvisionedProductId , but not both.

tppAcceptLanguage :: Lens' TerminateProvisionedProduct (Maybe Text) Source #

The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.

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. You must 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 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 - -- | The response status code.

data TerminateProvisionedProductResponse Source #

See: terminateProvisionedProductResponse smart constructor.

Instances

Eq TerminateProvisionedProductResponse Source # 
Data TerminateProvisionedProductResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TerminateProvisionedProductResponse -> c TerminateProvisionedProductResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TerminateProvisionedProductResponse #

toConstr :: TerminateProvisionedProductResponse -> Constr #

dataTypeOf :: TerminateProvisionedProductResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TerminateProvisionedProductResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TerminateProvisionedProductResponse) #

gmapT :: (forall b. Data b => b -> b) -> TerminateProvisionedProductResponse -> TerminateProvisionedProductResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TerminateProvisionedProductResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TerminateProvisionedProductResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> TerminateProvisionedProductResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TerminateProvisionedProductResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TerminateProvisionedProductResponse -> m TerminateProvisionedProductResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TerminateProvisionedProductResponse -> m TerminateProvisionedProductResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TerminateProvisionedProductResponse -> m TerminateProvisionedProductResponse #

Read TerminateProvisionedProductResponse Source # 
Show TerminateProvisionedProductResponse Source # 
Generic TerminateProvisionedProductResponse Source # 
NFData TerminateProvisionedProductResponse Source # 
type Rep TerminateProvisionedProductResponse Source # 
type Rep TerminateProvisionedProductResponse = D1 (MetaData "TerminateProvisionedProductResponse" "Network.AWS.ServiceCatalog.TerminateProvisionedProduct" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "TerminateProvisionedProductResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tpprsRecordDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecordDetail))) (S1 (MetaSel (Just Symbol "_tpprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

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.