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 organization nodes that have access to the specified portfolio. This API can only be called by the management account in the organization or by a delegated admin.
If a delegated admin is de-registered, they can no longer perform this operation.
This operation returns paginated results.
Synopsis
- data ListOrganizationPortfolioAccess = ListOrganizationPortfolioAccess' {}
- newListOrganizationPortfolioAccess :: Text -> OrganizationNodeType -> ListOrganizationPortfolioAccess
- listOrganizationPortfolioAccess_acceptLanguage :: Lens' ListOrganizationPortfolioAccess (Maybe Text)
- listOrganizationPortfolioAccess_pageToken :: Lens' ListOrganizationPortfolioAccess (Maybe Text)
- listOrganizationPortfolioAccess_pageSize :: Lens' ListOrganizationPortfolioAccess (Maybe Natural)
- listOrganizationPortfolioAccess_portfolioId :: Lens' ListOrganizationPortfolioAccess Text
- listOrganizationPortfolioAccess_organizationNodeType :: Lens' ListOrganizationPortfolioAccess OrganizationNodeType
- data ListOrganizationPortfolioAccessResponse = ListOrganizationPortfolioAccessResponse' {}
- newListOrganizationPortfolioAccessResponse :: Int -> ListOrganizationPortfolioAccessResponse
- listOrganizationPortfolioAccessResponse_nextPageToken :: Lens' ListOrganizationPortfolioAccessResponse (Maybe Text)
- listOrganizationPortfolioAccessResponse_organizationNodes :: Lens' ListOrganizationPortfolioAccessResponse (Maybe [OrganizationNode])
- listOrganizationPortfolioAccessResponse_httpStatus :: Lens' ListOrganizationPortfolioAccessResponse Int
Creating a Request
data ListOrganizationPortfolioAccess Source #
See: newListOrganizationPortfolioAccess
smart constructor.
ListOrganizationPortfolioAccess' | |
|
Instances
newListOrganizationPortfolioAccess Source #
Create a value of ListOrganizationPortfolioAccess
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:ListOrganizationPortfolioAccess'
, listOrganizationPortfolioAccess_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:pageToken:ListOrganizationPortfolioAccess'
, listOrganizationPortfolioAccess_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:ListOrganizationPortfolioAccess'
, listOrganizationPortfolioAccess_pageSize
- The maximum number of items to return with this call.
$sel:portfolioId:ListOrganizationPortfolioAccess'
, listOrganizationPortfolioAccess_portfolioId
- The portfolio identifier. For example, port-2abcdext3y5fk
.
$sel:organizationNodeType:ListOrganizationPortfolioAccess'
, listOrganizationPortfolioAccess_organizationNodeType
- The organization node type that will be returned in the output.
ORGANIZATION
- Organization that has access to the portfolio.ORGANIZATIONAL_UNIT
- Organizational unit that has access to the portfolio within your organization.ACCOUNT
- Account that has access to the portfolio within your organization.
Request Lenses
listOrganizationPortfolioAccess_acceptLanguage :: Lens' ListOrganizationPortfolioAccess (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
listOrganizationPortfolioAccess_pageToken :: Lens' ListOrganizationPortfolioAccess (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
listOrganizationPortfolioAccess_pageSize :: Lens' ListOrganizationPortfolioAccess (Maybe Natural) Source #
The maximum number of items to return with this call.
listOrganizationPortfolioAccess_portfolioId :: Lens' ListOrganizationPortfolioAccess Text Source #
The portfolio identifier. For example, port-2abcdext3y5fk
.
listOrganizationPortfolioAccess_organizationNodeType :: Lens' ListOrganizationPortfolioAccess OrganizationNodeType Source #
The organization node type that will be returned in the output.
ORGANIZATION
- Organization that has access to the portfolio.ORGANIZATIONAL_UNIT
- Organizational unit that has access to the portfolio within your organization.ACCOUNT
- Account that has access to the portfolio within your organization.
Destructuring the Response
data ListOrganizationPortfolioAccessResponse Source #
See: newListOrganizationPortfolioAccessResponse
smart constructor.
ListOrganizationPortfolioAccessResponse' | |
|
Instances
newListOrganizationPortfolioAccessResponse Source #
Create a value of ListOrganizationPortfolioAccessResponse
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:ListOrganizationPortfolioAccessResponse'
, listOrganizationPortfolioAccessResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:organizationNodes:ListOrganizationPortfolioAccessResponse'
, listOrganizationPortfolioAccessResponse_organizationNodes
- Displays information about the organization nodes.
$sel:httpStatus:ListOrganizationPortfolioAccessResponse'
, listOrganizationPortfolioAccessResponse_httpStatus
- The response's http status code.
Response Lenses
listOrganizationPortfolioAccessResponse_nextPageToken :: Lens' ListOrganizationPortfolioAccessResponse (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.
listOrganizationPortfolioAccessResponse_organizationNodes :: Lens' ListOrganizationPortfolioAccessResponse (Maybe [OrganizationNode]) Source #
Displays information about the organization nodes.
listOrganizationPortfolioAccessResponse_httpStatus :: Lens' ListOrganizationPortfolioAccessResponse Int Source #
The response's http status code.