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 |
Sets the priorities of the specified rules.
You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.
Synopsis
- data SetRulePriorities = SetRulePriorities' {}
- newSetRulePriorities :: SetRulePriorities
- setRulePriorities_rulePriorities :: Lens' SetRulePriorities [RulePriorityPair]
- data SetRulePrioritiesResponse = SetRulePrioritiesResponse' {
- rules :: Maybe [Rule]
- httpStatus :: Int
- newSetRulePrioritiesResponse :: Int -> SetRulePrioritiesResponse
- setRulePrioritiesResponse_rules :: Lens' SetRulePrioritiesResponse (Maybe [Rule])
- setRulePrioritiesResponse_httpStatus :: Lens' SetRulePrioritiesResponse Int
Creating a Request
data SetRulePriorities Source #
See: newSetRulePriorities
smart constructor.
SetRulePriorities' | |
|
Instances
newSetRulePriorities :: SetRulePriorities Source #
Create a value of SetRulePriorities
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:rulePriorities:SetRulePriorities'
, setRulePriorities_rulePriorities
- The rule priorities.
Request Lenses
setRulePriorities_rulePriorities :: Lens' SetRulePriorities [RulePriorityPair] Source #
The rule priorities.
Destructuring the Response
data SetRulePrioritiesResponse Source #
See: newSetRulePrioritiesResponse
smart constructor.
SetRulePrioritiesResponse' | |
|
Instances
newSetRulePrioritiesResponse Source #
Create a value of SetRulePrioritiesResponse
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:rules:SetRulePrioritiesResponse'
, setRulePrioritiesResponse_rules
- Information about the rules.
$sel:httpStatus:SetRulePrioritiesResponse'
, setRulePrioritiesResponse_httpStatus
- The response's http status code.
Response Lenses
setRulePrioritiesResponse_rules :: Lens' SetRulePrioritiesResponse (Maybe [Rule]) Source #
Information about the rules.
setRulePrioritiesResponse_httpStatus :: Lens' SetRulePrioritiesResponse Int Source #
The response's http status code.