aws-sdk-mediapackage 1.34.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -50,6 +50,10 @@ module Aws::MediaPackage
50
50
  # A short text description of the Channel.
51
51
  # @return [String]
52
52
  #
53
+ # @!attribute [rw] egress_access_logs
54
+ # Configure egress access logging.
55
+ # @return [Types::EgressAccessLogs]
56
+ #
53
57
  # @!attribute [rw] hls_ingest
54
58
  # An HTTP Live Streaming (HLS) ingest resource configuration.
55
59
  # @return [Types::HlsIngest]
@@ -58,6 +62,10 @@ module Aws::MediaPackage
58
62
  # The ID of the Channel.
59
63
  # @return [String]
60
64
  #
65
+ # @!attribute [rw] ingress_access_logs
66
+ # Configure ingress access logging.
67
+ # @return [Types::IngressAccessLogs]
68
+ #
61
69
  # @!attribute [rw] tags
62
70
  # A collection of tags associated with a resource
63
71
  # @return [Hash<String,String>]
@@ -67,8 +75,10 @@ module Aws::MediaPackage
67
75
  class Channel < Struct.new(
68
76
  :arn,
69
77
  :description,
78
+ :egress_access_logs,
70
79
  :hls_ingest,
71
80
  :id,
81
+ :ingress_access_logs,
72
82
  :tags)
73
83
  SENSITIVE = []
74
84
  include Aws::Structure
@@ -142,6 +152,10 @@ module Aws::MediaPackage
142
152
  # key_rotation_interval_seconds: 1,
143
153
  # speke_key_provider: { # required
144
154
  # certificate_arn: "__string",
155
+ # encryption_contract_configuration: {
156
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
157
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
158
+ # },
145
159
  # resource_id: "__string", # required
146
160
  # role_arn: "__string", # required
147
161
  # system_ids: ["__string"], # required
@@ -214,6 +228,10 @@ module Aws::MediaPackage
214
228
  # key_rotation_interval_seconds: 1,
215
229
  # speke_key_provider: { # required
216
230
  # certificate_arn: "__string",
231
+ # encryption_contract_configuration: {
232
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
233
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
234
+ # },
217
235
  # resource_id: "__string", # required
218
236
  # role_arn: "__string", # required
219
237
  # system_ids: ["__string"], # required
@@ -276,6 +294,98 @@ module Aws::MediaPackage
276
294
  include Aws::Structure
277
295
  end
278
296
 
297
+ # The configuration parameters for ingress and egress access logging.
298
+ #
299
+ # @!attribute [rw] egress_access_logs
300
+ # Configure egress access logging.
301
+ # @return [Types::EgressAccessLogs]
302
+ #
303
+ # @!attribute [rw] ingress_access_logs
304
+ # Configure ingress access logging.
305
+ # @return [Types::IngressAccessLogs]
306
+ #
307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsParameters AWS API Documentation
308
+ #
309
+ class ConfigureLogsParameters < Struct.new(
310
+ :egress_access_logs,
311
+ :ingress_access_logs)
312
+ SENSITIVE = []
313
+ include Aws::Structure
314
+ end
315
+
316
+ # @note When making an API call, you may pass ConfigureLogsRequest
317
+ # data as a hash:
318
+ #
319
+ # {
320
+ # egress_access_logs: {
321
+ # log_group_name: "__string",
322
+ # },
323
+ # id: "__string", # required
324
+ # ingress_access_logs: {
325
+ # log_group_name: "__string",
326
+ # },
327
+ # }
328
+ #
329
+ # @!attribute [rw] egress_access_logs
330
+ # Configure egress access logging.
331
+ # @return [Types::EgressAccessLogs]
332
+ #
333
+ # @!attribute [rw] id
334
+ # @return [String]
335
+ #
336
+ # @!attribute [rw] ingress_access_logs
337
+ # Configure ingress access logging.
338
+ # @return [Types::IngressAccessLogs]
339
+ #
340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsRequest AWS API Documentation
341
+ #
342
+ class ConfigureLogsRequest < Struct.new(
343
+ :egress_access_logs,
344
+ :id,
345
+ :ingress_access_logs)
346
+ SENSITIVE = []
347
+ include Aws::Structure
348
+ end
349
+
350
+ # @!attribute [rw] arn
351
+ # @return [String]
352
+ #
353
+ # @!attribute [rw] description
354
+ # @return [String]
355
+ #
356
+ # @!attribute [rw] egress_access_logs
357
+ # Configure egress access logging.
358
+ # @return [Types::EgressAccessLogs]
359
+ #
360
+ # @!attribute [rw] hls_ingest
361
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
362
+ # @return [Types::HlsIngest]
363
+ #
364
+ # @!attribute [rw] id
365
+ # @return [String]
366
+ #
367
+ # @!attribute [rw] ingress_access_logs
368
+ # Configure ingress access logging.
369
+ # @return [Types::IngressAccessLogs]
370
+ #
371
+ # @!attribute [rw] tags
372
+ # A collection of tags associated with a resource
373
+ # @return [Hash<String,String>]
374
+ #
375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsResponse AWS API Documentation
376
+ #
377
+ class ConfigureLogsResponse < Struct.new(
378
+ :arn,
379
+ :description,
380
+ :egress_access_logs,
381
+ :hls_ingest,
382
+ :id,
383
+ :ingress_access_logs,
384
+ :tags)
385
+ SENSITIVE = []
386
+ include Aws::Structure
387
+ end
388
+
279
389
  # @note When making an API call, you may pass CreateChannelRequest
