aws-sdk-mediapackage 1.35.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
 
@@ -24,6 +24,9 @@ module Aws::MediaPackage
24
24
  CmafEncryption = Shapes::StructureShape.new(name: 'CmafEncryption')
25
25
  CmafPackage = Shapes::StructureShape.new(name: 'CmafPackage')
26
26
  CmafPackageCreateOrUpdateParameters = Shapes::StructureShape.new(name: 'CmafPackageCreateOrUpdateParameters')
27
+ ConfigureLogsParameters = Shapes::StructureShape.new(name: 'ConfigureLogsParameters')
28
+ ConfigureLogsRequest = Shapes::StructureShape.new(name: 'ConfigureLogsRequest')
29
+ ConfigureLogsResponse = Shapes::StructureShape.new(name: 'ConfigureLogsResponse')
27
30
  CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
28
31
  CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
29
32
  CreateHarvestJobRequest = Shapes::StructureShape.new(name: 'CreateHarvestJobRequest')
@@ -42,6 +45,8 @@ module Aws::MediaPackage
42
45
  DescribeHarvestJobResponse = Shapes::StructureShape.new(name: 'DescribeHarvestJobResponse')
43
46
  DescribeOriginEndpointRequest = Shapes::StructureShape.new(name: 'DescribeOriginEndpointRequest')
44
47
  DescribeOriginEndpointResponse = Shapes::StructureShape.new(name: 'DescribeOriginEndpointResponse')
48
+ EgressAccessLogs = Shapes::StructureShape.new(name: 'EgressAccessLogs')
49
+ EncryptionContractConfiguration = Shapes::StructureShape.new(name: 'EncryptionContractConfiguration')
45
50
  EncryptionMethod = Shapes::StringShape.new(name: 'EncryptionMethod')
46
51
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
47
52
  HarvestJob = Shapes::StructureShape.new(name: 'HarvestJob')
@@ -53,6 +58,7 @@ module Aws::MediaPackage
53
58
  HlsManifestCreateOrUpdateParameters = Shapes::StructureShape.new(name: 'HlsManifestCreateOrUpdateParameters')
54
59
  HlsPackage = Shapes::StructureShape.new(name: 'HlsPackage')
55
60
  IngestEndpoint = Shapes::StructureShape.new(name: 'IngestEndpoint')
61
+ IngressAccessLogs = Shapes::StructureShape.new(name: 'IngressAccessLogs')
56
62
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
57
63
  ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
58
64
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
@@ -73,6 +79,8 @@ module Aws::MediaPackage
73
79
  OriginEndpointUpdateParameters = Shapes::StructureShape.new(name: 'OriginEndpointUpdateParameters')
74
80
  Origination = Shapes::StringShape.new(name: 'Origination')
75
81
  PlaylistType = Shapes::StringShape.new(name: 'PlaylistType')
82
+ PresetSpeke20Audio = Shapes::StringShape.new(name: 'PresetSpeke20Audio')
83
+ PresetSpeke20Video = Shapes::StringShape.new(name: 'PresetSpeke20Video')
76
84
  Profile = Shapes::StringShape.new(name: 'Profile')
77
85
  RotateChannelCredentialsRequest = Shapes::StructureShape.new(name: 'RotateChannelCredentialsRequest')
78
86
  RotateChannelCredentialsResponse = Shapes::StructureShape.new(name: 'RotateChannelCredentialsResponse')
@@ -121,8 +129,10 @@ module Aws::MediaPackage
121
129
 
122
130
  Channel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
123
131
  Channel.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
132
+ Channel.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
124
133
  Channel.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
125
134
  Channel.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
135
+ Channel.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
126
136
  Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
127
137
  Channel.struct_class = Types::Channel
128
138
 
@@ -138,6 +148,7 @@ module Aws::MediaPackage
138
148
  ChannelUpdateParameters.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
139
149
  ChannelUpdateParameters.struct_class = Types::ChannelUpdateParameters
140
150
 
151
+ CmafEncryption.add_member(:constant_initialization_vector, Shapes::ShapeRef.new(shape: __string, location_name: "constantInitializationVector"))
141
152
  CmafEncryption.add_member(:key_rotation_interval_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "keyRotationIntervalSeconds"))
142
153
  CmafEncryption.add_member(:speke_key_provider, Shapes::ShapeRef.new(shape: SpekeKeyProvider, required: true, location_name: "spekeKeyProvider"))
143
154
  CmafEncryption.struct_class = Types::CmafEncryption
