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 |
Returns summaries of the customer's non-deleted organizations.
This operation returns paginated results.
Synopsis
- listOrganizations :: ListOrganizations
- data ListOrganizations
- loNextToken :: Lens' ListOrganizations (Maybe Text)
- loMaxResults :: Lens' ListOrganizations (Maybe Natural)
- listOrganizationsResponse :: Int -> ListOrganizationsResponse
- data ListOrganizationsResponse
- lorsNextToken :: Lens' ListOrganizationsResponse (Maybe Text)
- lorsOrganizationSummaries :: Lens' ListOrganizationsResponse [OrganizationSummary]
- lorsResponseStatus :: Lens' ListOrganizationsResponse Int
Creating a Request
listOrganizations :: ListOrganizations Source #
Creates a value of ListOrganizations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
loNextToken
- The token to use to retrieve the next page of results. The first call does not contain any tokens.loMaxResults
- The maximum number of results to return in a single call.
data ListOrganizations Source #
See: listOrganizations
smart constructor.
Instances
Request Lenses
loNextToken :: Lens' ListOrganizations (Maybe Text) Source #
The token to use to retrieve the next page of results. The first call does not contain any tokens.
loMaxResults :: Lens' ListOrganizations (Maybe Natural) Source #
The maximum number of results to return in a single call.
Destructuring the Response
listOrganizationsResponse Source #
Creates a value of ListOrganizationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorsNextToken
- The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.lorsOrganizationSummaries
- The overview of owned organizations presented as a list of organization summaries.lorsResponseStatus
- -- | The response status code.
data ListOrganizationsResponse Source #
See: listOrganizationsResponse
smart constructor.
Instances
Response Lenses
lorsNextToken :: Lens' ListOrganizationsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
lorsOrganizationSummaries :: Lens' ListOrganizationsResponse [OrganizationSummary] Source #
The overview of owned organizations presented as a list of organization summaries.
lorsResponseStatus :: Lens' ListOrganizationsResponse Int Source #
- - | The response status code.