| 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.Route53RecoveryReadiness.ListCrossAccountAuthorizations
Description
Lists the cross-account readiness authorizations that are in place for an account.
This operation returns paginated results.
Synopsis
- data ListCrossAccountAuthorizations = ListCrossAccountAuthorizations' {}
- newListCrossAccountAuthorizations :: ListCrossAccountAuthorizations
- listCrossAccountAuthorizations_maxResults :: Lens' ListCrossAccountAuthorizations (Maybe Natural)
- listCrossAccountAuthorizations_nextToken :: Lens' ListCrossAccountAuthorizations (Maybe Text)
- 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.
Constructors
| ListCrossAccountAuthorizations' | |
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:maxResults:ListCrossAccountAuthorizations', listCrossAccountAuthorizations_maxResults - The number of objects that you want to return with this call.
ListCrossAccountAuthorizations, listCrossAccountAuthorizations_nextToken - The token that identifies which batch of results you want to see.
Request Lenses
listCrossAccountAuthorizations_maxResults :: Lens' ListCrossAccountAuthorizations (Maybe Natural) Source #
The number of objects that you want to return with this call.
listCrossAccountAuthorizations_nextToken :: Lens' ListCrossAccountAuthorizations (Maybe Text) Source #
The token that identifies which batch of results you want to see.
Destructuring the Response
data ListCrossAccountAuthorizationsResponse Source #
See: newListCrossAccountAuthorizationsResponse smart constructor.
Constructors
| ListCrossAccountAuthorizationsResponse' | |
Fields
| |
Instances
newListCrossAccountAuthorizationsResponse Source #
Arguments
| :: Int | |
| -> ListCrossAccountAuthorizationsResponse |
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 cross-account authorizations.
ListCrossAccountAuthorizations, listCrossAccountAuthorizationsResponse_nextToken - The token that identifies which batch of results you want to see.
$sel:httpStatus:ListCrossAccountAuthorizationsResponse', listCrossAccountAuthorizationsResponse_httpStatus - The response's http status code.
Response Lenses
listCrossAccountAuthorizationsResponse_crossAccountAuthorizations :: Lens' ListCrossAccountAuthorizationsResponse (Maybe [Text]) Source #
A list of cross-account authorizations.
listCrossAccountAuthorizationsResponse_nextToken :: Lens' ListCrossAccountAuthorizationsResponse (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listCrossAccountAuthorizationsResponse_httpStatus :: Lens' ListCrossAccountAuthorizationsResponse Int Source #
The response's http status code.