@@ -156,6 +167,24 @@ module Aws::MediaPackage
156
167
  CmafPackageCreateOrUpdateParameters.add_member(:stream_selection, Shapes::ShapeRef.new(shape: StreamSelection, location_name: "streamSelection"))
157
168
  CmafPackageCreateOrUpdateParameters.struct_class = Types::CmafPackageCreateOrUpdateParameters
158
169
 
170
+ ConfigureLogsParameters.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
171
+ ConfigureLogsParameters.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
172
+ ConfigureLogsParameters.struct_class = Types::ConfigureLogsParameters
173
+
174
+ ConfigureLogsRequest.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
175
+ ConfigureLogsRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
176
+ ConfigureLogsRequest.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
177
+ ConfigureLogsRequest.struct_class = Types::ConfigureLogsRequest
178
+
179
+ ConfigureLogsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
180
+ ConfigureLogsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
181
+ ConfigureLogsResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
182
+ ConfigureLogsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
183
+ ConfigureLogsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
184
+ ConfigureLogsResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
185
+ ConfigureLogsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
186
+ ConfigureLogsResponse.struct_class = Types::ConfigureLogsResponse
187
+
159
188
  CreateChannelRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
160
189
  CreateChannelRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
161
190
  CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
@@ -163,8 +192,10 @@ module Aws::MediaPackage
163
192
 
164
193
  CreateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
165
194
  CreateChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
195
+ CreateChannelResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
166
196
  CreateChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
167
197
  CreateChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
198
+ CreateChannelResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
168
199
  CreateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
169
200
  CreateChannelResponse.struct_class = Types::CreateChannelResponse
170
201
 
@@ -256,8 +287,10 @@ module Aws::MediaPackage
256
287
 
257
288
  DescribeChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
258
289
  DescribeChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
290
+ DescribeChannelResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
259
291
  DescribeChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
260
292
  DescribeChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
293
+ DescribeChannelResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
261
294
  DescribeChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
262
295
  DescribeChannelResponse.struct_class = Types::DescribeChannelResponse
263
296
 
@@ -296,6 +329,13 @@ module Aws::MediaPackage
296
329
  DescribeOriginEndpointResponse.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
297
330
  DescribeOriginEndpointResponse.struct_class = Types::DescribeOriginEndpointResponse
298
331
 
332
+ EgressAccessLogs.add_member(:log_group_name, Shapes::ShapeRef.new(shape: __string, location_name: "logGroupName"))
333
+ EgressAccessLogs.struct_class = Types::EgressAccessLogs
334
+
335
+ EncryptionContractConfiguration.add_member(:preset_speke_20_audio, Shapes::ShapeRef.new(shape: PresetSpeke20Audio, required: true, location_name: "presetSpeke20Audio"))
336
+ EncryptionContractConfiguration.add_member(:preset_speke_20_video, Shapes::ShapeRef.new(shape: PresetSpeke20Video, required: true, location_name: "presetSpeke20Video"))
337
+ EncryptionContractConfiguration.struct_class = Types::EncryptionContractConfiguration
338
+
299
339
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
300
340
  ForbiddenException.struct_class = Types::ForbiddenException
301
341
 
@@ -371,6 +411,9 @@ module Aws::MediaPackage
371
411
  IngestEndpoint.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
372
412
  IngestEndpoint.struct_class = Types::IngestEndpoint
373
413
 
414
+ IngressAccessLogs.add_member(:log_group_name, Shapes::ShapeRef.new(shape: __string, location_name: "logGroupName"))
415
+ IngressAccessLogs.struct_class = Types::IngressAccessLogs
416
+
374
417
  InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
375
418
  InternalServerErrorException.struct_class = Types::InternalServerErrorException
376
419
 
@@ -475,8 +518,10 @@ module Aws::MediaPackage
475
518
 
476
519
  RotateChannelCredentialsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
477
520
  RotateChannelCredentialsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
521
+ RotateChannelCredentialsResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
478
522
  RotateChannelCredentialsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
479
523
  RotateChannelCredentialsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
524
+ RotateChannelCredentialsResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
480
525
  RotateChannelCredentialsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
481
526
  RotateChannelCredentialsResponse.struct_class = Types::RotateChannelCredentialsResponse
482
527
 
@@ -486,8 +531,10 @@ module Aws::MediaPackage
486
531
 
487
532
  RotateIngestEndpointCredentialsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
488
533
  RotateIngestEndpointCredentialsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
534
+ RotateIngestEndpointCredentialsResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
489
535
  RotateIngestEndpointCredentialsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
