aws-sdk-mediapackage 1.35.0 → 1.36.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04a551f6cd1ac122fc04054ccf79ebef31c218a64e9dcf04aa752e08e3138891
4
- data.tar.gz: e57a9c32ee6602d9015c7e29597f0176886c0744b6c6711ecc0d73f61107a55c
3
+ metadata.gz: 3a887780efcaf42a40676bd04064301826a5675c11244759bb7c969559592c90
4
+ data.tar.gz: 40f2300daf9ea616b0a875408ec9595860c95e78b7c94ac02a53f506e6da99e8
5
5
  SHA512:
6
- metadata.gz: 60fc294faa338650d72377e9e1cc9115b71093c1956ca04f58eb9841ac2f8d67a3c43211bf5a5da3167a146416b2223ae8ecc6091acbeb1c707e935e14c7bb79
7
- data.tar.gz: f63c646d8f769daa05c8862c7b3a854155b2dd238cf3a7875c16fc2e51ed2644c985df1a2b2533ddb5f2a11e23ac478f84627f0457694afe0b4d4fdc5929272d
6
+ metadata.gz: fbecaad422d5af3bcd2c1a02248761bee2a135b481264abd98fa8d731ddb09060f5994634290e8ff56c3c6598aa08eda4252abcea45ea98f048c3d3d157a41f0
7
+ data.tar.gz: 40ea4b8435cb9c5092615837ce4eb1e2a2e9013bb61f3e277a7fc10231ed8b115f7d78f0926b96413becda69ff2c0d48e29efb08fcc5c9ba1249af3a287fa2ce
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-mediapackage/customizations'
28
28
  # structure.
29
29
  #
30
30
  # media_package = Aws::MediaPackage::Client.new
31
- # resp = media_package.create_channel(params)
31
+ # resp = media_package.configure_logs(params)
32
32
  #
33
33
  # See {Client} for more information.
34
34
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-mediapackage/customizations'
48
48
  # @!group service
49
49
  module Aws::MediaPackage
50
50
 
51
- GEM_VERSION = '1.35.0'
51
+ GEM_VERSION = '1.36.0'
52
52
 
53
53
  end
@@ -327,6 +327,62 @@ module Aws::MediaPackage
327
327
 
328
328
  # @!group API Operations
329
329
 
330
+ # Changes the Channel's properities to configure log subscription
331
+ #
332
+ # @option params [Types::EgressAccessLogs] :egress_access_logs
333
+ # Configure egress access logging.
334
+ #
335
+ # @option params [required, String] :id
336
+ #
337
+ # @option params [Types::IngressAccessLogs] :ingress_access_logs
338
+ # Configure ingress access logging.
339
+ #
340
+ # @return [Types::ConfigureLogsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
341
+ #
342
+ # * {Types::ConfigureLogsResponse#arn #arn} => String
343
+ # * {Types::ConfigureLogsResponse#description #description} => String
344
+ # * {Types::ConfigureLogsResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
345
+ # * {Types::ConfigureLogsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
346
+ # * {Types::ConfigureLogsResponse#id #id} => String
347
+ # * {Types::ConfigureLogsResponse#ingress_access_logs #ingress_access_logs} => Types::IngressAccessLogs
348
+ # * {Types::ConfigureLogsResponse#tags #tags} => Hash<String,String>
349
+ #
350
+ # @example Request syntax with placeholder values
351
+ #
352
+ # resp = client.configure_logs({
353
+ # egress_access_logs: {
354
+ # log_group_name: "__string",
355
+ # },
356
+ # id: "__string", # required
357
+ # ingress_access_logs: {
358
+ # log_group_name: "__string",
359
+ # },
360
+ # })
361
+ #
362
+ # @example Response structure
363
+ #
364
+ # resp.arn #=> String
365
+ # resp.description #=> String
366
+ # resp.egress_access_logs.log_group_name #=> String
367
+ # resp.hls_ingest.ingest_endpoints #=> Array
368
+ # resp.hls_ingest.ingest_endpoints[0].id #=> String
369
+ # resp.hls_ingest.ingest_endpoints[0].password #=> String
370
+ # resp.hls_ingest.ingest_endpoints[0].url #=> String
371
+ # resp.hls_ingest.ingest_endpoints[0].username #=> String
372
+ # resp.id #=> String
373
+ # resp.ingress_access_logs.log_group_name #=> String
374
+ # resp.tags #=> Hash
375
+ # resp.tags["__string"] #=> String
376
+ #
377
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogs AWS API Documentation
378
+ #
379
+ # @overload configure_logs(params = {})
380
+ # @param [Hash] params ({})
381
+ def configure_logs(params = {}, options = {})
382
+ req = build_request(:configure_logs, params)
383
+ req.send_request(options)
384
+ end
385
+
330
386
  # Creates a new Channel.
