aws-sdk-mediapackage 1.57.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81832e94b8ab613fb9e284158c1a00d668d9fcc44de7f28153e7c950e184cfbc
4
- data.tar.gz: 307e950ff9db0b553460bbfb23277b38819d4d8cdf9a8bcee5f23966fbcd8a33
3
+ metadata.gz: e6c50e5666c271fcb327903b363d656a25bde088f6aabb9be102b3bab174db2c
4
+ data.tar.gz: 5f7bf2ec8c5388977152d817edf92db8a51adb3986bde4be96c3125b9acf8883
5
5
  SHA512:
6
- metadata.gz: '09f54fa9745991220681609b8d00eae51282c3fb023e12860767a4770bd7939fda1d0483b2cbd5b574495bbb9030fcc2b90e6a71d8403a10ae8e8d32f9596eef'
7
- data.tar.gz: c79044159ac52feb0348c3159dd458b80dff413b2354e67ca15dd38753a7b4323e88caeb45e26f89af9927b807b7cdfe44d6cedb29e9fe1c43850e2a267d107d
6
+ metadata.gz: 598b5c633c4913427d56ee7294e2ffc7705c4e2d9a5b401a7c310c30329c168da0f6bb55a6db6df7d76a5ae5c416fda2bfabf9d6ef68f902fcfe17d29e2601dd
7
+ data.tar.gz: 966a1614767b0f8ce8cd7898a8264db2581ed6f853e1b29b373f68009721d9fb8097c35415021e2ab26873230d53ddc49b19bf5345b01ad90514b45447728570
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2023-03-08)
5
+ ------------------
6
+
7
+ * Feature - This release provides the date and time live resources were created.
8
+
9
+ 1.58.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.57.0 (2022-10-25)
5
17
  ------------------
6
18
 
@@ -300,4 +312,4 @@ Unreleased Changes
300
312
  1.0.0 (2017-11-27)
301
313
  ------------------
302
314
 
303
- * Feature - Initial release of `aws-sdk-mediapackage`.
315
+ * Feature - Initial release of `aws-sdk-mediapackage`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.59.0
@@ -381,6 +381,7 @@ module Aws::MediaPackage
381
381
  # @return [Types::ConfigureLogsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
382
382
  #
383
383
  # * {Types::ConfigureLogsResponse#arn #arn} => String
384
+ # * {Types::ConfigureLogsResponse#created_at #created_at} => String
384
385
  # * {Types::ConfigureLogsResponse#description #description} => String
385
386
  # * {Types::ConfigureLogsResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
386
387
  # * {Types::ConfigureLogsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
@@ -403,6 +404,7 @@ module Aws::MediaPackage
403
404
  # @example Response structure
404
405
  #
405
406
  # resp.arn #=> String
407
+ # resp.created_at #=> String
406
408
  # resp.description #=> String
407
409
  # resp.egress_access_logs.log_group_name #=> String
408
410
  # resp.hls_ingest.ingest_endpoints #=> Array
@@ -436,6 +438,7 @@ module Aws::MediaPackage
436
438
  # @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
437
439
  #
438
440
  # * {Types::CreateChannelResponse#arn #arn} => String
441
+ # * {Types::CreateChannelResponse#created_at #created_at} => String
439
442
  # * {Types::CreateChannelResponse#description #description} => String
440
443
  # * {Types::CreateChannelResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
441
444
  # * {Types::CreateChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
@@ -456,6 +459,7 @@ module Aws::MediaPackage
456
459
  # @example Response structure
457
460
  #
458
461
  # resp.arn #=> String
462
+ # resp.created_at #=> String
459
463
  # resp.description #=> String
460
464
  # resp.egress_access_logs.log_group_name #=> String
461
465
  # resp.hls_ingest.ingest_endpoints #=> Array
@@ -582,6 +586,7 @@ module Aws::MediaPackage
582
586
  # * {Types::CreateOriginEndpointResponse#authorization #authorization} => Types::Authorization
583
587
  # * {Types::CreateOriginEndpointResponse#channel_id #channel_id} => String
584
588
  # * {Types::CreateOriginEndpointResponse#cmaf_package #cmaf_package} => Types::CmafPackage
589
+ # * {Types::CreateOriginEndpointResponse#created_at #created_at} => String
585
590
  # * {Types::CreateOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
586
591
  # * {Types::CreateOriginEndpointResponse#description #description} => String
587
592
  # * {Types::CreateOriginEndpointResponse#hls_package #hls_package} => Types::HlsPackage
