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 the default authorizer.
Requires permission to access the DescribeDefaultAuthorizer action.
Synopsis
- data DescribeDefaultAuthorizer = DescribeDefaultAuthorizer' {
- newDescribeDefaultAuthorizer :: DescribeDefaultAuthorizer
- data DescribeDefaultAuthorizerResponse = DescribeDefaultAuthorizerResponse' {}
- newDescribeDefaultAuthorizerResponse :: Int -> DescribeDefaultAuthorizerResponse
- describeDefaultAuthorizerResponse_authorizerDescription :: Lens' DescribeDefaultAuthorizerResponse (Maybe AuthorizerDescription)
- describeDefaultAuthorizerResponse_httpStatus :: Lens' DescribeDefaultAuthorizerResponse Int
Creating a Request
data DescribeDefaultAuthorizer Source #
See: newDescribeDefaultAuthorizer
smart constructor.
Instances
newDescribeDefaultAuthorizer :: DescribeDefaultAuthorizer Source #
Create a value of DescribeDefaultAuthorizer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeDefaultAuthorizerResponse Source #
See: newDescribeDefaultAuthorizerResponse
smart constructor.
DescribeDefaultAuthorizerResponse' | |
|
Instances
Eq DescribeDefaultAuthorizerResponse Source # | |
Read DescribeDefaultAuthorizerResponse Source # | |
Show DescribeDefaultAuthorizerResponse Source # | |
Defined in Amazonka.IoT.DescribeDefaultAuthorizer | |
Generic DescribeDefaultAuthorizerResponse Source # | |
NFData DescribeDefaultAuthorizerResponse Source # | |
Defined in Amazonka.IoT.DescribeDefaultAuthorizer rnf :: DescribeDefaultAuthorizerResponse -> () # | |
type Rep DescribeDefaultAuthorizerResponse Source # | |
Defined in Amazonka.IoT.DescribeDefaultAuthorizer type Rep DescribeDefaultAuthorizerResponse = D1 ('MetaData "DescribeDefaultAuthorizerResponse" "Amazonka.IoT.DescribeDefaultAuthorizer" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeDefaultAuthorizerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizerDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthorizerDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeDefaultAuthorizerResponse Source #
Create a value of DescribeDefaultAuthorizerResponse
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:DescribeDefaultAuthorizerResponse'
, describeDefaultAuthorizerResponse_authorizerDescription
- The default authorizer's description.
$sel:httpStatus:DescribeDefaultAuthorizerResponse'
, describeDefaultAuthorizerResponse_httpStatus
- The response's http status code.
Response Lenses
describeDefaultAuthorizerResponse_authorizerDescription :: Lens' DescribeDefaultAuthorizerResponse (Maybe AuthorizerDescription) Source #
The default authorizer's description.
describeDefaultAuthorizerResponse_httpStatus :: Lens' DescribeDefaultAuthorizerResponse Int Source #
The response's http status code.