blib/lib/Paws/S3Control/S3CopyObjectOperation.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::S3Control::S3CopyObjectOperation;
3 use Moose;
4 has AccessControlGrants => (is => 'ro', isa => 'ArrayRef[Paws::S3Control::S3Grant]');
5 has BucketKeyEnabled => (is => 'ro', isa => 'Bool');
6 has CannedAccessControlList => (is => 'ro', isa => 'Str');
7 has MetadataDirective => (is => 'ro', isa => 'Str');
8 has ModifiedSinceConstraint => (is => 'ro', isa => 'Str');
9 has NewObjectMetadata => (is => 'ro', isa => 'Paws::S3Control::S3ObjectMetadata');
10 has NewObjectTagging => (is => 'ro', isa => 'ArrayRef[Paws::S3Control::S3Tag]');
11 has ObjectLockLegalHoldStatus => (is => 'ro', isa => 'Str');
12 has ObjectLockMode => (is => 'ro', isa => 'Str');
13 has ObjectLockRetainUntilDate => (is => 'ro', isa => 'Str');
14 has RedirectLocation => (is => 'ro', isa => 'Str');
15 has RequesterPays => (is => 'ro', isa => 'Bool');
16 has SSEAwsKmsKeyId => (is => 'ro', isa => 'Str');
17 has StorageClass => (is => 'ro', isa => 'Str');
18 has TargetKeyPrefix => (is => 'ro', isa => 'Str');
19 has TargetResource => (is => 'ro', isa => 'Str');
20 has UnModifiedSinceConstraint => (is => 'ro', isa => 'Str');
21  
22 1;
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::S3Control::S3CopyObjectOperation
29  
30 =head1 USAGE
31  
32 This class represents one of two things:
33  
34 =head3 Arguments in a call to a service
35  
36 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
37 Each attribute should be used as a named argument in the calls that expect this type of object.
38  
39 As an example, if Att1 is expected to be a Paws::S3Control::S3CopyObjectOperation object:
40  
41 $service_obj->Method(Att1 => { AccessControlGrants => $value, ..., UnModifiedSinceConstraint => $value });
42  
43 =head3 Results returned from an API call
44  
45 Use accessors for each attribute. If Att1 is expected to be an Paws::S3Control::S3CopyObjectOperation object:
46  
47 $result = $service_obj->Method(...);
48 $result->Att1->AccessControlGrants
49  
50 =head1 DESCRIPTION
51  
52 Contains the configuration parameters for a PUT Copy object operation.
53 S3 Batch Operations passes every object to the underlying PUT Copy
54 object API. For more information about the parameters for this
55 operation, see PUT Object - Copy
56 (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html).
57  
58 =head1 ATTRIBUTES
59  
60  
61 =head2 AccessControlGrants => ArrayRef[L<Paws::S3Control::S3Grant>]
62  
63  
64  
65  
66 =head2 BucketKeyEnabled => Bool
67  
68 Specifies whether Amazon S3 should use an S3 Bucket Key for object
69 encryption with server-side encryption using AWS KMS (SSE-KMS). Setting
70 this header to C<true> causes Amazon S3 to use an S3 Bucket Key for
71 object encryption with SSE-KMS.
72  
73 Specifying this header with an I<object> action doesnE<rsquo>t affect
74 I<bucket-level> settings for S3 Bucket Key.
75  
76  
77 =head2 CannedAccessControlList => Str
78  
79  
80  
81  
82 =head2 MetadataDirective => Str
83  
84  
85  
86  
87 =head2 ModifiedSinceConstraint => Str
88  
89  
90  
91  
92 =head2 NewObjectMetadata => L<Paws::S3Control::S3ObjectMetadata>
93  
94  
95  
96  
97 =head2 NewObjectTagging => ArrayRef[L<Paws::S3Control::S3Tag>]
98  
99  
100  
101  
102 =head2 ObjectLockLegalHoldStatus => Str
103  
104 The legal hold status to be applied to all objects in the Batch
105 Operations job.
106  
107  
108 =head2 ObjectLockMode => Str
109  
110 The retention mode to be applied to all objects in the Batch Operations
111 job.
112  
113  
114 =head2 ObjectLockRetainUntilDate => Str
115  
116 The date when the applied object retention configuration expires on all
117 objects in the Batch Operations job.
118  
119  
120 =head2 RedirectLocation => Str
121  
122 Specifies an optional metadata property for website redirects,
123 C<x-amz-website-redirect-location>. Allows webpage redirects if the
124 object is accessed through a website endpoint.
125  
126  
127 =head2 RequesterPays => Bool
128  
129  
130  
131  
132 =head2 SSEAwsKmsKeyId => Str
133  
134  
135  
136  
137 =head2 StorageClass => Str
138  
139  
140  
141  
142 =head2 TargetKeyPrefix => Str
143  
144 Specifies the folder prefix into which you would like the objects to be
145 copied. For example, to copy objects into a folder named "Folder1" in
146 the destination bucket, set the TargetKeyPrefix to "Folder1/".
147  
148  
149 =head2 TargetResource => Str
150  
151 Specifies the destination bucket ARN for the batch copy operation. For
152 example, to copy objects to a bucket named "destinationBucket", set the
153 TargetResource to "arn:aws:s3:::destinationBucket".
154  
155  
156 =head2 UnModifiedSinceConstraint => Str
157  
158  
159  
160  
161  
162 =head1 SEE ALSO
163  
164 This class forms part of L<Paws>, describing an object used in L<Paws::S3Control>
165  
166 =head1 BUGS and CONTRIBUTIONS
167  
168 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
169  
170 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
171  
172 =cut
173