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 |
Modifies the specified rule.
Any existing properties that you do not modify retain their current values.
To modify the default action, use ModifyListener
.
- modifyRule :: Text -> ModifyRule
- data ModifyRule
- mrActions :: Lens' ModifyRule [Action]
- mrConditions :: Lens' ModifyRule [RuleCondition]
- mrRuleARN :: Lens' ModifyRule Text
- modifyRuleResponse :: Int -> ModifyRuleResponse
- data ModifyRuleResponse
- mrrsRules :: Lens' ModifyRuleResponse [Rule]
- mrrsResponseStatus :: Lens' ModifyRuleResponse Int
Creating a Request
:: Text | |
-> ModifyRule |
Creates a value of ModifyRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrActions
- The actions.mrConditions
- The conditions.mrRuleARN
- The Amazon Resource Name (ARN) of the rule.
data ModifyRule Source #
Contains the parameters for ModifyRules.
See: modifyRule
smart constructor.
Request Lenses
mrConditions :: Lens' ModifyRule [RuleCondition] Source #
The conditions.
Destructuring the Response
Creates a value of ModifyRuleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrrsRules
- Information about the rule.mrrsResponseStatus
- -- | The response status code.
data ModifyRuleResponse Source #
Contains the output of ModifyRules.
See: modifyRuleResponse
smart constructor.
Response Lenses
mrrsResponseStatus :: Lens' ModifyRuleResponse Int Source #
- - | The response status code.