280
390
  # data as a hash:
281
391
  #
@@ -313,6 +423,10 @@ module Aws::MediaPackage
313
423
  # @!attribute [rw] description
314
424
  # @return [String]
315
425
  #
426
+ # @!attribute [rw] egress_access_logs
427
+ # Configure egress access logging.
428
+ # @return [Types::EgressAccessLogs]
429
+ #
316
430
  # @!attribute [rw] hls_ingest
317
431
  # An HTTP Live Streaming (HLS) ingest resource configuration.
318
432
  # @return [Types::HlsIngest]
@@ -320,6 +434,10 @@ module Aws::MediaPackage
320
434
  # @!attribute [rw] id
321
435
  # @return [String]
322
436
  #
437
+ # @!attribute [rw] ingress_access_logs
438
+ # Configure ingress access logging.
439
+ # @return [Types::IngressAccessLogs]
440
+ #
323
441
  # @!attribute [rw] tags
324
442
  # A collection of tags associated with a resource
325
443
  # @return [Hash<String,String>]
@@ -329,8 +447,10 @@ module Aws::MediaPackage
329
447
  class CreateChannelResponse < Struct.new(
330
448
  :arn,
331
449
  :description,
450
+ :egress_access_logs,
332
451
  :hls_ingest,
333
452
  :id,
453
+ :ingress_access_logs,
334
454
  :tags)
335
455
  SENSITIVE = []
336
456
  include Aws::Structure
@@ -439,6 +559,10 @@ module Aws::MediaPackage
439
559
  # key_rotation_interval_seconds: 1,
440
560
  # speke_key_provider: { # required
441
561
  # certificate_arn: "__string",
562
+ # encryption_contract_configuration: {
563
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
564
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
565
+ # },
442
566
  # resource_id: "__string", # required
443
567
  # role_arn: "__string", # required
444
568
  # system_ids: ["__string"], # required
@@ -473,6 +597,10 @@ module Aws::MediaPackage
473
597
  # key_rotation_interval_seconds: 1,
474
598
  # speke_key_provider: { # required
475
599
  # certificate_arn: "__string",
600
+ # encryption_contract_configuration: {
601
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
602
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
603
+ # },
476
604
  # resource_id: "__string", # required
477
605
  # role_arn: "__string", # required
478
606
  # system_ids: ["__string"], # required
@@ -508,6 +636,10 @@ module Aws::MediaPackage
508
636
  # repeat_ext_x_key: false,
509
637
  # speke_key_provider: { # required
510
638
  # certificate_arn: "__string",
639
+ # encryption_contract_configuration: {
640
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
641
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
642
+ # },
511
643
  # resource_id: "__string", # required
512
644
  # role_arn: "__string", # required