490
536
  RotateIngestEndpointCredentialsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
537
+ RotateIngestEndpointCredentialsResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
491
538
  RotateIngestEndpointCredentialsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
492
539
  RotateIngestEndpointCredentialsResponse.struct_class = Types::RotateIngestEndpointCredentialsResponse
493
540
 
@@ -500,6 +547,7 @@ module Aws::MediaPackage
500
547
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
501
548
 
502
549
  SpekeKeyProvider.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __string, location_name: "certificateArn"))
550
+ SpekeKeyProvider.add_member(:encryption_contract_configuration, Shapes::ShapeRef.new(shape: EncryptionContractConfiguration, location_name: "encryptionContractConfiguration"))
503
551
  SpekeKeyProvider.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceId"))
504
552
  SpekeKeyProvider.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "roleArn"))
505
553
  SpekeKeyProvider.add_member(:system_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "systemIds"))
@@ -537,8 +585,10 @@ module Aws::MediaPackage
537
585
 
538
586
  UpdateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
539
587
  UpdateChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
588
+ UpdateChannelResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
540
589
  UpdateChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
541
590
  UpdateChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
591
+ UpdateChannelResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
542
592
  UpdateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
543
593
  UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
544
594
 
@@ -612,6 +662,20 @@ module Aws::MediaPackage
612
662
  "uid" => "mediapackage-2017-10-12",
613
663
  }
614
664
 
665
+ api.add_operation(:configure_logs, Seahorse::Model::Operation.new.tap do |o|
666
+ o.name = "ConfigureLogs"
667
+ o.http_method = "PUT"
668
+ o.http_request_uri = "/channels/{id}/configure_logs"
669
+ o.input = Shapes::ShapeRef.new(shape: ConfigureLogsRequest)
670
+ o.output = Shapes::ShapeRef.new(shape: ConfigureLogsResponse)
671
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
672
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
673
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
674
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
675
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
676
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
677
+ end)
678
+
615
679
  api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
616
680
  o.name = "CreateChannel"
617
681
  o.http_method = "POST"
@@ -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
@@ -139,9 +149,14 @@ module Aws::MediaPackage
139
149
  # data as a hash:
140
150
  #
141
151
  # {
152
+ # constant_initialization_vector: "__string",
142
153
  # key_rotation_interval_seconds: 1,
143
154
  # speke_key_provider: { # required
144
155
  # certificate_arn: "__string",
156
+ # encryption_contract_configuration: {
157
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
158
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
159
+ # },
145
160
  # resource_id: "__string", # required
146
161
  # role_arn: "__string", # required
147
162
  # system_ids: ["__string"], # required
@@ -149,6 +164,13 @@ module Aws::MediaPackage
149
164
  # },
150
165
  # }
151
166
  #
167
+ # @!attribute [rw] constant_initialization_vector
168
+ # An optional 128-bit, 16-byte hex value represented by a 32-character
169
+ # string, used in conjunction with the key for encrypting blocks. If
170
+ # you don't specify a value, then MediaPackage creates the constant
171
+ # initialization vector (IV).
172
+ # @return [String]
173
+ #
152
174
  # @!attribute [rw] key_rotation_interval_seconds
153
175
  # Time (in seconds) between each encryption key rotation.
154
176
  # @return [Integer]
@@ -162,6 +184,7 @@ module Aws::MediaPackage
162
184
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CmafEncryption AWS API Documentation
163
185
  #
164
186
  class CmafEncryption < Struct.new(
187
+ :constant_initialization_vector,
165
188
  :key_rotation_interval_seconds,
166
189
  :speke_key_provider)
167
190
  SENSITIVE = []
@@ -211,9 +234,14 @@ module Aws::MediaPackage
211
234
  #
212
235
  # {
213
236
  # encryption: {
237
+ # constant_initialization_vector: "__string",
214
238
  # key_rotation_interval_seconds: 1,
215
239
  # speke_key_provider: { # required
216
240
  # certificate_arn: "__string",
241
+ # encryption_contract_configuration: {
242
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
243
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
244
+ # },
217
245
  # resource_id: "__string", # required
218
246
  # role_arn: "__string", # required
219
247
  # system_ids: ["__string"], # required
@@ -276,6 +304,98 @@ module Aws::MediaPackage
276
304
  include Aws::Structure
277
305
  end
278
306
 