@@ -775,6 +780,7 @@ module Aws::MediaPackage
775
780
  # resp.cmaf_package.stream_selection.max_video_bits_per_second #=> Integer
776
781
  # resp.cmaf_package.stream_selection.min_video_bits_per_second #=> Integer
777
782
  # resp.cmaf_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
783
+ # resp.created_at #=> String
778
784
  # resp.dash_package.ad_triggers #=> Array
779
785
  # resp.dash_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
780
786
  # resp.dash_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
@@ -912,6 +918,7 @@ module Aws::MediaPackage
912
918
  # @return [Types::DescribeChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
913
919
  #
914
920
  # * {Types::DescribeChannelResponse#arn #arn} => String
921
+ # * {Types::DescribeChannelResponse#created_at #created_at} => String
915
922
  # * {Types::DescribeChannelResponse#description #description} => String
916
923
  # * {Types::DescribeChannelResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
917
924
  # * {Types::DescribeChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
@@ -928,6 +935,7 @@ module Aws::MediaPackage
928
935
  # @example Response structure
929
936
  #
930
937
  # resp.arn #=> String
938
+ # resp.created_at #=> String
931
939
  # resp.description #=> String
932
940
  # resp.egress_access_logs.log_group_name #=> String
933
941
  # resp.hls_ingest.ingest_endpoints #=> Array
@@ -1004,6 +1012,7 @@ module Aws::MediaPackage
1004
1012
  # * {Types::DescribeOriginEndpointResponse#authorization #authorization} => Types::Authorization
1005
1013
  # * {Types::DescribeOriginEndpointResponse#channel_id #channel_id} => String
1006
1014
  # * {Types::DescribeOriginEndpointResponse#cmaf_package #cmaf_package} => Types::CmafPackage
1015
+ # * {Types::DescribeOriginEndpointResponse#created_at #created_at} => String
1007
1016
  # * {Types::DescribeOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
1008
1017
  # * {Types::DescribeOriginEndpointResponse#description #description} => String
1009
1018
  # * {Types::DescribeOriginEndpointResponse#hls_package #hls_package} => Types::HlsPackage
@@ -1054,6 +1063,7 @@ module Aws::MediaPackage
1054
1063
  # resp.cmaf_package.stream_selection.max_video_bits_per_second #=> Integer
1055
1064
  # resp.cmaf_package.stream_selection.min_video_bits_per_second #=> Integer
1056
1065
  # resp.cmaf_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
1066
+ # resp.created_at #=> String
1057
1067
  # resp.dash_package.ad_triggers #=> Array
1058
1068
  # resp.dash_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
1059
1069
  # resp.dash_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
@@ -1166,6 +1176,7 @@ module Aws::MediaPackage
1166
1176
  #
1167
1177
  # resp.channels #=> Array
1168
1178
  # resp.channels[0].arn #=> String
1179
+ # resp.channels[0].created_at #=> String
1169
1180
  # resp.channels[0].description #=> String
1170
1181
  # resp.channels[0].egress_access_logs.log_group_name #=> String
1171
1182
  # resp.channels[0].hls_ingest.ingest_endpoints #=> Array
@@ -1295,6 +1306,7 @@ module Aws::MediaPackage
1295
1306
  # resp.origin_endpoints[0].cmaf_package.stream_selection.max_video_bits_per_second #=> Integer
1296
1307
  # resp.origin_endpoints[0].cmaf_package.stream_selection.min_video_bits_per_second #=> Integer
1297
1308
  # resp.origin_endpoints[0].cmaf_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
1309
+ # resp.origin_endpoints[0].created_at #=> String
1298
1310
  # resp.origin_endpoints[0].dash_package.ad_triggers #=> Array
1299
1311
  # resp.origin_endpoints[0].dash_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
1300
1312
  # resp.origin_endpoints[0].dash_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
@@ -1418,6 +1430,7 @@ module Aws::MediaPackage
1418
1430
  # @return [Types::RotateChannelCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1419
1431
  #
1420
1432
  # * {Types::RotateChannelCredentialsResponse#arn #arn} => String
1433
+ # * {Types::RotateChannelCredentialsResponse#created_at #created_at} => String
1421
1434
  # * {Types::RotateChannelCredentialsResponse#description #description} => String
1422
1435
  # * {Types::RotateChannelCredentialsResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
1423
1436
  # * {Types::RotateChannelCredentialsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
@@ -1434,6 +1447,7 @@ module Aws::MediaPackage
1434
1447
  # @example Response structure
1435
1448
  #