331
387
  #
332
388
  # @option params [String] :description
@@ -340,8 +396,10 @@ module Aws::MediaPackage
340
396
  #
341
397
  # * {Types::CreateChannelResponse#arn #arn} => String
342
398
  # * {Types::CreateChannelResponse#description #description} => String
399
+ # * {Types::CreateChannelResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
343
400
  # * {Types::CreateChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
344
401
  # * {Types::CreateChannelResponse#id #id} => String
402
+ # * {Types::CreateChannelResponse#ingress_access_logs #ingress_access_logs} => Types::IngressAccessLogs
345
403
  # * {Types::CreateChannelResponse#tags #tags} => Hash<String,String>
346
404
  #
347
405
  # @example Request syntax with placeholder values
@@ -358,12 +416,14 @@ module Aws::MediaPackage
358
416
  #
359
417
  # resp.arn #=> String
360
418
  # resp.description #=> String
419
+ # resp.egress_access_logs.log_group_name #=> String
361
420
  # resp.hls_ingest.ingest_endpoints #=> Array
362
421
  # resp.hls_ingest.ingest_endpoints[0].id #=> String
363
422
  # resp.hls_ingest.ingest_endpoints[0].password #=> String
364
423
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
365
424
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
366
425
  # resp.id #=> String
426
+ # resp.ingress_access_logs.log_group_name #=> String
367
427
  # resp.tags #=> Hash
368
428
  # resp.tags["__string"] #=> String
369
429
  #
@@ -780,8 +840,10 @@ module Aws::MediaPackage
780
840
  #
781
841
  # * {Types::DescribeChannelResponse#arn #arn} => String
782
842
  # * {Types::DescribeChannelResponse#description #description} => String
843
+ # * {Types::DescribeChannelResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
783
844
  # * {Types::DescribeChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
784
845
  # * {Types::DescribeChannelResponse#id #id} => String
846
+ # * {Types::DescribeChannelResponse#ingress_access_logs #ingress_access_logs} => Types::IngressAccessLogs
785
847
  # * {Types::DescribeChannelResponse#tags #tags} => Hash<String,String>
786
848
  #
787
849
  # @example Request syntax with placeholder values
@@ -794,12 +856,14 @@ module Aws::MediaPackage
794
856
  #
795
857
  # resp.arn #=> String
796
858
  # resp.description #=> String
859
+ # resp.egress_access_logs.log_group_name #=> String
797
860
  # resp.hls_ingest.ingest_endpoints #=> Array
798
861
  # resp.hls_ingest.ingest_endpoints[0].id #=> String
799
862
  # resp.hls_ingest.ingest_endpoints[0].password #=> String
800
863
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
801
864
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
802
865
  # resp.id #=> String
866
+ # resp.ingress_access_logs.log_group_name #=> String
803
867
  # resp.tags #=> Hash
804
868
  # resp.tags["__string"] #=> String
805
869
  #
@@ -1018,12 +1082,14 @@ module Aws::MediaPackage
1018
1082
  # resp.channels #=> Array
1019
1083
  # resp.channels[0].arn #=> String
1020
1084
  # resp.channels[0].description #=> String
1085
+ # resp.channels[0].egress_access_logs.log_group_name #=> String
1021
1086
  # resp.channels[0].hls_ingest.ingest_endpoints #=> Array
1022
1087
  # resp.channels[0].hls_ingest.ingest_endpoints[0].id #=> String
1023
1088
  # resp.channels[0].hls_ingest.ingest_endpoints[0].password #=> String
1024
1089
  # resp.channels[0].hls_ingest.ingest_endpoints[0].url #=> String
