| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ServiceCatalog.ListPortfolioAccess
Description
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_acceptLanguage :: Lens' ListPortfolioAccess (Maybe Text)
- listPortfolioAccess_organizationParentId :: Lens' ListPortfolioAccess (Maybe Text)
- listPortfolioAccess_pageSize :: Lens' ListPortfolioAccess (Maybe Natural)
- listPortfolioAccess_pageToken :: Lens' ListPortfolioAccess (Maybe Text)
- listPortfolioAccess_portfolioId :: Lens' ListPortfolioAccess Text
- data ListPortfolioAccessResponse = ListPortfolioAccessResponse' {
- accountIds :: Maybe [Text]
- nextPageToken :: Maybe Text
- httpStatus :: Int
- newListPortfolioAccessResponse :: Int -> ListPortfolioAccessResponse
- listPortfolioAccessResponse_accountIds :: Lens' ListPortfolioAccessResponse (Maybe [Text])
- listPortfolioAccessResponse_nextPageToken :: Lens' ListPortfolioAccessResponse (Maybe Text)
- listPortfolioAccessResponse_httpStatus :: Lens' ListPortfolioAccessResponse Int
Creating a Request
data ListPortfolioAccess Source #
See: newListPortfolioAccess smart constructor.
Constructors
| ListPortfolioAccess' | |
Fields
| |
Instances
newListPortfolioAccess Source #
Arguments
| :: Text | |
| -> ListPortfolioAccess |
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:acceptLanguage:ListPortfolioAccess', listPortfolioAccess_acceptLanguage - The language code.
en- English (default)jp- Japanesezh- Chinese
$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:pageSize:ListPortfolioAccess', listPortfolioAccess_pageSize - The maximum number of items to return with this call.
$sel:pageToken:ListPortfolioAccess', listPortfolioAccess_pageToken - The page token for the next set of results. To retrieve the first set of
results, use null.
ListPortfolioAccess, listPortfolioAccess_portfolioId - The portfolio identifier.
Request Lenses
listPortfolioAccess_acceptLanguage :: Lens' ListPortfolioAccess (Maybe Text) Source #
The language code.
en- English (default)jp- Japanesezh- Chinese
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_pageSize :: Lens' ListPortfolioAccess (Maybe Natural) Source #
The maximum number of items to return with this call.
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_portfolioId :: Lens' ListPortfolioAccess Text Source #
The portfolio identifier.
Destructuring the Response
data ListPortfolioAccessResponse Source #
See: newListPortfolioAccessResponse smart constructor.
Constructors
| ListPortfolioAccessResponse' | |
Fields
| |
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:accountIds:ListPortfolioAccessResponse', listPortfolioAccessResponse_accountIds - Information about the Amazon Web Services accounts with access to the
portfolio.
$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:httpStatus:ListPortfolioAccessResponse', listPortfolioAccessResponse_httpStatus - The response's http status code.
Response Lenses
listPortfolioAccessResponse_accountIds :: Lens' ListPortfolioAccessResponse (Maybe [Text]) Source #
Information about the Amazon Web Services accounts with access to the portfolio.
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_httpStatus :: Lens' ListPortfolioAccessResponse Int Source #
The response's http status code.