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 the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use.
Synopsis
- data GetResolverRulePolicy = GetResolverRulePolicy' {}
- newGetResolverRulePolicy :: Text -> GetResolverRulePolicy
- getResolverRulePolicy_arn :: Lens' GetResolverRulePolicy Text
- data GetResolverRulePolicyResponse = GetResolverRulePolicyResponse' {}
- newGetResolverRulePolicyResponse :: Int -> GetResolverRulePolicyResponse
- getResolverRulePolicyResponse_resolverRulePolicy :: Lens' GetResolverRulePolicyResponse (Maybe Text)
- getResolverRulePolicyResponse_httpStatus :: Lens' GetResolverRulePolicyResponse Int
Creating a Request
data GetResolverRulePolicy Source #
See: newGetResolverRulePolicy
smart constructor.
Instances
newGetResolverRulePolicy Source #
Create a value of GetResolverRulePolicy
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:arn:GetResolverRulePolicy'
, getResolverRulePolicy_arn
- The ID of the Resolver rule that you want to get the Resolver rule
policy for.
Request Lenses
getResolverRulePolicy_arn :: Lens' GetResolverRulePolicy Text Source #
The ID of the Resolver rule that you want to get the Resolver rule policy for.
Destructuring the Response
data GetResolverRulePolicyResponse Source #
See: newGetResolverRulePolicyResponse
smart constructor.
GetResolverRulePolicyResponse' | |
|
Instances
newGetResolverRulePolicyResponse Source #
Create a value of GetResolverRulePolicyResponse
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:resolverRulePolicy:GetResolverRulePolicyResponse'
, getResolverRulePolicyResponse_resolverRulePolicy
- The Resolver rule policy for the rule that you specified in a
GetResolverRulePolicy
request.
$sel:httpStatus:GetResolverRulePolicyResponse'
, getResolverRulePolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getResolverRulePolicyResponse_resolverRulePolicy :: Lens' GetResolverRulePolicyResponse (Maybe Text) Source #
The Resolver rule policy for the rule that you specified in a
GetResolverRulePolicy
request.
getResolverRulePolicyResponse_httpStatus :: Lens' GetResolverRulePolicyResponse Int Source #
The response's http status code.