1025
1090
  # resp.channels[0].hls_ingest.ingest_endpoints[0].username #=> String
1026
1091
  # resp.channels[0].id #=> String
1092
+ # resp.channels[0].ingress_access_logs.log_group_name #=> String
1027
1093
  # resp.channels[0].tags #=> Hash
1028
1094
  # resp.channels[0].tags["__string"] #=> String
1029
1095
  # resp.next_token #=> String
@@ -1256,8 +1322,10 @@ module Aws::MediaPackage
1256
1322
  #
1257
1323
  # * {Types::RotateChannelCredentialsResponse#arn #arn} => String
1258
1324
  # * {Types::RotateChannelCredentialsResponse#description #description} => String
1325
+ # * {Types::RotateChannelCredentialsResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
1259
1326
  # * {Types::RotateChannelCredentialsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
1260
1327
  # * {Types::RotateChannelCredentialsResponse#id #id} => String
1328
+ # * {Types::RotateChannelCredentialsResponse#ingress_access_logs #ingress_access_logs} => Types::IngressAccessLogs
1261
1329
  # * {Types::RotateChannelCredentialsResponse#tags #tags} => Hash<String,String>
1262
1330
  #
1263
1331
  # @example Request syntax with placeholder values
@@ -1270,12 +1338,14 @@ module Aws::MediaPackage
1270
1338
  #
1271
1339
  # resp.arn #=> String
1272
1340
  # resp.description #=> String
1341
+ # resp.egress_access_logs.log_group_name #=> String
1273
1342
  # resp.hls_ingest.ingest_endpoints #=> Array
1274
1343
  # resp.hls_ingest.ingest_endpoints[0].id #=> String
1275
1344
  # resp.hls_ingest.ingest_endpoints[0].password #=> String
1276
1345
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
1277
1346
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
1278
1347
  # resp.id #=> String
1348
+ # resp.ingress_access_logs.log_group_name #=> String
1279
1349
  # resp.tags #=> Hash
1280
1350
  # resp.tags["__string"] #=> String
1281
1351
  #
@@ -1299,8 +1369,10 @@ module Aws::MediaPackage
1299
1369
  #
1300
1370
  # * {Types::RotateIngestEndpointCredentialsResponse#arn #arn} => String
1301
1371
  # * {Types::RotateIngestEndpointCredentialsResponse#description #description} => String
1372
+ # * {Types::RotateIngestEndpointCredentialsResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
1302
1373
  # * {Types::RotateIngestEndpointCredentialsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
1303
1374
  # * {Types::RotateIngestEndpointCredentialsResponse#id #id} => String
1375
+ # * {Types::RotateIngestEndpointCredentialsResponse#ingress_access_logs #ingress_access_logs} => Types::IngressAccessLogs
1304
1376
  # * {Types::RotateIngestEndpointCredentialsResponse#tags #tags} => Hash<String,String>
1305
1377
  #
1306
1378
  # @example Request syntax with placeholder values
@@ -1314,12 +1386,14 @@ module Aws::MediaPackage
1314
1386
  #
1315
1387
  # resp.arn #=> String
1316
1388
  # resp.description #=> String
1389
+ # resp.egress_access_logs.log_group_name #=> String
1317
1390
  # resp.hls_ingest.ingest_endpoints #=> Array
1318
1391
  # resp.hls_ingest.ingest_endpoints[0].id #=> String
1319
1392
  # resp.hls_ingest.ingest_endpoints[0].password #=> String
1320
1393
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
1321
1394
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
1322
1395
  # resp.id #=> String
1396
+ # resp.ingress_access_logs.log_group_name #=> String
1323
1397
  # resp.tags #=> Hash
1324
1398
  # resp.tags["__string"] #=> String
1325
1399
  #
@@ -1388,8 +1462,10 @@ module Aws::MediaPackage
1388
1462
  #
1389
1463
  # * {Types::UpdateChannelResponse#arn #arn} => String
1390
1464
  # * {Types::UpdateChannelResponse#description #description} => String
1465
+ # * {Types::UpdateChannelResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
1391
1466
  # * {Types::UpdateChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
1392
1467
  # * {Types::UpdateChannelResponse#id #id} => String
