blib/lib/Paws/S3/SourceSelectionCriteria.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::S3::SourceSelectionCriteria;
3 use Moose;
4 has ReplicaModifications => (is => 'ro', isa => 'Paws::S3::ReplicaModifications');
5 has SseKmsEncryptedObjects => (is => 'ro', isa => 'Paws::S3::SseKmsEncryptedObjects');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::S3::SourceSelectionCriteria
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::S3::SourceSelectionCriteria object:
25  
26 $service_obj->Method(Att1 => { ReplicaModifications => $value, ..., SseKmsEncryptedObjects => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::S3::SourceSelectionCriteria object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->ReplicaModifications
34  
35 =head1 DESCRIPTION
36  
37 A container that describes additional filters for identifying the
38 source objects that you want to replicate. You can choose to enable or
39 disable the replication of these objects. Currently, Amazon S3 supports
40 only the filter that you can specify for objects created with
41 server-side encryption using a customer master key (CMK) stored in AWS
42 Key Management Service (SSE-KMS).
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 ReplicaModifications => L<Paws::S3::ReplicaModifications>
48  
49 A filter that you can specify for selections for modifications on
50 replicas. Amazon S3 doesn't replicate replica modifications by default.
51 In the latest version of replication configuration (when C<Filter> is
52 specified), you can specify this element and set the status to
53 C<Enabled> to replicate modifications on replicas.
54  
55 If you don't specify the C<Filter> element, Amazon S3 assumes that the
56 replication configuration is the earlier version, V1. In the earlier
57 version, this element is not allowed
58  
59  
60 =head2 SseKmsEncryptedObjects => L<Paws::S3::SseKmsEncryptedObjects>
61  
62 A container for filter information for the selection of Amazon S3
63 objects encrypted with AWS KMS. If you include
64 C<SourceSelectionCriteria> in the replication configuration, this
65 element is required.
66  
67  
68  
69 =head1 SEE ALSO
70  
71 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
72  
73 =head1 BUGS and CONTRIBUTIONS
74  
75 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
76  
77 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
78  
79 =cut
80