1436
1449
  # resp.arn #=> String
1450
+ # resp.created_at #=> String
1437
1451
  # resp.description #=> String
1438
1452
  # resp.egress_access_logs.log_group_name #=> String
1439
1453
  # resp.hls_ingest.ingest_endpoints #=> Array
@@ -1465,6 +1479,7 @@ module Aws::MediaPackage
1465
1479
  # @return [Types::RotateIngestEndpointCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1466
1480
  #
1467
1481
  # * {Types::RotateIngestEndpointCredentialsResponse#arn #arn} => String
1482
+ # * {Types::RotateIngestEndpointCredentialsResponse#created_at #created_at} => String
1468
1483
  # * {Types::RotateIngestEndpointCredentialsResponse#description #description} => String
1469
1484
  # * {Types::RotateIngestEndpointCredentialsResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
1470
1485
  # * {Types::RotateIngestEndpointCredentialsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
@@ -1482,6 +1497,7 @@ module Aws::MediaPackage
1482
1497
  # @example Response structure
1483
1498
  #
1484
1499
  # resp.arn #=> String
1500
+ # resp.created_at #=> String
1485
1501
  # resp.description #=> String
1486
1502
  # resp.egress_access_logs.log_group_name #=> String
1487
1503
  # resp.hls_ingest.ingest_endpoints #=> Array
@@ -1558,6 +1574,7 @@ module Aws::MediaPackage
1558
1574
  # @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1559
1575
  #
1560
1576
  # * {Types::UpdateChannelResponse#arn #arn} => String
1577
+ # * {Types::UpdateChannelResponse#created_at #created_at} => String
1561
1578
  # * {Types::UpdateChannelResponse#description #description} => String
1562
1579
  # * {Types::UpdateChannelResponse#egress_access_logs #egress_access_logs} => Types::EgressAccessLogs
1563
1580
  # * {Types::UpdateChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
@@ -1575,6 +1592,7 @@ module Aws::MediaPackage
1575
1592
  # @example Response structure
1576
1593
  #
1577
1594
  # resp.arn #=> String
1595
+ # resp.created_at #=> String
1578
1596
  # resp.description #=> String
1579
1597
  # resp.egress_access_logs.log_group_name #=> String
1580
1598
  # resp.hls_ingest.ingest_endpoints #=> Array
@@ -1633,6 +1651,7 @@ module Aws::MediaPackage
1633
1651
  # * {Types::UpdateOriginEndpointResponse#authorization #authorization} => Types::Authorization
1634
1652
  # * {Types::UpdateOriginEndpointResponse#channel_id #channel_id} => String
1635
1653
  # * {Types::UpdateOriginEndpointResponse#cmaf_package #cmaf_package} => Types::CmafPackage
1654
+ # * {Types::UpdateOriginEndpointResponse#created_at #created_at} => String
1636
1655
  # * {Types::UpdateOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
1637
1656
  # * {Types::UpdateOriginEndpointResponse#description #description} => String
1638
1657
  # * {Types::UpdateOriginEndpointResponse#hls_package #hls_package} => Types::HlsPackage
@@ -1822,6 +1841,7 @@ module Aws::MediaPackage
1822
1841
  # resp.cmaf_package.stream_selection.max_video_bits_per_second #=> Integer
1823
1842
  # resp.cmaf_package.stream_selection.min_video_bits_per_second #=> Integer
1824
1843
  # resp.cmaf_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
1844
+ # resp.created_at #=> String
1825
1845
  # resp.dash_package.ad_triggers #=> Array
1826
1846
  # resp.dash_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
1827
1847
  # resp.dash_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
@@ -1923,7 +1943,7 @@ module Aws::MediaPackage
1923
1943
  params: params,
1924
1944
  config: config)
1925
1945
  context[:gem_name] = 'aws-sdk-mediapackage'
1926
- context[:gem_version] = '1.57.0'
1946
+ context[:gem_version] = '1.59.0'
1927
1947
  Seahorse::Client::Request.new(handlers, context)
1928
1948
  end
1929
1949
 
@@ -129,6 +129,7 @@ module Aws::MediaPackage
129
129
  Authorization.struct_class = Types::Authorization
130
130
 
131
131
  Channel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
132
+ Channel.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
132
133
  Channel.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
133
134
  Channel.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
134
135
  Channel.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
@@ -179,6 +180,7 @@ module Aws::MediaPackage
179
180
  ConfigureLogsRequest.struct_class = Types::ConfigureLogsRequest
180
181
 
181
182
  ConfigureLogsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
