amazonka-servicecatalog-1.5.0: Amazon Service Catalog SDK.

Copyright(c) 2013-2017 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.DeletePortfolio

Contents

Description

Deletes the specified portfolio. This operation does not work with a portfolio that has been shared with you or if it has products, users, constraints, or shared accounts associated with it.

Synopsis

Creating a Request

deletePortfolio Source #

Arguments

:: Text

dppId

-> DeletePortfolio 

Creates a value of DeletePortfolio 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 identifier of the portfolio for the delete request.

data DeletePortfolio Source #

See: deletePortfolio smart constructor.

Instances

Eq DeletePortfolio Source # 
Data DeletePortfolio Source # 

Methods

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

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

toConstr :: DeletePortfolio -> Constr #

dataTypeOf :: DeletePortfolio -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePortfolio Source # 
Show DeletePortfolio Source # 
Generic DeletePortfolio Source # 
Hashable DeletePortfolio Source # 
ToJSON DeletePortfolio Source # 
NFData DeletePortfolio Source # 

Methods

rnf :: DeletePortfolio -> () #

AWSRequest DeletePortfolio Source # 
ToQuery DeletePortfolio Source # 
ToPath DeletePortfolio Source # 
ToHeaders DeletePortfolio Source # 
type Rep DeletePortfolio Source # 
type Rep DeletePortfolio = D1 (MetaData "DeletePortfolio" "Network.AWS.ServiceCatalog.DeletePortfolio" "amazonka-servicecatalog-1.5.0-Gi5S0QNjzsJFyaLCAAAAWo" False) (C1 (MetaCons "DeletePortfolio'" 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 DeletePortfolio Source # 

Request Lenses

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

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

dppId :: Lens' DeletePortfolio Text Source #

The identifier of the portfolio for the delete request.

Destructuring the Response

deletePortfolioResponse Source #

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

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

data DeletePortfolioResponse Source #

See: deletePortfolioResponse smart constructor.

Instances

Eq DeletePortfolioResponse Source # 
Data DeletePortfolioResponse Source # 

Methods

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

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

toConstr :: DeletePortfolioResponse -> Constr #

dataTypeOf :: DeletePortfolioResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePortfolioResponse Source # 
Show DeletePortfolioResponse Source # 
Generic DeletePortfolioResponse Source # 
NFData DeletePortfolioResponse Source # 

Methods

rnf :: DeletePortfolioResponse -> () #

type Rep DeletePortfolioResponse Source # 
type Rep DeletePortfolioResponse = D1 (MetaData "DeletePortfolioResponse" "Network.AWS.ServiceCatalog.DeletePortfolio" "amazonka-servicecatalog-1.5.0-Gi5S0QNjzsJFyaLCAAAAWo" True) (C1 (MetaCons "DeletePortfolioResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_delrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses