| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ServiceCatalog.ListPrincipalsForPortfolio
Description
Lists all principal ARNs associated with the specified portfolio.
- listPrincipalsForPortfolio :: Text -> ListPrincipalsForPortfolio
- data ListPrincipalsForPortfolio
- lpfpAcceptLanguage :: Lens' ListPrincipalsForPortfolio (Maybe Text)
- lpfpPageToken :: Lens' ListPrincipalsForPortfolio (Maybe Text)
- lpfpPageSize :: Lens' ListPrincipalsForPortfolio (Maybe Natural)
- lpfpPortfolioId :: Lens' ListPrincipalsForPortfolio Text
- listPrincipalsForPortfolioResponse :: Int -> ListPrincipalsForPortfolioResponse
- data ListPrincipalsForPortfolioResponse
- lisrsNextPageToken :: Lens' ListPrincipalsForPortfolioResponse (Maybe Text)
- lisrsPrincipals :: Lens' ListPrincipalsForPortfolioResponse [Principal]
- lisrsResponseStatus :: Lens' ListPrincipalsForPortfolioResponse Int
Creating a Request
listPrincipalsForPortfolio Source #
Arguments
| :: Text | |
| -> ListPrincipalsForPortfolio |
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- ChineselpfpPageToken- The page token of the first page retrieved. If null, this retrieves the first page of sizePageSize.lpfpPageSize- The maximum number of items to return in the results. If more results exist than fit in the specifiedPageSize, the value ofNextPageTokenin the response is non-null.lpfpPortfolioId- The portfolio identifier.
data ListPrincipalsForPortfolio Source #
See: listPrincipalsForPortfolio smart constructor.
Instances
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 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.
lpfpPortfolioId :: Lens' ListPrincipalsForPortfolio Text Source #
The portfolio identifier.
Destructuring the Response
listPrincipalsForPortfolioResponse Source #
Arguments
| :: Int | |
| -> ListPrincipalsForPortfolioResponse |
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
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.
lisrsResponseStatus :: Lens' ListPrincipalsForPortfolioResponse Int Source #
- - | The response status code.