amazonka-servicecatalog-1.6.0: Amazon Service Catalog SDK.

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

Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Contents

Description

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

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 both ProvisionedProductName and ProvisionedProductId .
  • tppAcceptLanguage - The language code. * en - English (default) * jp - Japanese * zh - Chinese
  • tppIgnoreErrors - 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 both ProvisionedProductName and ProvisionedProductId .
  • 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

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 # 
ToHeaders TerminateProvisionedProduct Source # 
ToPath TerminateProvisionedProduct Source # 
ToQuery TerminateProvisionedProduct Source # 
type Rep TerminateProvisionedProduct Source # 
type Rep TerminateProvisionedProduct = D1 * (MetaData "TerminateProvisionedProduct" "Network.AWS.ServiceCatalog.TerminateProvisionedProduct" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" 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 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:

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.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "TerminateProvisionedProductResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_tpprsRecordDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RecordDetail))) (S1 * (MetaSel (Just Symbol "_tpprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

tpprsRecordDetail :: Lens' TerminateProvisionedProductResponse (Maybe RecordDetail) Source #

Information about the result of this request.