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 |
Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
Synopsis
- data GetFirewallRuleGroupPolicy = GetFirewallRuleGroupPolicy' {}
- newGetFirewallRuleGroupPolicy :: Text -> GetFirewallRuleGroupPolicy
- getFirewallRuleGroupPolicy_arn :: Lens' GetFirewallRuleGroupPolicy Text
- data GetFirewallRuleGroupPolicyResponse = GetFirewallRuleGroupPolicyResponse' {}
- newGetFirewallRuleGroupPolicyResponse :: Int -> GetFirewallRuleGroupPolicyResponse
- getFirewallRuleGroupPolicyResponse_firewallRuleGroupPolicy :: Lens' GetFirewallRuleGroupPolicyResponse (Maybe Text)
- getFirewallRuleGroupPolicyResponse_httpStatus :: Lens' GetFirewallRuleGroupPolicyResponse Int
Creating a Request
data GetFirewallRuleGroupPolicy Source #
See: newGetFirewallRuleGroupPolicy
smart constructor.
Instances
newGetFirewallRuleGroupPolicy Source #
Create a value of GetFirewallRuleGroupPolicy
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:GetFirewallRuleGroupPolicy'
, getFirewallRuleGroupPolicy_arn
- The ARN (Amazon Resource Name) for the rule group.
Request Lenses
getFirewallRuleGroupPolicy_arn :: Lens' GetFirewallRuleGroupPolicy Text Source #
The ARN (Amazon Resource Name) for the rule group.
Destructuring the Response
data GetFirewallRuleGroupPolicyResponse Source #
See: newGetFirewallRuleGroupPolicyResponse
smart constructor.
GetFirewallRuleGroupPolicyResponse' | |
|
Instances
newGetFirewallRuleGroupPolicyResponse Source #
Create a value of GetFirewallRuleGroupPolicyResponse
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:firewallRuleGroupPolicy:GetFirewallRuleGroupPolicyResponse'
, getFirewallRuleGroupPolicyResponse_firewallRuleGroupPolicy
- The Identity and Access Management (Amazon Web Services IAM) policy for
sharing the specified rule group. You can use the policy to share the
rule group using Resource Access Manager (RAM).
$sel:httpStatus:GetFirewallRuleGroupPolicyResponse'
, getFirewallRuleGroupPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getFirewallRuleGroupPolicyResponse_firewallRuleGroupPolicy :: Lens' GetFirewallRuleGroupPolicyResponse (Maybe Text) Source #
The Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
getFirewallRuleGroupPolicyResponse_httpStatus :: Lens' GetFirewallRuleGroupPolicyResponse Int Source #
The response's http status code.