diff --git a/clients/client-mediaconvert/src/commands/CreateJobCommand.ts b/clients/client-mediaconvert/src/commands/CreateJobCommand.ts index f4181cb0ec87b..bb293fd83edf9 100644 --- a/clients/client-mediaconvert/src/commands/CreateJobCommand.ts +++ b/clients/client-mediaconvert/src/commands/CreateJobCommand.ts @@ -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", * ], @@ -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", @@ -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", @@ -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", @@ -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", * // ], @@ -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", @@ -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", @@ -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", diff --git a/clients/client-mediaconvert/src/commands/CreateJobTemplateCommand.ts b/clients/client-mediaconvert/src/commands/CreateJobTemplateCommand.ts index 3413d3dc693f0..537ee4a0eace5 100644 --- a/clients/client-mediaconvert/src/commands/CreateJobTemplateCommand.ts +++ b/clients/client-mediaconvert/src/commands/CreateJobTemplateCommand.ts @@ -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", * ], @@ -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", @@ -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", @@ -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", @@ -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", * // ], @@ -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", @@ -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", @@ -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", diff --git a/clients/client-mediaconvert/src/commands/GetJobCommand.ts b/clients/client-mediaconvert/src/commands/GetJobCommand.ts index f12a17259507f..fd9f40eaa8e84 100644 --- a/clients/client-mediaconvert/src/commands/GetJobCommand.ts +++ b/clients/client-mediaconvert/src/commands/GetJobCommand.ts @@ -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", * // ], @@ -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", @@ -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", @@ -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", diff --git a/clients/client-mediaconvert/src/commands/GetJobTemplateCommand.ts b/clients/client-mediaconvert/src/commands/GetJobTemplateCommand.ts index ed71390943e6e..79f72c05adcae 100644 --- a/clients/client-mediaconvert/src/commands/GetJobTemplateCommand.ts +++ b/clients/client-mediaconvert/src/commands/GetJobTemplateCommand.ts @@ -422,6 +422,10 @@ export interface GetJobTemplateCommandOutput extends GetJobTemplateResponse, __M * // 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", * // ], @@ -494,6 +498,10 @@ export interface GetJobTemplateCommandOutput extends GetJobTemplateResponse, __M * // 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", @@ -587,6 +595,10 @@ export interface GetJobTemplateCommandOutput extends GetJobTemplateResponse, __M * // 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", @@ -655,6 +667,10 @@ export interface GetJobTemplateCommandOutput extends GetJobTemplateResponse, __M * // 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", diff --git a/clients/client-mediaconvert/src/commands/ListJobTemplatesCommand.ts b/clients/client-mediaconvert/src/commands/ListJobTemplatesCommand.ts index 5223f4f6f42fc..f4f20bb3d491b 100644 --- a/clients/client-mediaconvert/src/commands/ListJobTemplatesCommand.ts +++ b/clients/client-mediaconvert/src/commands/ListJobTemplatesCommand.ts @@ -427,6 +427,10 @@ export interface ListJobTemplatesCommandOutput extends ListJobTemplatesResponse, * // 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", * // ], @@ -499,6 +503,10 @@ export interface ListJobTemplatesCommandOutput extends ListJobTemplatesResponse, * // 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", @@ -592,6 +600,10 @@ export interface ListJobTemplatesCommandOutput extends ListJobTemplatesResponse, * // 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", @@ -660,6 +672,10 @@ export interface ListJobTemplatesCommandOutput extends ListJobTemplatesResponse, * // 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", diff --git a/clients/client-mediaconvert/src/commands/ListJobsCommand.ts b/clients/client-mediaconvert/src/commands/ListJobsCommand.ts index 3c1cef3e22510..868d27e05ed96 100644 --- a/clients/client-mediaconvert/src/commands/ListJobsCommand.ts +++ b/clients/client-mediaconvert/src/commands/ListJobsCommand.ts @@ -481,6 +481,10 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare * // 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", * // ], @@ -553,6 +557,10 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare * // 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", @@ -646,6 +654,10 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare * // 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", @@ -714,6 +726,10 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare * // 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", diff --git a/clients/client-mediaconvert/src/commands/SearchJobsCommand.ts b/clients/client-mediaconvert/src/commands/SearchJobsCommand.ts index 1c7dca0e9e779..4233cfa449fd1 100644 --- a/clients/client-mediaconvert/src/commands/SearchJobsCommand.ts +++ b/clients/client-mediaconvert/src/commands/SearchJobsCommand.ts @@ -482,6 +482,10 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB * // 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", * // ], @@ -554,6 +558,10 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB * // 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", @@ -647,6 +655,10 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB * // 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", @@ -715,6 +727,10 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB * // 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", diff --git a/clients/client-mediaconvert/src/commands/UpdateJobTemplateCommand.ts b/clients/client-mediaconvert/src/commands/UpdateJobTemplateCommand.ts index c416edbc4a57a..6d8b89ea81127 100644 --- a/clients/client-mediaconvert/src/commands/UpdateJobTemplateCommand.ts +++ b/clients/client-mediaconvert/src/commands/UpdateJobTemplateCommand.ts @@ -413,6 +413,10 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons * 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", * ], @@ -485,6 +489,10 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons * 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", @@ -578,6 +586,10 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons * 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", @@ -646,6 +658,10 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons * 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", @@ -1889,6 +1905,10 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons * // 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", * // ], @@ -1961,6 +1981,10 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons * // 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", @@ -2054,6 +2078,10 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons * // 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", @@ -2122,6 +2150,10 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons * // 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", diff --git a/clients/client-mediaconvert/src/models/models_0.ts b/clients/client-mediaconvert/src/models/models_0.ts index a22ee1779aab2..5dbc32b701a5a 100644 --- a/clients/client-mediaconvert/src/models/models_0.ts +++ b/clients/client-mediaconvert/src/models/models_0.ts @@ -5716,6 +5716,63 @@ export const CmafInitializationVectorInManifest = { export type CmafInitializationVectorInManifest = (typeof CmafInitializationVectorInManifest)[keyof typeof CmafInitializationVectorInManifest]; +/** + * @public + * @enum + */ +export const PresetSpeke20Audio = { + PRESET_AUDIO_1: "PRESET_AUDIO_1", + PRESET_AUDIO_2: "PRESET_AUDIO_2", + PRESET_AUDIO_3: "PRESET_AUDIO_3", + SHARED: "SHARED", + UNENCRYPTED: "UNENCRYPTED", +} as const; + +/** + * @public + */ +export type PresetSpeke20Audio = (typeof PresetSpeke20Audio)[keyof typeof PresetSpeke20Audio]; + +/** + * @public + * @enum + */ +export const PresetSpeke20Video = { + PRESET_VIDEO_1: "PRESET_VIDEO_1", + PRESET_VIDEO_2: "PRESET_VIDEO_2", + PRESET_VIDEO_3: "PRESET_VIDEO_3", + PRESET_VIDEO_4: "PRESET_VIDEO_4", + PRESET_VIDEO_5: "PRESET_VIDEO_5", + PRESET_VIDEO_6: "PRESET_VIDEO_6", + PRESET_VIDEO_7: "PRESET_VIDEO_7", + PRESET_VIDEO_8: "PRESET_VIDEO_8", + SHARED: "SHARED", + UNENCRYPTED: "UNENCRYPTED", +} as const; + +/** + * @public + */ +export type PresetSpeke20Video = (typeof PresetSpeke20Video)[keyof typeof PresetSpeke20Video]; + +/** + * Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset. + * @public + */ +export interface EncryptionContractConfiguration { + /** + * Specify which SPEKE version 2.0 audio preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your audio outputs, choose from the following: Audio preset 1, Audio preset 2, or Audio preset 3. To encrypt your audio outputs, using the same content key for both your audio and video outputs: Choose Shared. When you do, you must also set SPEKE v2.0 video preset to Shared. To not encrypt your audio outputs: Choose Unencrypted. When you do, to encrypt your video outputs, you must also specify a SPEKE v2.0 video preset (other than Shared or Unencrypted). + * @public + */ + SpekeAudioPreset?: PresetSpeke20Audio; + + /** + * Specify which SPEKE version 2.0 video preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your video outputs, choose from the following: Video preset 1, Video preset 2, Video preset 3, Video preset 4, Video preset 5, Video preset 6, Video preset 7, or Video preset 8. To encrypt your video outputs, using the same content key for both your video and audio outputs: Choose Shared. When you do, you must also set SPEKE v2.0 audio preset to Shared. To not encrypt your video outputs: Choose Unencrypted. When you do, to encrypt your audio outputs, you must also specify a SPEKE v2.0 audio preset (other than Shared or Unencrypted). + * @public + */ + SpekeVideoPreset?: PresetSpeke20Video; +} + /** * If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead. * @public @@ -5733,6 +5790,12 @@ export interface SpekeKeyProviderCmaf { */ DashSignaledSystemIds?: string[]; + /** + * Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset. + * @public + */ + EncryptionContractConfiguration?: EncryptionContractConfiguration; + /** * Specify the DRM system ID that you want signaled in the HLS manifest that MediaConvert creates as part of this CMAF package. The HLS manifest can currently signal only one system ID. For more information, see https://dashif.org/identifiers/content_protection/. * @public @@ -6312,6 +6375,12 @@ export interface SpekeKeyProvider { */ CertificateArn?: string; + /** + * Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset. + * @public + */ + EncryptionContractConfiguration?: EncryptionContractConfiguration; + /** * Specify the resource ID that your SPEKE-compliant key provider uses to identify this content. * @public @@ -7442,75 +7511,3 @@ export const OutputGroupType = { * @public */ export type OutputGroupType = (typeof OutputGroupType)[keyof typeof OutputGroupType]; - -/** - * Output Group settings, including type - * @public - */ -export interface OutputGroupSettings { - /** - * Settings related to your CMAF output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. - * @public - */ - CmafGroupSettings?: CmafGroupSettings; - - /** - * Settings related to your DASH output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. - * @public - */ - DashIsoGroupSettings?: DashIsoGroupSettings; - - /** - * Settings related to your File output group. MediaConvert uses this group of settings to generate a single standalone file, rather than a streaming package. - * @public - */ - FileGroupSettings?: FileGroupSettings; - - /** - * Settings related to your HLS output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. - * @public - */ - HlsGroupSettings?: HlsGroupSettings; - - /** - * Settings related to your Microsoft Smooth Streaming output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. - * @public - */ - MsSmoothGroupSettings?: MsSmoothGroupSettings; - - /** - * Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, CMAF) - * @public - */ - Type?: OutputGroupType; -} - -/** - * @public - * @enum - */ -export const CmfcAudioDuration = { - DEFAULT_CODEC_DURATION: "DEFAULT_CODEC_DURATION", - MATCH_VIDEO_DURATION: "MATCH_VIDEO_DURATION", -} as const; - -/** - * @public - */ -export type CmfcAudioDuration = (typeof CmfcAudioDuration)[keyof typeof CmfcAudioDuration]; - -/** - * @public - * @enum - */ -export const CmfcAudioTrackType = { - ALTERNATE_AUDIO_AUTO_SELECT: "ALTERNATE_AUDIO_AUTO_SELECT", - ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT: "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT", - ALTERNATE_AUDIO_NOT_AUTO_SELECT: "ALTERNATE_AUDIO_NOT_AUTO_SELECT", - AUDIO_ONLY_VARIANT_STREAM: "AUDIO_ONLY_VARIANT_STREAM", -} as const; - -/** - * @public - */ -export type CmfcAudioTrackType = (typeof CmfcAudioTrackType)[keyof typeof CmfcAudioTrackType]; diff --git a/clients/client-mediaconvert/src/models/models_1.ts b/clients/client-mediaconvert/src/models/models_1.ts index 6d5d82b435c28..7221bddc6c70a 100644 --- a/clients/client-mediaconvert/src/models/models_1.ts +++ b/clients/client-mediaconvert/src/models/models_1.ts @@ -8,12 +8,14 @@ import { BillingTagsSource, CaptionDescription, CaptionDescriptionPreset, - CmfcAudioDuration, - CmfcAudioTrackType, + CmafGroupSettings, ColorConversion3DLUTSetting, + DashIsoGroupSettings, EsamSettings, ExtendedDataServices, + FileGroupSettings, Hdr10Metadata, + HlsGroupSettings, HopDestination, Id3Insertion, ImageInserter, @@ -23,14 +25,87 @@ import { JobPhase, KantarWatermarkSettings, MotionImageInserter, + MsSmoothGroupSettings, NielsenConfiguration, NielsenNonLinearWatermarkSettings, OutputGroupDetail, - OutputGroupSettings, + OutputGroupType, QueueTransition, Rectangle, } from "./models_0"; +/** + * Output Group settings, including type + * @public + */ +export interface OutputGroupSettings { + /** + * Settings related to your CMAF output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. + * @public + */ + CmafGroupSettings?: CmafGroupSettings; + + /** + * Settings related to your DASH output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. + * @public + */ + DashIsoGroupSettings?: DashIsoGroupSettings; + + /** + * Settings related to your File output group. MediaConvert uses this group of settings to generate a single standalone file, rather than a streaming package. + * @public + */ + FileGroupSettings?: FileGroupSettings; + + /** + * Settings related to your HLS output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. + * @public + */ + HlsGroupSettings?: HlsGroupSettings; + + /** + * Settings related to your Microsoft Smooth Streaming output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. + * @public + */ + MsSmoothGroupSettings?: MsSmoothGroupSettings; + + /** + * Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, CMAF) + * @public + */ + Type?: OutputGroupType; +} + +/** + * @public + * @enum + */ +export const CmfcAudioDuration = { + DEFAULT_CODEC_DURATION: "DEFAULT_CODEC_DURATION", + MATCH_VIDEO_DURATION: "MATCH_VIDEO_DURATION", +} as const; + +/** + * @public + */ +export type CmfcAudioDuration = (typeof CmfcAudioDuration)[keyof typeof CmfcAudioDuration]; + +/** + * @public + * @enum + */ +export const CmfcAudioTrackType = { + ALTERNATE_AUDIO_AUTO_SELECT: "ALTERNATE_AUDIO_AUTO_SELECT", + ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT: "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT", + ALTERNATE_AUDIO_NOT_AUTO_SELECT: "ALTERNATE_AUDIO_NOT_AUTO_SELECT", + AUDIO_ONLY_VARIANT_STREAM: "AUDIO_ONLY_VARIANT_STREAM", +} as const; + +/** + * @public + */ +export type CmfcAudioTrackType = (typeof CmfcAudioTrackType)[keyof typeof CmfcAudioTrackType]; + /** * @public * @enum @@ -7360,131 +7435,3 @@ export const ReservationPlanStatus = { * @public */ export type ReservationPlanStatus = (typeof ReservationPlanStatus)[keyof typeof ReservationPlanStatus]; - -/** - * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. - * @public - */ -export interface ReservationPlan { - /** - * The length of the term of your reserved queue pricing plan commitment. - * @public - */ - Commitment?: Commitment; - - /** - * The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires. - * @public - */ - ExpiresAt?: Date; - - /** - * The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue. - * @public - */ - PurchasedAt?: Date; - - /** - * Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. - * @public - */ - RenewalType?: RenewalType; - - /** - * Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue. - * @public - */ - ReservedSlots?: number; - - /** - * Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED. - * @public - */ - Status?: ReservationPlanStatus; -} - -/** - * @public - * @enum - */ -export const QueueStatus = { - ACTIVE: "ACTIVE", - PAUSED: "PAUSED", -} as const; - -/** - * @public - */ -export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus]; - -/** - * You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html. - * @public - */ -export interface Queue { - /** - * An identifier for this resource that is unique within all of AWS. - * @public - */ - Arn?: string; - - /** - * The timestamp in epoch seconds for when you created the queue. - * @public - */ - CreatedAt?: Date; - - /** - * An optional description that you create for each queue. - * @public - */ - Description?: string; - - /** - * The timestamp in epoch seconds for when you most recently updated the queue. - * @public - */ - LastUpdated?: Date; - - /** - * A name that you create for each queue. Each name must be unique within your account. - * @public - */ - Name: string | undefined; - - /** - * Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. - * @public - */ - PricingPlan?: PricingPlan; - - /** - * The estimated number of jobs with a PROGRESSING status. - * @public - */ - ProgressingJobsCount?: number; - - /** - * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. - * @public - */ - ReservationPlan?: ReservationPlan; - - /** - * Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error. - * @public - */ - Status?: QueueStatus; - - /** - * The estimated number of jobs with a SUBMITTED status. - * @public - */ - SubmittedJobsCount?: number; - - /** - * Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues. - * @public - */ - Type?: Type; -} diff --git a/clients/client-mediaconvert/src/models/models_2.ts b/clients/client-mediaconvert/src/models/models_2.ts index b1101b9514d03..ed7ffcb28a825 100644 --- a/clients/client-mediaconvert/src/models/models_2.ts +++ b/clients/client-mediaconvert/src/models/models_2.ts @@ -16,13 +16,141 @@ import { Preset, PresetSettings, PricingPlan, - Queue, - QueueStatus, RenewalType, + ReservationPlanStatus, SimulateReservedQueue, StatusUpdateInterval, + Type, } from "./models_1"; +/** + * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. + * @public + */ +export interface ReservationPlan { + /** + * The length of the term of your reserved queue pricing plan commitment. + * @public + */ + Commitment?: Commitment; + + /** + * The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires. + * @public + */ + ExpiresAt?: Date; + + /** + * The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue. + * @public + */ + PurchasedAt?: Date; + + /** + * Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. + * @public + */ + RenewalType?: RenewalType; + + /** + * Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue. + * @public + */ + ReservedSlots?: number; + + /** + * Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED. + * @public + */ + Status?: ReservationPlanStatus; +} + +/** + * @public + * @enum + */ +export const QueueStatus = { + ACTIVE: "ACTIVE", + PAUSED: "PAUSED", +} as const; + +/** + * @public + */ +export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus]; + +/** + * You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html. + * @public + */ +export interface Queue { + /** + * An identifier for this resource that is unique within all of AWS. + * @public + */ + Arn?: string; + + /** + * The timestamp in epoch seconds for when you created the queue. + * @public + */ + CreatedAt?: Date; + + /** + * An optional description that you create for each queue. + * @public + */ + Description?: string; + + /** + * The timestamp in epoch seconds for when you most recently updated the queue. + * @public + */ + LastUpdated?: Date; + + /** + * A name that you create for each queue. Each name must be unique within your account. + * @public + */ + Name: string | undefined; + + /** + * Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. + * @public + */ + PricingPlan?: PricingPlan; + + /** + * The estimated number of jobs with a PROGRESSING status. + * @public + */ + ProgressingJobsCount?: number; + + /** + * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. + * @public + */ + ReservationPlan?: ReservationPlan; + + /** + * Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error. + * @public + */ + Status?: QueueStatus; + + /** + * The estimated number of jobs with a SUBMITTED status. + * @public + */ + SubmittedJobsCount?: number; + + /** + * Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues. + * @public + */ + Type?: Type; +} + /** * @public */ diff --git a/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts b/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts index 4409519aa00de..6491178d90364 100644 --- a/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts @@ -110,6 +110,7 @@ import { Eac3Settings, EmbeddedDestinationSettings, EmbeddedSourceSettings, + EncryptionContractConfiguration, Endpoint, EsamManifestConfirmConditionNotification, EsamSettings, @@ -155,7 +156,6 @@ import { OutputChannelMapping, OutputDetail, OutputGroupDetail, - OutputGroupSettings, QueueTransition, Rectangle, RemixSettings, @@ -229,13 +229,12 @@ import { NoiseReducerTemporalFilterSettings, Output, OutputGroup, + OutputGroupSettings, OutputSettings, PartnerWatermarking, Preset, PresetSettings, ProresSettings, - Queue, - ReservationPlan, TimecodeBurnin, TimecodeConfig, TimedMetadataInsertion, @@ -262,6 +261,8 @@ import { InternalServerErrorException, NotFoundException, Policy, + Queue, + ReservationPlan, ReservationPlanSettings, ResourceTags, TooManyRequestsException, @@ -2826,6 +2827,16 @@ const se_EmbeddedSourceSettings = (input: EmbeddedSourceSettings, context: __Ser }); }; +/** + * serializeAws_restJson1EncryptionContractConfiguration + */ +const se_EncryptionContractConfiguration = (input: EncryptionContractConfiguration, context: __SerdeContext): any => { + return take(input, { + spekeAudioPreset: [, , `SpekeAudioPreset`], + spekeVideoPreset: [, , `SpekeVideoPreset`], + }); +}; + /** * serializeAws_restJson1EsamManifestConfirmConditionNotification */ @@ -4061,6 +4072,11 @@ const se_SccDestinationSettings = (input: SccDestinationSettings, context: __Ser const se_SpekeKeyProvider = (input: SpekeKeyProvider, context: __SerdeContext): any => { return take(input, { certificateArn: [, , `CertificateArn`], + encryptionContractConfiguration: [ + , + (_) => se_EncryptionContractConfiguration(_, context), + `EncryptionContractConfiguration`, + ], resourceId: [, , `ResourceId`], systemIds: [, _json, `SystemIds`], url: [, , `Url`], @@ -4074,6 +4090,11 @@ const se_SpekeKeyProviderCmaf = (input: SpekeKeyProviderCmaf, context: __SerdeCo return take(input, { certificateArn: [, , `CertificateArn`], dashSignaledSystemIds: [, _json, `DashSignaledSystemIds`], + encryptionContractConfiguration: [ + , + (_) => se_EncryptionContractConfiguration(_, context), + `EncryptionContractConfiguration`, + ], hlsSignaledSystemIds: [, _json, `HlsSignaledSystemIds`], resourceId: [, , `ResourceId`], url: [, , `Url`], @@ -5867,6 +5888,16 @@ const de_EmbeddedSourceSettings = (output: any, context: __SerdeContext): Embedd }) as any; }; +/** + * deserializeAws_restJson1EncryptionContractConfiguration + */ +const de_EncryptionContractConfiguration = (output: any, context: __SerdeContext): EncryptionContractConfiguration => { + return take(output, { + SpekeAudioPreset: [, __expectString, `spekeAudioPreset`], + SpekeVideoPreset: [, __expectString, `spekeVideoPreset`], + }) as any; +}; + /** * deserializeAws_restJson1Endpoint */ @@ -7290,6 +7321,11 @@ const de_SccDestinationSettings = (output: any, context: __SerdeContext): SccDes const de_SpekeKeyProvider = (output: any, context: __SerdeContext): SpekeKeyProvider => { return take(output, { CertificateArn: [, __expectString, `certificateArn`], + EncryptionContractConfiguration: [ + , + (_: any) => de_EncryptionContractConfiguration(_, context), + `encryptionContractConfiguration`, + ], ResourceId: [, __expectString, `resourceId`], SystemIds: [, _json, `systemIds`], Url: [, __expectString, `url`], @@ -7303,6 +7339,11 @@ const de_SpekeKeyProviderCmaf = (output: any, context: __SerdeContext): SpekeKey return take(output, { CertificateArn: [, __expectString, `certificateArn`], DashSignaledSystemIds: [, _json, `dashSignaledSystemIds`], + EncryptionContractConfiguration: [ + , + (_: any) => de_EncryptionContractConfiguration(_, context), + `encryptionContractConfiguration`, + ], HlsSignaledSystemIds: [, _json, `hlsSignaledSystemIds`], ResourceId: [, __expectString, `resourceId`], Url: [, __expectString, `url`], diff --git a/codegen/sdk-codegen/aws-models/mediaconvert.json b/codegen/sdk-codegen/aws-models/mediaconvert.json index 4c654a50f3d23..4a1462a2f5035 100644 --- a/codegen/sdk-codegen/aws-models/mediaconvert.json +++ b/codegen/sdk-codegen/aws-models/mediaconvert.json @@ -8780,6 +8780,28 @@ "smithy.api#documentation": "Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the Modified Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded. Leave Embedded timecode override blank, or set to None, when your input does not contain MDPM timecode." } }, + "com.amazonaws.mediaconvert#EncryptionContractConfiguration": { + "type": "structure", + "members": { + "SpekeAudioPreset": { + "target": "com.amazonaws.mediaconvert#PresetSpeke20Audio", + "traits": { + "smithy.api#documentation": "Specify which SPEKE version 2.0 audio preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your audio outputs, choose from the following: Audio preset 1, Audio preset 2, or Audio preset 3. To encrypt your audio outputs, using the same content key for both your audio and video outputs: Choose Shared. When you do, you must also set SPEKE v2.0 video preset to Shared. To not encrypt your audio outputs: Choose Unencrypted. When you do, to encrypt your video outputs, you must also specify a SPEKE v2.0 video preset (other than Shared or Unencrypted).", + "smithy.api#jsonName": "spekeAudioPreset" + } + }, + "SpekeVideoPreset": { + "target": "com.amazonaws.mediaconvert#PresetSpeke20Video", + "traits": { + "smithy.api#documentation": "Specify which SPEKE version 2.0 video preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your video outputs, choose from the following: Video preset 1, Video preset 2, Video preset 3, Video preset 4, Video preset 5, Video preset 6, Video preset 7, or Video preset 8. To encrypt your video outputs, using the same content key for both your video and audio outputs: Choose Shared. When you do, you must also set SPEKE v2.0 audio preset to Shared. To not encrypt your video outputs: Choose Unencrypted. When you do, to encrypt your audio outputs, you must also specify a SPEKE v2.0 audio preset (other than Shared or Unencrypted).", + "smithy.api#jsonName": "spekeVideoPreset" + } + } + }, + "traits": { + "smithy.api#documentation": "Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset." + } + }, "com.amazonaws.mediaconvert#Endpoint": { "type": "structure", "members": { @@ -20963,6 +20985,112 @@ "smithy.api#documentation": "Settings for preset" } }, + "com.amazonaws.mediaconvert#PresetSpeke20Audio": { + "type": "enum", + "members": { + "PRESET_AUDIO_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_AUDIO_1" + } + }, + "PRESET_AUDIO_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_AUDIO_2" + } + }, + "PRESET_AUDIO_3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_AUDIO_3" + } + }, + "SHARED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHARED" + } + }, + "UNENCRYPTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNENCRYPTED" + } + } + }, + "traits": { + "smithy.api#documentation": "Specify which SPEKE version 2.0 audio preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your audio outputs, choose from the following: Audio preset 1, Audio preset 2, or Audio preset 3. To encrypt your audio outputs, using the same content key for both your audio and video outputs: Choose Shared. When you do, you must also set SPEKE v2.0 video preset to Shared. To not encrypt your audio outputs: Choose Unencrypted. When you do, to encrypt your video outputs, you must also specify a SPEKE v2.0 video preset (other than Shared or Unencrypted)." + } + }, + "com.amazonaws.mediaconvert#PresetSpeke20Video": { + "type": "enum", + "members": { + "PRESET_VIDEO_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_VIDEO_1" + } + }, + "PRESET_VIDEO_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_VIDEO_2" + } + }, + "PRESET_VIDEO_3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_VIDEO_3" + } + }, + "PRESET_VIDEO_4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_VIDEO_4" + } + }, + "PRESET_VIDEO_5": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_VIDEO_5" + } + }, + "PRESET_VIDEO_6": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_VIDEO_6" + } + }, + "PRESET_VIDEO_7": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_VIDEO_7" + } + }, + "PRESET_VIDEO_8": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESET_VIDEO_8" + } + }, + "SHARED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHARED" + } + }, + "UNENCRYPTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNENCRYPTED" + } + } + }, + "traits": { + "smithy.api#documentation": "Specify which SPEKE version 2.0 video preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your video outputs, choose from the following: Video preset 1, Video preset 2, Video preset 3, Video preset 4, Video preset 5, Video preset 6, Video preset 7, or Video preset 8. To encrypt your video outputs, using the same content key for both your video and audio outputs: Choose Shared. When you do, you must also set SPEKE v2.0 audio preset to Shared. To not encrypt your video outputs: Choose Unencrypted. When you do, to encrypt your audio outputs, you must also specify a SPEKE v2.0 audio preset (other than Shared or Unencrypted)." + } + }, "com.amazonaws.mediaconvert#PricingPlan": { "type": "enum", "members": { @@ -22276,6 +22404,13 @@ "smithy.api#jsonName": "certificateArn" } }, + "EncryptionContractConfiguration": { + "target": "com.amazonaws.mediaconvert#EncryptionContractConfiguration", + "traits": { + "smithy.api#documentation": "Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset.", + "smithy.api#jsonName": "encryptionContractConfiguration" + } + }, "ResourceId": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -22319,6 +22454,13 @@ "smithy.api#jsonName": "dashSignaledSystemIds" } }, + "EncryptionContractConfiguration": { + "target": "com.amazonaws.mediaconvert#EncryptionContractConfiguration", + "traits": { + "smithy.api#documentation": "Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset.", + "smithy.api#jsonName": "encryptionContractConfiguration" + } + }, "HlsSignaledSystemIds": { "target": "com.amazonaws.mediaconvert#__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12", "traits": {