513
645
  # system_ids: ["__string"], # required
@@ -532,6 +664,10 @@ module Aws::MediaPackage
532
664
  # encryption: {
533
665
  # speke_key_provider: { # required
534
666
  # certificate_arn: "__string",
667
+ # encryption_contract_configuration: {
668
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
669
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
670
+ # },
535
671
  # resource_id: "__string", # required
536
672
  # role_arn: "__string", # required
537
673
  # system_ids: ["__string"], # required
@@ -713,6 +849,10 @@ module Aws::MediaPackage
713
849
  # key_rotation_interval_seconds: 1,
714
850
  # speke_key_provider: { # required
715
851
  # certificate_arn: "__string",
852
+ # encryption_contract_configuration: {
853
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
854
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
855
+ # },
716
856
  # resource_id: "__string", # required
717
857
  # role_arn: "__string", # required
718
858
  # system_ids: ["__string"], # required
@@ -751,6 +891,10 @@ module Aws::MediaPackage
751
891
  # key_rotation_interval_seconds: 1,
752
892
  # speke_key_provider: { # required
753
893
  # certificate_arn: "__string",
894
+ # encryption_contract_configuration: {
895
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
896
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
897
+ # },
754
898
  # resource_id: "__string", # required
755
899
  # role_arn: "__string", # required
756
900
  # system_ids: ["__string"], # required
@@ -960,6 +1104,10 @@ module Aws::MediaPackage
960
1104
  # @!attribute [rw] description
961
1105
  # @return [String]
962
1106
  #
1107
+ # @!attribute [rw] egress_access_logs
1108
+ # Configure egress access logging.
1109
+ # @return [Types::EgressAccessLogs]
1110
+ #
963
1111
  # @!attribute [rw] hls_ingest
964
1112
  # An HTTP Live Streaming (HLS) ingest resource configuration.
965
1113
  # @return [Types::HlsIngest]
@@ -967,6 +1115,10 @@ module Aws::MediaPackage
967
1115
  # @!attribute [rw] id
968
1116
  # @return [String]
969
1117
  #
1118
+ # @!attribute [rw] ingress_access_logs
1119
+ # Configure ingress access logging.
1120
+ # @return [Types::IngressAccessLogs]
1121
+ #
970
1122
  # @!attribute [rw] tags
971
1123
  # A collection of tags associated with a resource
972
1124
  # @return [Hash<String,String>]
@@ -976,8 +1128,10 @@ module Aws::MediaPackage
976
1128
  class DescribeChannelResponse < Struct.new(
977
1129
  :arn,
978
1130
  :description,
1131
+ :egress_access_logs,
979
1132
  :hls_ingest,
980
1133
  :id,
1134
+ :ingress_access_logs,
981
1135
  :tags)
982
1136
  SENSITIVE = []
983
1137
  include Aws::Structure
@@ -1142,6 +1296,63 @@ module Aws::MediaPackage
1142
1296
  include Aws::Structure
1143
1297
  end
1144
1298
 
1299
+ # Configure egress access logging.
1300
+ #
1301
+ # @note When making an API call, you may pass EgressAccessLogs
1302
+ # data as a hash:
1303
+ #
1304
+ # {
1305
+ # log_group_name: "__string",
1306
+ # }
1307
+ #
1308
+ # @!attribute [rw] log_group_name
1309
+ # Customize the log group name.
1310
+ # @return [String]
1311
+ #
1312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/EgressAccessLogs AWS API Documentation
1313
+ #
1314
+ class EgressAccessLogs < Struct.new(
1315
+ :log_group_name)
1316
+ SENSITIVE = []
1317
+ include Aws::Structure
1318
+ end
1319
+
1320
+ # Use encryptionContractConfiguration to configure one or more content
1321
+ # encryption keys for your endpoints that use SPEKE 2.0. The encryption
1322
+ # contract defines which content keys are used to encrypt the audio and
1323
+ # video tracks in your stream. To configure the encryption contract,
1324
+ # specify which audio and video encryption presets to use. Note the
1325
+ # following considerations when using encryptionContractConfiguration:
1326
+ # encryptionContractConfiguration can be used for DASH endpoints that
1327
+ # use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You
1328
+ # must disable key rotation for this endpoint by setting
1329
+ # keyRotationIntervalSeconds to 0.
1330
+ #
1331
+ # @note When making an API call, you may pass EncryptionContractConfiguration
1332
+ # data as a hash:
1333
+ #
1334
+ # {
1335
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
1336
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
1337
+ # }
1338
+ #
1339
+ # @!attribute [rw] preset_speke_20_audio
1340
+ # A collection of audio encryption presets.
1341
+ # @return [String]
1342
+ #
1343
+ # @!attribute [rw] preset_speke_20_video
1344
+ # A collection of video encryption presets.
1345
+ # @return [String]
1346
+ #
1347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/EncryptionContractConfiguration AWS API Documentation
1348
+ #
1349
+ class EncryptionContractConfiguration < Struct.new(
1350
+ :preset_speke_20_audio,
1351
+ :preset_speke_20_video)
1352
+ SENSITIVE = []
1353
+ include Aws::Structure
1354
+ end
1355
+
1145
1356
  # @!attribute [rw] message