1468
+ # * {Types::UpdateChannelResponse#ingress_access_logs #ingress_access_logs} => Types::IngressAccessLogs
1393
1469
  # * {Types::UpdateChannelResponse#tags #tags} => Hash<String,String>
1394
1470
  #
1395
1471
  # @example Request syntax with placeholder values
@@ -1403,12 +1479,14 @@ module Aws::MediaPackage
1403
1479
  #
1404
1480
  # resp.arn #=> String
1405
1481
  # resp.description #=> String
1482
+ # resp.egress_access_logs.log_group_name #=> String
1406
1483
  # resp.hls_ingest.ingest_endpoints #=> Array
1407
1484
  # resp.hls_ingest.ingest_endpoints[0].id #=> String
1408
1485
  # resp.hls_ingest.ingest_endpoints[0].password #=> String
1409
1486
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
1410
1487
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
1411
1488
  # resp.id #=> String
1489
+ # resp.ingress_access_logs.log_group_name #=> String
1412
1490
  # resp.tags #=> Hash
1413
1491
  # resp.tags["__string"] #=> String
1414
1492
  #
@@ -1716,7 +1794,7 @@ module Aws::MediaPackage
1716
1794
  params: params,
1717
1795
  config: config)
1718
1796
  context[:gem_name] = 'aws-sdk-mediapackage'
1719
- context[:gem_version] = '1.35.0'
1797
+ context[:gem_version] = '1.36.0'
1720
1798
  Seahorse::Client::Request.new(handlers, context)
1721
1799
  end
1722
1800
 
@@ -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,7 @@ 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')
45
49
  EncryptionMethod = Shapes::StringShape.new(name: 'EncryptionMethod')
46
50
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
47
51
  HarvestJob = Shapes::StructureShape.new(name: 'HarvestJob')
@@ -53,6 +57,7 @@ module Aws::MediaPackage
53
57
  HlsManifestCreateOrUpdateParameters = Shapes::StructureShape.new(name: 'HlsManifestCreateOrUpdateParameters')
54
58
  HlsPackage = Shapes::StructureShape.new(name: 'HlsPackage')
55
59
  IngestEndpoint = Shapes::StructureShape.new(name: 'IngestEndpoint')
60
+ IngressAccessLogs = Shapes::StructureShape.new(name: 'IngressAccessLogs')
56
61
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
57
62
  ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
58
63
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
@@ -121,8 +126,10 @@ module Aws::MediaPackage
121
126
 
122
127
  Channel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
123
128
  Channel.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
129
+ Channel.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
124
130
  Channel.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
125
131
  Channel.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
132
+ Channel.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
126
133
  Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
127
134
  Channel.struct_class = Types::Channel
128
135
 
@@ -156,6 +163,24 @@ module Aws::MediaPackage
156
163
  CmafPackageCreateOrUpdateParameters.add_member(:stream_selection, Shapes::ShapeRef.new(shape: StreamSelection, location_name: "streamSelection"))
157
164
  CmafPackageCreateOrUpdateParameters.struct_class = Types::CmafPackageCreateOrUpdateParameters
158
165
 
166
+ ConfigureLogsParameters.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
167
+ ConfigureLogsParameters.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
168
+ ConfigureLogsParameters.struct_class = Types::ConfigureLogsParameters
169
+
170
+ ConfigureLogsRequest.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
171
+ ConfigureLogsRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
172
+ ConfigureLogsRequest.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
173
+ ConfigureLogsRequest.struct_class = Types::ConfigureLogsRequest
174
+
175
+ ConfigureLogsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
176
+ ConfigureLogsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
177
+ ConfigureLogsResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
178
+ ConfigureLogsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
179
+ ConfigureLogsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
180
+ ConfigureLogsResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
181
+ ConfigureLogsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
182
+ ConfigureLogsResponse.struct_class = Types::ConfigureLogsResponse
183
+
159
184
  CreateChannelRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
160
185
  CreateChannelRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
161
186
  CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
@@ -163,8 +188,10 @@ module Aws::MediaPackage
163
188
 
164
189
  CreateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
165
190
  CreateChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
191
+ CreateChannelResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
166
192
  CreateChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
167
193
  CreateChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
194
+ CreateChannelResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
168
195
  CreateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
169
196
  CreateChannelResponse.struct_class = Types::CreateChannelResponse
170
197
 
@@ -256,8 +283,10 @@ module Aws::MediaPackage
256
283
 
257
284
  DescribeChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
258
285
  DescribeChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
286
+ DescribeChannelResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
259
287
  DescribeChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
260
288
  DescribeChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
289
+ DescribeChannelResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
261
290
  DescribeChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
262
291
  DescribeChannelResponse.struct_class = Types::DescribeChannelResponse
263
292
 
@@ -296,6 +325,9 @@ module Aws::MediaPackage
296
325
  DescribeOriginEndpointResponse.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
297
326
  DescribeOriginEndpointResponse.struct_class = Types::DescribeOriginEndpointResponse
298
327
 
328
+ EgressAccessLogs.add_member(:log_group_name, Shapes::ShapeRef.new(shape: __string, location_name: "logGroupName"))
329
+ EgressAccessLogs.struct_class = Types::EgressAccessLogs
330
+
299
331
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
300
332
  ForbiddenException.struct_class = Types::ForbiddenException
301
333
 
@@ -371,6 +403,9 @@ module Aws::MediaPackage
371
403
  IngestEndpoint.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
372
404
  IngestEndpoint.struct_class = Types::IngestEndpoint
373
405
 
406
+ IngressAccessLogs.add_member(:log_group_name, Shapes::ShapeRef.new(shape: __string, location_name: "logGroupName"))
407
+ IngressAccessLogs.struct_class = Types::IngressAccessLogs
408
+
374
409
  InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
375
410
  InternalServerErrorException.struct_class = Types::InternalServerErrorException
376
411
 
@@ -475,8 +510,10 @@ module Aws::MediaPackage
475
510
 
476
511
  RotateChannelCredentialsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
477
512
  RotateChannelCredentialsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
513
+ RotateChannelCredentialsResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
478
514
  RotateChannelCredentialsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
479
515
  RotateChannelCredentialsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
516
+ RotateChannelCredentialsResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
480
517
  RotateChannelCredentialsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
481
518
  RotateChannelCredentialsResponse.struct_class = Types::RotateChannelCredentialsResponse
482
519
 
@@ -486,8 +523,10 @@ module Aws::MediaPackage
486
523
 
487
524
  RotateIngestEndpointCredentialsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
488
525
  RotateIngestEndpointCredentialsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
526
+ RotateIngestEndpointCredentialsResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
489
527
  RotateIngestEndpointCredentialsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
490
528
  RotateIngestEndpointCredentialsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
529
+ RotateIngestEndpointCredentialsResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
491
530
  RotateIngestEndpointCredentialsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
492
531
  RotateIngestEndpointCredentialsResponse.struct_class = Types::RotateIngestEndpointCredentialsResponse
493
532
 
@@ -537,8 +576,10 @@ module Aws::MediaPackage
537
576
 
538
577
  UpdateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
539
578
  UpdateChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
579
+ UpdateChannelResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
540
580
  UpdateChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
541
581
  UpdateChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
582
+ UpdateChannelResponse.add_member(:ingress_access_logs, Shapes::ShapeRef.new(shape: IngressAccessLogs, location_name: "ingressAccessLogs"))
542
583
  UpdateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
543
584
  UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
544
585
 
@@ -612,6 +653,20 @@ module Aws::MediaPackage
612
653
  "uid" => "mediapackage-2017-10-12",
613
654
  }
614
655
 
656
+ api.add_operation(:configure_logs, Seahorse::Model::Operation.new.tap do |o|
657
+ o.name = "ConfigureLogs"
658
+ o.http_method = "PUT"
659
+ o.http_request_uri = "/channels/{id}/configure_logs"
660
+ o.input = Shapes::ShapeRef.new(shape: ConfigureLogsRequest)
661
+ o.output = Shapes::ShapeRef.new(shape: ConfigureLogsResponse)
662
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
663
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
664
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
665
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
666
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
667
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
668
+ end)
669
+
615
670
  api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
616
671
  o.name = "CreateChannel"
617
672
  o.http_method = "POST"
@@ -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
@@ -276,6 +286,98 @@ module Aws::MediaPackage
276
286
  include Aws::Structure
