blib/lib/Paws/Robomaker/UploadConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Robomaker::UploadConfiguration;
3 use Moose;
4 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
5 has Path => (is => 'ro', isa => 'Str', request_name => 'path', traits => ['NameInRequest'], required => 1);
6 has UploadBehavior => (is => 'ro', isa => 'Str', request_name => 'uploadBehavior', traits => ['NameInRequest'], required => 1);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::Robomaker::UploadConfiguration
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::Robomaker::UploadConfiguration object:
26  
27 $service_obj->Method(Att1 => { Name => $value, ..., UploadBehavior => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::Robomaker::UploadConfiguration object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->Name
35  
36 =head1 DESCRIPTION
37  
38 Provides upload configuration information. Files are uploaded from the
39 simulation job to a location you specify.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 B<REQUIRED> Name => Str
45  
46 A prefix that specifies where files will be uploaded in Amazon S3. It
47 is appended to the simulation output location to determine the final
48 path.
49  
50 For example, if your simulation output location is C<s3://my-bucket>
51 and your upload configuration name is C<robot-test>, your files will be
52 uploaded to
53 C<s3://my-bucket/E<lt>simidE<gt>/E<lt>runidE<gt>/robot-test>.
54  
55  
56 =head2 B<REQUIRED> Path => Str
57  
58 Specifies the path of the file(s) to upload. Standard Unix glob
59 matching rules are accepted, with the addition of C<**> as a I<super
60 asterisk>. For example, specifying C</var/log/**.log> causes all .log
61 files in the C</var/log> directory tree to be collected. For more
62 examples, see Glob Library (https://github.com/gobwas/glob).
63  
64  
65 =head2 B<REQUIRED> UploadBehavior => Str
66  
67 Specifies when to upload the files:
68  
69 =over
70  
71 =item UPLOAD_ON_TERMINATE
72  
73 Matching files are uploaded once the simulation enters the
74 C<TERMINATING> state. Matching files are not uploaded until all of your
75 code (including tools) have stopped.
76  
77 If there is a problem uploading a file, the upload is retried. If
78 problems persist, no further upload attempts will be made.
79  
80 =item UPLOAD_ROLLING_AUTO_REMOVE
81  
82 Matching files are uploaded as they are created. They are deleted after
83 they are uploaded. The specified path is checked every 5 seconds. A
84 final check is made when all of your code (including tools) have
85 stopped.
86  
87 =back
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, describing an object used in L<Paws::Robomaker>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103