| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.DeleteAuthorizer
Description
Deletes an authorizer.
Requires permission to access the DeleteAuthorizer action.
Synopsis
- data DeleteAuthorizer = DeleteAuthorizer' {}
- newDeleteAuthorizer :: Text -> DeleteAuthorizer
- deleteAuthorizer_authorizerName :: Lens' DeleteAuthorizer Text
- data DeleteAuthorizerResponse = DeleteAuthorizerResponse' {
- httpStatus :: Int
- newDeleteAuthorizerResponse :: Int -> DeleteAuthorizerResponse
- deleteAuthorizerResponse_httpStatus :: Lens' DeleteAuthorizerResponse Int
Creating a Request
data DeleteAuthorizer Source #
See: newDeleteAuthorizer smart constructor.
Constructors
| DeleteAuthorizer' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteAuthorizer |
Create a value of DeleteAuthorizer 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:
DeleteAuthorizer, deleteAuthorizer_authorizerName - The name of the authorizer to delete.
Request Lenses
deleteAuthorizer_authorizerName :: Lens' DeleteAuthorizer Text Source #
The name of the authorizer to delete.
Destructuring the Response
data DeleteAuthorizerResponse Source #
See: newDeleteAuthorizerResponse smart constructor.
Constructors
| DeleteAuthorizerResponse' | |
Fields
| |
Instances
newDeleteAuthorizerResponse Source #
Create a value of DeleteAuthorizerResponse 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:httpStatus:DeleteAuthorizerResponse', deleteAuthorizerResponse_httpStatus - The response's http status code.
Response Lenses
deleteAuthorizerResponse_httpStatus :: Lens' DeleteAuthorizerResponse Int Source #
The response's http status code.