blib/lib/Paws/MediaConvert/S3EncryptionSettings.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::MediaConvert::S3EncryptionSettings;
3 use Moose;
4 has EncryptionType => (is => 'ro', isa => 'Str', request_name => 'encryptionType', traits => ['NameInRequest']);
5 has KmsKeyArn => (is => 'ro', isa => 'Str', request_name => 'kmsKeyArn', traits => ['NameInRequest']);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::MediaConvert::S3EncryptionSettings
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::MediaConvert::S3EncryptionSettings object:
25  
26 $service_obj->Method(Att1 => { EncryptionType => $value, ..., KmsKeyArn => $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::MediaConvert::S3EncryptionSettings object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->EncryptionType
34  
35 =head1 DESCRIPTION
36  
37 Settings for how your job outputs are encrypted as they are uploaded to
38 Amazon S3.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 EncryptionType => Str
44  
45 Specify how you want your data keys managed. AWS uses data keys to
46 encrypt your content. AWS also encrypts the data keys themselves, using
47 a customer master key (CMK), and then stores the encrypted data keys
48 alongside your encrypted content. Use this setting to specify which AWS
49 service manages the CMK. For simplest set up, choose Amazon S3
50 (SERVER_SIDE_ENCRYPTION_S3). If you want your master key to be managed
51 by AWS Key Management Service (KMS), choose AWS KMS
52 (SERVER_SIDE_ENCRYPTION_KMS). By default, when you choose AWS KMS, KMS
53 uses the AWS managed customer master key (CMK) associated with Amazon
54 S3 to encrypt your data keys. You can optionally choose to specify a
55 different, customer managed CMK. Do so by specifying the Amazon
56 Resource Name (ARN) of the key for the setting KMS ARN (kmsKeyArn).
57  
58  
59 =head2 KmsKeyArn => Str
60  
61 Optionally, specify the customer master key (CMK) that you want to use
62 to encrypt the data key that AWS uses to encrypt your output content.
63 Enter the Amazon Resource Name (ARN) of the CMK. To use this setting,
64 you must also set Server-side encryption (S3ServerSideEncryptionType)
65 to AWS KMS (SERVER_SIDE_ENCRYPTION_KMS). If you set Server-side
66 encryption to AWS KMS but don't specify a CMK here, AWS uses the AWS
67 managed CMK associated with Amazon S3.
68  
69  
70  
71 =head1 SEE ALSO
72  
73 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
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