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

Contents

Description

Creates a portfolio.

Synopsis

Creating a Request

createPortfolio Source #

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

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

  • creAcceptLanguage - The language code. * en - English (default) * jp - Japanese * zh - Chinese
  • creDescription - The description of the portfolio.
  • creTags - One or more tags.
  • creDisplayName - The name to use for display purposes.
  • creProviderName - The name of the portfolio provider.
  • creIdempotencyToken - A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

data CreatePortfolio Source #

See: createPortfolio smart constructor.

Instances

Eq CreatePortfolio Source # 
Data CreatePortfolio Source # 

Methods

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

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

toConstr :: CreatePortfolio -> Constr #

dataTypeOf :: CreatePortfolio -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreatePortfolio -> () #

AWSRequest CreatePortfolio Source # 
ToHeaders CreatePortfolio Source # 
ToPath CreatePortfolio Source # 
ToQuery CreatePortfolio Source # 
type Rep CreatePortfolio Source # 
type Rep CreatePortfolio = D1 * (MetaData "CreatePortfolio" "Network.AWS.ServiceCatalog.CreatePortfolio" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "CreatePortfolio'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_creAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_creDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_creTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_creDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_creProviderName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_creIdempotencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs CreatePortfolio Source # 

Request Lenses

creAcceptLanguage :: Lens' CreatePortfolio (Maybe Text) Source #

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

creDescription :: Lens' CreatePortfolio (Maybe Text) Source #

The description of the portfolio.

creTags :: Lens' CreatePortfolio [Tag] Source #

One or more tags.

creDisplayName :: Lens' CreatePortfolio Text Source #

The name to use for display purposes.

creProviderName :: Lens' CreatePortfolio Text Source #

The name of the portfolio provider.

creIdempotencyToken :: Lens' CreatePortfolio Text Source #

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

Destructuring the Response

createPortfolioResponse Source #

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

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

data CreatePortfolioResponse Source #

See: createPortfolioResponse smart constructor.

Instances

Eq CreatePortfolioResponse Source # 
Data CreatePortfolioResponse Source # 

Methods

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

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

toConstr :: CreatePortfolioResponse -> Constr #

dataTypeOf :: CreatePortfolioResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePortfolioResponse Source # 
Show CreatePortfolioResponse Source # 
Generic CreatePortfolioResponse Source # 
NFData CreatePortfolioResponse Source # 

Methods

rnf :: CreatePortfolioResponse -> () #

type Rep CreatePortfolioResponse Source # 
type Rep CreatePortfolioResponse = D1 * (MetaData "CreatePortfolioResponse" "Network.AWS.ServiceCatalog.CreatePortfolio" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "CreatePortfolioResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_crsPortfolioDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PortfolioDetail))) ((:*:) * (S1 * (MetaSel (Just Symbol "_crsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) (S1 * (MetaSel (Just Symbol "_crsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

crsTags :: Lens' CreatePortfolioResponse [Tag] Source #

Information about the tags associated with the portfolio.

crsResponseStatus :: Lens' CreatePortfolioResponse Int Source #

  • - | The response status code.