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 |
Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
Synopsis
- data PutFirewallRuleGroupPolicy = PutFirewallRuleGroupPolicy' {}
- newPutFirewallRuleGroupPolicy :: Text -> Text -> PutFirewallRuleGroupPolicy
- putFirewallRuleGroupPolicy_arn :: Lens' PutFirewallRuleGroupPolicy Text
- putFirewallRuleGroupPolicy_firewallRuleGroupPolicy :: Lens' PutFirewallRuleGroupPolicy Text
- data PutFirewallRuleGroupPolicyResponse = PutFirewallRuleGroupPolicyResponse' {
- returnValue :: Maybe Bool
- httpStatus :: Int
- newPutFirewallRuleGroupPolicyResponse :: Int -> PutFirewallRuleGroupPolicyResponse
- putFirewallRuleGroupPolicyResponse_returnValue :: Lens' PutFirewallRuleGroupPolicyResponse (Maybe Bool)
- putFirewallRuleGroupPolicyResponse_httpStatus :: Lens' PutFirewallRuleGroupPolicyResponse Int
Creating a Request
data PutFirewallRuleGroupPolicy Source #
See: newPutFirewallRuleGroupPolicy
smart constructor.
PutFirewallRuleGroupPolicy' | |
|
Instances
newPutFirewallRuleGroupPolicy Source #
:: Text | |
-> Text | |
-> PutFirewallRuleGroupPolicy |
Create a value of PutFirewallRuleGroupPolicy
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:PutFirewallRuleGroupPolicy'
, putFirewallRuleGroupPolicy_arn
- The ARN (Amazon Resource Name) for the rule group that you want to
share.
$sel:firewallRuleGroupPolicy:PutFirewallRuleGroupPolicy'
, putFirewallRuleGroupPolicy_firewallRuleGroupPolicy
- The Identity and Access Management (Amazon Web Services IAM) policy to
attach to the rule group.
Request Lenses
putFirewallRuleGroupPolicy_arn :: Lens' PutFirewallRuleGroupPolicy Text Source #
The ARN (Amazon Resource Name) for the rule group that you want to share.
putFirewallRuleGroupPolicy_firewallRuleGroupPolicy :: Lens' PutFirewallRuleGroupPolicy Text Source #
The Identity and Access Management (Amazon Web Services IAM) policy to attach to the rule group.
Destructuring the Response
data PutFirewallRuleGroupPolicyResponse Source #
See: newPutFirewallRuleGroupPolicyResponse
smart constructor.
PutFirewallRuleGroupPolicyResponse' | |
|
Instances
Eq PutFirewallRuleGroupPolicyResponse Source # | |
Read PutFirewallRuleGroupPolicyResponse Source # | |
Show PutFirewallRuleGroupPolicyResponse Source # | |
Generic PutFirewallRuleGroupPolicyResponse Source # | |
NFData PutFirewallRuleGroupPolicyResponse Source # | |
Defined in Amazonka.Route53Resolver.PutFirewallRuleGroupPolicy rnf :: PutFirewallRuleGroupPolicyResponse -> () # | |
type Rep PutFirewallRuleGroupPolicyResponse Source # | |
Defined in Amazonka.Route53Resolver.PutFirewallRuleGroupPolicy type Rep PutFirewallRuleGroupPolicyResponse = D1 ('MetaData "PutFirewallRuleGroupPolicyResponse" "Amazonka.Route53Resolver.PutFirewallRuleGroupPolicy" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "PutFirewallRuleGroupPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "returnValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutFirewallRuleGroupPolicyResponse Source #
Create a value of PutFirewallRuleGroupPolicyResponse
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:returnValue:PutFirewallRuleGroupPolicyResponse'
, putFirewallRuleGroupPolicyResponse_returnValue
-
$sel:httpStatus:PutFirewallRuleGroupPolicyResponse'
, putFirewallRuleGroupPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
putFirewallRuleGroupPolicyResponse_returnValue :: Lens' PutFirewallRuleGroupPolicyResponse (Maybe Bool) Source #
putFirewallRuleGroupPolicyResponse_httpStatus :: Lens' PutFirewallRuleGroupPolicyResponse Int Source #
The response's http status code.