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.DeleteProduct

Contents

Description

Deletes the specified product.

You cannot delete a product if it was shared with you or is associated with a portfolio.

Synopsis

Creating a Request

deleteProduct Source #

Arguments

:: Text

dppId

-> DeleteProduct 

Creates a value of DeleteProduct with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dppAcceptLanguage - The language code. * en - English (default) * jp - Japanese * zh - Chinese
  • dppId - The product identifier.

data DeleteProduct Source #

See: deleteProduct smart constructor.

Instances

Eq DeleteProduct Source # 
Data DeleteProduct Source # 

Methods

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

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

toConstr :: DeleteProduct -> Constr #

dataTypeOf :: DeleteProduct -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteProduct Source # 
Show DeleteProduct Source # 
Generic DeleteProduct Source # 

Associated Types

type Rep DeleteProduct :: * -> * #

Hashable DeleteProduct Source # 
ToJSON DeleteProduct Source # 
NFData DeleteProduct Source # 

Methods

rnf :: DeleteProduct -> () #

AWSRequest DeleteProduct Source # 
ToHeaders DeleteProduct Source # 
ToPath DeleteProduct Source # 
ToQuery DeleteProduct Source # 
type Rep DeleteProduct Source # 
type Rep DeleteProduct = D1 * (MetaData "DeleteProduct" "Network.AWS.ServiceCatalog.DeleteProduct" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "DeleteProduct'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dppAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dppId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteProduct Source # 

Request Lenses

dppAcceptLanguage :: Lens' DeleteProduct (Maybe Text) Source #

The language code. * en - English (default) * jp - Japanese * zh - Chinese

dppId :: Lens' DeleteProduct Text Source #

The product identifier.

Destructuring the Response

deleteProductResponse Source #

Creates a value of DeleteProductResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteProductResponse Source #

See: deleteProductResponse smart constructor.

Instances

Eq DeleteProductResponse Source # 
Data DeleteProductResponse Source # 

Methods

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

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

toConstr :: DeleteProductResponse -> Constr #

dataTypeOf :: DeleteProductResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteProductResponse Source # 
Show DeleteProductResponse Source # 
Generic DeleteProductResponse Source # 
NFData DeleteProductResponse Source # 

Methods

rnf :: DeleteProductResponse -> () #

type Rep DeleteProductResponse Source # 
type Rep DeleteProductResponse = D1 * (MetaData "DeleteProductResponse" "Network.AWS.ServiceCatalog.DeleteProduct" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" True) (C1 * (MetaCons "DeleteProductResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_delersResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses