blib/lib/Paws/FIS/CreateExperimentTemplateTargetInput.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::FIS::CreateExperimentTemplateTargetInput;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::FIS::ExperimentTemplateTargetInputFilter]', request_name => 'filters', traits => ['NameInRequest']);
5 has ResourceArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'resourceArns', traits => ['NameInRequest']);
6 has ResourceTags => (is => 'ro', isa => 'Paws::FIS::TagMap', request_name => 'resourceTags', traits => ['NameInRequest']);
7 has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest'], required => 1);
8 has SelectionMode => (is => 'ro', isa => 'Str', request_name => 'selectionMode', traits => ['NameInRequest'], required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::FIS::CreateExperimentTemplateTargetInput
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::FIS::CreateExperimentTemplateTargetInput object:
28  
29 $service_obj->Method(Att1 => { Filters => $value, ..., SelectionMode => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::FIS::CreateExperimentTemplateTargetInput object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Filters
37  
38 =head1 DESCRIPTION
39  
40 Specifies a target for an experiment. You must specify at least one
41 Amazon Resource Name (ARN) or at least one resource tag. You cannot
42 specify both ARNs and tags.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Filters => ArrayRef[L<Paws::FIS::ExperimentTemplateTargetInputFilter>]
48  
49 The filters to apply to identify target resources using specific
50 attributes.
51  
52  
53 =head2 ResourceArns => ArrayRef[Str|Undef]
54  
55 The Amazon Resource Names (ARNs) of the resources.
56  
57  
58 =head2 ResourceTags => L<Paws::FIS::TagMap>
59  
60 The tags for the target resources.
61  
62  
63 =head2 B<REQUIRED> ResourceType => Str
64  
65 The AWS resource type. The resource type must be supported for the
66 specified action.
67  
68  
69 =head2 B<REQUIRED> SelectionMode => Str
70  
71 Scopes the identified resources to a specific count of the resources at
72 random, or a percentage of the resources. All identified resources are
73 included in the target.
74  
75 =over
76  
77 =item *
78  
79 ALL - Run the action on all identified targets. This is the default.
80  
81 =item *
82  
83 COUNT(n) - Run the action on the specified number of targets, chosen
84 from the identified targets at random. For example, COUNT(1) selects
85 one of the targets.
86  
87 =item *
88  
89 PERCENT(n) - Run the action on the specified percentage of targets,
90 chosen from the identified targets at random. For example, PERCENT(25)
91 selects 25% of the targets.
92  
93 =back
94  
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, describing an object used in L<Paws::FIS>
101  
102 =head1 BUGS and CONTRIBUTIONS
103  
104 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
105  
106 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
107  
108 =cut
109