Copyright | (c) 2013-2021 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 |
Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
Requires permission to access the SetDefaultAuthorizer action.
Synopsis
- data SetDefaultAuthorizer = SetDefaultAuthorizer' {}
- newSetDefaultAuthorizer :: Text -> SetDefaultAuthorizer
- setDefaultAuthorizer_authorizerName :: Lens' SetDefaultAuthorizer Text
- data SetDefaultAuthorizerResponse = SetDefaultAuthorizerResponse' {}
- newSetDefaultAuthorizerResponse :: Int -> SetDefaultAuthorizerResponse
- setDefaultAuthorizerResponse_authorizerName :: Lens' SetDefaultAuthorizerResponse (Maybe Text)
- setDefaultAuthorizerResponse_authorizerArn :: Lens' SetDefaultAuthorizerResponse (Maybe Text)
- setDefaultAuthorizerResponse_httpStatus :: Lens' SetDefaultAuthorizerResponse Int
Creating a Request
data SetDefaultAuthorizer Source #
See: newSetDefaultAuthorizer
smart constructor.
SetDefaultAuthorizer' | |
|
Instances
newSetDefaultAuthorizer Source #
Create a value of SetDefaultAuthorizer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authorizerName:SetDefaultAuthorizer'
, setDefaultAuthorizer_authorizerName
- The authorizer name.
Request Lenses
setDefaultAuthorizer_authorizerName :: Lens' SetDefaultAuthorizer Text Source #
The authorizer name.
Destructuring the Response
data SetDefaultAuthorizerResponse Source #
See: newSetDefaultAuthorizerResponse
smart constructor.
SetDefaultAuthorizerResponse' | |
|
Instances
newSetDefaultAuthorizerResponse Source #
Create a value of SetDefaultAuthorizerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authorizerName:SetDefaultAuthorizer'
, setDefaultAuthorizerResponse_authorizerName
- The authorizer name.
$sel:authorizerArn:SetDefaultAuthorizerResponse'
, setDefaultAuthorizerResponse_authorizerArn
- The authorizer ARN.
$sel:httpStatus:SetDefaultAuthorizerResponse'
, setDefaultAuthorizerResponse_httpStatus
- The response's http status code.
Response Lenses
setDefaultAuthorizerResponse_authorizerName :: Lens' SetDefaultAuthorizerResponse (Maybe Text) Source #
The authorizer name.
setDefaultAuthorizerResponse_authorizerArn :: Lens' SetDefaultAuthorizerResponse (Maybe Text) Source #
The authorizer ARN.
setDefaultAuthorizerResponse_httpStatus :: Lens' SetDefaultAuthorizerResponse Int Source #
The response's http status code.