307
+ # The configuration parameters for ingress and egress access logging.
308
+ #
309
+ # @!attribute [rw] egress_access_logs
310
+ # Configure egress access logging.
311
+ # @return [Types::EgressAccessLogs]
312
+ #
313
+ # @!attribute [rw] ingress_access_logs
314
+ # Configure ingress access logging.
315
+ # @return [Types::IngressAccessLogs]
316
+ #
317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsParameters AWS API Documentation
318
+ #
319
+ class ConfigureLogsParameters < Struct.new(
320
+ :egress_access_logs,
321
+ :ingress_access_logs)
322
+ SENSITIVE = []
323
+ include Aws::Structure
324
+ end
325
+
326
+ # @note When making an API call, you may pass ConfigureLogsRequest
327
+ # data as a hash:
328
+ #
329
+ # {
330
+ # egress_access_logs: {
331
+ # log_group_name: "__string",
332
+ # },
333
+ # id: "__string", # required
334
+ # ingress_access_logs: {
335
+ # log_group_name: "__string",
336
+ # },
337
+ # }
338
+ #
339
+ # @!attribute [rw] egress_access_logs
340
+ # Configure egress access logging.
341
+ # @return [Types::EgressAccessLogs]
342
+ #
343
+ # @!attribute [rw] id
344
+ # @return [String]
345
+ #
346
+ # @!attribute [rw] ingress_access_logs
347
+ # Configure ingress access logging.
348
+ # @return [Types::IngressAccessLogs]
349
+ #
350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsRequest AWS API Documentation
351
+ #
352
+ class ConfigureLogsRequest < Struct.new(
353
+ :egress_access_logs,
354
+ :id,
355
+ :ingress_access_logs)
356
+ SENSITIVE = []
357
+ include Aws::Structure
358
+ end
359
+
360
+ # @!attribute [rw] arn
361
+ # @return [String]
362
+ #
363
+ # @!attribute [rw] description
364
+ # @return [String]
365
+ #
366
+ # @!attribute [rw] egress_access_logs
367
+ # Configure egress access logging.
368
+ # @return [Types::EgressAccessLogs]
369
+ #
370
+ # @!attribute [rw] hls_ingest
371
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
372
+ # @return [Types::HlsIngest]
373
+ #
374
+ # @!attribute [rw] id
375
+ # @return [String]
376
+ #
377
+ # @!attribute [rw] ingress_access_logs
378
+ # Configure ingress access logging.
379
+ # @return [Types::IngressAccessLogs]
380
+ #
381
+ # @!attribute [rw] tags
382
+ # A collection of tags associated with a resource
383
+ # @return [Hash<String,String>]
384
+ #
385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsResponse AWS API Documentation
386
+ #
387
+ class ConfigureLogsResponse < Struct.new(
388
+ :arn,
389
+ :description,
390
+ :egress_access_logs,
391
+ :hls_ingest,
392
+ :id,
393
+ :ingress_access_logs,
394
+ :tags)
395
+ SENSITIVE = []
396
+ include Aws::Structure
397
+ end
398
+
279
399
  # @note When making an API call, you may pass CreateChannelRequest
280
400
  # data as a hash:
281
401
  #
@@ -313,6 +433,10 @@ module Aws::MediaPackage
313
433
  # @!attribute [rw] description
314
434
  # @return [String]
315
435
  #
436
+ # @!attribute [rw] egress_access_logs
437
+ # Configure egress access logging.
438
+ # @return [Types::EgressAccessLogs]
439
+ #
316
440
  # @!attribute [rw] hls_ingest
317
441
  # An HTTP Live Streaming (HLS) ingest resource configuration.
318
442
  # @return [Types::HlsIngest]
@@ -320,6 +444,10 @@ module Aws::MediaPackage
320
444
  # @!attribute [rw] id
321
445
  # @return [String]
322
446
  #
447
+ # @!attribute [rw] ingress_access_logs
448
+ # Configure ingress access logging.
449
+ # @return [Types::IngressAccessLogs]
450
+ #
323
451
  # @!attribute [rw] tags
324
452
  # A collection of tags associated with a resource
325
453
  # @return [Hash<String,String>]
@@ -329,8 +457,10 @@ module Aws::MediaPackage
329
457
  class CreateChannelResponse < Struct.new(
330
458
  :arn,
331
459
  :description,
460
+ :egress_access_logs,
332
461
  :hls_ingest,
333
462
  :id,
463
+ :ingress_access_logs,
334
464
  :tags)
335
465
  SENSITIVE = []
336
466
  include Aws::Structure
@@ -436,9 +566,14 @@ module Aws::MediaPackage
436
566
  # channel_id: "__string", # required
