amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.UpdateAuthorizer

Description

Updates an authorizer.

Requires permission to access the UpdateAuthorizer action.

Synopsis

Creating a Request

data UpdateAuthorizer Source #

See: newUpdateAuthorizer smart constructor.

Constructors

UpdateAuthorizer' 

Fields

Instances

Instances details
ToJSON UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

ToHeaders UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

ToPath UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

ToQuery UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

AWSRequest UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Associated Types

type AWSResponse UpdateAuthorizer #

Generic UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Associated Types

type Rep UpdateAuthorizer :: Type -> Type #

Read UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Show UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

NFData UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Methods

rnf :: UpdateAuthorizer -> () #

Eq UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Hashable UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

type AWSResponse UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

type Rep UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

type Rep UpdateAuthorizer = D1 ('MetaData "UpdateAuthorizer" "Amazonka.IoT.UpdateAuthorizer" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "UpdateAuthorizer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authorizerFunctionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "enableCachingForHttp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthorizerStatus)))) :*: (S1 ('MetaSel ('Just "tokenKeyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tokenSigningPublicKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "authorizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateAuthorizer Source #

Create a value of UpdateAuthorizer 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:

UpdateAuthorizer, updateAuthorizer_authorizerFunctionArn - The ARN of the authorizer's Lambda function.

UpdateAuthorizer, updateAuthorizer_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.

UpdateAuthorizer, updateAuthorizer_status - The status of the update authorizer request.

UpdateAuthorizer, updateAuthorizer_tokenKeyName - The key used to extract the token from the HTTP headers.

UpdateAuthorizer, updateAuthorizer_tokenSigningPublicKeys - The public keys used to verify the token signature.

UpdateAuthorizer, updateAuthorizer_authorizerName - The authorizer name.

Request Lenses

updateAuthorizer_authorizerFunctionArn :: Lens' UpdateAuthorizer (Maybe Text) Source #

The ARN of the authorizer's Lambda function.

updateAuthorizer_enableCachingForHttp :: Lens' UpdateAuthorizer (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.

updateAuthorizer_status :: Lens' UpdateAuthorizer (Maybe AuthorizerStatus) Source #

The status of the update authorizer request.

updateAuthorizer_tokenKeyName :: Lens' UpdateAuthorizer (Maybe Text) Source #

The key used to extract the token from the HTTP headers.

updateAuthorizer_tokenSigningPublicKeys :: Lens' UpdateAuthorizer (Maybe (HashMap Text Text)) Source #

The public keys used to verify the token signature.

Destructuring the Response

data UpdateAuthorizerResponse Source #

See: newUpdateAuthorizerResponse smart constructor.

Constructors

UpdateAuthorizerResponse' 

Fields

Instances

Instances details
Generic UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Associated Types

type Rep UpdateAuthorizerResponse :: Type -> Type #

Read UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Show UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

NFData UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Eq UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

type Rep UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

type Rep UpdateAuthorizerResponse = D1 ('MetaData "UpdateAuthorizerResponse" "Amazonka.IoT.UpdateAuthorizer" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "UpdateAuthorizerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "authorizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateAuthorizerResponse Source #

Create a value of UpdateAuthorizerResponse 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:

UpdateAuthorizerResponse, updateAuthorizerResponse_authorizerArn - The authorizer ARN.

UpdateAuthorizer, updateAuthorizerResponse_authorizerName - The authorizer name.

$sel:httpStatus:UpdateAuthorizerResponse', updateAuthorizerResponse_httpStatus - The response's http status code.

Response Lenses