blib/lib/Paws/Backup/BackupSelection.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Backup::BackupSelection;
3 use Moose;
4 has IamRoleArn => (is => 'ro', isa => 'Str', required => 1);
5 has ListOfTags => (is => 'ro', isa => 'ArrayRef[Paws::Backup::Condition]');
6 has Resources => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7 has SelectionName => (is => 'ro', isa => 'Str', required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Backup::BackupSelection
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::Backup::BackupSelection object:
27  
28 $service_obj->Method(Att1 => { IamRoleArn => $value, ..., SelectionName => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::Backup::BackupSelection object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->IamRoleArn
36  
37 =head1 DESCRIPTION
38  
39 Used to specify a set of resources to a backup plan.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 B<REQUIRED> IamRoleArn => Str
45  
46 The ARN of the IAM role that AWS Backup uses to authenticate when
47 backing up the target resource; for example,
48 C<arn:aws:iam::123456789012:role/S3Access>.
49  
50  
51 =head2 ListOfTags => ArrayRef[L<Paws::Backup::Condition>]
52  
53 An array of conditions used to specify a set of resources to assign to
54 a backup plan; for example, C<"StringEquals":
55 {"ec2:ResourceTag/Department": "accounting">. Assigns the backup plan
56 to every resource with at least one matching tag.
57  
58  
59 =head2 Resources => ArrayRef[Str|Undef]
60  
61 An array of strings that contain Amazon Resource Names (ARNs) of
62 resources to assign to a backup plan.
63  
64  
65 =head2 B<REQUIRED> SelectionName => Str
66  
67 The display name of a resource selection document.
68  
69  
70  
71 =head1 SEE ALSO
72  
73 This class forms part of L<Paws>, describing an object used in L<Paws::Backup>
74  
75 =head1 BUGS and CONTRIBUTIONS
76  
77 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
78  
79 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
80  
81 =cut
82