1146
1357
  # @return [String]
1147
1358
  #
@@ -1282,6 +1493,10 @@ module Aws::MediaPackage
1282
1493
  # repeat_ext_x_key: false,
1283
1494
  # speke_key_provider: { # required
1284
1495
  # certificate_arn: "__string",
1496
+ # encryption_contract_configuration: {
1497
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
1498
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
1499
+ # },
1285
1500
  # resource_id: "__string", # required
1286
1501
  # role_arn: "__string", # required
1287
1502
  # system_ids: ["__string"], # required
@@ -1529,6 +1744,10 @@ module Aws::MediaPackage
1529
1744
  # repeat_ext_x_key: false,
1530
1745
  # speke_key_provider: { # required
1531
1746
  # certificate_arn: "__string",
1747
+ # encryption_contract_configuration: {
1748
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
1749
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
1750
+ # },
1532
1751
  # resource_id: "__string", # required
1533
1752
  # role_arn: "__string", # required
1534
1753
  # system_ids: ["__string"], # required
@@ -1672,6 +1891,27 @@ module Aws::MediaPackage
1672
1891
  include Aws::Structure
1673
1892
  end
1674
1893
 
1894
+ # Configure ingress access logging.
1895
+ #
1896
+ # @note When making an API call, you may pass IngressAccessLogs
1897
+ # data as a hash:
1898
+ #
1899
+ # {
1900
+ # log_group_name: "__string",
1901
+ # }
1902
+ #
1903
+ # @!attribute [rw] log_group_name
1904
+ # Customize the log group name.
1905
+ # @return [String]
1906
+ #
1907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngressAccessLogs AWS API Documentation
1908
+ #
1909
+ class IngressAccessLogs < Struct.new(
1910
+ :log_group_name)
1911
+ SENSITIVE = []
1912
+ include Aws::Structure
1913
+ end
1914
+
1675
1915
  # @!attribute [rw] message
1676
1916
  # @return [String]
1677
1917
  #
@@ -1849,6 +2089,10 @@ module Aws::MediaPackage
1849
2089
  # {
1850
2090
  # speke_key_provider: { # required
1851
2091
  # certificate_arn: "__string",
2092
+ # encryption_contract_configuration: {
2093
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2094
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2095
+ # },
1852
2096
  # resource_id: "__string", # required
1853
2097
  # role_arn: "__string", # required
1854
2098
  # system_ids: ["__string"], # required
@@ -1879,6 +2123,10 @@ module Aws::MediaPackage
1879
2123
  # encryption: {
1880
2124
  # speke_key_provider: { # required
1881
2125
  # certificate_arn: "__string",
2126
+ # encryption_contract_configuration: {
2127
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2128
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2129
+ # },
1882
2130
  # resource_id: "__string", # required
1883
2131
  # role_arn: "__string", # required
1884
2132
  # system_ids: ["__string"], # required
@@ -2241,6 +2489,10 @@ module Aws::MediaPackage
2241
2489
  # @!attribute [rw] description
2242
2490
  # @return [String]
2243
2491
  #