437
567
  # cmaf_package: {
438
568
  # encryption: {
569
+ # constant_initialization_vector: "__string",
439
570
  # key_rotation_interval_seconds: 1,
440
571
  # speke_key_provider: { # required
441
572
  # certificate_arn: "__string",
573
+ # encryption_contract_configuration: {
574
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
575
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
576
+ # },
442
577
  # resource_id: "__string", # required
443
578
  # role_arn: "__string", # required
444
579
  # system_ids: ["__string"], # required
@@ -473,6 +608,10 @@ module Aws::MediaPackage
473
608
  # key_rotation_interval_seconds: 1,
474
609
  # speke_key_provider: { # required
475
610
  # certificate_arn: "__string",
611
+ # encryption_contract_configuration: {
612
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
613
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
614
+ # },
476
615
  # resource_id: "__string", # required
477
616
  # role_arn: "__string", # required
478
617
  # system_ids: ["__string"], # required
@@ -508,6 +647,10 @@ module Aws::MediaPackage
508
647
  # repeat_ext_x_key: false,
509
648
  # speke_key_provider: { # required
510
649
  # certificate_arn: "__string",
650
+ # encryption_contract_configuration: {
651
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
652
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
653
+ # },
511
654
  # resource_id: "__string", # required
512
655
  # role_arn: "__string", # required
513
656
  # system_ids: ["__string"], # required
@@ -532,6 +675,10 @@ module Aws::MediaPackage
532
675
  # encryption: {
533
676
  # speke_key_provider: { # required
534
677
  # certificate_arn: "__string",
678
+ # encryption_contract_configuration: {
679
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
680
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
681
+ # },
535
682
  # resource_id: "__string", # required
536
683
  # role_arn: "__string", # required
537
684
  # system_ids: ["__string"], # required
@@ -713,6 +860,10 @@ module Aws::MediaPackage
713
860
  # key_rotation_interval_seconds: 1,
714
861
  # speke_key_provider: { # required
715
862
  # certificate_arn: "__string",
863
+ # encryption_contract_configuration: {
864
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
865
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
866
+ # },
716
867
  # resource_id: "__string", # required
717
868
  # role_arn: "__string", # required
718
869
  # system_ids: ["__string"], # required
@@ -751,6 +902,10 @@ module Aws::MediaPackage
751
902
  # key_rotation_interval_seconds: 1,
752
903
  # speke_key_provider: { # required
753
904
  # certificate_arn: "__string",
905
+ # encryption_contract_configuration: {
906
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
907
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
908
+ # },
754
909
  # resource_id: "__string", # required
755
910
  # role_arn: "__string", # required
756
911
  # system_ids: ["__string"], # required
@@ -960,6 +1115,10 @@ module Aws::MediaPackage
960
1115
  # @!attribute [rw] description
961
1116
  # @return [String]
962
1117
  #
1118
+ # @!attribute [rw] egress_access_logs
1119
+ # Configure egress access logging.
1120
+ # @return [Types::EgressAccessLogs]
1121
+ #
963
1122
  # @!attribute [rw] hls_ingest
964
1123
  # An HTTP Live Streaming (HLS) ingest resource configuration.
965
1124
  # @return [Types::HlsIngest]
@@ -967,6 +1126,10 @@ module Aws::MediaPackage
967
1126
  # @!attribute [rw] id
968
1127
  # @return [String]
969
1128
  #
1129
+ # @!attribute [rw] ingress_access_logs
1130
+ # Configure ingress access logging.
1131
+ # @return [Types::IngressAccessLogs]
1132
+ #
970
1133
  # @!attribute [rw] tags
971
1134
  # A collection of tags associated with a resource
972
1135
  # @return [Hash<String,String>]
@@ -976,8 +1139,10 @@ module Aws::MediaPackage
976
1139
  class DescribeChannelResponse < Struct.new(
977
1140
  :arn,
978
1141
  :description,
1142
+ :egress_access_logs,
979
1143
  :hls_ingest,
980
1144
  :id,
1145
+ :ingress_access_logs,
981
1146
  :tags)
982
1147
  SENSITIVE = []
983
1148
  include Aws::Structure
@@ -1142,6 +1307,63 @@ module Aws::MediaPackage
1142
1307
  include Aws::Structure
1143
1308
  end
1144
1309
 
