Skip to content

Commit

Permalink
feat(client-mediaconvert): This release provides support for addition…
Browse files Browse the repository at this point in the history
…al DRM configurations per SPEKE Version 2.0.
  • Loading branch information
awstools committed Sep 19, 2024
1 parent ddea9dd commit f7cca48
Show file tree
Hide file tree
Showing 13 changed files with 639 additions and 208 deletions.
32 changes: 32 additions & 0 deletions clients/client-mediaconvert/src/commands/CreateJobCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,10 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* DashSignaledSystemIds: [ // __listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* "STRING_VALUE",
* ],
* EncryptionContractConfiguration: { // EncryptionContractConfiguration
* SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* },
* HlsSignaledSystemIds: [
* "STRING_VALUE",
* ],
Expand Down Expand Up @@ -504,6 +508,10 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* PlaybackDeviceCompatibility: "CENC_V1" || "UNENCRYPTED_SEI",
* SpekeKeyProvider: { // SpekeKeyProvider
* CertificateArn: "STRING_VALUE",
* EncryptionContractConfiguration: {
* SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* },
* ResourceId: "STRING_VALUE",
* SystemIds: [ // __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* "STRING_VALUE",
Expand Down Expand Up @@ -597,6 +605,10 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* OfflineEncrypted: "ENABLED" || "DISABLED",
* SpekeKeyProvider: {
* CertificateArn: "STRING_VALUE",
* EncryptionContractConfiguration: {
* SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* },
* ResourceId: "STRING_VALUE",
* SystemIds: [
* "STRING_VALUE",
Expand Down Expand Up @@ -665,6 +677,10 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* Encryption: { // MsSmoothEncryptionSettings
* SpekeKeyProvider: {
* CertificateArn: "STRING_VALUE",
* EncryptionContractConfiguration: {
* SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* },
* ResourceId: "STRING_VALUE",
* SystemIds: [
* "STRING_VALUE",
Expand Down Expand Up @@ -1969,6 +1985,10 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* // DashSignaledSystemIds: [ // __listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* // "STRING_VALUE",
* // ],
* // EncryptionContractConfiguration: { // EncryptionContractConfiguration
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // HlsSignaledSystemIds: [
* // "STRING_VALUE",
* // ],
Expand Down Expand Up @@ -2041,6 +2061,10 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* // PlaybackDeviceCompatibility: "CENC_V1" || "UNENCRYPTED_SEI",
* // SpekeKeyProvider: { // SpekeKeyProvider
* // CertificateArn: "STRING_VALUE",
* // EncryptionContractConfiguration: {
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // ResourceId: "STRING_VALUE",
* // SystemIds: [ // __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* // "STRING_VALUE",
Expand Down Expand Up @@ -2134,6 +2158,10 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* // OfflineEncrypted: "ENABLED" || "DISABLED",
* // SpekeKeyProvider: {
* // CertificateArn: "STRING_VALUE",
* // EncryptionContractConfiguration: {
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // ResourceId: "STRING_VALUE",
* // SystemIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -2202,6 +2230,10 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* // Encryption: { // MsSmoothEncryptionSettings
* // SpekeKeyProvider: {
* // CertificateArn: "STRING_VALUE",
* // EncryptionContractConfiguration: {
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // ResourceId: "STRING_VALUE",
* // SystemIds: [
* // "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,10 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* DashSignaledSystemIds: [ // __listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* "STRING_VALUE",
* ],
* EncryptionContractConfiguration: { // EncryptionContractConfiguration
* SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* },
* HlsSignaledSystemIds: [
* "STRING_VALUE",
* ],
Expand Down Expand Up @@ -485,6 +489,10 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* PlaybackDeviceCompatibility: "CENC_V1" || "UNENCRYPTED_SEI",
* SpekeKeyProvider: { // SpekeKeyProvider
* CertificateArn: "STRING_VALUE",
* EncryptionContractConfiguration: {
* SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* },
* ResourceId: "STRING_VALUE",
* SystemIds: [ // __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* "STRING_VALUE",
Expand Down Expand Up @@ -578,6 +586,10 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* OfflineEncrypted: "ENABLED" || "DISABLED",
* SpekeKeyProvider: {
* CertificateArn: "STRING_VALUE",
* EncryptionContractConfiguration: {
* SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* },
* ResourceId: "STRING_VALUE",
* SystemIds: [
* "STRING_VALUE",
Expand Down Expand Up @@ -646,6 +658,10 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* Encryption: { // MsSmoothEncryptionSettings
* SpekeKeyProvider: {
* CertificateArn: "STRING_VALUE",
* EncryptionContractConfiguration: {
* SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* },
* ResourceId: "STRING_VALUE",
* SystemIds: [
* "STRING_VALUE",
Expand Down Expand Up @@ -1892,6 +1908,10 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* // DashSignaledSystemIds: [ // __listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* // "STRING_VALUE",
* // ],
* // EncryptionContractConfiguration: { // EncryptionContractConfiguration
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // HlsSignaledSystemIds: [
* // "STRING_VALUE",
* // ],
Expand Down Expand Up @@ -1964,6 +1984,10 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* // PlaybackDeviceCompatibility: "CENC_V1" || "UNENCRYPTED_SEI",
* // SpekeKeyProvider: { // SpekeKeyProvider
* // CertificateArn: "STRING_VALUE",
* // EncryptionContractConfiguration: {
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // ResourceId: "STRING_VALUE",
* // SystemIds: [ // __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* // "STRING_VALUE",
Expand Down Expand Up @@ -2057,6 +2081,10 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* // OfflineEncrypted: "ENABLED" || "DISABLED",
* // SpekeKeyProvider: {
* // CertificateArn: "STRING_VALUE",
* // EncryptionContractConfiguration: {
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // ResourceId: "STRING_VALUE",
* // SystemIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -2125,6 +2153,10 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* // Encryption: { // MsSmoothEncryptionSettings
* // SpekeKeyProvider: {
* // CertificateArn: "STRING_VALUE",
* // EncryptionContractConfiguration: {
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // ResourceId: "STRING_VALUE",
* // SystemIds: [
* // "STRING_VALUE",
Expand Down
16 changes: 16 additions & 0 deletions clients/client-mediaconvert/src/commands/GetJobCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,10 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
* // DashSignaledSystemIds: [ // __listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* // "STRING_VALUE",
* // ],
* // EncryptionContractConfiguration: { // EncryptionContractConfiguration
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // HlsSignaledSystemIds: [
* // "STRING_VALUE",
* // ],
Expand Down Expand Up @@ -548,6 +552,10 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
* // PlaybackDeviceCompatibility: "CENC_V1" || "UNENCRYPTED_SEI",
* // SpekeKeyProvider: { // SpekeKeyProvider
* // CertificateArn: "STRING_VALUE",
* // EncryptionContractConfiguration: {
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // ResourceId: "STRING_VALUE",
* // SystemIds: [ // __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12
* // "STRING_VALUE",
Expand Down Expand Up @@ -641,6 +649,10 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
* // OfflineEncrypted: "ENABLED" || "DISABLED",
* // SpekeKeyProvider: {
* // CertificateArn: "STRING_VALUE",
* // EncryptionContractConfiguration: {
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // ResourceId: "STRING_VALUE",
* // SystemIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -709,6 +721,10 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
* // Encryption: { // MsSmoothEncryptionSettings
* // SpekeKeyProvider: {
* // CertificateArn: "STRING_VALUE",
* // EncryptionContractConfiguration: {
* // SpekeAudioPreset: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED",
* // SpekeVideoPreset: "PRESET_VIDEO_1" || "PRESET_VIDEO_2" || "PRESET_VIDEO_3" || "PRESET_VIDEO_4" || "PRESET_VIDEO_5" || "PRESET_VIDEO_6" || "PRESET_VIDEO_7" || "PRESET_VIDEO_8" || "SHARED" || "UNENCRYPTED",
* // },
* // ResourceId: "STRING_VALUE",
* // SystemIds: [
* // "STRING_VALUE",
Expand Down
Loading

0 comments on commit f7cca48

Please sign in to comment.