2492
+ # @!attribute [rw] egress_access_logs
2493
+ # Configure egress access logging.
2494
+ # @return [Types::EgressAccessLogs]
2495
+ #
2244
2496
  # @!attribute [rw] hls_ingest
2245
2497
  # An HTTP Live Streaming (HLS) ingest resource configuration.
2246
2498
  # @return [Types::HlsIngest]
@@ -2248,6 +2500,10 @@ module Aws::MediaPackage
2248
2500
  # @!attribute [rw] id
2249
2501
  # @return [String]
2250
2502
  #
2503
+ # @!attribute [rw] ingress_access_logs
2504
+ # Configure ingress access logging.
2505
+ # @return [Types::IngressAccessLogs]
2506
+ #
2251
2507
  # @!attribute [rw] tags
2252
2508
  # A collection of tags associated with a resource
2253
2509
  # @return [Hash<String,String>]
@@ -2257,8 +2513,10 @@ module Aws::MediaPackage
2257
2513
  class RotateChannelCredentialsResponse < Struct.new(
2258
2514
  :arn,
2259
2515
  :description,
2516
+ :egress_access_logs,
2260
2517
  :hls_ingest,
2261
2518
  :id,
2519
+ :ingress_access_logs,
2262
2520
  :tags)
2263
2521
  SENSITIVE = []
2264
2522
  include Aws::Structure
@@ -2293,6 +2551,10 @@ module Aws::MediaPackage
2293
2551
  # @!attribute [rw] description
2294
2552
  # @return [String]
2295
2553
  #
2554
+ # @!attribute [rw] egress_access_logs
2555
+ # Configure egress access logging.
2556
+ # @return [Types::EgressAccessLogs]
2557
+ #
2296
2558
  # @!attribute [rw] hls_ingest
2297
2559
  # An HTTP Live Streaming (HLS) ingest resource configuration.
2298
2560
  # @return [Types::HlsIngest]
@@ -2300,6 +2562,10 @@ module Aws::MediaPackage
2300
2562
  # @!attribute [rw] id
2301
2563
  # @return [String]
2302
2564
  #
2565
+ # @!attribute [rw] ingress_access_logs
2566
+ # Configure ingress access logging.
2567
+ # @return [Types::IngressAccessLogs]
2568
+ #
2303
2569
  # @!attribute [rw] tags
2304
2570
  # A collection of tags associated with a resource
2305
2571
  # @return [Hash<String,String>]
@@ -2309,8 +2575,10 @@ module Aws::MediaPackage
2309
2575
  class RotateIngestEndpointCredentialsResponse < Struct.new(
2310
2576
  :arn,
2311
2577
  :description,
2578
+ :egress_access_logs,
2312
2579
  :hls_ingest,
2313
2580
  :id,
2581
+ :ingress_access_logs,
2314
2582
  :tags)
2315
2583
  SENSITIVE = []
2316
2584
  include Aws::Structure
@@ -2371,6 +2639,10 @@ module Aws::MediaPackage
2371
2639
  #
2372
2640
  # {
2373
2641
  # certificate_arn: "__string",
2642
+ # encryption_contract_configuration: {
2643
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2644
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2645
+ # },
2374
2646
  # resource_id: "__string", # required
2375
2647
  # role_arn: "__string", # required
2376
2648
  # system_ids: ["__string"], # required
@@ -2383,6 +2655,19 @@ module Aws::MediaPackage
2383
2655
  # transfer with the key provider service.
2384
2656
  # @return [String]
2385
2657
  #
2658
+ # @!attribute [rw] encryption_contract_configuration
2659
+ # Use encryptionContractConfiguration to configure one or more content
2660
+ # encryption keys for your endpoints that use SPEKE 2.0. The
2661
+ # encryption contract defines which content keys are used to encrypt
2662
+ # the audio and video tracks in your stream. To configure the
2663
+ # encryption contract, specify which audio and video encryption
2664
+ # presets to use. Note the following considerations when using
2665
+ # encryptionContractConfiguration: encryptionContractConfiguration can
2666
+ # be used for DASH endpoints that use SPEKE 2.0. SPEKE 2.0 relies on
2667
+ # the CPIX 2.3 specification. You must disable key rotation for this
2668
+ # endpoint by setting keyRotationIntervalSeconds to 0.
2669
+ # @return [Types::EncryptionContractConfiguration]
2670
+ #
2386
2671
  # @!attribute [rw] resource_id
