amazonka-servicecatalog-1.6.1: 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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Data TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Show TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Generic TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Associated Types

type Rep TerminateProvisionedProduct :: Type -> Type #

Hashable TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

ToJSON TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

AWSRequest TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Associated Types

type Rs TerminateProvisionedProduct :: Type #

ToHeaders TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

ToPath TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

ToQuery TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

NFData TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

type Rep TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

type Rep TerminateProvisionedProduct = D1 (MetaData "TerminateProvisionedProduct" "Network.AWS.ServiceCatalog.TerminateProvisionedProduct" "amazonka-servicecatalog-1.6.1-3x3nXpki5UUGYHxW61f9xy" False) (C1 (MetaCons "TerminateProvisionedProduct'" PrefixI True) ((S1 (MetaSel (Just "_tppProvisionedProductName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tppAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tppIgnoreErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_tppProvisionedProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tppTerminateToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs TerminateProvisionedProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Data TerminateProvisionedProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Show TerminateProvisionedProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

Generic TerminateProvisionedProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

NFData TerminateProvisionedProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

type Rep TerminateProvisionedProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.TerminateProvisionedProduct

type Rep TerminateProvisionedProductResponse = D1 (MetaData "TerminateProvisionedProductResponse" "Network.AWS.ServiceCatalog.TerminateProvisionedProduct" "amazonka-servicecatalog-1.6.1-3x3nXpki5UUGYHxW61f9xy" False) (C1 (MetaCons "TerminateProvisionedProductResponse'" PrefixI True) (S1 (MetaSel (Just "_tpprsRecordDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecordDetail)) :*: S1 (MetaSel (Just "_tpprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

Information about the result of this request.