277
287
  end
278
288
 
289
+ # The configuration parameters for ingress and egress access logging.
290
+ #
291
+ # @!attribute [rw] egress_access_logs
292
+ # Configure egress access logging.
293
+ # @return [Types::EgressAccessLogs]
294
+ #
295
+ # @!attribute [rw] ingress_access_logs
296
+ # Configure ingress access logging.
297
+ # @return [Types::IngressAccessLogs]
298
+ #
299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsParameters AWS API Documentation
300
+ #
301
+ class ConfigureLogsParameters < Struct.new(
302
+ :egress_access_logs,
303
+ :ingress_access_logs)
304
+ SENSITIVE = []
305
+ include Aws::Structure
306
+ end
307
+
308
+ # @note When making an API call, you may pass ConfigureLogsRequest
309
+ # data as a hash:
310
+ #
311
+ # {
312
+ # egress_access_logs: {
313
+ # log_group_name: "__string",
314
+ # },
315
+ # id: "__string", # required
316
+ # ingress_access_logs: {
317
+ # log_group_name: "__string",
318
+ # },
319
+ # }
320
+ #
321
+ # @!attribute [rw] egress_access_logs
322
+ # Configure egress access logging.
323
+ # @return [Types::EgressAccessLogs]
324
+ #
325
+ # @!attribute [rw] id
326
+ # @return [String]
327
+ #
328
+ # @!attribute [rw] ingress_access_logs
329
+ # Configure ingress access logging.
330
+ # @return [Types::IngressAccessLogs]
331
+ #
332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsRequest AWS API Documentation
333
+ #
334
+ class ConfigureLogsRequest < Struct.new(
335
+ :egress_access_logs,
336
+ :id,
337
+ :ingress_access_logs)
338
+ SENSITIVE = []
339
+ include Aws::Structure
340
+ end
341
+
342
+ # @!attribute [rw] arn
343
+ # @return [String]
344
+ #
345
+ # @!attribute [rw] description
346
+ # @return [String]
347
+ #
348
+ # @!attribute [rw] egress_access_logs
349
+ # Configure egress access logging.
350
+ # @return [Types::EgressAccessLogs]
351
+ #
352
+ # @!attribute [rw] hls_ingest
353
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
354
+ # @return [Types::HlsIngest]
355
+ #
356
+ # @!attribute [rw] id
357
+ # @return [String]
358
+ #
359
+ # @!attribute [rw] ingress_access_logs
360
+ # Configure ingress access logging.
361
+ # @return [Types::IngressAccessLogs]
362
+ #
363
+ # @!attribute [rw] tags
364
+ # A collection of tags associated with a resource
365
+ # @return [Hash<String,String>]
366
+ #
367
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsResponse AWS API Documentation
368
+ #
369
+ class ConfigureLogsResponse < Struct.new(
370
+ :arn,
371
+ :description,
372
+ :egress_access_logs,
373
+ :hls_ingest,
374
+ :id,
375
+ :ingress_access_logs,
376
+ :tags)
377
+ SENSITIVE = []
378
+ include Aws::Structure
379
+ end
380
+
279
381
  # @note When making an API call, you may pass CreateChannelRequest
280
382
  # data as a hash:
281
383
  #
@@ -313,6 +415,10 @@ module Aws::MediaPackage
313
415
  # @!attribute [rw] description
314
416
  # @return [String]
315
417
  #
418
+ # @!attribute [rw] egress_access_logs
419
+ # Configure egress access logging.
420
+ # @return [Types::EgressAccessLogs]
421
+ #
316
422
  # @!attribute [rw] hls_ingest
317
423
  # An HTTP Live Streaming (HLS) ingest resource configuration.
318
424
  # @return [Types::HlsIngest]
@@ -320,6 +426,10 @@ module Aws::MediaPackage
320
426
  # @!attribute [rw] id
321
427
  # @return [String]
322
428
  #
429
+ # @!attribute [rw] ingress_access_logs
430
+ # Configure ingress access logging.
431
+ # @return [Types::IngressAccessLogs]
432
+ #
323
433
  # @!attribute [rw] tags
324
434
  # A collection of tags associated with a resource
325
435
  # @return [Hash<String,String>]
