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 Source #

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 Source #

See: updateAuthorizer smart constructor.

Instances

Eq UpdateAuthorizer Source # 
Data UpdateAuthorizer Source # 

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 Source # 
Show UpdateAuthorizer Source # 
Generic UpdateAuthorizer Source # 
Hashable UpdateAuthorizer Source # 
ToJSON UpdateAuthorizer Source # 
NFData UpdateAuthorizer Source # 

Methods

rnf :: UpdateAuthorizer -> () #

AWSRequest UpdateAuthorizer Source # 
ToHeaders UpdateAuthorizer Source # 
ToPath UpdateAuthorizer Source # 
ToQuery UpdateAuthorizer Source # 
type Rep UpdateAuthorizer Source # 
type Rep UpdateAuthorizer = D1 * (MetaData "UpdateAuthorizer" "Network.AWS.IoT.UpdateAuthorizer" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" 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 Source # 

Request Lenses

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

The status of the update authorizer request.

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

The ARN of the authorizer's Lambda function.

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

The public keys used to verify the token signature.

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

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

Destructuring the Response

updateAuthorizerResponse Source #

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 Source #

See: updateAuthorizerResponse smart constructor.

Instances

Eq UpdateAuthorizerResponse Source # 
Data UpdateAuthorizerResponse Source # 

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 Source # 
Show UpdateAuthorizerResponse Source # 
Generic UpdateAuthorizerResponse Source # 
NFData UpdateAuthorizerResponse Source # 
type Rep UpdateAuthorizerResponse Source # 
type Rep UpdateAuthorizerResponse = D1 * (MetaData "UpdateAuthorizerResponse" "Network.AWS.IoT.UpdateAuthorizer" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" 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