183
+ ConfigureLogsResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
182
184
  ConfigureLogsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
183
185
  ConfigureLogsResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
184
186
  ConfigureLogsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
@@ -193,6 +195,7 @@ module Aws::MediaPackage
193
195
  CreateChannelRequest.struct_class = Types::CreateChannelRequest
194
196
 
195
197
  CreateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
198
+ CreateChannelResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
196
199
  CreateChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
197
200
  CreateChannelResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
198
201
  CreateChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
@@ -239,6 +242,7 @@ module Aws::MediaPackage
239
242
  CreateOriginEndpointResponse.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
240
243
  CreateOriginEndpointResponse.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
241
244
  CreateOriginEndpointResponse.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
245
+ CreateOriginEndpointResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
242
246
  CreateOriginEndpointResponse.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
243
247
  CreateOriginEndpointResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
244
248
  CreateOriginEndpointResponse.add_member(:hls_package, Shapes::ShapeRef.new(shape: HlsPackage, location_name: "hlsPackage"))
@@ -289,6 +293,7 @@ module Aws::MediaPackage
289
293
  DescribeChannelRequest.struct_class = Types::DescribeChannelRequest
290
294
 
291
295
  DescribeChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
296
+ DescribeChannelResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
292
297
  DescribeChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
293
298
  DescribeChannelResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
294
299
  DescribeChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
@@ -318,6 +323,7 @@ module Aws::MediaPackage
318
323
  DescribeOriginEndpointResponse.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
319
324
  DescribeOriginEndpointResponse.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
320
325
  DescribeOriginEndpointResponse.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
326
+ DescribeOriginEndpointResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
321
327
  DescribeOriginEndpointResponse.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
322
328
  DescribeOriginEndpointResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
323
329
  DescribeOriginEndpointResponse.add_member(:hls_package, Shapes::ShapeRef.new(shape: HlsPackage, location_name: "hlsPackage"))
@@ -470,6 +476,7 @@ module Aws::MediaPackage
470
476
  OriginEndpoint.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
471
477
  OriginEndpoint.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
472
478
  OriginEndpoint.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
479
+ OriginEndpoint.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
473
480
  OriginEndpoint.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
474
481
  OriginEndpoint.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
475
482
  OriginEndpoint.add_member(:hls_package, Shapes::ShapeRef.new(shape: HlsPackage, location_name: "hlsPackage"))
@@ -521,6 +528,7 @@ module Aws::MediaPackage
521
528
  RotateChannelCredentialsRequest.struct_class = Types::RotateChannelCredentialsRequest
522
529
 
523
530
  RotateChannelCredentialsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
531
+ RotateChannelCredentialsResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
524
532
  RotateChannelCredentialsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
525
533
  RotateChannelCredentialsResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
526
534
  RotateChannelCredentialsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
@@ -534,6 +542,7 @@ module Aws::MediaPackage
534
542
  RotateIngestEndpointCredentialsRequest.struct_class = Types::RotateIngestEndpointCredentialsRequest
535
543
 
536
544
  RotateIngestEndpointCredentialsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
545
+ RotateIngestEndpointCredentialsResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
537
546
  RotateIngestEndpointCredentialsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
538
547
  RotateIngestEndpointCredentialsResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
539
548
  RotateIngestEndpointCredentialsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
@@ -588,6 +597,7 @@ module Aws::MediaPackage
588
597
  UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
589
598
 
590
599
  UpdateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
600
+ UpdateChannelResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
591
601
  UpdateChannelResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
592
602
  UpdateChannelResponse.add_member(:egress_access_logs, Shapes::ShapeRef.new(shape: EgressAccessLogs, location_name: "egressAccessLogs"))
593
603
  UpdateChannelResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
@@ -614,6 +624,7 @@ module Aws::MediaPackage
614
624
  UpdateOriginEndpointResponse.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
615
625
  UpdateOriginEndpointResponse.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
616
626
  UpdateOriginEndpointResponse.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
627
+ UpdateOriginEndpointResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
617
628
  UpdateOriginEndpointResponse.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
618
629
  UpdateOriginEndpointResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
619
630
  UpdateOriginEndpointResponse.add_member(:hls_package, Shapes::ShapeRef.new(shape: HlsPackage, location_name: "hlsPackage"))
@@ -9,104 +9,46 @@
9
9
 
10
10
  module Aws::MediaPackage
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://mediapackage-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://mediapackage-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://mediapackage.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://mediapackage.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
42
- dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
43
- UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZi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