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.TestInvokeAuthorizer

Contents

Description

Invoke the specified custom authorizer for testing purposes.

Synopsis

Creating a Request

testInvokeAuthorizer #

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

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

  • tiaAuthorizerName - The custom authorizer name.
  • tiaToken - The token returned by your custom authentication service.
  • tiaTokenSignature - The signature made with the token and your custom authentication service's private key.

data TestInvokeAuthorizer #

See: testInvokeAuthorizer smart constructor.

Instances

Eq TestInvokeAuthorizer # 
Data TestInvokeAuthorizer # 

Methods

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

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

toConstr :: TestInvokeAuthorizer -> Constr #

dataTypeOf :: TestInvokeAuthorizer -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TestInvokeAuthorizer # 
Show TestInvokeAuthorizer # 
Generic TestInvokeAuthorizer # 
Hashable TestInvokeAuthorizer # 
ToJSON TestInvokeAuthorizer # 
NFData TestInvokeAuthorizer # 

Methods

rnf :: TestInvokeAuthorizer -> () #

AWSRequest TestInvokeAuthorizer # 
ToHeaders TestInvokeAuthorizer # 
ToPath TestInvokeAuthorizer # 
ToQuery TestInvokeAuthorizer # 
type Rep TestInvokeAuthorizer # 
type Rep TestInvokeAuthorizer = D1 * (MetaData "TestInvokeAuthorizer" "Network.AWS.IoT.TestInvokeAuthorizer" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" False) (C1 * (MetaCons "TestInvokeAuthorizer'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_tiaAuthorizerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_tiaToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_tiaTokenSignature") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs TestInvokeAuthorizer # 

Request Lenses

tiaAuthorizerName :: Lens' TestInvokeAuthorizer Text #

The custom authorizer name.

tiaToken :: Lens' TestInvokeAuthorizer Text #

The token returned by your custom authentication service.

tiaTokenSignature :: Lens' TestInvokeAuthorizer Text #

The signature made with the token and your custom authentication service's private key.

Destructuring the Response

testInvokeAuthorizerResponse #

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

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

data TestInvokeAuthorizerResponse #

See: testInvokeAuthorizerResponse smart constructor.

Instances

Eq TestInvokeAuthorizerResponse # 
Data TestInvokeAuthorizerResponse # 

Methods

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

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

toConstr :: TestInvokeAuthorizerResponse -> Constr #

dataTypeOf :: TestInvokeAuthorizerResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TestInvokeAuthorizerResponse # 
Show TestInvokeAuthorizerResponse # 
Generic TestInvokeAuthorizerResponse # 
NFData TestInvokeAuthorizerResponse # 
type Rep TestInvokeAuthorizerResponse # 
type Rep TestInvokeAuthorizerResponse = D1 * (MetaData "TestInvokeAuthorizerResponse" "Network.AWS.IoT.TestInvokeAuthorizer" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" False) (C1 * (MetaCons "TestInvokeAuthorizerResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_tiarsPolicyDocuments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_tiarsPrincipalId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_tiarsDisconnectAfterInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_tiarsIsAuthenticated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_tiarsRefreshAfterInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_tiarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

tiarsDisconnectAfterInSeconds :: Lens' TestInvokeAuthorizerResponse (Maybe Int) #

The number of seconds after which the connection is terminated.

tiarsIsAuthenticated :: Lens' TestInvokeAuthorizerResponse (Maybe Bool) #

True if the token is authenticated, otherwise false.

tiarsRefreshAfterInSeconds :: Lens' TestInvokeAuthorizerResponse (Maybe Int) #

The number of seconds after which the temporary credentials are refreshed.