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

Contents

Description

Lists all principal ARNs associated with the specified portfolio.

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 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.
  • lpfpPageToken - The page token of the first page retrieved. If null, this retrieves the first page of size PageSize .
  • lpfpPageSize - The maximum number of items to return in the results. If more results exist than fit in the specified PageSize , the value of NextPageToken in the response is non-null.
  • 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 # 
AWSRequest ListPrincipalsForPortfolio Source # 
ToPath ListPrincipalsForPortfolio Source # 
ToHeaders ListPrincipalsForPortfolio Source # 
ToQuery ListPrincipalsForPortfolio Source # 
type Rep ListPrincipalsForPortfolio Source # 
type Rep ListPrincipalsForPortfolio = D1 (MetaData "ListPrincipalsForPortfolio" "Network.AWS.ServiceCatalog.ListPrincipalsForPortfolio" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" 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 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.

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

The page token of the first page retrieved. If null, this retrieves the first page of size PageSize .

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

The maximum number of items to return in the results. If more results exist than fit in the specified PageSize , the value of NextPageToken in the response is non-null.

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 page of results for this operation. If there are no more pages, 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.4.5-8bdJVEiVZ77jaeUaDycc5" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

lisrsNextPageToken :: Lens' ListPrincipalsForPortfolioResponse (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.

lisrsPrincipals :: Lens' ListPrincipalsForPortfolioResponse [Principal] Source #

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