| 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.Types.AuthorizerDescription
Description
Synopsis
- data AuthorizerDescription = AuthorizerDescription' {
- authorizerArn :: Maybe Text
- authorizerFunctionArn :: Maybe Text
- authorizerName :: Maybe Text
- creationDate :: Maybe POSIX
- enableCachingForHttp :: Maybe Bool
- lastModifiedDate :: Maybe POSIX
- signingDisabled :: Maybe Bool
- status :: Maybe AuthorizerStatus
- tokenKeyName :: Maybe Text
- tokenSigningPublicKeys :: Maybe (HashMap Text Text)
- newAuthorizerDescription :: AuthorizerDescription
- authorizerDescription_authorizerArn :: Lens' AuthorizerDescription (Maybe Text)
- authorizerDescription_authorizerFunctionArn :: Lens' AuthorizerDescription (Maybe Text)
- authorizerDescription_authorizerName :: Lens' AuthorizerDescription (Maybe Text)
- authorizerDescription_creationDate :: Lens' AuthorizerDescription (Maybe UTCTime)
- authorizerDescription_enableCachingForHttp :: Lens' AuthorizerDescription (Maybe Bool)
- authorizerDescription_lastModifiedDate :: Lens' AuthorizerDescription (Maybe UTCTime)
- authorizerDescription_signingDisabled :: Lens' AuthorizerDescription (Maybe Bool)
- authorizerDescription_status :: Lens' AuthorizerDescription (Maybe AuthorizerStatus)
- authorizerDescription_tokenKeyName :: Lens' AuthorizerDescription (Maybe Text)
- authorizerDescription_tokenSigningPublicKeys :: Lens' AuthorizerDescription (Maybe (HashMap Text Text))
Documentation
data AuthorizerDescription Source #
The authorizer description.
See: newAuthorizerDescription smart constructor.
Constructors
| AuthorizerDescription' | |
Fields
| |
Instances
newAuthorizerDescription :: AuthorizerDescription Source #
Create a value of AuthorizerDescription 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:authorizerArn:AuthorizerDescription', authorizerDescription_authorizerArn - The authorizer ARN.
$sel:authorizerFunctionArn:AuthorizerDescription', authorizerDescription_authorizerFunctionArn - The authorizer's Lambda function ARN.
$sel:authorizerName:AuthorizerDescription', authorizerDescription_authorizerName - The authorizer name.
$sel:creationDate:AuthorizerDescription', authorizerDescription_creationDate - The UNIX timestamp of when the authorizer was created.
$sel:enableCachingForHttp:AuthorizerDescription', authorizerDescription_enableCachingForHttp - When true, the result from the authorizer’s Lambda function is cached
for the time specified in refreshAfterInSeconds. The cached result is
used while the device reuses the same HTTP connection.
$sel:lastModifiedDate:AuthorizerDescription', authorizerDescription_lastModifiedDate - The UNIX timestamp of when the authorizer was last updated.
$sel:signingDisabled:AuthorizerDescription', authorizerDescription_signingDisabled - Specifies whether IoT validates the token signature in an authorization
request.
$sel:status:AuthorizerDescription', authorizerDescription_status - The status of the authorizer.
$sel:tokenKeyName:AuthorizerDescription', authorizerDescription_tokenKeyName - The key used to extract the token from the HTTP headers.
$sel:tokenSigningPublicKeys:AuthorizerDescription', authorizerDescription_tokenSigningPublicKeys - The public keys used to validate the token signature returned by your
custom authentication service.
authorizerDescription_authorizerArn :: Lens' AuthorizerDescription (Maybe Text) Source #
The authorizer ARN.
authorizerDescription_authorizerFunctionArn :: Lens' AuthorizerDescription (Maybe Text) Source #
The authorizer's Lambda function ARN.
authorizerDescription_authorizerName :: Lens' AuthorizerDescription (Maybe Text) Source #
The authorizer name.
authorizerDescription_creationDate :: Lens' AuthorizerDescription (Maybe UTCTime) Source #
The UNIX timestamp of when the authorizer was created.
authorizerDescription_enableCachingForHttp :: Lens' AuthorizerDescription (Maybe Bool) Source #
When true, the result from the authorizer’s Lambda function is cached
for the time specified in refreshAfterInSeconds. The cached result is
used while the device reuses the same HTTP connection.
authorizerDescription_lastModifiedDate :: Lens' AuthorizerDescription (Maybe UTCTime) Source #
The UNIX timestamp of when the authorizer was last updated.
authorizerDescription_signingDisabled :: Lens' AuthorizerDescription (Maybe Bool) Source #
Specifies whether IoT validates the token signature in an authorization request.
authorizerDescription_status :: Lens' AuthorizerDescription (Maybe AuthorizerStatus) Source #
The status of the authorizer.
authorizerDescription_tokenKeyName :: Lens' AuthorizerDescription (Maybe Text) Source #
The key used to extract the token from the HTTP headers.
authorizerDescription_tokenSigningPublicKeys :: Lens' AuthorizerDescription (Maybe (HashMap Text Text)) Source #
The public keys used to validate the token signature returned by your custom authentication service.