amazonka-servicecatalog-1.4.5: Amazon Service Catalog SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ServiceCatalog.UpdatePortfolio

Contents

Description

Updates the specified portfolio's details. This operation will not work with a product that has been 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:

  • uRemoveTags - Tags to remove from the existing list of tags associated with the portfolio.
  • uAcceptLanguage - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
  • uDisplayName - The name to use for display purposes.
  • uAddTags - Tags to add to the existing list of tags associated with the portfolio.
  • uDescription - The updated text description of the portfolio.
  • uProviderName - The updated name of the portfolio provider.
  • uId - The identifier of the portfolio for the update request.

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 # 
ToPath UpdatePortfolio Source # 
ToHeaders UpdatePortfolio Source # 
ToQuery UpdatePortfolio Source # 
type Rep UpdatePortfolio Source # 
type Rep UpdatePortfolio = D1 (MetaData "UpdatePortfolio" "Network.AWS.ServiceCatalog.UpdatePortfolio" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" 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 #

Tags to remove from the existing list of tags associated with the portfolio.

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

The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.

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

The name to use for display purposes.

uAddTags :: Lens' UpdatePortfolio [Tag] Source #

Tags to add to the existing list of tags associated with the portfolio.

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

The updated text description of the portfolio.

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

The updated name of the portfolio provider.

uId :: Lens' UpdatePortfolio Text Source #

The identifier of the portfolio for the update request.

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.4.5-8bdJVEiVZ77jaeUaDycc5" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

uprsPortfolioDetail :: Lens' UpdatePortfolioResponse (Maybe PortfolioDetail) Source #

The resulting detailed portfolio information.

uprsTags :: Lens' UpdatePortfolioResponse [Tag] Source #

Tags associated with the portfolio.