| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CloudWatchEvents.DeleteRule
Description
Deletes a rule. You must remove all targets from a rule using RemoveTargets before you can delete the rule.
Note: When you delete a rule, incoming events might still continue to match to the deleted rule. Please allow a short period of time for changes to take effect.
Creating a Request
Arguments
| :: Text | |
| -> DeleteRule |
Creates a value of DeleteRule with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteRule Source
Container for the parameters to the DeleteRule operation.
See: deleteRule smart constructor.
Instances
Request Lenses
drName :: Lens' DeleteRule Text Source
The name of the rule to be deleted.
Destructuring the Response
deleteRuleResponse :: DeleteRuleResponse Source
Creates a value of DeleteRuleResponse with the minimum fields required to make a request.
data DeleteRuleResponse Source
See: deleteRuleResponse smart constructor.