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

Contents

Description

Updates the specified portfolio.

You cannot update a product that was shared with you.

Synopsis

Creating a Request

updatePortfolio Source #

Arguments

:: Text

uId

-> UpdatePortfolio 

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

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

data UpdatePortfolio Source #

See: updatePortfolio smart constructor.

Instances

Eq UpdatePortfolio Source # 
Data UpdatePortfolio Source # 

Methods

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

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

toConstr :: UpdatePortfolio -> Constr #

dataTypeOf :: UpdatePortfolio -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdatePortfolio -> () #

AWSRequest UpdatePortfolio Source # 
ToHeaders UpdatePortfolio Source # 
ToPath UpdatePortfolio Source # 
ToQuery UpdatePortfolio Source # 
type Rep UpdatePortfolio Source # 
type Rep UpdatePortfolio = D1 * (MetaData "UpdatePortfolio" "Network.AWS.ServiceCatalog.UpdatePortfolio" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "UpdatePortfolio'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uRemoveTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uAddTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) (S1 * (MetaSel (Just Symbol "_uDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uProviderName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdatePortfolio Source # 

Request Lenses

uRemoveTags :: Lens' UpdatePortfolio [Text] Source #

The tags to remove.

uAcceptLanguage :: Lens' UpdatePortfolio (Maybe Text) Source #

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

uDisplayName :: Lens' UpdatePortfolio (Maybe Text) Source #

The name to use for display purposes.

uAddTags :: Lens' UpdatePortfolio [Tag] Source #

The tags to add.

uDescription :: Lens' UpdatePortfolio (Maybe Text) Source #

The updated description of the portfolio.

uProviderName :: Lens' UpdatePortfolio (Maybe Text) Source #

The updated name of the portfolio provider.

uId :: Lens' UpdatePortfolio Text Source #

The portfolio identifier.

Destructuring the Response

updatePortfolioResponse Source #

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

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

data UpdatePortfolioResponse Source #

See: updatePortfolioResponse smart constructor.

Instances

Eq UpdatePortfolioResponse Source # 
Data UpdatePortfolioResponse Source # 

Methods

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

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

toConstr :: UpdatePortfolioResponse -> Constr #

dataTypeOf :: UpdatePortfolioResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdatePortfolioResponse Source # 
Show UpdatePortfolioResponse Source # 
Generic UpdatePortfolioResponse Source # 
NFData UpdatePortfolioResponse Source # 

Methods

rnf :: UpdatePortfolioResponse -> () #

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

Response Lenses

uprsTags :: Lens' UpdatePortfolioResponse [Tag] Source #

Information about the tags associated with the portfolio.