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 |
Gets the Authorizers for an API.
This operation returns paginated results.
Synopsis
- data GetAuthorizers = GetAuthorizers' {}
- newGetAuthorizers :: Text -> GetAuthorizers
- getAuthorizers_nextToken :: Lens' GetAuthorizers (Maybe Text)
- getAuthorizers_maxResults :: 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.
Instances
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:nextToken:GetAuthorizers'
, getAuthorizers_nextToken
- The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:maxResults:GetAuthorizers'
, getAuthorizers_maxResults
- The maximum number of elements to be returned for this resource.
$sel:apiId:GetAuthorizers'
, getAuthorizers_apiId
- The API identifier.
Request Lenses
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_maxResults :: Lens' GetAuthorizers (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
getAuthorizers_apiId :: Lens' GetAuthorizers Text Source #
The API identifier.
Destructuring the Response
data GetAuthorizersResponse Source #
See: newGetAuthorizersResponse
smart constructor.
GetAuthorizersResponse' | |
|
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.
$sel:nextToken: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.