@@ -329,8 +439,10 @@ module Aws::MediaPackage
329
439
  class CreateChannelResponse < Struct.new(
330
440
  :arn,
331
441
  :description,
442
+ :egress_access_logs,
332
443
  :hls_ingest,
333
444
  :id,
445
+ :ingress_access_logs,
334
446
  :tags)
335
447
  SENSITIVE = []
336
448
  include Aws::Structure
@@ -960,6 +1072,10 @@ module Aws::MediaPackage
960
1072
  # @!attribute [rw] description
961
1073
  # @return [String]
962
1074
  #
1075
+ # @!attribute [rw] egress_access_logs
1076
+ # Configure egress access logging.
1077
+ # @return [Types::EgressAccessLogs]
1078
+ #
963
1079
  # @!attribute [rw] hls_ingest
964
1080
  # An HTTP Live Streaming (HLS) ingest resource configuration.
965
1081
  # @return [Types::HlsIngest]
@@ -967,6 +1083,10 @@ module Aws::MediaPackage
967
1083
  # @!attribute [rw] id
968
1084
  # @return [String]
969
1085
  #
1086
+ # @!attribute [rw] ingress_access_logs
1087
+ # Configure ingress access logging.
1088
+ # @return [Types::IngressAccessLogs]
1089
+ #
970
1090
  # @!attribute [rw] tags
971
1091
  # A collection of tags associated with a resource
972
1092
  # @return [Hash<String,String>]
@@ -976,8 +1096,10 @@ module Aws::MediaPackage
976
1096
  class DescribeChannelResponse < Struct.new(
977
1097
  :arn,
978
1098
  :description,
1099
+ :egress_access_logs,
979
1100
  :hls_ingest,
980
1101
  :id,
1102
+ :ingress_access_logs,
981
1103
  :tags)
982
1104
  SENSITIVE = []
983
1105
  include Aws::Structure
@@ -1142,6 +1264,27 @@ module Aws::MediaPackage
1142
1264
  include Aws::Structure
1143
1265
  end
1144
1266
 
1267
+ # Configure egress access logging.
1268
+ #
1269
+ # @note When making an API call, you may pass EgressAccessLogs
1270
+ # data as a hash:
1271
+ #
1272
+ # {
1273
+ # log_group_name: "__string",
1274
+ # }
1275
+ #
1276
+ # @!attribute [rw] log_group_name
1277
+ # Customize the log group name.
1278
+ # @return [String]
1279
+ #
1280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/EgressAccessLogs AWS API Documentation
1281
+ #
1282
+ class EgressAccessLogs < Struct.new(
1283
+ :log_group_name)
1284
+ SENSITIVE = []
1285
+ include Aws::Structure
1286
+ end
1287
+
1145
1288
  # @!attribute [rw] message
1146
1289
  # @return [String]
1147
1290
  #
@@ -1672,6 +1815,27 @@ module Aws::MediaPackage
1672
1815
  include Aws::Structure
1673
1816
  end
1674
1817
 
1818
+ # Configure ingress access logging.
1819
+ #
1820
+ # @note When making an API call, you may pass IngressAccessLogs
1821
+ # data as a hash:
1822
+ #
1823
+ # {
1824
+ # log_group_name: "__string",
1825
+ # }
1826
+ #
1827
+ # @!attribute [rw] log_group_name
1828
+ # Customize the log group name.
1829
+ # @return [String]
1830
+ #
1831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngressAccessLogs AWS API Documentation
1832
+ #
1833
+ class IngressAccessLogs < Struct.new(
1834
+ :log_group_name)
1835
+ SENSITIVE = []
1836
+ include Aws::Structure
1837
+ end
1838
+
1675
1839
  # @!attribute [rw] message
1676
1840
  # @return [String]
1677
1841
  #
@@ -2241,6 +2405,10 @@ module Aws::MediaPackage
2241
2405
  # @!attribute [rw] description
2242
2406
  # @return [String]
2243
2407
  #
2408
+ # @!attribute [rw] egress_access_logs
2409
+ # Configure egress access logging.
2410
+ # @return [Types::EgressAccessLogs]
2411
+ #
2244
2412
  # @!attribute [rw] hls_ingest
