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 |
Describes an authorizer.
Requires permission to access the DescribeAuthorizer action.
Synopsis
- data DescribeAuthorizer = DescribeAuthorizer' {}
- newDescribeAuthorizer :: Text -> DescribeAuthorizer
- describeAuthorizer_authorizerName :: Lens' DescribeAuthorizer Text
- data DescribeAuthorizerResponse = DescribeAuthorizerResponse' {}
- newDescribeAuthorizerResponse :: Int -> DescribeAuthorizerResponse
- describeAuthorizerResponse_authorizerDescription :: Lens' DescribeAuthorizerResponse (Maybe AuthorizerDescription)
- describeAuthorizerResponse_httpStatus :: Lens' DescribeAuthorizerResponse Int
Creating a Request
data DescribeAuthorizer Source #
See: newDescribeAuthorizer
smart constructor.
DescribeAuthorizer' | |
|
Instances
newDescribeAuthorizer Source #
Create a value of DescribeAuthorizer
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:authorizerName:DescribeAuthorizer'
, describeAuthorizer_authorizerName
- The name of the authorizer to describe.
Request Lenses
describeAuthorizer_authorizerName :: Lens' DescribeAuthorizer Text Source #
The name of the authorizer to describe.
Destructuring the Response
data DescribeAuthorizerResponse Source #
See: newDescribeAuthorizerResponse
smart constructor.
DescribeAuthorizerResponse' | |
|
Instances
newDescribeAuthorizerResponse Source #
Create a value of DescribeAuthorizerResponse
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:authorizerDescription:DescribeAuthorizerResponse'
, describeAuthorizerResponse_authorizerDescription
- The authorizer description.
$sel:httpStatus:DescribeAuthorizerResponse'
, describeAuthorizerResponse_httpStatus
- The response's http status code.
Response Lenses
describeAuthorizerResponse_authorizerDescription :: Lens' DescribeAuthorizerResponse (Maybe AuthorizerDescription) Source #
The authorizer description.
describeAuthorizerResponse_httpStatus :: Lens' DescribeAuthorizerResponse Int Source #
The response's http status code.