blib/lib/Paws/FMS.pm untested

filter: Statementstmt 0.0% 0 / 153 Branchbran 0.0% 0 / 12 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 36 Podpod 0.0% 0 / 35 totaltotal 0.0% 0 / 236 CC 7 SCAR 14.2
CC
7
Cov
0%
ListAllComplianceStatus
12.0
ListAllMemberAccounts
12.0
ListAllPolicies
12.0
CRAP 4.1
1 package Paws::FMS;
2 use Moose;
3 sub service { 'fms' }
4 sub signing_name { 'fms' }
5 sub version { '2018-01-01' }
6 sub target_prefix { 'AWSFMS_20180101' }
7 sub json_version { "1.1" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub AssociateAdminAccount {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::FMS::AssociateAdminAccount', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub DeleteAppsList {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::FMS::DeleteAppsList', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub DeleteNotificationChannel {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::FMS::DeleteNotificationChannel', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub DeletePolicy {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::FMS::DeletePolicy', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub DeleteProtocolsList {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::FMS::DeleteProtocolsList', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub DisassociateAdminAccount {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::FMS::DisassociateAdminAccount', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub GetAdminAccount {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::FMS::GetAdminAccount', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub GetAppsList {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::FMS::GetAppsList', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub GetComplianceDetail {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::FMS::GetComplianceDetail', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub GetNotificationChannel {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::FMS::GetNotificationChannel', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub GetPolicy {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::FMS::GetPolicy', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub GetProtectionStatus {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::FMS::GetProtectionStatus', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub GetProtocolsList {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::FMS::GetProtocolsList', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub GetViolationDetails {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::FMS::GetViolationDetails', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub ListAppsLists {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::FMS::ListAppsLists', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub ListComplianceStatus {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::FMS::ListComplianceStatus', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub ListMemberAccounts {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::FMS::ListMemberAccounts', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub ListPolicies {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::FMS::ListPolicies', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub ListProtocolsLists {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::FMS::ListProtocolsLists', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub ListTagsForResource {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::FMS::ListTagsForResource', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub PutAppsList {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::FMS::PutAppsList', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub PutNotificationChannel {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::FMS::PutNotificationChannel', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128 sub PutPolicy {
129 my $self = shift;
130 my $call_object = $self->new_with_coercions('Paws::FMS::PutPolicy', @_);
131 return $self->caller->do_call($self, $call_object);
132 }
133 sub PutProtocolsList {
134 my $self = shift;
135 my $call_object = $self->new_with_coercions('Paws::FMS::PutProtocolsList', @_);
136 return $self->caller->do_call($self, $call_object);
137 }
138 sub TagResource {
139 my $self = shift;
140 my $call_object = $self->new_with_coercions('Paws::FMS::TagResource', @_);
141 return $self->caller->do_call($self, $call_object);
142 }
143 sub UntagResource {
144 my $self = shift;
145 my $call_object = $self->new_with_coercions('Paws::FMS::UntagResource', @_);
146 return $self->caller->do_call($self, $call_object);
147 }
148
149 sub ListAllComplianceStatus {
150 my $self = shift;
151  
152 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
153 my $result = $self->ListComplianceStatus(@_);
154 my $next_result = $result;
155  
156 if (not defined $callback) {
157 while ($next_result->NextToken) {
158 $next_result = $self->ListComplianceStatus(@_, NextToken => $next_result->NextToken);
159 push @{ $result->PolicyComplianceStatusList }, @{ $next_result->PolicyComplianceStatusList };
160 }
161 return $result;
162 } else {
163 while ($result->NextToken) {
164 $callback->($_ => 'PolicyComplianceStatusList') foreach (@{ $result->PolicyComplianceStatusList });
165 $result = $self->ListComplianceStatus(@_, NextToken => $result->NextToken);
166 }
167 $callback->($_ => 'PolicyComplianceStatusList') foreach (@{ $result->PolicyComplianceStatusList });
168 }
169  
170 return undef
171 }
172 sub ListAllMemberAccounts {
173 my $self = shift;
174  
175 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
176 my $result = $self->ListMemberAccounts(@_);
177 my $next_result = $result;
178  
179 if (not defined $callback) {
180 while ($next_result->NextToken) {
181 $next_result = $self->ListMemberAccounts(@_, NextToken => $next_result->NextToken);
182 push @{ $result->MemberAccounts }, @{ $next_result->MemberAccounts };
183 }
184 return $result;
185 } else {
186 while ($result->NextToken) {
187 $callback->($_ => 'MemberAccounts') foreach (@{ $result->MemberAccounts });
188 $result = $self->ListMemberAccounts(@_, NextToken => $result->NextToken);
189 }
190 $callback->($_ => 'MemberAccounts') foreach (@{ $result->MemberAccounts });
191 }
192  
193 return undef
194 }
195 sub ListAllPolicies {
196 my $self = shift;
197  
198 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
199 my $result = $self->ListPolicies(@_);
200 my $next_result = $result;
201  
202 if (not defined $callback) {
203 while ($next_result->NextToken) {
204 $next_result = $self->ListPolicies(@_, NextToken => $next_result->NextToken);
205 push @{ $result->PolicyList }, @{ $next_result->PolicyList };
206 }
207 return $result;
208 } else {
209 while ($result->NextToken) {
210 $callback->($_ => 'PolicyList') foreach (@{ $result->PolicyList });
211 $result = $self->ListPolicies(@_, NextToken => $result->NextToken);
212 }
213 $callback->($_ => 'PolicyList') foreach (@{ $result->PolicyList });
214 }
215  
216 return undef
217 }
218  
219  
220 sub operations { qw/AssociateAdminAccount DeleteAppsList DeleteNotificationChannel DeletePolicy DeleteProtocolsList DisassociateAdminAccount GetAdminAccount GetAppsList GetComplianceDetail GetNotificationChannel GetPolicy GetProtectionStatus GetProtocolsList GetViolationDetails ListAppsLists ListComplianceStatus ListMemberAccounts ListPolicies ListProtocolsLists ListTagsForResource PutAppsList PutNotificationChannel PutPolicy PutProtocolsList TagResource UntagResource / }
221  
222 1;
223  
224 ### main pod documentation begin ###
225  
226 =head1 NAME
227  
228 Paws::FMS - Perl Interface to AWS Firewall Management Service
229  
230 =head1 SYNOPSIS
231  
232 use Paws;
233  
234 my $obj = Paws->service('FMS');
235 my $res = $obj->Method(
236 Arg1 => $val1,
237 Arg2 => [ 'V1', 'V2' ],
238 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
239 # of the arguments type
240 Arg3 => { Att1 => 'Val1' },
241 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
242 # the constructor of the arguments type
243 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
244 );
245  
246 =head1 DESCRIPTION
247  
248 AWS Firewall Manager
249  
250 This is the I<AWS Firewall Manager API Reference>. This guide is for
251 developers who need detailed information about the AWS Firewall Manager
252 API actions, data types, and errors. For detailed information about AWS
253 Firewall Manager features, see the AWS Firewall Manager Developer Guide
254 (https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html).
255  
256 Some API actions require explicit resource permissions. For
257 information, see the developer guide topic Firewall Manager required
258 permissions for API actions
259 (https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html).
260  
261 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01>
262  
263  
264 =head1 METHODS
265  
266 =head2 AssociateAdminAccount
267  
268 =over
269  
270 =item AdminAccount => Str
271  
272  
273 =back
274  
275 Each argument is described in detail in: L<Paws::FMS::AssociateAdminAccount>
276  
277 Returns: nothing
278  
279 Sets the AWS Firewall Manager administrator account. AWS Firewall
280 Manager must be associated with the master account of your AWS
281 organization or associated with a member account that has the
282 appropriate permissions. If the account ID that you submit is not an
283 AWS Organizations master account, AWS Firewall Manager will set the
284 appropriate permissions for the given member account.
285  
286 The account that you associate with AWS Firewall Manager is called the
287 AWS Firewall Manager administrator account.
288  
289  
290 =head2 DeleteAppsList
291  
292 =over
293  
294 =item ListId => Str
295  
296  
297 =back
298  
299 Each argument is described in detail in: L<Paws::FMS::DeleteAppsList>
300  
301 Returns: nothing
302  
303 Permanently deletes an AWS Firewall Manager applications list.
304  
305  
306 =head2 DeleteNotificationChannel
307  
308  
309  
310  
311  
312  
313 Each argument is described in detail in: L<Paws::FMS::DeleteNotificationChannel>
314  
315 Returns: nothing
316  
317 Deletes an AWS Firewall Manager association with the IAM role and the
318 Amazon Simple Notification Service (SNS) topic that is used to record
319 AWS Firewall Manager SNS logs.
320  
321  
322 =head2 DeletePolicy
323  
324 =over
325  
326 =item PolicyId => Str
327  
328 =item [DeleteAllPolicyResources => Bool]
329  
330  
331 =back
332  
333 Each argument is described in detail in: L<Paws::FMS::DeletePolicy>
334  
335 Returns: nothing
336  
337 Permanently deletes an AWS Firewall Manager policy.
338  
339  
340 =head2 DeleteProtocolsList
341  
342 =over
343  
344 =item ListId => Str
345  
346  
347 =back
348  
349 Each argument is described in detail in: L<Paws::FMS::DeleteProtocolsList>
350  
351 Returns: nothing
352  
353 Permanently deletes an AWS Firewall Manager protocols list.
354  
355  
356 =head2 DisassociateAdminAccount
357  
358  
359  
360  
361  
362  
363 Each argument is described in detail in: L<Paws::FMS::DisassociateAdminAccount>
364  
365 Returns: nothing
366  
367 Disassociates the account that has been set as the AWS Firewall Manager
368 administrator account. To set a different account as the administrator
369 account, you must submit an C<AssociateAdminAccount> request.
370  
371  
372 =head2 GetAdminAccount
373  
374  
375  
376  
377  
378  
379 Each argument is described in detail in: L<Paws::FMS::GetAdminAccount>
380  
381 Returns: a L<Paws::FMS::GetAdminAccountResponse> instance
382  
383 Returns the AWS Organizations master account that is associated with
384 AWS Firewall Manager as the AWS Firewall Manager administrator.
385  
386  
387 =head2 GetAppsList
388  
389 =over
390  
391 =item ListId => Str
392  
393 =item [DefaultList => Bool]
394  
395  
396 =back
397  
398 Each argument is described in detail in: L<Paws::FMS::GetAppsList>
399  
400 Returns: a L<Paws::FMS::GetAppsListResponse> instance
401  
402 Returns information about the specified AWS Firewall Manager
403 applications list.
404  
405  
406 =head2 GetComplianceDetail
407  
408 =over
409  
410 =item MemberAccount => Str
411  
412 =item PolicyId => Str
413  
414  
415 =back
416  
417 Each argument is described in detail in: L<Paws::FMS::GetComplianceDetail>
418  
419 Returns: a L<Paws::FMS::GetComplianceDetailResponse> instance
420  
421 Returns detailed compliance information about the specified member
422 account. Details include resources that are in and out of compliance
423 with the specified policy. Resources are considered noncompliant for
424 AWS WAF and Shield Advanced policies if the specified policy has not
425 been applied to them. Resources are considered noncompliant for
426 security group policies if they are in scope of the policy, they
427 violate one or more of the policy rules, and remediation is disabled or
428 not possible. Resources are considered noncompliant for Network
429 Firewall policies if a firewall is missing in the VPC, if the firewall
430 endpoint isn't set up in an expected Availability Zone and subnet, if a
431 subnet created by the Firewall Manager doesn't have the expected route
432 table, and for modifications to a firewall policy that violate the
433 Firewall Manager policy's rules.
434  
435  
436 =head2 GetNotificationChannel
437  
438  
439  
440  
441  
442  
443 Each argument is described in detail in: L<Paws::FMS::GetNotificationChannel>
444  
445 Returns: a L<Paws::FMS::GetNotificationChannelResponse> instance
446  
447 Information about the Amazon Simple Notification Service (SNS) topic
448 that is used to record AWS Firewall Manager SNS logs.
449  
450  
451 =head2 GetPolicy
452  
453 =over
454  
455 =item PolicyId => Str
456  
457  
458 =back
459  
460 Each argument is described in detail in: L<Paws::FMS::GetPolicy>
461  
462 Returns: a L<Paws::FMS::GetPolicyResponse> instance
463  
464 Returns information about the specified AWS Firewall Manager policy.
465  
466  
467 =head2 GetProtectionStatus
468  
469 =over
470  
471 =item PolicyId => Str
472  
473 =item [EndTime => Str]
474  
475 =item [MaxResults => Int]
476  
477 =item [MemberAccountId => Str]
478  
479 =item [NextToken => Str]
480  
481 =item [StartTime => Str]
482  
483  
484 =back
485  
486 Each argument is described in detail in: L<Paws::FMS::GetProtectionStatus>
487  
488 Returns: a L<Paws::FMS::GetProtectionStatusResponse> instance
489  
490 If you created a Shield Advanced policy, returns policy-level attack
491 summary information in the event of a potential DDoS attack. Other
492 policy types are currently unsupported.
493  
494  
495 =head2 GetProtocolsList
496  
497 =over
498  
499 =item ListId => Str
500  
501 =item [DefaultList => Bool]
502  
503  
504 =back
505  
506 Each argument is described in detail in: L<Paws::FMS::GetProtocolsList>
507  
508 Returns: a L<Paws::FMS::GetProtocolsListResponse> instance
509  
510 Returns information about the specified AWS Firewall Manager protocols
511 list.
512  
513  
514 =head2 GetViolationDetails
515  
516 =over
517  
518 =item MemberAccount => Str
519  
520 =item PolicyId => Str
521  
522 =item ResourceId => Str
523  
524 =item ResourceType => Str
525  
526  
527 =back
528  
529 Each argument is described in detail in: L<Paws::FMS::GetViolationDetails>
530  
531 Returns: a L<Paws::FMS::GetViolationDetailsResponse> instance
532  
533 Retrieves violations for a resource based on the specified AWS Firewall
534 Manager policy and AWS account.
535  
536  
537 =head2 ListAppsLists
538  
539 =over
540  
541 =item MaxResults => Int
542  
543 =item [DefaultLists => Bool]
544  
545 =item [NextToken => Str]
546  
547  
548 =back
549  
550 Each argument is described in detail in: L<Paws::FMS::ListAppsLists>
551  
552 Returns: a L<Paws::FMS::ListAppsListsResponse> instance
553  
554 Returns an array of C<AppsListDataSummary> objects.
555  
556  
557 =head2 ListComplianceStatus
558  
559 =over
560  
561 =item PolicyId => Str
562  
563 =item [MaxResults => Int]
564  
565 =item [NextToken => Str]
566  
567  
568 =back
569  
570 Each argument is described in detail in: L<Paws::FMS::ListComplianceStatus>
571  
572 Returns: a L<Paws::FMS::ListComplianceStatusResponse> instance
573  
574 Returns an array of C<PolicyComplianceStatus> objects. Use
575 C<PolicyComplianceStatus> to get a summary of which member accounts are
576 protected by the specified policy.
577  
578  
579 =head2 ListMemberAccounts
580  
581 =over
582  
583 =item [MaxResults => Int]
584  
585 =item [NextToken => Str]
586  
587  
588 =back
589  
590 Each argument is described in detail in: L<Paws::FMS::ListMemberAccounts>
591  
592 Returns: a L<Paws::FMS::ListMemberAccountsResponse> instance
593  
594 Returns a C<MemberAccounts> object that lists the member accounts in
595 the administrator's AWS organization.
596  
597 The C<ListMemberAccounts> must be submitted by the account that is set
598 as the AWS Firewall Manager administrator.
599  
600  
601 =head2 ListPolicies
602  
603 =over
604  
605 =item [MaxResults => Int]
606  
607 =item [NextToken => Str]
608  
609  
610 =back
611  
612 Each argument is described in detail in: L<Paws::FMS::ListPolicies>
613  
614 Returns: a L<Paws::FMS::ListPoliciesResponse> instance
615  
616 Returns an array of C<PolicySummary> objects.
617  
618  
619 =head2 ListProtocolsLists
620  
621 =over
622  
623 =item MaxResults => Int
624  
625 =item [DefaultLists => Bool]
626  
627 =item [NextToken => Str]
628  
629  
630 =back
631  
632 Each argument is described in detail in: L<Paws::FMS::ListProtocolsLists>
633  
634 Returns: a L<Paws::FMS::ListProtocolsListsResponse> instance
635  
636 Returns an array of C<ProtocolsListDataSummary> objects.
637  
638  
639 =head2 ListTagsForResource
640  
641 =over
642  
643 =item ResourceArn => Str
644  
645  
646 =back
647  
648 Each argument is described in detail in: L<Paws::FMS::ListTagsForResource>
649  
650 Returns: a L<Paws::FMS::ListTagsForResourceResponse> instance
651  
652 Retrieves the list of tags for the specified AWS resource.
653  
654  
655 =head2 PutAppsList
656  
657 =over
658  
659 =item AppsList => L<Paws::FMS::AppsListData>
660  
661 =item [TagList => ArrayRef[L<Paws::FMS::Tag>]]
662  
663  
664 =back
665  
666 Each argument is described in detail in: L<Paws::FMS::PutAppsList>
667  
668 Returns: a L<Paws::FMS::PutAppsListResponse> instance
669  
670 Creates an AWS Firewall Manager applications list.
671  
672  
673 =head2 PutNotificationChannel
674  
675 =over
676  
677 =item SnsRoleName => Str
678  
679 =item SnsTopicArn => Str
680  
681  
682 =back
683  
684 Each argument is described in detail in: L<Paws::FMS::PutNotificationChannel>
685  
686 Returns: nothing
687  
688 Designates the IAM role and Amazon Simple Notification Service (SNS)
689 topic that AWS Firewall Manager uses to record SNS logs.
690  
691 To perform this action outside of the console, you must configure the
692 SNS topic to allow the Firewall Manager role C<AWSServiceRoleForFMS> to
693 publish SNS logs. For more information, see Firewall Manager required
694 permissions for API actions
695 (https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html)
696 in the I<AWS Firewall Manager Developer Guide>.
697  
698  
699 =head2 PutPolicy
700  
701 =over
702  
703 =item Policy => L<Paws::FMS::Policy>
704  
705 =item [TagList => ArrayRef[L<Paws::FMS::Tag>]]
706  
707  
708 =back
709  
710 Each argument is described in detail in: L<Paws::FMS::PutPolicy>
711  
712 Returns: a L<Paws::FMS::PutPolicyResponse> instance
713  
714 Creates an AWS Firewall Manager policy.
715  
716 Firewall Manager provides the following types of policies:
717  
718 =over
719  
720 =item *
721  
722 An AWS WAF policy (type WAFV2), which defines rule groups to run first
723 in the corresponding AWS WAF web ACL and rule groups to run last in the
724 web ACL.
725  
726 =item *
727  
728 An AWS WAF Classic policy (type WAF), which defines a rule group.
729  
730 =item *
731  
732 A Shield Advanced policy, which applies Shield Advanced protection to
733 specified accounts and resources.
734  
735 =item *
736  
737 A security group policy, which manages VPC security groups across your
738 AWS organization.
739  
740 =item *
741  
742 An AWS Network Firewall policy, which provides firewall rules to filter
743 network traffic in specified Amazon VPCs.
744  
745 =back
746  
747 Each policy is specific to one of the types. If you want to enforce
748 more than one policy type across accounts, create multiple policies.
749 You can create multiple policies for each type.
750  
751 You must be subscribed to Shield Advanced to create a Shield Advanced
752 policy. For more information about subscribing to Shield Advanced, see
753 CreateSubscription
754 (https://docs.aws.amazon.com/waf/latest/DDOSAPIReference/API_CreateSubscription.html).
755  
756  
757 =head2 PutProtocolsList
758  
759 =over
760  
761 =item ProtocolsList => L<Paws::FMS::ProtocolsListData>
762  
763 =item [TagList => ArrayRef[L<Paws::FMS::Tag>]]
764  
765  
766 =back
767  
768 Each argument is described in detail in: L<Paws::FMS::PutProtocolsList>
769  
770 Returns: a L<Paws::FMS::PutProtocolsListResponse> instance
771  
772 Creates an AWS Firewall Manager protocols list.
773  
774  
775 =head2 TagResource
776  
777 =over
778  
779 =item ResourceArn => Str
780  
781 =item TagList => ArrayRef[L<Paws::FMS::Tag>]
782  
783  
784 =back
785  
786 Each argument is described in detail in: L<Paws::FMS::TagResource>
787  
788 Returns: a L<Paws::FMS::TagResourceResponse> instance
789  
790 Adds one or more tags to an AWS resource.
791  
792  
793 =head2 UntagResource
794  
795 =over
796  
797 =item ResourceArn => Str
798  
799 =item TagKeys => ArrayRef[Str|Undef]
800  
801  
802 =back
803  
804 Each argument is described in detail in: L<Paws::FMS::UntagResource>
805  
806 Returns: a L<Paws::FMS::UntagResourceResponse> instance
807  
808 Removes one or more tags from an AWS resource.
809  
810  
811  
812  
813 =head1 PAGINATORS
814  
815 Paginator methods are helpers that repetively call methods that return partial results
816  
817 =head2 ListAllComplianceStatus(sub { },PolicyId => Str, [MaxResults => Int, NextToken => Str])
818  
819 =head2 ListAllComplianceStatus(PolicyId => Str, [MaxResults => Int, NextToken => Str])
820  
821  
822 If passed a sub as first parameter, it will call the sub for each element found in :
823  
824 - PolicyComplianceStatusList, passing the object as the first parameter, and the string 'PolicyComplianceStatusList' as the second parameter
825  
826 If not, it will return a a L<Paws::FMS::ListComplianceStatusResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
827  
828  
829 =head2 ListAllMemberAccounts(sub { },[MaxResults => Int, NextToken => Str])
830  
831 =head2 ListAllMemberAccounts([MaxResults => Int, NextToken => Str])
832  
833  
834 If passed a sub as first parameter, it will call the sub for each element found in :
835  
836 - MemberAccounts, passing the object as the first parameter, and the string 'MemberAccounts' as the second parameter
837  
838 If not, it will return a a L<Paws::FMS::ListMemberAccountsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
839  
840  
841 =head2 ListAllPolicies(sub { },[MaxResults => Int, NextToken => Str])
842  
843 =head2 ListAllPolicies([MaxResults => Int, NextToken => Str])
844  
845  
846 If passed a sub as first parameter, it will call the sub for each element found in :
847  
848 - PolicyList, passing the object as the first parameter, and the string 'PolicyList' as the second parameter
849  
850 If not, it will return a a L<Paws::FMS::ListPoliciesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
851  
852  
853  
854  
855  
856 =head1 SEE ALSO
857  
858 This service class forms part of L<Paws>
859  
860 =head1 BUGS and CONTRIBUTIONS
861  
862 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
863  
864 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
865  
866 =cut
867