2387
2672
  # The resource ID to include in key requests.
2388
2673
  # @return [String]
@@ -2404,6 +2689,7 @@ module Aws::MediaPackage
2404
2689
  #
2405
2690
  class SpekeKeyProvider < Struct.new(
2406
2691
  :certificate_arn,
2692
+ :encryption_contract_configuration,
2407
2693
  :resource_id,
2408
2694
  :role_arn,
2409
2695
  :system_ids,
@@ -2555,6 +2841,10 @@ module Aws::MediaPackage
2555
2841
  # @!attribute [rw] description
2556
2842
  # @return [String]
2557
2843
  #
2844
+ # @!attribute [rw] egress_access_logs
2845
+ # Configure egress access logging.
2846
+ # @return [Types::EgressAccessLogs]
2847
+ #
2558
2848
  # @!attribute [rw] hls_ingest
2559
2849
  # An HTTP Live Streaming (HLS) ingest resource configuration.
2560
2850
  # @return [Types::HlsIngest]
@@ -2562,6 +2852,10 @@ module Aws::MediaPackage
2562
2852
  # @!attribute [rw] id
2563
2853
  # @return [String]
2564
2854
  #
2855
+ # @!attribute [rw] ingress_access_logs
2856
+ # Configure ingress access logging.
2857
+ # @return [Types::IngressAccessLogs]
2858
+ #
2565
2859
  # @!attribute [rw] tags
2566
2860
  # A collection of tags associated with a resource
2567
2861
  # @return [Hash<String,String>]
@@ -2571,8 +2865,10 @@ module Aws::MediaPackage
2571
2865
  class UpdateChannelResponse < Struct.new(
2572
2866
  :arn,
2573
2867
  :description,
2868
+ :egress_access_logs,
2574
2869
  :hls_ingest,
2575
2870
  :id,
2871
+ :ingress_access_logs,
2576
2872
  :tags)
2577
2873
  SENSITIVE = []
2578
2874
  include Aws::Structure
@@ -2591,6 +2887,10 @@ module Aws::MediaPackage
2591
2887
  # key_rotation_interval_seconds: 1,
2592
2888
  # speke_key_provider: { # required
2593
2889
  # certificate_arn: "__string",
2890
+ # encryption_contract_configuration: {
2891
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2892
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2893
+ # },
2594
2894
  # resource_id: "__string", # required
2595
2895
  # role_arn: "__string", # required
2596
2896
  # system_ids: ["__string"], # required
@@ -2625,6 +2925,10 @@ module Aws::MediaPackage
2625
2925
  # key_rotation_interval_seconds: 1,
2626
2926
  # speke_key_provider: { # required
2627
2927
  # certificate_arn: "__string",
2928
+ # encryption_contract_configuration: {
2929
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2930
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2931
+ # },
2628
2932
  # resource_id: "__string", # required
2629
2933
  # role_arn: "__string", # required
2630
2934
  # system_ids: ["__string"], # required
@@ -2660,6 +2964,10 @@ module Aws::MediaPackage
2660
2964
  # repeat_ext_x_key: false,
2661
2965
  # speke_key_provider: { # required
2662
2966
  # certificate_arn: "__string",
2967
+ # encryption_contract_configuration: {
2968
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2969
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2970
+ # },
2663
2971
  # resource_id: "__string", # required
2664
2972
  # role_arn: "__string", # required
2665
2973
  # system_ids: ["__string"], # required
@@ -2684,6 +2992,10 @@ module Aws::MediaPackage
2684
2992
  # encryption: {
2685
2993
  # speke_key_provider: { # required
2686
2994
  # certificate_arn: "__string",
2995
+ # encryption_contract_configuration: {
2996
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2997
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2998
+ # },
2687
2999
  # resource_id: "__string", # required
2688
3000
  # role_arn: "__string", # required
2689
3001
  # system_ids: ["__string"], # required