1310
+ # Configure egress access logging.
1311
+ #
1312
+ # @note When making an API call, you may pass EgressAccessLogs
1313
+ # data as a hash:
1314
+ #
1315
+ # {
1316
+ # log_group_name: "__string",
1317
+ # }
1318
+ #
1319
+ # @!attribute [rw] log_group_name
1320
+ # Customize the log group name.
1321
+ # @return [String]
1322
+ #
1323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/EgressAccessLogs AWS API Documentation
1324
+ #
1325
+ class EgressAccessLogs < Struct.new(
1326
+ :log_group_name)
1327
+ SENSITIVE = []
1328
+ include Aws::Structure
1329
+ end
1330
+
1331
+ # Use encryptionContractConfiguration to configure one or more content
1332
+ # encryption keys for your endpoints that use SPEKE 2.0. The encryption
1333
+ # contract defines which content keys are used to encrypt the audio and
1334
+ # video tracks in your stream. To configure the encryption contract,
1335
+ # specify which audio and video encryption presets to use. Note the
1336
+ # following considerations when using encryptionContractConfiguration:
1337
+ # encryptionContractConfiguration can be used for DASH endpoints that
1338
+ # use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You
1339
+ # must disable key rotation for this endpoint by setting
1340
+ # keyRotationIntervalSeconds to 0.
1341
+ #
1342
+ # @note When making an API call, you may pass EncryptionContractConfiguration
1343
+ # data as a hash:
1344
+ #
1345
+ # {
1346
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
1347
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
1348
+ # }
1349
+ #
1350
+ # @!attribute [rw] preset_speke_20_audio
1351
+ # A collection of audio encryption presets.
1352
+ # @return [String]
1353
+ #
1354
+ # @!attribute [rw] preset_speke_20_video
1355
+ # A collection of video encryption presets.
1356
+ # @return [String]
1357
+ #
1358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/EncryptionContractConfiguration AWS API Documentation
1359
+ #
1360
+ class EncryptionContractConfiguration < Struct.new(
1361
+ :preset_speke_20_audio,
1362
+ :preset_speke_20_video)
1363
+ SENSITIVE = []
1364
+ include Aws::Structure
1365
+ end
1366
+
1145
1367
  # @!attribute [rw] message
1146
1368
  # @return [String]
1147
1369
  #
@@ -1282,6 +1504,10 @@ module Aws::MediaPackage
1282
1504
  # repeat_ext_x_key: false,
1283
1505
  # speke_key_provider: { # required
1284
1506
  # certificate_arn: "__string",
1507
+ # encryption_contract_configuration: {
1508
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
1509
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
1510
+ # },
1285
1511
  # resource_id: "__string", # required
1286
1512
  # role_arn: "__string", # required
1287
1513
  # system_ids: ["__string"], # required
@@ -1529,6 +1755,10 @@ module Aws::MediaPackage
1529
1755
  # repeat_ext_x_key: false,
1530
1756
  # speke_key_provider: { # required
1531
1757
  # certificate_arn: "__string",
1758
+ # encryption_contract_configuration: {
1759
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
1760
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
1761
+ # },
1532
1762
  # resource_id: "__string", # required
1533
1763
  # role_arn: "__string", # required
1534
1764
  # system_ids: ["__string"], # required
@@ -1672,6 +1902,27 @@ module Aws::MediaPackage
1672
1902
  include Aws::Structure
1673
1903
  end
1674
1904
 
1905
+ # Configure ingress access logging.
1906
+ #
1907
+ # @note When making an API call, you may pass IngressAccessLogs
1908
+ # data as a hash:
1909
+ #
1910
+ # {
1911
+ # log_group_name: "__string",
1912
+ # }
1913
+ #
1914
+ # @!attribute [rw] log_group_name
1915
+ # Customize the log group name.
1916
+ # @return [String]
1917
+ #
1918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngressAccessLogs AWS API Documentation
1919
+ #
1920
+ class IngressAccessLogs < Struct.new(
1921
+ :log_group_name)
1922
+ SENSITIVE = []
1923
+ include Aws::Structure
1924
+ end
1925
+
1675
1926
  # @!attribute [rw] message
1676
1927
  # @return [String]
1677
1928
  #
@@ -1849,6 +2100,10 @@ module Aws::MediaPackage
1849
2100
  # {
1850
2101
  # speke_key_provider: { # required
1851
2102
  # certificate_arn: "__string",
2103
+ # encryption_contract_configuration: {
2104
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2105
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2106
+ # },
1852
2107
  # resource_id: "__string", # required
1853
2108
  # role_arn: "__string", # required
1854
2109
  # system_ids: ["__string"], # required
@@ -1879,6 +2134,10 @@ module Aws::MediaPackage
1879
2134
  # encryption: {
