| Copyright | (c) 2013-2018 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.
This operation returns paginated results.
- 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 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
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.
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 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
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.
lisrsResponseStatus :: Lens' ListPrincipalsForPortfolioResponse Int Source #
- - | The response status code.