| 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 |
Network.AWS.IoT.UpdateAuthorizer
Description
Updates an authorizer.
Synopsis
- updateAuthorizer :: Text -> UpdateAuthorizer
- data UpdateAuthorizer
- uaStatus :: Lens' UpdateAuthorizer (Maybe AuthorizerStatus)
- uaAuthorizerFunctionARN :: Lens' UpdateAuthorizer (Maybe Text)
- uaTokenSigningPublicKeys :: Lens' UpdateAuthorizer (HashMap Text Text)
- uaTokenKeyName :: Lens' UpdateAuthorizer (Maybe Text)
- uaAuthorizerName :: Lens' UpdateAuthorizer Text
- updateAuthorizerResponse :: Int -> UpdateAuthorizerResponse
- data UpdateAuthorizerResponse
- uarsAuthorizerName :: Lens' UpdateAuthorizerResponse (Maybe Text)
- uarsAuthorizerARN :: Lens' UpdateAuthorizerResponse (Maybe Text)
- uarsResponseStatus :: Lens' UpdateAuthorizerResponse Int
Creating a Request
Arguments
| :: Text | |
| -> UpdateAuthorizer |
Creates a value of UpdateAuthorizer with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uaStatus- The status of the update authorizer request.uaAuthorizerFunctionARN- The ARN of the authorizer's Lambda function.uaTokenSigningPublicKeys- The public keys used to verify the token signature.uaTokenKeyName- The key used to extract the token from the HTTP headers.uaAuthorizerName- The authorizer name.
data UpdateAuthorizer Source #
See: updateAuthorizer smart constructor.
Instances
Request Lenses
uaStatus :: Lens' UpdateAuthorizer (Maybe AuthorizerStatus) Source #
The status of the update authorizer request.
uaAuthorizerFunctionARN :: Lens' UpdateAuthorizer (Maybe Text) Source #
The ARN of the authorizer's Lambda function.
uaTokenSigningPublicKeys :: Lens' UpdateAuthorizer (HashMap Text Text) Source #
The public keys used to verify the token signature.
uaTokenKeyName :: Lens' UpdateAuthorizer (Maybe Text) Source #
The key used to extract the token from the HTTP headers.
uaAuthorizerName :: Lens' UpdateAuthorizer Text Source #
The authorizer name.
Destructuring the Response
updateAuthorizerResponse Source #
Arguments
| :: Int | |
| -> UpdateAuthorizerResponse |
Creates a value of UpdateAuthorizerResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uarsAuthorizerName- The authorizer name.uarsAuthorizerARN- The authorizer ARN.uarsResponseStatus- -- | The response status code.
data UpdateAuthorizerResponse Source #
See: updateAuthorizerResponse smart constructor.
Instances
Response Lenses
uarsAuthorizerName :: Lens' UpdateAuthorizerResponse (Maybe Text) Source #
The authorizer name.
uarsAuthorizerARN :: Lens' UpdateAuthorizerResponse (Maybe Text) Source #
The authorizer ARN.
uarsResponseStatus :: Lens' UpdateAuthorizerResponse Int Source #
- - | The response status code.