1880
2135
  # speke_key_provider: { # required
1881
2136
  # certificate_arn: "__string",
2137
+ # encryption_contract_configuration: {
2138
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2139
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2140
+ # },
1882
2141
  # resource_id: "__string", # required
1883
2142
  # role_arn: "__string", # required
1884
2143
  # system_ids: ["__string"], # required
@@ -2241,6 +2500,10 @@ module Aws::MediaPackage
2241
2500
  # @!attribute [rw] description
2242
2501
  # @return [String]
2243
2502
  #
2503
+ # @!attribute [rw] egress_access_logs
2504
+ # Configure egress access logging.
2505
+ # @return [Types::EgressAccessLogs]
2506
+ #
2244
2507
  # @!attribute [rw] hls_ingest
2245
2508
  # An HTTP Live Streaming (HLS) ingest resource configuration.
2246
2509
  # @return [Types::HlsIngest]
@@ -2248,6 +2511,10 @@ module Aws::MediaPackage
2248
2511
  # @!attribute [rw] id
2249
2512
  # @return [String]
2250
2513
  #
2514
+ # @!attribute [rw] ingress_access_logs
2515
+ # Configure ingress access logging.
2516
+ # @return [Types::IngressAccessLogs]
2517
+ #
2251
2518
  # @!attribute [rw] tags
2252
2519
  # A collection of tags associated with a resource
2253
2520
  # @return [Hash<String,String>]
@@ -2257,8 +2524,10 @@ module Aws::MediaPackage
2257
2524
  class RotateChannelCredentialsResponse < Struct.new(
2258
2525
  :arn,
2259
2526
  :description,
2527
+ :egress_access_logs,
2260
2528
  :hls_ingest,
2261
2529
  :id,
2530
+ :ingress_access_logs,
2262
2531
  :tags)
2263
2532
  SENSITIVE = []
2264
2533
  include Aws::Structure
@@ -2293,6 +2562,10 @@ module Aws::MediaPackage
2293
2562
  # @!attribute [rw] description
2294
2563
  # @return [String]
2295
2564
  #
2565
+ # @!attribute [rw] egress_access_logs
2566
+ # Configure egress access logging.
2567
+ # @return [Types::EgressAccessLogs]
2568
+ #
2296
2569
  # @!attribute [rw] hls_ingest
2297
2570
  # An HTTP Live Streaming (HLS) ingest resource configuration.
2298
2571
  # @return [Types::HlsIngest]
@@ -2300,6 +2573,10 @@ module Aws::MediaPackage
2300
2573
  # @!attribute [rw] id
2301
2574
  # @return [String]
2302
2575
  #
2576
+ # @!attribute [rw] ingress_access_logs
2577
+ # Configure ingress access logging.
2578
+ # @return [Types::IngressAccessLogs]
2579
+ #
2303
2580
  # @!attribute [rw] tags
2304
2581
  # A collection of tags associated with a resource
2305
2582
  # @return [Hash<String,String>]
@@ -2309,8 +2586,10 @@ module Aws::MediaPackage
2309
2586
  class RotateIngestEndpointCredentialsResponse < Struct.new(
2310
2587
  :arn,
2311
2588
  :description,
2589
+ :egress_access_logs,
2312
2590
  :hls_ingest,
2313
2591
  :id,
2592
+ :ingress_access_logs,
2314
2593
  :tags)
2315
2594
  SENSITIVE = []
2316
2595
  include Aws::Structure
@@ -2371,6 +2650,10 @@ module Aws::MediaPackage
2371
2650
  #
2372
2651
  # {
2373
2652
  # certificate_arn: "__string",
2653
+ # encryption_contract_configuration: {
2654
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2655
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2656
+ # },
2374
2657
  # resource_id: "__string", # required
2375
2658
  # role_arn: "__string", # required
2376
2659
  # system_ids: ["__string"], # required
@@ -2383,6 +2666,19 @@ module Aws::MediaPackage
2383
2666
  # transfer with the key provider service.
2384
2667
  # @return [String]
2385
2668
  #
2669
+ # @!attribute [rw] encryption_contract_configuration
2670
+ # Use encryptionContractConfiguration to configure one or more content
2671
+ # encryption keys for your endpoints that use SPEKE 2.0. The
2672
+ # encryption contract defines which content keys are used to encrypt
2673
+ # the audio and video tracks in your stream. To configure the
2674
+ # encryption contract, specify which audio and video encryption
2675
+ # presets to use. Note the following considerations when using
2676
+ # encryptionContractConfiguration: encryptionContractConfiguration can
2677
+ # be used for DASH endpoints that use SPEKE 2.0. SPEKE 2.0 relies on
2678
+ # the CPIX 2.3 specification. You must disable key rotation for this
2679
+ # endpoint by setting keyRotationIntervalSeconds to 0.
2680
+ # @return [Types::EncryptionContractConfiguration]
2681
+ #
2386
2682
  # @!attribute [rw] resource_id
