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.EnableRule
Description
Enables a rule. If the rule does not exist, the operation fails.
Note: When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Please allow a short period of time for changes to take effect.
Creating a Request
Arguments
:: Text | |
-> EnableRule |
Creates a value of EnableRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
erName
- The name of the rule that you want to enable.
data EnableRule #
Container for the parameters to the EnableRule
operation.
See: enableRule
smart constructor.
Instances
Request Lenses
erName :: Lens' EnableRule Text #
The name of the rule that you want to enable.
Destructuring the Response
enableRuleResponse :: EnableRuleResponse #
Creates a value of EnableRuleResponse
with the minimum fields required to make a request.
data EnableRuleResponse #
See: enableRuleResponse
smart constructor.