libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Read UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Show UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Generic UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Associated Types

type Rep UpdateAuthorizer :: Type -> Type #

NFData UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Methods

rnf :: UpdateAuthorizer -> () #

Hashable UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

ToJSON UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

AWSRequest UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Associated Types

type AWSResponse 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

type Rep UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

type Rep UpdateAuthorizer = D1 ('MetaData "UpdateAuthorizer" "Amazonka.IoT.UpdateAuthorizer" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateAuthorizer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthorizerStatus)) :*: S1 ('MetaSel ('Just "authorizerFunctionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tokenSigningPublicKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "tokenKeyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "authorizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

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:

$sel:status:UpdateAuthorizer', updateAuthorizer_status - The status of the update authorizer request.

$sel:authorizerFunctionArn:UpdateAuthorizer', updateAuthorizer_authorizerFunctionArn - The ARN of the authorizer's Lambda function.

$sel:tokenSigningPublicKeys:UpdateAuthorizer', updateAuthorizer_tokenSigningPublicKeys - The public keys used to verify the token signature.

$sel:tokenKeyName:UpdateAuthorizer', updateAuthorizer_tokenKeyName - The key used to extract the token from the HTTP headers.

$sel:authorizerName:UpdateAuthorizer', updateAuthorizer_authorizerName - The authorizer name.

Request Lenses

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

The status of the update authorizer request.

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

The ARN of the authorizer's Lambda function.

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

The public keys used to verify the token signature.

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

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

Destructuring the Response

data UpdateAuthorizerResponse Source #

See: newUpdateAuthorizerResponse smart constructor.

Constructors

UpdateAuthorizerResponse' 

Fields

Instances

Instances details
Eq UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Read UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Show UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Generic UpdateAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateAuthorizer

Associated Types

type Rep UpdateAuthorizerResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateAuthorizerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "authorizerArn") '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:

$sel:authorizerName:UpdateAuthorizer', updateAuthorizerResponse_authorizerName - The authorizer name.

$sel:authorizerArn:UpdateAuthorizerResponse', updateAuthorizerResponse_authorizerArn - The authorizer ARN.

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

Response Lenses