Copyright | (c) 2013-2021 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 |
Lists all principal ARNs associated with the specified portfolio.
This operation returns paginated results.
Synopsis
- data ListPrincipalsForPortfolio = ListPrincipalsForPortfolio' {}
- newListPrincipalsForPortfolio :: Text -> ListPrincipalsForPortfolio
- listPrincipalsForPortfolio_acceptLanguage :: Lens' ListPrincipalsForPortfolio (Maybe Text)
- listPrincipalsForPortfolio_pageToken :: Lens' ListPrincipalsForPortfolio (Maybe Text)
- listPrincipalsForPortfolio_pageSize :: Lens' ListPrincipalsForPortfolio (Maybe Natural)
- listPrincipalsForPortfolio_portfolioId :: Lens' ListPrincipalsForPortfolio Text
- data ListPrincipalsForPortfolioResponse = ListPrincipalsForPortfolioResponse' {
- nextPageToken :: Maybe Text
- principals :: Maybe [Principal]
- httpStatus :: Int
- newListPrincipalsForPortfolioResponse :: Int -> ListPrincipalsForPortfolioResponse
- listPrincipalsForPortfolioResponse_nextPageToken :: Lens' ListPrincipalsForPortfolioResponse (Maybe Text)
- listPrincipalsForPortfolioResponse_principals :: Lens' ListPrincipalsForPortfolioResponse (Maybe [Principal])
- listPrincipalsForPortfolioResponse_httpStatus :: Lens' ListPrincipalsForPortfolioResponse Int
Creating a Request
data ListPrincipalsForPortfolio Source #
See: newListPrincipalsForPortfolio
smart constructor.
ListPrincipalsForPortfolio' | |
|
Instances
newListPrincipalsForPortfolio Source #
Create a value of ListPrincipalsForPortfolio
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:acceptLanguage:ListPrincipalsForPortfolio'
, listPrincipalsForPortfolio_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:pageToken:ListPrincipalsForPortfolio'
, listPrincipalsForPortfolio_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:ListPrincipalsForPortfolio'
, listPrincipalsForPortfolio_pageSize
- The maximum number of items to return with this call.
$sel:portfolioId:ListPrincipalsForPortfolio'
, listPrincipalsForPortfolio_portfolioId
- The portfolio identifier.
Request Lenses
listPrincipalsForPortfolio_acceptLanguage :: Lens' ListPrincipalsForPortfolio (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
listPrincipalsForPortfolio_pageToken :: Lens' ListPrincipalsForPortfolio (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
listPrincipalsForPortfolio_pageSize :: Lens' ListPrincipalsForPortfolio (Maybe Natural) Source #
The maximum number of items to return with this call.
listPrincipalsForPortfolio_portfolioId :: Lens' ListPrincipalsForPortfolio Text Source #
The portfolio identifier.
Destructuring the Response
data ListPrincipalsForPortfolioResponse Source #
See: newListPrincipalsForPortfolioResponse
smart constructor.
ListPrincipalsForPortfolioResponse' | |
|
Instances
newListPrincipalsForPortfolioResponse Source #
Create a value of ListPrincipalsForPortfolioResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListPrincipalsForPortfolioResponse'
, listPrincipalsForPortfolioResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:principals:ListPrincipalsForPortfolioResponse'
, listPrincipalsForPortfolioResponse_principals
- The IAM principals (users or roles) associated with the portfolio.
$sel:httpStatus:ListPrincipalsForPortfolioResponse'
, listPrincipalsForPortfolioResponse_httpStatus
- The response's http status code.
Response Lenses
listPrincipalsForPortfolioResponse_nextPageToken :: 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.
listPrincipalsForPortfolioResponse_principals :: Lens' ListPrincipalsForPortfolioResponse (Maybe [Principal]) Source #
The IAM principals (users or roles) associated with the portfolio.
listPrincipalsForPortfolioResponse_httpStatus :: Lens' ListPrincipalsForPortfolioResponse Int Source #
The response's http status code.