blib/lib/Paws/Route53Resolver/AssociateFirewallRuleGroup.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Route53Resolver::AssociateFirewallRuleGroup;
3 use Moose;
4 has CreatorRequestId => (is => 'ro', isa => 'Str', required => 1);
5 has FirewallRuleGroupId => (is => 'ro', isa => 'Str', required => 1);
6 has MutationProtection => (is => 'ro', isa => 'Str');
7 has Name => (is => 'ro', isa => 'Str', required => 1);
8 has Priority => (is => 'ro', isa => 'Int', required => 1);
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Route53Resolver::Tag]');
10 has VpcId => (is => 'ro', isa => 'Str', required => 1);
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AssociateFirewallRuleGroup');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Resolver::AssociateFirewallRuleGroupResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Route53Resolver::AssociateFirewallRuleGroup - Arguments for method AssociateFirewallRuleGroup on L<Paws::Route53Resolver>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method AssociateFirewallRuleGroup on the
28 L<Amazon Route 53 Resolver|Paws::Route53Resolver> service. Use the attributes of this class
29 as arguments to method AssociateFirewallRuleGroup.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateFirewallRuleGroup.
32  
33 =head1 SYNOPSIS
34  
35 my $route53resolver = Paws->service('Route53Resolver');
36 my $AssociateFirewallRuleGroupResponse =
37 $route53resolver->AssociateFirewallRuleGroup(
38 CreatorRequestId => 'MyCreatorRequestId',
39 FirewallRuleGroupId => 'MyResourceId',
40 Name => 'MyName',
41 Priority => 1,
42 VpcId => 'MyResourceId',
43 MutationProtection => 'ENABLED', # OPTIONAL
44 Tags => [
45 {
46 Key => 'MyTagKey', # min: 1, max: 128
47 Value => 'MyTagValue', # max: 256
48  
49 },
50 ...
51 ], # OPTIONAL
52 );
53  
54 # Results:
55 my $FirewallRuleGroupAssociation =
56 $AssociateFirewallRuleGroupResponse->FirewallRuleGroupAssociation;
57  
58 # Returns a L<Paws::Route53Resolver::AssociateFirewallRuleGroupResponse> object.
59  
60 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53resolver/AssociateFirewallRuleGroup>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 B<REQUIRED> CreatorRequestId => Str
67  
68 A unique string that identifies the request and that allows failed
69 requests to be retried without the risk of running the operation twice.
70 C<CreatorRequestId> can be any unique string, for example, a date/time
71 stamp.
72  
73  
74  
75 =head2 B<REQUIRED> FirewallRuleGroupId => Str
76  
77 The unique identifier of the firewall rule group.
78  
79  
80  
81 =head2 MutationProtection => Str
82  
83 If enabled, this setting disallows modification or removal of the
84 association, to help prevent against accidentally altering DNS firewall
85 protections. When you create the association, the default setting is
86 C<DISABLED>.
87  
88 Valid values are: C<"ENABLED">, C<"DISABLED">
89  
90 =head2 B<REQUIRED> Name => Str
91  
92 A name that lets you identify the association, to manage and use it.
93  
94  
95  
96 =head2 B<REQUIRED> Priority => Int
97  
98 The setting that determines the processing order of the rule group
99 among the rule groups that you associate with the specified VPC. DNS
100 Firewall filters VPC traffic starting from the rule group with the
101 lowest numeric priority setting.
102  
103 You must specify a unique priority for each rule group that you
104 associate with a single VPC. To make it easier to insert rule groups
105 later, leave space between the numbers, for example, use 101, 200, and
106 so on. You can change the priority setting for a rule group association
107 after you create it.
108  
109 The allowed values for C<Priority> are between 100 and 9900.
110  
111  
112  
113 =head2 Tags => ArrayRef[L<Paws::Route53Resolver::Tag>]
114  
115 A list of the tag keys and values that you want to associate with the
116 rule group association.
117  
118  
119  
120 =head2 B<REQUIRED> VpcId => Str
121  
122 The unique identifier of the VPC that you want to associate with the
123 rule group.
124  
125  
126  
127  
128 =head1 SEE ALSO
129  
130 This class forms part of L<Paws>, documenting arguments for method AssociateFirewallRuleGroup in L<Paws::Route53Resolver>
131  
132 =head1 BUGS and CONTRIBUTIONS
133  
134 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
135  
136 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
137  
138 =cut
139