| 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.DescribeAuthorizer
Description
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.
Constructors
| DescribeAuthorizer' | |
Fields
| |
Instances
newDescribeAuthorizer Source #
Arguments
| :: Text | |
| -> DescribeAuthorizer |
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:
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.
Constructors
| DescribeAuthorizerResponse' | |
Fields
| |
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.