Copyright | (c) 2013-2018 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 |
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
.
Synopsis
- 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. The target group must use the HTTP or HTTPS protocol.mrConditions
- The conditions.mrRuleARN
- The Amazon Resource Name (ARN) of the rule.
data ModifyRule Source #
See: modifyRule
smart constructor.
Instances
Request Lenses
mrActions :: Lens' ModifyRule [Action] Source #
The actions. The target group must use the HTTP or HTTPS protocol.
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 #
See: modifyRuleResponse
smart constructor.
Instances
Response Lenses
mrrsResponseStatus :: Lens' ModifyRuleResponse Int Source #
- - | The response status code.