blib/lib/Paws/MediaConvert/HlsEncryptionSettings.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 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::HlsEncryptionSettings;
3 use Moose;
4 has ConstantInitializationVector => (is => 'ro', isa => 'Str', request_name => 'constantInitializationVector', traits => ['NameInRequest']);
5 has EncryptionMethod => (is => 'ro', isa => 'Str', request_name => 'encryptionMethod', traits => ['NameInRequest']);
6 has InitializationVectorInManifest => (is => 'ro', isa => 'Str', request_name => 'initializationVectorInManifest', traits => ['NameInRequest']);
7 has OfflineEncrypted => (is => 'ro', isa => 'Str', request_name => 'offlineEncrypted', traits => ['NameInRequest']);
8 has SpekeKeyProvider => (is => 'ro', isa => 'Paws::MediaConvert::SpekeKeyProvider', request_name => 'spekeKeyProvider', traits => ['NameInRequest']);
9 has StaticKeyProvider => (is => 'ro', isa => 'Paws::MediaConvert::StaticKeyProvider', request_name => 'staticKeyProvider', traits => ['NameInRequest']);
10 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::MediaConvert::HlsEncryptionSettings
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::MediaConvert::HlsEncryptionSettings object:
30  
31 $service_obj->Method(Att1 => { ConstantInitializationVector => $value, ..., Type => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::HlsEncryptionSettings object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->ConstantInitializationVector
39  
40 =head1 DESCRIPTION
41  
42 Settings for HLS encryption
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 ConstantInitializationVector => Str
48  
49 This is a 128-bit, 16-byte hex value represented by a 32-character text
50 string. If this parameter is not set then the Initialization Vector
51 will follow the segment number by default.
52  
53  
54 =head2 EncryptionMethod => Str
55  
56 Encrypts the segments with the given encryption scheme. Leave blank to
57 disable. Selecting 'Disabled' in the web interface also disables
58 encryption.
59  
60  
61 =head2 InitializationVectorInManifest => Str
62  
63 The Initialization Vector is a 128-bit number used in conjunction with
64 the key for encrypting blocks. If set to INCLUDE, Initialization Vector
65 is listed in the manifest. Otherwise Initialization Vector is not in
66 the manifest.
67  
68  
69 =head2 OfflineEncrypted => Str
70  
71 Enable this setting to insert the EXT-X-SESSION-KEY element into the
72 master playlist. This allows for offline Apple HLS FairPlay content
73 protection.
74  
75  
76 =head2 SpekeKeyProvider => L<Paws::MediaConvert::SpekeKeyProvider>
77  
78 If your output group type is HLS, DASH, or Microsoft Smooth, use these
79 settings when doing DRM encryption with a SPEKE-compliant key provider.
80 If your output group type is CMAF, use the SpekeKeyProviderCmaf
81 settings instead.
82  
83  
84 =head2 StaticKeyProvider => L<Paws::MediaConvert::StaticKeyProvider>
85  
86 Use these settings to set up encryption with a static key provider.
87  
88  
89 =head2 Type => Str
90  
91 Specify whether your DRM encryption key is static or from a key
92 provider that follows the SPEKE standard. For more information about
93 SPEKE, see
94 https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
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