2245
2413
  # An HTTP Live Streaming (HLS) ingest resource configuration.
2246
2414
  # @return [Types::HlsIngest]
@@ -2248,6 +2416,10 @@ module Aws::MediaPackage
2248
2416
  # @!attribute [rw] id
2249
2417
  # @return [String]
2250
2418
  #
2419
+ # @!attribute [rw] ingress_access_logs
2420
+ # Configure ingress access logging.
2421
+ # @return [Types::IngressAccessLogs]
2422
+ #
2251
2423
  # @!attribute [rw] tags
2252
2424
  # A collection of tags associated with a resource
2253
2425
  # @return [Hash<String,String>]
@@ -2257,8 +2429,10 @@ module Aws::MediaPackage
2257
2429
  class RotateChannelCredentialsResponse < Struct.new(
2258
2430
  :arn,
2259
2431
  :description,
2432
+ :egress_access_logs,
2260
2433
  :hls_ingest,
2261
2434
  :id,
2435
+ :ingress_access_logs,
2262
2436
  :tags)
2263
2437
  SENSITIVE = []
2264
2438
  include Aws::Structure
@@ -2293,6 +2467,10 @@ module Aws::MediaPackage
2293
2467
  # @!attribute [rw] description
2294
2468
  # @return [String]
2295
2469
  #
2470
+ # @!attribute [rw] egress_access_logs
2471
+ # Configure egress access logging.
2472
+ # @return [Types::EgressAccessLogs]
2473
+ #
2296
2474
  # @!attribute [rw] hls_ingest
2297
2475
  # An HTTP Live Streaming (HLS) ingest resource configuration.
2298
2476
  # @return [Types::HlsIngest]
@@ -2300,6 +2478,10 @@ module Aws::MediaPackage
2300
2478
  # @!attribute [rw] id
2301
2479
  # @return [String]
2302
2480
  #
2481
+ # @!attribute [rw] ingress_access_logs
2482
+ # Configure ingress access logging.
2483
+ # @return [Types::IngressAccessLogs]
2484
+ #
2303
2485
  # @!attribute [rw] tags
2304
2486
  # A collection of tags associated with a resource
2305
2487
  # @return [Hash<String,String>]
@@ -2309,8 +2491,10 @@ module Aws::MediaPackage
2309
2491
  class RotateIngestEndpointCredentialsResponse < Struct.new(
2310
2492
  :arn,
2311
2493
  :description,
2494
+ :egress_access_logs,
2312
2495
  :hls_ingest,
2313
2496
  :id,
2497
+ :ingress_access_logs,
2314
2498
  :tags)
2315
2499
  SENSITIVE = []
2316
2500
  include Aws::Structure
@@ -2555,6 +2739,10 @@ module Aws::MediaPackage
2555
2739
  # @!attribute [rw] description
2556
2740
  # @return [String]
2557
2741
  #
2742
+ # @!attribute [rw] egress_access_logs
2743
+ # Configure egress access logging.
2744
+ # @return [Types::EgressAccessLogs]
2745
+ #
2558
2746
  # @!attribute [rw] hls_ingest
2559
2747
  # An HTTP Live Streaming (HLS) ingest resource configuration.
2560
2748
  # @return [Types::HlsIngest]
@@ -2562,6 +2750,10 @@ module Aws::MediaPackage
2562
2750
  # @!attribute [rw] id
2563
2751
  # @return [String]
2564
2752
  #
2753
+ # @!attribute [rw] ingress_access_logs
2754
+ # Configure ingress access logging.
2755
+ # @return [Types::IngressAccessLogs]
2756
+ #
2565
2757
  # @!attribute [rw] tags
2566
2758
  # A collection of tags associated with a resource
2567
2759
  # @return [Hash<String,String>]
@@ -2571,8 +2763,10 @@ module Aws::MediaPackage
2571
2763
  class UpdateChannelResponse < Struct.new(
2572
2764
  :arn,
2573
2765
  :description,
2766
+ :egress_access_logs,
2574
2767
  :hls_ingest,
2575
2768
  :id,
2769
+ :ingress_access_logs,
2576
2770
  :tags)
2577
2771
  SENSITIVE = []
2578
2772
  include Aws::Structure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediapackage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.35.0
4
+ version: 1.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core