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 |
Gets information about a specified Resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound Resolver endpoint that the rule is associated with.
Synopsis
- data GetResolverRule = GetResolverRule' {}
- newGetResolverRule :: Text -> GetResolverRule
- getResolverRule_resolverRuleId :: Lens' GetResolverRule Text
- data GetResolverRuleResponse = GetResolverRuleResponse' {}
- newGetResolverRuleResponse :: Int -> GetResolverRuleResponse
- getResolverRuleResponse_resolverRule :: Lens' GetResolverRuleResponse (Maybe ResolverRule)
- getResolverRuleResponse_httpStatus :: Lens' GetResolverRuleResponse Int
Creating a Request
data GetResolverRule Source #
See: newGetResolverRule
smart constructor.
GetResolverRule' | |
|
Instances
Create a value of GetResolverRule
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:GetResolverRule'
, getResolverRule_resolverRuleId
- The ID of the Resolver rule that you want to get information about.
Request Lenses
getResolverRule_resolverRuleId :: Lens' GetResolverRule Text Source #
The ID of the Resolver rule that you want to get information about.
Destructuring the Response
data GetResolverRuleResponse Source #
See: newGetResolverRuleResponse
smart constructor.
GetResolverRuleResponse' | |
|
Instances
newGetResolverRuleResponse Source #
Create a value of GetResolverRuleResponse
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:GetResolverRuleResponse'
, getResolverRuleResponse_resolverRule
- Information about the Resolver rule that you specified in a
GetResolverRule
request.
$sel:httpStatus:GetResolverRuleResponse'
, getResolverRuleResponse_httpStatus
- The response's http status code.
Response Lenses
getResolverRuleResponse_resolverRule :: Lens' GetResolverRuleResponse (Maybe ResolverRule) Source #
Information about the Resolver rule that you specified in a
GetResolverRule
request.
getResolverRuleResponse_httpStatus :: Lens' GetResolverRuleResponse Int Source #
The response's http status code.