Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Invoke the specified custom authorizer for testing purposes.
- testInvokeAuthorizer :: Text -> Text -> Text -> TestInvokeAuthorizer
- data TestInvokeAuthorizer
- tiaAuthorizerName :: Lens' TestInvokeAuthorizer Text
- tiaToken :: Lens' TestInvokeAuthorizer Text
- tiaTokenSignature :: Lens' TestInvokeAuthorizer Text
- testInvokeAuthorizerResponse :: Int -> TestInvokeAuthorizerResponse
- data TestInvokeAuthorizerResponse
- tiarsPolicyDocuments :: Lens' TestInvokeAuthorizerResponse [Text]
- tiarsPrincipalId :: Lens' TestInvokeAuthorizerResponse (Maybe Text)
- tiarsDisconnectAfterInSeconds :: Lens' TestInvokeAuthorizerResponse (Maybe Int)
- tiarsIsAuthenticated :: Lens' TestInvokeAuthorizerResponse (Maybe Bool)
- tiarsRefreshAfterInSeconds :: Lens' TestInvokeAuthorizerResponse (Maybe Int)
- tiarsResponseStatus :: Lens' TestInvokeAuthorizerResponse Int
Creating a Request
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.
Request Lenses
tiaAuthorizerName :: Lens' TestInvokeAuthorizer Text Source #
The custom authorizer name.
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:
tiarsPolicyDocuments
- IAM policy documents.tiarsPrincipalId
- The principal ID.tiarsDisconnectAfterInSeconds
- The number of seconds after which the connection is terminated.tiarsIsAuthenticated
- True if the token is authenticated, otherwise false.tiarsRefreshAfterInSeconds
- The number of seconds after which the temporary credentials are refreshed.tiarsResponseStatus
- -- | The response status code.
data TestInvokeAuthorizerResponse Source #
See: testInvokeAuthorizerResponse
smart constructor.
Response Lenses
tiarsPolicyDocuments :: Lens' TestInvokeAuthorizerResponse [Text] Source #
IAM policy documents.
tiarsPrincipalId :: Lens' TestInvokeAuthorizerResponse (Maybe Text) Source #
The principal ID.
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.
tiarsResponseStatus :: Lens' TestInvokeAuthorizerResponse Int Source #
- - | The response status code.