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 |
Updates settings for a specified Resolver rule. ResolverRuleId
is
required, and all other parameters are optional. If you don't specify a
parameter, it retains its current value.
Synopsis
- data UpdateResolverRule = UpdateResolverRule' {}
- newUpdateResolverRule :: Text -> ResolverRuleConfig -> UpdateResolverRule
- updateResolverRule_resolverRuleId :: Lens' UpdateResolverRule Text
- updateResolverRule_config :: Lens' UpdateResolverRule ResolverRuleConfig
- data UpdateResolverRuleResponse = UpdateResolverRuleResponse' {}
- newUpdateResolverRuleResponse :: Int -> UpdateResolverRuleResponse
- updateResolverRuleResponse_resolverRule :: Lens' UpdateResolverRuleResponse (Maybe ResolverRule)
- updateResolverRuleResponse_httpStatus :: Lens' UpdateResolverRuleResponse Int
Creating a Request
data UpdateResolverRule Source #
See: newUpdateResolverRule
smart constructor.
UpdateResolverRule' | |
|
Instances
newUpdateResolverRule Source #
Create a value of UpdateResolverRule
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:resolverRuleId:UpdateResolverRule'
, updateResolverRule_resolverRuleId
- The ID of the Resolver rule that you want to update.
$sel:config:UpdateResolverRule'
, updateResolverRule_config
- The new settings for the Resolver rule.
Request Lenses
updateResolverRule_resolverRuleId :: Lens' UpdateResolverRule Text Source #
The ID of the Resolver rule that you want to update.
updateResolverRule_config :: Lens' UpdateResolverRule ResolverRuleConfig Source #
The new settings for the Resolver rule.
Destructuring the Response
data UpdateResolverRuleResponse Source #
See: newUpdateResolverRuleResponse
smart constructor.
UpdateResolverRuleResponse' | |
|
Instances
newUpdateResolverRuleResponse Source #
Create a value of UpdateResolverRuleResponse
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:resolverRule:UpdateResolverRuleResponse'
, updateResolverRuleResponse_resolverRule
- The response to an UpdateResolverRule
request.
$sel:httpStatus:UpdateResolverRuleResponse'
, updateResolverRuleResponse_httpStatus
- The response's http status code.
Response Lenses
updateResolverRuleResponse_resolverRule :: Lens' UpdateResolverRuleResponse (Maybe ResolverRule) Source #
The response to an UpdateResolverRule
request.
updateResolverRuleResponse_httpStatus :: Lens' UpdateResolverRuleResponse Int Source #
The response's http status code.