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

Contents

Description

Lists all principal ARNs associated with the specified portfolio.

This operation returns paginated results.

Synopsis

Creating a Request

listPrincipalsForPortfolio Source #

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

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

  • lpfpAcceptLanguage - The language code. * en - English (default) * jp - Japanese * zh - Chinese
  • lpfpPageToken - The page token for the next set of results. To retrieve the first set of results, use null.
  • lpfpPageSize - The maximum number of items to return with this call.
  • lpfpPortfolioId - The portfolio identifier.

data ListPrincipalsForPortfolio Source #

See: listPrincipalsForPortfolio smart constructor.

Instances

Eq ListPrincipalsForPortfolio Source # 
Data ListPrincipalsForPortfolio Source # 

Methods

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

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

toConstr :: ListPrincipalsForPortfolio -> Constr #

dataTypeOf :: ListPrincipalsForPortfolio -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPrincipalsForPortfolio Source # 
Show ListPrincipalsForPortfolio Source # 
Generic ListPrincipalsForPortfolio Source # 
Hashable ListPrincipalsForPortfolio Source # 
ToJSON ListPrincipalsForPortfolio Source # 
NFData ListPrincipalsForPortfolio Source # 
AWSPager ListPrincipalsForPortfolio Source # 
AWSRequest ListPrincipalsForPortfolio Source # 
ToHeaders ListPrincipalsForPortfolio Source # 
ToPath ListPrincipalsForPortfolio Source # 
ToQuery ListPrincipalsForPortfolio Source # 
type Rep ListPrincipalsForPortfolio Source # 
type Rep ListPrincipalsForPortfolio = D1 * (MetaData "ListPrincipalsForPortfolio" "Network.AWS.ServiceCatalog.ListPrincipalsForPortfolio" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "ListPrincipalsForPortfolio'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lpfpAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lpfpPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lpfpPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_lpfpPortfolioId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListPrincipalsForPortfolio Source # 

Request Lenses

lpfpAcceptLanguage :: Lens' ListPrincipalsForPortfolio (Maybe Text) Source #

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

lpfpPageToken :: Lens' ListPrincipalsForPortfolio (Maybe Text) Source #

The page token for the next set of results. To retrieve the first set of results, use null.

lpfpPageSize :: Lens' ListPrincipalsForPortfolio (Maybe Natural) Source #

The maximum number of items to return with this call.

Destructuring the Response

listPrincipalsForPortfolioResponse Source #

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

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

  • lisrsNextPageToken - The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
  • lisrsPrincipals - The IAM principals (users or roles) associated with the portfolio.
  • lisrsResponseStatus - -- | The response status code.

data ListPrincipalsForPortfolioResponse Source #

See: listPrincipalsForPortfolioResponse smart constructor.

Instances

Eq ListPrincipalsForPortfolioResponse Source # 
Data ListPrincipalsForPortfolioResponse Source # 

Methods

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

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

toConstr :: ListPrincipalsForPortfolioResponse -> Constr #

dataTypeOf :: ListPrincipalsForPortfolioResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPrincipalsForPortfolioResponse Source # 
Show ListPrincipalsForPortfolioResponse Source # 
Generic ListPrincipalsForPortfolioResponse Source # 
NFData ListPrincipalsForPortfolioResponse Source # 
type Rep ListPrincipalsForPortfolioResponse Source # 
type Rep ListPrincipalsForPortfolioResponse = D1 * (MetaData "ListPrincipalsForPortfolioResponse" "Network.AWS.ServiceCatalog.ListPrincipalsForPortfolio" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "ListPrincipalsForPortfolioResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lisrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lisrsPrincipals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Principal]))) (S1 * (MetaSel (Just Symbol "_lisrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lisrsNextPageToken :: Lens' ListPrincipalsForPortfolioResponse (Maybe Text) Source #

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

lisrsPrincipals :: Lens' ListPrincipalsForPortfolioResponse [Principal] Source #

The IAM principals (users or roles) associated with the portfolio.