libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Description

 
Synopsis

Documentation

data PlayReadyDrm Source #

The PlayReady DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

PlayReady DRM encrypts your media files using aes-ctr encryption.

If you use DRM for an HLSv3 playlist, your outputs must have a master playlist.

See: newPlayReadyDrm smart constructor.

Constructors

PlayReadyDrm' 

Fields

  • keyId :: Maybe Text

    The ID for your DRM key, so that your DRM license provider knows which key to provide.

    The key ID must be provided in big endian, and Elastic Transcoder converts it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider.

  • format :: Maybe Text

    The type of DRM, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

  • keyMd5 :: Maybe Text

    The MD5 digest of the key used for DRM on your file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.

  • key :: Maybe Text

    The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:

    128, 192, or 256.

    The key must also be encrypted by using AWS KMS.

  • initializationVector :: Maybe Text

    The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your files. The initialization vector must be base64-encoded, and it must be exactly 8 bytes long before being base64-encoded. If no initialization vector is provided, Elastic Transcoder generates one for you.

  • licenseAcquisitionUrl :: Maybe Text

    The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/

Instances

Instances details
Eq PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Read PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Show PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Generic PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Associated Types

type Rep PlayReadyDrm :: Type -> Type #

NFData PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Methods

rnf :: PlayReadyDrm -> () #

Hashable PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

ToJSON PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

FromJSON PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

type Rep PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

type Rep PlayReadyDrm = D1 ('MetaData "PlayReadyDrm" "Amazonka.ElasticTranscoder.Types.PlayReadyDrm" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "PlayReadyDrm'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keyMd5") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "initializationVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "licenseAcquisitionUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newPlayReadyDrm :: PlayReadyDrm Source #

Create a value of PlayReadyDrm with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:keyId:PlayReadyDrm', playReadyDrm_keyId - The ID for your DRM key, so that your DRM license provider knows which key to provide.

The key ID must be provided in big endian, and Elastic Transcoder converts it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider.

$sel:format:PlayReadyDrm', playReadyDrm_format - The type of DRM, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

$sel:keyMd5:PlayReadyDrm', playReadyDrm_keyMd5 - The MD5 digest of the key used for DRM on your file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.

$sel:key:PlayReadyDrm', playReadyDrm_key - The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:

128, 192, or 256.

The key must also be encrypted by using AWS KMS.

$sel:initializationVector:PlayReadyDrm', playReadyDrm_initializationVector - The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your files. The initialization vector must be base64-encoded, and it must be exactly 8 bytes long before being base64-encoded. If no initialization vector is provided, Elastic Transcoder generates one for you.

$sel:licenseAcquisitionUrl:PlayReadyDrm', playReadyDrm_licenseAcquisitionUrl - The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/

playReadyDrm_keyId :: Lens' PlayReadyDrm (Maybe Text) Source #

The ID for your DRM key, so that your DRM license provider knows which key to provide.

The key ID must be provided in big endian, and Elastic Transcoder converts it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider.

playReadyDrm_format :: Lens' PlayReadyDrm (Maybe Text) Source #

The type of DRM, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

playReadyDrm_keyMd5 :: Lens' PlayReadyDrm (Maybe Text) Source #

The MD5 digest of the key used for DRM on your file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.

playReadyDrm_key :: Lens' PlayReadyDrm (Maybe Text) Source #

The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:

128, 192, or 256.

The key must also be encrypted by using AWS KMS.

playReadyDrm_initializationVector :: Lens' PlayReadyDrm (Maybe Text) Source #

The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your files. The initialization vector must be base64-encoded, and it must be exactly 8 bytes long before being base64-encoded. If no initialization vector is provided, Elastic Transcoder generates one for you.

playReadyDrm_licenseAcquisitionUrl :: Lens' PlayReadyDrm (Maybe Text) Source #

The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/