| 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.IoT.ListAuthorizers
Description
Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
This operation returns paginated results.
Synopsis
- data ListAuthorizers = ListAuthorizers' {}
- newListAuthorizers :: ListAuthorizers
- listAuthorizers_ascendingOrder :: Lens' ListAuthorizers (Maybe Bool)
- listAuthorizers_marker :: Lens' ListAuthorizers (Maybe Text)
- listAuthorizers_pageSize :: Lens' ListAuthorizers (Maybe Natural)
- listAuthorizers_status :: Lens' ListAuthorizers (Maybe AuthorizerStatus)
- data ListAuthorizersResponse = ListAuthorizersResponse' {}
- newListAuthorizersResponse :: Int -> ListAuthorizersResponse
- listAuthorizersResponse_authorizers :: Lens' ListAuthorizersResponse (Maybe [AuthorizerSummary])
- listAuthorizersResponse_nextMarker :: Lens' ListAuthorizersResponse (Maybe Text)
- listAuthorizersResponse_httpStatus :: Lens' ListAuthorizersResponse Int
Creating a Request
data ListAuthorizers Source #
See: newListAuthorizers smart constructor.
Constructors
| ListAuthorizers' | |
Fields
| |
Instances
newListAuthorizers :: ListAuthorizers Source #
Create a value of ListAuthorizers 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:ascendingOrder:ListAuthorizers', listAuthorizers_ascendingOrder - Return the list of authorizers in ascending alphabetical order.
$sel:marker:ListAuthorizers', listAuthorizers_marker - A marker used to get the next set of results.
$sel:pageSize:ListAuthorizers', listAuthorizers_pageSize - The maximum number of results to return at one time.
ListAuthorizers, listAuthorizers_status - The status of the list authorizers request.
Request Lenses
listAuthorizers_ascendingOrder :: Lens' ListAuthorizers (Maybe Bool) Source #
Return the list of authorizers in ascending alphabetical order.
listAuthorizers_marker :: Lens' ListAuthorizers (Maybe Text) Source #
A marker used to get the next set of results.
listAuthorizers_pageSize :: Lens' ListAuthorizers (Maybe Natural) Source #
The maximum number of results to return at one time.
listAuthorizers_status :: Lens' ListAuthorizers (Maybe AuthorizerStatus) Source #
The status of the list authorizers request.
Destructuring the Response
data ListAuthorizersResponse Source #
See: newListAuthorizersResponse smart constructor.
Constructors
| ListAuthorizersResponse' | |
Fields
| |
Instances
newListAuthorizersResponse Source #
Create a value of ListAuthorizersResponse 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:authorizers:ListAuthorizersResponse', listAuthorizersResponse_authorizers - The authorizers.
$sel:nextMarker:ListAuthorizersResponse', listAuthorizersResponse_nextMarker - A marker used to get the next set of results.
$sel:httpStatus:ListAuthorizersResponse', listAuthorizersResponse_httpStatus - The response's http status code.
Response Lenses
listAuthorizersResponse_authorizers :: Lens' ListAuthorizersResponse (Maybe [AuthorizerSummary]) Source #
The authorizers.
listAuthorizersResponse_nextMarker :: Lens' ListAuthorizersResponse (Maybe Text) Source #
A marker used to get the next set of results.
listAuthorizersResponse_httpStatus :: Lens' ListAuthorizersResponse Int Source #
The response's http status code.