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 |
Returns a collection of cross account readiness authorizations.
This operation returns paginated results.
Synopsis
- data ListCrossAccountAuthorizations = ListCrossAccountAuthorizations' {}
- newListCrossAccountAuthorizations :: ListCrossAccountAuthorizations
- listCrossAccountAuthorizations_nextToken :: Lens' ListCrossAccountAuthorizations (Maybe Text)
- listCrossAccountAuthorizations_maxResults :: Lens' ListCrossAccountAuthorizations (Maybe Natural)
- data ListCrossAccountAuthorizationsResponse = ListCrossAccountAuthorizationsResponse' {}
- newListCrossAccountAuthorizationsResponse :: Int -> ListCrossAccountAuthorizationsResponse
- listCrossAccountAuthorizationsResponse_crossAccountAuthorizations :: Lens' ListCrossAccountAuthorizationsResponse (Maybe [Text])
- listCrossAccountAuthorizationsResponse_nextToken :: Lens' ListCrossAccountAuthorizationsResponse (Maybe Text)
- listCrossAccountAuthorizationsResponse_httpStatus :: Lens' ListCrossAccountAuthorizationsResponse Int
Creating a Request
data ListCrossAccountAuthorizations Source #
See: newListCrossAccountAuthorizations
smart constructor.
Instances
newListCrossAccountAuthorizations :: ListCrossAccountAuthorizations Source #
Create a value of ListCrossAccountAuthorizations
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:nextToken:ListCrossAccountAuthorizations'
, listCrossAccountAuthorizations_nextToken
- A token used to resume pagination from the end of a previous request.
$sel:maxResults:ListCrossAccountAuthorizations'
, listCrossAccountAuthorizations_maxResults
- Upper bound on number of records to return.
Request Lenses
listCrossAccountAuthorizations_nextToken :: Lens' ListCrossAccountAuthorizations (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
listCrossAccountAuthorizations_maxResults :: Lens' ListCrossAccountAuthorizations (Maybe Natural) Source #
Upper bound on number of records to return.
Destructuring the Response
data ListCrossAccountAuthorizationsResponse Source #
See: newListCrossAccountAuthorizationsResponse
smart constructor.
ListCrossAccountAuthorizationsResponse' | |
|
Instances
newListCrossAccountAuthorizationsResponse Source #
Create a value of ListCrossAccountAuthorizationsResponse
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:crossAccountAuthorizations:ListCrossAccountAuthorizationsResponse'
, listCrossAccountAuthorizationsResponse_crossAccountAuthorizations
- A list of CrossAccountAuthorizations
$sel:nextToken:ListCrossAccountAuthorizations'
, listCrossAccountAuthorizationsResponse_nextToken
- A token that can be used to resume pagination from the end of the
collection.
$sel:httpStatus:ListCrossAccountAuthorizationsResponse'
, listCrossAccountAuthorizationsResponse_httpStatus
- The response's http status code.
Response Lenses
listCrossAccountAuthorizationsResponse_crossAccountAuthorizations :: Lens' ListCrossAccountAuthorizationsResponse (Maybe [Text]) Source #
A list of CrossAccountAuthorizations
listCrossAccountAuthorizationsResponse_nextToken :: Lens' ListCrossAccountAuthorizationsResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
listCrossAccountAuthorizationsResponse_httpStatus :: Lens' ListCrossAccountAuthorizationsResponse Int Source #
The response's http status code.