| 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.ApiGatewayV2.GetAuthorizers
Description
Gets the Authorizers for an API.
This operation returns paginated results.
Synopsis
- data GetAuthorizers = GetAuthorizers' {}
- newGetAuthorizers :: Text -> GetAuthorizers
- getAuthorizers_maxResults :: Lens' GetAuthorizers (Maybe Text)
- getAuthorizers_nextToken :: Lens' GetAuthorizers (Maybe Text)
- getAuthorizers_apiId :: Lens' GetAuthorizers Text
- data GetAuthorizersResponse = GetAuthorizersResponse' {
- items :: Maybe [Authorizer]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetAuthorizersResponse :: Int -> GetAuthorizersResponse
- getAuthorizersResponse_items :: Lens' GetAuthorizersResponse (Maybe [Authorizer])
- getAuthorizersResponse_nextToken :: Lens' GetAuthorizersResponse (Maybe Text)
- getAuthorizersResponse_httpStatus :: Lens' GetAuthorizersResponse Int
Creating a Request
data GetAuthorizers Source #
See: newGetAuthorizers smart constructor.
Constructors
| GetAuthorizers' | |
Instances
Arguments
| :: Text | |
| -> GetAuthorizers |
Create a value of GetAuthorizers 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:GetAuthorizers', getAuthorizers_maxResults - The maximum number of elements to be returned for this resource.
GetAuthorizers, getAuthorizers_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
GetAuthorizers, getAuthorizers_apiId - The API identifier.
Request Lenses
getAuthorizers_maxResults :: Lens' GetAuthorizers (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
getAuthorizers_nextToken :: Lens' GetAuthorizers (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getAuthorizers_apiId :: Lens' GetAuthorizers Text Source #
The API identifier.
Destructuring the Response
data GetAuthorizersResponse Source #
See: newGetAuthorizersResponse smart constructor.
Constructors
| GetAuthorizersResponse' | |
Fields
| |
Instances
newGetAuthorizersResponse Source #
Create a value of GetAuthorizersResponse 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:items:GetAuthorizersResponse', getAuthorizersResponse_items - The elements from this collection.
GetAuthorizers, getAuthorizersResponse_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:httpStatus:GetAuthorizersResponse', getAuthorizersResponse_httpStatus - The response's http status code.
Response Lenses
getAuthorizersResponse_items :: Lens' GetAuthorizersResponse (Maybe [Authorizer]) Source #
The elements from this collection.
getAuthorizersResponse_nextToken :: Lens' GetAuthorizersResponse (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getAuthorizersResponse_httpStatus :: Lens' GetAuthorizersResponse Int Source #
The response's http status code.