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 |
Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
Synopsis
- setDefaultAuthorizer :: Text -> SetDefaultAuthorizer
- data SetDefaultAuthorizer
- sdaAuthorizerName :: Lens' SetDefaultAuthorizer Text
- setDefaultAuthorizerResponse :: Int -> SetDefaultAuthorizerResponse
- data SetDefaultAuthorizerResponse
- sdarsAuthorizerName :: Lens' SetDefaultAuthorizerResponse (Maybe Text)
- sdarsAuthorizerARN :: Lens' SetDefaultAuthorizerResponse (Maybe Text)
- sdarsResponseStatus :: Lens' SetDefaultAuthorizerResponse Int
Creating a Request
Creates a value of SetDefaultAuthorizer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdaAuthorizerName
- The authorizer name.
data SetDefaultAuthorizer Source #
See: setDefaultAuthorizer
smart constructor.
Instances
Request Lenses
sdaAuthorizerName :: Lens' SetDefaultAuthorizer Text Source #
The authorizer name.
Destructuring the Response
setDefaultAuthorizerResponse Source #
Creates a value of SetDefaultAuthorizerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdarsAuthorizerName
- The authorizer name.sdarsAuthorizerARN
- The authorizer ARN.sdarsResponseStatus
- -- | The response status code.
data SetDefaultAuthorizerResponse Source #
See: setDefaultAuthorizerResponse
smart constructor.
Instances
Response Lenses
sdarsAuthorizerName :: Lens' SetDefaultAuthorizerResponse (Maybe Text) Source #
The authorizer name.
sdarsAuthorizerARN :: Lens' SetDefaultAuthorizerResponse (Maybe Text) Source #
The authorizer ARN.
sdarsResponseStatus :: Lens' SetDefaultAuthorizerResponse Int Source #
- - | The response status code.