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 |
Deletes a specified trigger. If the trigger is not found, no exception is thrown.
Synopsis
- data DeleteTrigger = DeleteTrigger' {}
- newDeleteTrigger :: Text -> DeleteTrigger
- deleteTrigger_name :: Lens' DeleteTrigger Text
- data DeleteTriggerResponse = DeleteTriggerResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newDeleteTriggerResponse :: Int -> DeleteTriggerResponse
- deleteTriggerResponse_name :: Lens' DeleteTriggerResponse (Maybe Text)
- deleteTriggerResponse_httpStatus :: Lens' DeleteTriggerResponse Int
Creating a Request
data DeleteTrigger Source #
See: newDeleteTrigger
smart constructor.
Instances
Create a value of DeleteTrigger
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:name:DeleteTrigger'
, deleteTrigger_name
- The name of the trigger to delete.
Request Lenses
deleteTrigger_name :: Lens' DeleteTrigger Text Source #
The name of the trigger to delete.
Destructuring the Response
data DeleteTriggerResponse Source #
See: newDeleteTriggerResponse
smart constructor.
DeleteTriggerResponse' | |
|
Instances
newDeleteTriggerResponse Source #
Create a value of DeleteTriggerResponse
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:name:DeleteTrigger'
, deleteTriggerResponse_name
- The name of the trigger that was deleted.
$sel:httpStatus:DeleteTriggerResponse'
, deleteTriggerResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTriggerResponse_name :: Lens' DeleteTriggerResponse (Maybe Text) Source #
The name of the trigger that was deleted.
deleteTriggerResponse_httpStatus :: Lens' DeleteTriggerResponse Int Source #
The response's http status code.