2387
2683
  # The resource ID to include in key requests.
2388
2684
  # @return [String]
@@ -2404,6 +2700,7 @@ module Aws::MediaPackage
2404
2700
  #
2405
2701
  class SpekeKeyProvider < Struct.new(
2406
2702
  :certificate_arn,
2703
+ :encryption_contract_configuration,
2407
2704
  :resource_id,
2408
2705
  :role_arn,
2409
2706
  :system_ids,
@@ -2555,6 +2852,10 @@ module Aws::MediaPackage
2555
2852
  # @!attribute [rw] description
2556
2853
  # @return [String]
2557
2854
  #
2855
+ # @!attribute [rw] egress_access_logs
2856
+ # Configure egress access logging.
2857
+ # @return [Types::EgressAccessLogs]
2858
+ #
2558
2859
  # @!attribute [rw] hls_ingest
2559
2860
  # An HTTP Live Streaming (HLS) ingest resource configuration.
2560
2861
  # @return [Types::HlsIngest]
@@ -2562,6 +2863,10 @@ module Aws::MediaPackage
2562
2863
  # @!attribute [rw] id
2563
2864
  # @return [String]
2564
2865
  #
2866
+ # @!attribute [rw] ingress_access_logs
2867
+ # Configure ingress access logging.
2868
+ # @return [Types::IngressAccessLogs]
2869
+ #
2565
2870
  # @!attribute [rw] tags
2566
2871
  # A collection of tags associated with a resource
2567
2872
  # @return [Hash<String,String>]
@@ -2571,8 +2876,10 @@ module Aws::MediaPackage
2571
2876
  class UpdateChannelResponse < Struct.new(
2572
2877
  :arn,
2573
2878
  :description,
2879
+ :egress_access_logs,
2574
2880
  :hls_ingest,
2575
2881
  :id,
2882
+ :ingress_access_logs,
2576
2883
  :tags)
2577
2884
  SENSITIVE = []
2578
2885
  include Aws::Structure
@@ -2588,9 +2895,14 @@ module Aws::MediaPackage
2588
2895
  # },
2589
2896
  # cmaf_package: {
2590
2897
  # encryption: {
2898
+ # constant_initialization_vector: "__string",
2591
2899
  # key_rotation_interval_seconds: 1,
2592
2900
  # speke_key_provider: { # required
2593
2901
  # certificate_arn: "__string",
2902
+ # encryption_contract_configuration: {
2903
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2904
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2905
+ # },
2594
2906
  # resource_id: "__string", # required
2595
2907
  # role_arn: "__string", # required
2596
2908
  # system_ids: ["__string"], # required
@@ -2625,6 +2937,10 @@ module Aws::MediaPackage
2625
2937
  # key_rotation_interval_seconds: 1,
2626
2938
  # speke_key_provider: { # required
2627
2939
  # certificate_arn: "__string",
2940
+ # encryption_contract_configuration: {
2941
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2942
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2943
+ # },
2628
2944
  # resource_id: "__string", # required
2629
2945
  # role_arn: "__string", # required
2630
2946
  # system_ids: ["__string"], # required
@@ -2660,6 +2976,10 @@ module Aws::MediaPackage
2660
2976
  # repeat_ext_x_key: false,
2661
2977
  # speke_key_provider: { # required
2662
2978
  # certificate_arn: "__string",
2979
+ # encryption_contract_configuration: {
2980
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
2981
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
2982
+ # },
2663
2983
  # resource_id: "__string", # required
2664
2984
  # role_arn: "__string", # required
2665
2985
  # system_ids: ["__string"], # required
@@ -2684,6 +3004,10 @@ module Aws::MediaPackage
2684
3004
  # encryption: {
2685
3005
  # speke_key_provider: { # required
2686
3006
  # certificate_arn: "__string",
3007
+ # encryption_contract_configuration: {
3008
+ # preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
3009
+ # preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
3010
+ # },
2687
3011
  # resource_id: "__string", # required
2688
3012
  # role_arn: "__string", # required
2689
3013
  # system_ids: ["__string"], # required