amazonka-iot-1.6.1: 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 Source #

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

See: testInvokeAuthorizer smart constructor.

Instances
Eq TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Data TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.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 Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Show TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Generic TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Associated Types

type Rep TestInvokeAuthorizer :: Type -> Type #

Hashable TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

ToJSON TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

AWSRequest TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Associated Types

type Rs TestInvokeAuthorizer :: Type #

ToHeaders TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

ToPath TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

ToQuery TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

NFData TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Methods

rnf :: TestInvokeAuthorizer -> () #

type Rep TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

type Rep TestInvokeAuthorizer = D1 (MetaData "TestInvokeAuthorizer" "Network.AWS.IoT.TestInvokeAuthorizer" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "TestInvokeAuthorizer'" PrefixI True) (S1 (MetaSel (Just "_tiaAuthorizerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_tiaToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tiaTokenSignature") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs TestInvokeAuthorizer Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Request Lenses

tiaToken :: Lens' TestInvokeAuthorizer Text Source #

The token returned by your custom authentication service.

tiaTokenSignature :: Lens' TestInvokeAuthorizer Text Source #

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

Destructuring the Response

testInvokeAuthorizerResponse Source #

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

See: testInvokeAuthorizerResponse smart constructor.

Instances
Eq TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Data TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

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

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Show TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Generic TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

Associated Types

type Rep TestInvokeAuthorizerResponse :: Type -> Type #

NFData TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

type Rep TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Network.AWS.IoT.TestInvokeAuthorizer

type Rep TestInvokeAuthorizerResponse = D1 (MetaData "TestInvokeAuthorizerResponse" "Network.AWS.IoT.TestInvokeAuthorizer" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "TestInvokeAuthorizerResponse'" PrefixI True) ((S1 (MetaSel (Just "_tiarsPolicyDocuments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_tiarsPrincipalId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tiarsDisconnectAfterInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 (MetaSel (Just "_tiarsIsAuthenticated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_tiarsRefreshAfterInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_tiarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

tiarsDisconnectAfterInSeconds :: Lens' TestInvokeAuthorizerResponse (Maybe Int) Source #

The number of seconds after which the connection is terminated.

tiarsIsAuthenticated :: Lens' TestInvokeAuthorizerResponse (Maybe Bool) Source #

True if the token is authenticated, otherwise false.

tiarsRefreshAfterInSeconds :: Lens' TestInvokeAuthorizerResponse (Maybe Int) Source #

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