| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Paws::ElasticTranscoder::HlsContentProtection; | 
| 2 | 1 |  |  | 1 |  | 571 | use Moose; | 
|  | 1 |  |  |  |  | 4 |  | 
|  | 1 |  |  |  |  | 6 |  | 
| 3 |  |  |  |  |  |  | has InitializationVector => (is => 'ro', isa => 'Str'); | 
| 4 |  |  |  |  |  |  | has Key => (is => 'ro', isa => 'Str'); | 
| 5 |  |  |  |  |  |  | has KeyMd5 => (is => 'ro', isa => 'Str'); | 
| 6 |  |  |  |  |  |  | has KeyStoragePolicy => (is => 'ro', isa => 'Str'); | 
| 7 |  |  |  |  |  |  | has LicenseAcquisitionUrl => (is => 'ro', isa => 'Str'); | 
| 8 |  |  |  |  |  |  | has Method => (is => 'ro', isa => 'Str'); | 
| 9 |  |  |  |  |  |  | 1; | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | ### main pod documentation begin ### | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | =head1 NAME | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | Paws::ElasticTranscoder::HlsContentProtection | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | =head1 USAGE | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | This class represents one of two things: | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | =head3 Arguments in a call to a service | 
| 22 |  |  |  |  |  |  |  | 
| 23 |  |  |  |  |  |  | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | 
| 24 |  |  |  |  |  |  | Each attribute should be used as a named argument in the calls that expect this type of object. | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | As an example, if Att1 is expected to be a Paws::ElasticTranscoder::HlsContentProtection object: | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | $service_obj->Method(Att1 => { InitializationVector => $value, ..., Method => $value  }); | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =head3 Results returned from an API call | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::HlsContentProtection object: | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | $result = $service_obj->Method(...); | 
| 35 |  |  |  |  |  |  | $result->Att1->InitializationVector | 
| 36 |  |  |  |  |  |  |  | 
| 37 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 38 |  |  |  |  |  |  |  | 
| 39 |  |  |  |  |  |  | The HLS content protection settings, if any, that you want Elastic | 
| 40 |  |  |  |  |  |  | Transcoder to apply to your output files. | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | =head1 ATTRIBUTES | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | =head2 InitializationVector => Str | 
| 46 |  |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  | If Elastic Transcoder is generating your key for you, you must leave | 
| 48 |  |  |  |  |  |  | this field blank. | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | The series of random bits created by a random bit generator, unique for | 
| 51 |  |  |  |  |  |  | every encryption operation, that you want Elastic Transcoder to use to | 
| 52 |  |  |  |  |  |  | encrypt your output files. The initialization vector must be | 
| 53 |  |  |  |  |  |  | base64-encoded, and it must be exactly 16 bytes before being | 
| 54 |  |  |  |  |  |  | base64-encoded. | 
| 55 |  |  |  |  |  |  |  | 
| 56 |  |  |  |  |  |  |  | 
| 57 |  |  |  |  |  |  | =head2 Key => Str | 
| 58 |  |  |  |  |  |  |  | 
| 59 |  |  |  |  |  |  | If you want Elastic Transcoder to generate a key for you, leave this | 
| 60 |  |  |  |  |  |  | field blank. | 
| 61 |  |  |  |  |  |  |  | 
| 62 |  |  |  |  |  |  | If you choose to supply your own key, you must encrypt the key by using | 
| 63 |  |  |  |  |  |  | AWS KMS. The key must be base64-encoded, and it must be one of the | 
| 64 |  |  |  |  |  |  | following bit lengths before being base64-encoded: | 
| 65 |  |  |  |  |  |  |  | 
| 66 |  |  |  |  |  |  | C<128>, C<192>, or C<256>. | 
| 67 |  |  |  |  |  |  |  | 
| 68 |  |  |  |  |  |  |  | 
| 69 |  |  |  |  |  |  | =head2 KeyMd5 => Str | 
| 70 |  |  |  |  |  |  |  | 
| 71 |  |  |  |  |  |  | If Elastic Transcoder is generating your key for you, you must leave | 
| 72 |  |  |  |  |  |  | this field blank. | 
| 73 |  |  |  |  |  |  |  | 
| 74 |  |  |  |  |  |  | The MD5 digest of the key that you want Elastic Transcoder to use to | 
| 75 |  |  |  |  |  |  | encrypt your output file, and that you want Elastic Transcoder to use | 
| 76 |  |  |  |  |  |  | as a checksum to make sure your key was not corrupted in transit. The | 
| 77 |  |  |  |  |  |  | key MD5 must be base64-encoded, and it must be exactly 16 bytes before | 
| 78 |  |  |  |  |  |  | being base64- encoded. | 
| 79 |  |  |  |  |  |  |  | 
| 80 |  |  |  |  |  |  |  | 
| 81 |  |  |  |  |  |  | =head2 KeyStoragePolicy => Str | 
| 82 |  |  |  |  |  |  |  | 
| 83 |  |  |  |  |  |  | Specify whether you want Elastic Transcoder to write your HLS license | 
| 84 |  |  |  |  |  |  | key to an Amazon S3 bucket. If you choose C<WithVariantPlaylists>, | 
| 85 |  |  |  |  |  |  | C<LicenseAcquisitionUrl> must be left blank and Elastic Transcoder | 
| 86 |  |  |  |  |  |  | writes your data key into the same bucket as the associated playlist. | 
| 87 |  |  |  |  |  |  |  | 
| 88 |  |  |  |  |  |  |  | 
| 89 |  |  |  |  |  |  | =head2 LicenseAcquisitionUrl => Str | 
| 90 |  |  |  |  |  |  |  | 
| 91 |  |  |  |  |  |  | The location of the license key required to decrypt your HLS playlist. | 
| 92 |  |  |  |  |  |  | The URL must be an absolute path, and is referenced in the URI | 
| 93 |  |  |  |  |  |  | attribute of the EXT-X-KEY metadata tag in the playlist file. | 
| 94 |  |  |  |  |  |  |  | 
| 95 |  |  |  |  |  |  |  | 
| 96 |  |  |  |  |  |  | =head2 Method => Str | 
| 97 |  |  |  |  |  |  |  | 
| 98 |  |  |  |  |  |  | The content protection method for your output. The only valid value is: | 
| 99 |  |  |  |  |  |  | C<aes-128>. | 
| 100 |  |  |  |  |  |  |  | 
| 101 |  |  |  |  |  |  | This value is written into the method attribute of the C<EXT-X-KEY> | 
| 102 |  |  |  |  |  |  | metadata tag in the output playlist. | 
| 103 |  |  |  |  |  |  |  | 
| 104 |  |  |  |  |  |  |  | 
| 105 |  |  |  |  |  |  |  | 
| 106 |  |  |  |  |  |  | =head1 SEE ALSO | 
| 107 |  |  |  |  |  |  |  | 
| 108 |  |  |  |  |  |  | This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder> | 
| 109 |  |  |  |  |  |  |  | 
| 110 |  |  |  |  |  |  | =head1 BUGS and CONTRIBUTIONS | 
| 111 |  |  |  |  |  |  |  | 
| 112 |  |  |  |  |  |  | The source code is located here: https://github.com/pplu/aws-sdk-perl | 
| 113 |  |  |  |  |  |  |  | 
| 114 |  |  |  |  |  |  | Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues | 
| 115 |  |  |  |  |  |  |  | 
| 116 |  |  |  |  |  |  | =cut | 
| 117 |  |  |  |  |  |  |  |