amazonka-iot-1.6.0: Amazon IoT SDK.

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

Network.AWS.IoT.UpdateAuthorizer

Contents

Description

Updates an authorizer.

Synopsis

Creating a Request

updateAuthorizer #

Creates a value of UpdateAuthorizer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateAuthorizer #

See: updateAuthorizer smart constructor.

Instances

Eq UpdateAuthorizer # 
Data UpdateAuthorizer # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateAuthorizer -> c UpdateAuthorizer #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateAuthorizer #

toConstr :: UpdateAuthorizer -> Constr #

dataTypeOf :: UpdateAuthorizer -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateAuthorizer) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateAuthorizer) #

gmapT :: (forall b. Data b => b -> b) -> UpdateAuthorizer -> UpdateAuthorizer #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAuthorizer -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAuthorizer -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateAuthorizer -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateAuthorizer -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateAuthorizer -> m UpdateAuthorizer #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAuthorizer -> m UpdateAuthorizer #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAuthorizer -> m UpdateAuthorizer #

Read UpdateAuthorizer # 
Show UpdateAuthorizer # 
Generic UpdateAuthorizer # 
Hashable UpdateAuthorizer # 
ToJSON UpdateAuthorizer # 
NFData UpdateAuthorizer # 

Methods

rnf :: UpdateAuthorizer -> () #

AWSRequest UpdateAuthorizer # 
ToHeaders UpdateAuthorizer # 
ToPath UpdateAuthorizer # 
ToQuery UpdateAuthorizer # 
type Rep UpdateAuthorizer # 
type Rep UpdateAuthorizer = D1 * (MetaData "UpdateAuthorizer" "Network.AWS.IoT.UpdateAuthorizer" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" False) (C1 * (MetaCons "UpdateAuthorizer'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uaStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AuthorizerStatus))) (S1 * (MetaSel (Just Symbol "_uaAuthorizerFunctionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uaTokenSigningPublicKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uaTokenKeyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uaAuthorizerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateAuthorizer # 

Request Lenses

uaStatus :: Lens' UpdateAuthorizer (Maybe AuthorizerStatus) #

The status of the update authorizer request.

uaAuthorizerFunctionARN :: Lens' UpdateAuthorizer (Maybe Text) #

The ARN of the authorizer's Lambda function.

uaTokenSigningPublicKeys :: Lens' UpdateAuthorizer (HashMap Text Text) #

The public keys used to verify the token signature.

uaTokenKeyName :: Lens' UpdateAuthorizer (Maybe Text) #

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

Destructuring the Response

updateAuthorizerResponse #

Creates a value of UpdateAuthorizerResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateAuthorizerResponse #

See: updateAuthorizerResponse smart constructor.

Instances

Eq UpdateAuthorizerResponse # 
Data UpdateAuthorizerResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateAuthorizerResponse -> c UpdateAuthorizerResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateAuthorizerResponse #

toConstr :: UpdateAuthorizerResponse -> Constr #

dataTypeOf :: UpdateAuthorizerResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateAuthorizerResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateAuthorizerResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateAuthorizerResponse -> UpdateAuthorizerResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAuthorizerResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAuthorizerResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateAuthorizerResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateAuthorizerResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateAuthorizerResponse -> m UpdateAuthorizerResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAuthorizerResponse -> m UpdateAuthorizerResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAuthorizerResponse -> m UpdateAuthorizerResponse #

Read UpdateAuthorizerResponse # 
Show UpdateAuthorizerResponse # 
Generic UpdateAuthorizerResponse # 
NFData UpdateAuthorizerResponse # 
type Rep UpdateAuthorizerResponse # 
type Rep UpdateAuthorizerResponse = D1 * (MetaData "UpdateAuthorizerResponse" "Network.AWS.IoT.UpdateAuthorizer" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" False) (C1 * (MetaCons "UpdateAuthorizerResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsAuthorizerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsAuthorizerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

uarsResponseStatus :: Lens' UpdateAuthorizerResponse Int #

  • - | The response status code.