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

Contents

Description

Retrieves detailed information and any tags associated with the specified portfolio.

Synopsis

Creating a Request

describePortfolio Source #

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

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

  • desAcceptLanguage - 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.
  • desId - The identifier of the portfolio for which to retrieve information.

data DescribePortfolio Source #

See: describePortfolio smart constructor.

Instances

Eq DescribePortfolio Source # 
Data DescribePortfolio Source # 

Methods

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

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

toConstr :: DescribePortfolio -> Constr #

dataTypeOf :: DescribePortfolio -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DescribePortfolio -> () #

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

Request Lenses

desAcceptLanguage :: Lens' DescribePortfolio (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.

desId :: Lens' DescribePortfolio Text Source #

The identifier of the portfolio for which to retrieve information.

Destructuring the Response

describePortfolioResponse Source #

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

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

data DescribePortfolioResponse Source #

See: describePortfolioResponse smart constructor.

Instances

Eq DescribePortfolioResponse Source # 
Data DescribePortfolioResponse Source # 

Methods

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

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

toConstr :: DescribePortfolioResponse -> Constr #

dataTypeOf :: DescribePortfolioResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribePortfolioResponse Source # 
Show DescribePortfolioResponse Source # 
Generic DescribePortfolioResponse Source # 
NFData DescribePortfolioResponse Source # 
type Rep DescribePortfolioResponse Source # 
type Rep DescribePortfolioResponse = D1 (MetaData "DescribePortfolioResponse" "Network.AWS.ServiceCatalog.DescribePortfolio" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "DescribePortfolioResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dprsPortfolioDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PortfolioDetail))) ((:*:) (S1 (MetaSel (Just Symbol "_dprsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_dprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dprsTags :: Lens' DescribePortfolioResponse [Tag] Source #

Tags associated with the portfolio.