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 the account IDs that have access to the specified portfolio.
A delegated admin can list the accounts that have access to the shared portfolio. Note that if a delegated admin is de-registered, they can no longer perform this operation.
Synopsis
- data ListPortfolioAccess = ListPortfolioAccess' {}
- newListPortfolioAccess :: Text -> ListPortfolioAccess
- listPortfolioAccess_organizationParentId :: Lens' ListPortfolioAccess (Maybe Text)
- listPortfolioAccess_acceptLanguage :: Lens' ListPortfolioAccess (Maybe Text)
- listPortfolioAccess_pageToken :: Lens' ListPortfolioAccess (Maybe Text)
- listPortfolioAccess_pageSize :: Lens' ListPortfolioAccess (Maybe Natural)
- listPortfolioAccess_portfolioId :: Lens' ListPortfolioAccess Text
- data ListPortfolioAccessResponse = ListPortfolioAccessResponse' {
- nextPageToken :: Maybe Text
- accountIds :: Maybe [Text]
- httpStatus :: Int
- newListPortfolioAccessResponse :: Int -> ListPortfolioAccessResponse
- listPortfolioAccessResponse_nextPageToken :: Lens' ListPortfolioAccessResponse (Maybe Text)
- listPortfolioAccessResponse_accountIds :: Lens' ListPortfolioAccessResponse (Maybe [Text])
- listPortfolioAccessResponse_httpStatus :: Lens' ListPortfolioAccessResponse Int
Creating a Request
data ListPortfolioAccess Source #
See: newListPortfolioAccess
smart constructor.
ListPortfolioAccess' | |
|
Instances
newListPortfolioAccess Source #
Create a value of ListPortfolioAccess
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:organizationParentId:ListPortfolioAccess'
, listPortfolioAccess_organizationParentId
- The ID of an organization node the portfolio is shared with. All
children of this node with an inherited portfolio share will be
returned.
$sel:acceptLanguage:ListPortfolioAccess'
, listPortfolioAccess_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:pageToken:ListPortfolioAccess'
, listPortfolioAccess_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:ListPortfolioAccess'
, listPortfolioAccess_pageSize
- The maximum number of items to return with this call.
$sel:portfolioId:ListPortfolioAccess'
, listPortfolioAccess_portfolioId
- The portfolio identifier.
Request Lenses
listPortfolioAccess_organizationParentId :: Lens' ListPortfolioAccess (Maybe Text) Source #
The ID of an organization node the portfolio is shared with. All children of this node with an inherited portfolio share will be returned.
listPortfolioAccess_acceptLanguage :: Lens' ListPortfolioAccess (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
listPortfolioAccess_pageToken :: Lens' ListPortfolioAccess (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
listPortfolioAccess_pageSize :: Lens' ListPortfolioAccess (Maybe Natural) Source #
The maximum number of items to return with this call.
listPortfolioAccess_portfolioId :: Lens' ListPortfolioAccess Text Source #
The portfolio identifier.
Destructuring the Response
data ListPortfolioAccessResponse Source #
See: newListPortfolioAccessResponse
smart constructor.
ListPortfolioAccessResponse' | |
|
Instances
newListPortfolioAccessResponse Source #
Create a value of ListPortfolioAccessResponse
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:ListPortfolioAccessResponse'
, listPortfolioAccessResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:accountIds:ListPortfolioAccessResponse'
, listPortfolioAccessResponse_accountIds
- Information about the AWS accounts with access to the portfolio.
$sel:httpStatus:ListPortfolioAccessResponse'
, listPortfolioAccessResponse_httpStatus
- The response's http status code.
Response Lenses
listPortfolioAccessResponse_nextPageToken :: Lens' ListPortfolioAccessResponse (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.
listPortfolioAccessResponse_accountIds :: Lens' ListPortfolioAccessResponse (Maybe [Text]) Source #
Information about the AWS accounts with access to the portfolio.
listPortfolioAccessResponse_httpStatus :: Lens' ListPortfolioAccessResponse Int Source #
The response's http status code.