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

Contents

Description

Lists the account IDs that have been authorized sharing of the specified portfolio.

Synopsis

Creating a Request

listPortfolioAccess Source #

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

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

  • lAcceptLanguage - 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.
  • lPortfolioId - The portfolio identifier.

data ListPortfolioAccess Source #

See: listPortfolioAccess smart constructor.

Instances

Eq ListPortfolioAccess Source # 
Data ListPortfolioAccess Source # 

Methods

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

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

toConstr :: ListPortfolioAccess -> Constr #

dataTypeOf :: ListPortfolioAccess -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListPortfolioAccess -> () #

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

Request Lenses

lAcceptLanguage :: Lens' ListPortfolioAccess (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.

lPortfolioId :: Lens' ListPortfolioAccess Text Source #

The portfolio identifier.

Destructuring the Response

listPortfolioAccessResponse Source #

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

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

  • lparsNextPageToken - The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
  • lparsAccountIds - List of account IDs associated with access to the portfolio.
  • lparsResponseStatus - -- | The response status code.

data ListPortfolioAccessResponse Source #

See: listPortfolioAccessResponse smart constructor.

Instances

Eq ListPortfolioAccessResponse Source # 
Data ListPortfolioAccessResponse Source # 

Methods

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

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

toConstr :: ListPortfolioAccessResponse -> Constr #

dataTypeOf :: ListPortfolioAccessResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPortfolioAccessResponse Source # 
Show ListPortfolioAccessResponse Source # 
Generic ListPortfolioAccessResponse Source # 
NFData ListPortfolioAccessResponse Source # 
type Rep ListPortfolioAccessResponse Source # 
type Rep ListPortfolioAccessResponse = D1 (MetaData "ListPortfolioAccessResponse" "Network.AWS.ServiceCatalog.ListPortfolioAccess" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "ListPortfolioAccessResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lparsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lparsAccountIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_lparsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lparsNextPageToken :: Lens' ListPortfolioAccessResponse (Maybe Text) Source #

The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

lparsAccountIds :: Lens' ListPortfolioAccessResponse [Text] Source #

List of account IDs associated with access to the portfolio.