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 |
Synopsis
- data GetAuthorizers = GetAuthorizers' {}
- newGetAuthorizers :: Text -> GetAuthorizers
- getAuthorizers_limit :: Lens' GetAuthorizers (Maybe Int)
- getAuthorizers_position :: Lens' GetAuthorizers (Maybe Text)
- getAuthorizers_restApiId :: Lens' GetAuthorizers Text
- data GetAuthorizersResponse = GetAuthorizersResponse' {
- items :: Maybe [Authorizer]
- position :: Maybe Text
- httpStatus :: Int
- newGetAuthorizersResponse :: Int -> GetAuthorizersResponse
- getAuthorizersResponse_items :: Lens' GetAuthorizersResponse (Maybe [Authorizer])
- getAuthorizersResponse_position :: Lens' GetAuthorizersResponse (Maybe Text)
- getAuthorizersResponse_httpStatus :: Lens' GetAuthorizersResponse Int
Creating a Request
data GetAuthorizers Source #
Request to describe an existing Authorizers resource.
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:limit:GetAuthorizers'
, getAuthorizers_limit
- The maximum number of returned results per page. The default value is 25
and the maximum value is 500.
$sel:position:GetAuthorizers'
, getAuthorizers_position
- The current pagination position in the paged result set.
$sel:restApiId:GetAuthorizers'
, getAuthorizers_restApiId
- [Required] The string identifier of the associated RestApi.
Request Lenses
getAuthorizers_limit :: Lens' GetAuthorizers (Maybe Int) Source #
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
getAuthorizers_position :: Lens' GetAuthorizers (Maybe Text) Source #
The current pagination position in the paged result set.
getAuthorizers_restApiId :: Lens' GetAuthorizers Text Source #
- Required
- The string identifier of the associated RestApi.
Destructuring the Response
data GetAuthorizersResponse Source #
Represents a collection of Authorizer resources.
Use Lambda Function as Authorizer Use Cognito User Pool as Authorizer
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 current page of elements from this collection.
$sel:position:GetAuthorizers'
, getAuthorizersResponse_position
- Undocumented member.
$sel:httpStatus:GetAuthorizersResponse'
, getAuthorizersResponse_httpStatus
- The response's http status code.
Response Lenses
getAuthorizersResponse_items :: Lens' GetAuthorizersResponse (Maybe [Authorizer]) Source #
The current page of elements from this collection.
getAuthorizersResponse_position :: Lens' GetAuthorizersResponse (Maybe Text) Source #
Undocumented member.
getAuthorizersResponse_httpStatus :: Lens' GetAuthorizersResponse Int Source #
The response's http status code.