« blib/lib/Paws/MediaPackage/EgressAccessLogs.pm
↑ Summary
blib/lib/Paws/MediaPackage/HarvestJob.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaPackage::EncryptionContractConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has PresetSpeke20Audio => (is => 'ro', isa => 'Str', request_name => 'presetSpeke20Audio', traits => ['NameInRequest'], required => 1); | ||
| 5 | has PresetSpeke20Video => (is => 'ro', isa => 'Str', request_name => 'presetSpeke20Video', traits => ['NameInRequest'], required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::MediaPackage::EncryptionContractConfiguration | ||
| 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::MediaPackage::EncryptionContractConfiguration object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { PresetSpeke20Audio => $value, ..., PresetSpeke20Video => $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::MediaPackage::EncryptionContractConfiguration object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->PresetSpeke20Audio | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Use encryptionContractConfiguration to configure one or more content | ||
| 38 | encryption keys for your endpoints that use SPEKE 2.0. The encryption | ||
| 39 | contract defines which content keys are used to encrypt the audio and | ||
| 40 | video tracks in your stream. To configure the encryption contract, | ||
| 41 | specify which audio and video encryption presets to use. Note the | ||
| 42 | following considerations when using encryptionContractConfiguration: | ||
| 43 | encryptionContractConfiguration can be used for DASH endpoints that use | ||
| 44 | SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must | ||
| 45 | disable key rotation for this endpoint by setting | ||
| 46 | keyRotationIntervalSeconds to 0. | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> PresetSpeke20Audio => Str | ||
| 52 | |||
| 53 | A collection of audio encryption presets. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> PresetSpeke20Video => Str | ||
| 57 | |||
| 58 | A collection of video encryption presets. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head1 SEE ALSO | ||
| 63 | |||
| 64 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaPackage> | ||
| 65 | |||
| 66 | =head1 BUGS and CONTRIBUTIONS | ||
| 67 | |||
| 68 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 69 | |||
| 70 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 71 | |||
| 72 | =cut | ||
| 73 |