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 |
Amazonka.APIGateway.DeleteAuthorizer
Description
Deletes an existing Authorizer resource.
Synopsis
- data DeleteAuthorizer = DeleteAuthorizer' {
- restApiId :: Text
- authorizerId :: Text
- newDeleteAuthorizer :: Text -> Text -> DeleteAuthorizer
- deleteAuthorizer_restApiId :: Lens' DeleteAuthorizer Text
- deleteAuthorizer_authorizerId :: Lens' DeleteAuthorizer Text
- data DeleteAuthorizerResponse = DeleteAuthorizerResponse' {
- newDeleteAuthorizerResponse :: DeleteAuthorizerResponse
Creating a Request
data DeleteAuthorizer Source #
Request to delete an existing Authorizer resource.
See: newDeleteAuthorizer
smart constructor.
Constructors
DeleteAuthorizer' | |
Fields
|
Instances
Arguments
:: Text | |
-> 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:
$sel:restApiId:DeleteAuthorizer'
, deleteAuthorizer_restApiId
- [Required] The string identifier of the associated RestApi.
$sel:authorizerId:DeleteAuthorizer'
, deleteAuthorizer_authorizerId
- [Required] The identifier of the Authorizer resource.
Request Lenses
deleteAuthorizer_restApiId :: Lens' DeleteAuthorizer Text Source #
- Required
- The string identifier of the associated RestApi.
deleteAuthorizer_authorizerId :: Lens' DeleteAuthorizer Text Source #
- Required
- The identifier of the Authorizer resource.
Destructuring the Response
data DeleteAuthorizerResponse Source #
See: newDeleteAuthorizerResponse
smart constructor.
Constructors
DeleteAuthorizerResponse' | |
Instances
newDeleteAuthorizerResponse :: DeleteAuthorizerResponse Source #
Create a value of DeleteAuthorizerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.