aws-sdk-mediapackage 1.24.0 → 1.25.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 +4 -4
- data/lib/aws-sdk-mediapackage.rb +1 -1
- data/lib/aws-sdk-mediapackage/client.rb +26 -1
- data/lib/aws-sdk-mediapackage/client_api.rb +13 -0
- data/lib/aws-sdk-mediapackage/types.rb +77 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a4defb839ea35ec575b6895a852a84d2f06f21a
|
4
|
+
data.tar.gz: 4612a59fef780c3dd03ab23b9015097842e1caf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3605311ce4f42181c7a9233619219b2d2ca210c69c9e94b5a6044b80ae4d2f472ed60ca9774e6a1899b211fd17c332191795d8d84ebc78dd2653da183b63e6f4
|
7
|
+
data.tar.gz: f1f46c96762f59e9ed9b4d0c9e0e3097fd4f0542d2feea1cfb84d3c32743d4f8bdb889cae228514171ba3d4eab3b4088e2ca280d8f93e089b8a2ed9d07c9d21e
|
data/lib/aws-sdk-mediapackage.rb
CHANGED
@@ -368,6 +368,9 @@ module Aws::MediaPackage
|
|
368
368
|
|
369
369
|
# Creates a new OriginEndpoint record.
|
370
370
|
#
|
371
|
+
# @option params [Types::Authorization] :authorization
|
372
|
+
# CDN Authorization credentials
|
373
|
+
#
|
371
374
|
# @option params [required, String] :channel_id
|
372
375
|
#
|
373
376
|
# @option params [Types::CmafPackageCreateOrUpdateParameters] :cmaf_package
|
@@ -402,6 +405,7 @@ module Aws::MediaPackage
|
|
402
405
|
# @return [Types::CreateOriginEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
403
406
|
#
|
404
407
|
# * {Types::CreateOriginEndpointResponse#arn #arn} => String
|
408
|
+
# * {Types::CreateOriginEndpointResponse#authorization #authorization} => Types::Authorization
|
405
409
|
# * {Types::CreateOriginEndpointResponse#channel_id #channel_id} => String
|
406
410
|
# * {Types::CreateOriginEndpointResponse#cmaf_package #cmaf_package} => Types::CmafPackage
|
407
411
|
# * {Types::CreateOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
|
@@ -420,6 +424,10 @@ module Aws::MediaPackage
|
|
420
424
|
# @example Request syntax with placeholder values
|
421
425
|
#
|
422
426
|
# resp = client.create_origin_endpoint({
|
427
|
+
# authorization: {
|
428
|
+
# cdn_identifier_secret: "__string", # required
|
429
|
+
# secrets_role_arn: "__string", # required
|
430
|
+
# },
|
423
431
|
# channel_id: "__string", # required
|
424
432
|
# cmaf_package: {
|
425
433
|
# encryption: {
|
@@ -543,6 +551,8 @@ module Aws::MediaPackage
|
|
543
551
|
# @example Response structure
|
544
552
|
#
|
545
553
|
# resp.arn #=> String
|
554
|
+
# resp.authorization.cdn_identifier_secret #=> String
|
555
|
+
# resp.authorization.secrets_role_arn #=> String
|
546
556
|
# resp.channel_id #=> String
|
547
557
|
# resp.cmaf_package.encryption.key_rotation_interval_seconds #=> Integer
|
548
558
|
# resp.cmaf_package.encryption.speke_key_provider.certificate_arn #=> String
|
@@ -777,6 +787,7 @@ module Aws::MediaPackage
|
|
777
787
|
# @return [Types::DescribeOriginEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
778
788
|
#
|
779
789
|
# * {Types::DescribeOriginEndpointResponse#arn #arn} => String
|
790
|
+
# * {Types::DescribeOriginEndpointResponse#authorization #authorization} => Types::Authorization
|
780
791
|
# * {Types::DescribeOriginEndpointResponse#channel_id #channel_id} => String
|
781
792
|
# * {Types::DescribeOriginEndpointResponse#cmaf_package #cmaf_package} => Types::CmafPackage
|
782
793
|
# * {Types::DescribeOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
|
@@ -801,6 +812,8 @@ module Aws::MediaPackage
|
|
801
812
|
# @example Response structure
|
802
813
|
#
|
803
814
|
# resp.arn #=> String
|
815
|
+
# resp.authorization.cdn_identifier_secret #=> String
|
816
|
+
# resp.authorization.secrets_role_arn #=> String
|
804
817
|
# resp.channel_id #=> String
|
805
818
|
# resp.cmaf_package.encryption.key_rotation_interval_seconds #=> Integer
|
806
819
|
# resp.cmaf_package.encryption.speke_key_provider.certificate_arn #=> String
|
@@ -1018,6 +1031,8 @@ module Aws::MediaPackage
|
|
1018
1031
|
# resp.next_token #=> String
|
1019
1032
|
# resp.origin_endpoints #=> Array
|
1020
1033
|
# resp.origin_endpoints[0].arn #=> String
|
1034
|
+
# resp.origin_endpoints[0].authorization.cdn_identifier_secret #=> String
|
1035
|
+
# resp.origin_endpoints[0].authorization.secrets_role_arn #=> String
|
1021
1036
|
# resp.origin_endpoints[0].channel_id #=> String
|
1022
1037
|
# resp.origin_endpoints[0].cmaf_package.encryption.key_rotation_interval_seconds #=> Integer
|
1023
1038
|
# resp.origin_endpoints[0].cmaf_package.encryption.speke_key_provider.certificate_arn #=> String
|
@@ -1321,6 +1336,9 @@ module Aws::MediaPackage
|
|
1321
1336
|
|
1322
1337
|
# Updates an existing OriginEndpoint.
|
1323
1338
|
#
|
1339
|
+
# @option params [Types::Authorization] :authorization
|
1340
|
+
# CDN Authorization credentials
|
1341
|
+
#
|
1324
1342
|
# @option params [Types::CmafPackageCreateOrUpdateParameters] :cmaf_package
|
1325
1343
|
# A Common Media Application Format (CMAF) packaging configuration.
|
1326
1344
|
#
|
@@ -1350,6 +1368,7 @@ module Aws::MediaPackage
|
|
1350
1368
|
# @return [Types::UpdateOriginEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1351
1369
|
#
|
1352
1370
|
# * {Types::UpdateOriginEndpointResponse#arn #arn} => String
|
1371
|
+
# * {Types::UpdateOriginEndpointResponse#authorization #authorization} => Types::Authorization
|
1353
1372
|
# * {Types::UpdateOriginEndpointResponse#channel_id #channel_id} => String
|
1354
1373
|
# * {Types::UpdateOriginEndpointResponse#cmaf_package #cmaf_package} => Types::CmafPackage
|
1355
1374
|
# * {Types::UpdateOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
|
@@ -1368,6 +1387,10 @@ module Aws::MediaPackage
|
|
1368
1387
|
# @example Request syntax with placeholder values
|
1369
1388
|
#
|
1370
1389
|
# resp = client.update_origin_endpoint({
|
1390
|
+
# authorization: {
|
1391
|
+
# cdn_identifier_secret: "__string", # required
|
1392
|
+
# secrets_role_arn: "__string", # required
|
1393
|
+
# },
|
1371
1394
|
# cmaf_package: {
|
1372
1395
|
# encryption: {
|
1373
1396
|
# key_rotation_interval_seconds: 1,
|
@@ -1487,6 +1510,8 @@ module Aws::MediaPackage
|
|
1487
1510
|
# @example Response structure
|
1488
1511
|
#
|
1489
1512
|
# resp.arn #=> String
|
1513
|
+
# resp.authorization.cdn_identifier_secret #=> String
|
1514
|
+
# resp.authorization.secrets_role_arn #=> String
|
1490
1515
|
# resp.channel_id #=> String
|
1491
1516
|
# resp.cmaf_package.encryption.key_rotation_interval_seconds #=> Integer
|
1492
1517
|
# resp.cmaf_package.encryption.speke_key_provider.certificate_arn #=> String
|
@@ -1600,7 +1625,7 @@ module Aws::MediaPackage
|
|
1600
1625
|
params: params,
|
1601
1626
|
config: config)
|
1602
1627
|
context[:gem_name] = 'aws-sdk-mediapackage'
|
1603
|
-
context[:gem_version] = '1.
|
1628
|
+
context[:gem_version] = '1.25.0'
|
1604
1629
|
Seahorse::Client::Request.new(handlers, context)
|
1605
1630
|
end
|
1606
1631
|
|
@@ -14,6 +14,7 @@ module Aws::MediaPackage
|
|
14
14
|
AdMarkers = Shapes::StringShape.new(name: 'AdMarkers')
|
15
15
|
AdTriggers = Shapes::ListShape.new(name: 'AdTriggers')
|
16
16
|
AdsOnDeliveryRestrictions = Shapes::StringShape.new(name: 'AdsOnDeliveryRestrictions')
|
17
|
+
Authorization = Shapes::StructureShape.new(name: 'Authorization')
|
17
18
|
Channel = Shapes::StructureShape.new(name: 'Channel')
|
18
19
|
ChannelCreateParameters = Shapes::StructureShape.new(name: 'ChannelCreateParameters')
|
19
20
|
ChannelList = Shapes::StructureShape.new(name: 'ChannelList')
|
@@ -111,6 +112,10 @@ module Aws::MediaPackage
|
|
111
112
|
|
112
113
|
AdTriggers.member = Shapes::ShapeRef.new(shape: __AdTriggersElement)
|
113
114
|
|
115
|
+
Authorization.add_member(:cdn_identifier_secret, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "cdnIdentifierSecret"))
|
116
|
+
Authorization.add_member(:secrets_role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "secretsRoleArn"))
|
117
|
+
Authorization.struct_class = Types::Authorization
|
118
|
+
|
114
119
|
Channel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
115
120
|
Channel.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
116
121
|
Channel.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
|
@@ -178,6 +183,7 @@ module Aws::MediaPackage
|
|
178
183
|
CreateHarvestJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
179
184
|
CreateHarvestJobResponse.struct_class = Types::CreateHarvestJobResponse
|
180
185
|
|
186
|
+
CreateOriginEndpointRequest.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
|
181
187
|
CreateOriginEndpointRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "channelId"))
|
182
188
|
CreateOriginEndpointRequest.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackageCreateOrUpdateParameters, location_name: "cmafPackage"))
|
183
189
|
CreateOriginEndpointRequest.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
|
@@ -194,6 +200,7 @@ module Aws::MediaPackage
|
|
194
200
|
CreateOriginEndpointRequest.struct_class = Types::CreateOriginEndpointRequest
|
195
201
|
|
196
202
|
CreateOriginEndpointResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
203
|
+
CreateOriginEndpointResponse.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
|
197
204
|
CreateOriginEndpointResponse.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
|
198
205
|
CreateOriginEndpointResponse.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
|
199
206
|
CreateOriginEndpointResponse.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
|
@@ -267,6 +274,7 @@ module Aws::MediaPackage
|
|
267
274
|
DescribeOriginEndpointRequest.struct_class = Types::DescribeOriginEndpointRequest
|
268
275
|
|
269
276
|
DescribeOriginEndpointResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
277
|
+
DescribeOriginEndpointResponse.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
|
270
278
|
DescribeOriginEndpointResponse.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
|
271
279
|
DescribeOriginEndpointResponse.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
|
272
280
|
DescribeOriginEndpointResponse.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
|
@@ -407,6 +415,7 @@ module Aws::MediaPackage
|
|
407
415
|
NotFoundException.struct_class = Types::NotFoundException
|
408
416
|
|
409
417
|
OriginEndpoint.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
418
|
+
OriginEndpoint.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
|
410
419
|
OriginEndpoint.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
|
411
420
|
OriginEndpoint.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
|
412
421
|
OriginEndpoint.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
|
@@ -423,6 +432,7 @@ module Aws::MediaPackage
|
|
423
432
|
OriginEndpoint.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
|
424
433
|
OriginEndpoint.struct_class = Types::OriginEndpoint
|
425
434
|
|
435
|
+
OriginEndpointCreateParameters.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
|
426
436
|
OriginEndpointCreateParameters.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "channelId"))
|
427
437
|
OriginEndpointCreateParameters.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackageCreateOrUpdateParameters, location_name: "cmafPackage"))
|
428
438
|
OriginEndpointCreateParameters.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
|
@@ -442,6 +452,7 @@ module Aws::MediaPackage
|
|
442
452
|
OriginEndpointList.add_member(:origin_endpoints, Shapes::ShapeRef.new(shape: __listOfOriginEndpoint, location_name: "originEndpoints"))
|
443
453
|
OriginEndpointList.struct_class = Types::OriginEndpointList
|
444
454
|
|
455
|
+
OriginEndpointUpdateParameters.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
|
445
456
|
OriginEndpointUpdateParameters.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackageCreateOrUpdateParameters, location_name: "cmafPackage"))
|
446
457
|
OriginEndpointUpdateParameters.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
|
447
458
|
OriginEndpointUpdateParameters.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
@@ -526,6 +537,7 @@ module Aws::MediaPackage
|
|
526
537
|
UpdateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
527
538
|
UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
|
528
539
|
|
540
|
+
UpdateOriginEndpointRequest.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
|
529
541
|
UpdateOriginEndpointRequest.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackageCreateOrUpdateParameters, location_name: "cmafPackage"))
|
530
542
|
UpdateOriginEndpointRequest.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
|
531
543
|
UpdateOriginEndpointRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
@@ -540,6 +552,7 @@ module Aws::MediaPackage
|
|
540
552
|
UpdateOriginEndpointRequest.struct_class = Types::UpdateOriginEndpointRequest
|
541
553
|
|
542
554
|
UpdateOriginEndpointResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
555
|
+
UpdateOriginEndpointResponse.add_member(:authorization, Shapes::ShapeRef.new(shape: Authorization, location_name: "authorization"))
|
543
556
|
UpdateOriginEndpointResponse.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
|
544
557
|
UpdateOriginEndpointResponse.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackage, location_name: "cmafPackage"))
|
545
558
|
UpdateOriginEndpointResponse.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
|
@@ -8,6 +8,35 @@
|
|
8
8
|
module Aws::MediaPackage
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# CDN Authorization credentials
|
12
|
+
#
|
13
|
+
# @note When making an API call, you may pass Authorization
|
14
|
+
# data as a hash:
|
15
|
+
#
|
16
|
+
# {
|
17
|
+
# cdn_identifier_secret: "__string", # required
|
18
|
+
# secrets_role_arn: "__string", # required
|
19
|
+
# }
|
20
|
+
#
|
21
|
+
# @!attribute [rw] cdn_identifier_secret
|
22
|
+
# The Amazon Resource Name (ARN) for the secret in Secrets Manager
|
23
|
+
# that your Content Distribution Network (CDN) uses for authorization
|
24
|
+
# to access your endpoint.
|
25
|
+
# @return [String]
|
26
|
+
#
|
27
|
+
# @!attribute [rw] secrets_role_arn
|
28
|
+
# The Amazon Resource Name (ARN) for the IAM role that allows
|
29
|
+
# MediaPackage to communicate with AWS Secrets Manager.
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/Authorization AWS API Documentation
|
33
|
+
#
|
34
|
+
class Authorization < Struct.new(
|
35
|
+
:cdn_identifier_secret,
|
36
|
+
:secrets_role_arn)
|
37
|
+
include Aws::Structure
|
38
|
+
end
|
39
|
+
|
11
40
|
# A Channel resource configuration.
|
12
41
|
#
|
13
42
|
# @!attribute [rw] arn
|
@@ -386,6 +415,10 @@ module Aws::MediaPackage
|
|
386
415
|
# data as a hash:
|
387
416
|
#
|
388
417
|
# {
|
418
|
+
# authorization: {
|
419
|
+
# cdn_identifier_secret: "__string", # required
|
420
|
+
# secrets_role_arn: "__string", # required
|
421
|
+
# },
|
389
422
|
# channel_id: "__string", # required
|
390
423
|
# cmaf_package: {
|
391
424
|
# encryption: {
|
@@ -506,6 +539,10 @@ module Aws::MediaPackage
|
|
506
539
|
# whitelist: ["__string"],
|
507
540
|
# }
|
508
541
|
#
|
542
|
+
# @!attribute [rw] authorization
|
543
|
+
# CDN Authorization credentials
|
544
|
+
# @return [Types::Authorization]
|
545
|
+
#
|
509
546
|
# @!attribute [rw] channel_id
|
510
547
|
# @return [String]
|
511
548
|
#
|
@@ -554,6 +591,7 @@ module Aws::MediaPackage
|
|
554
591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointRequest AWS API Documentation
|
555
592
|
#
|
556
593
|
class CreateOriginEndpointRequest < Struct.new(
|
594
|
+
:authorization,
|
557
595
|
:channel_id,
|
558
596
|
:cmaf_package,
|
559
597
|
:dash_package,
|
@@ -573,6 +611,10 @@ module Aws::MediaPackage
|
|
573
611
|
# @!attribute [rw] arn
|
574
612
|
# @return [String]
|
575
613
|
#
|
614
|
+
# @!attribute [rw] authorization
|
615
|
+
# CDN Authorization credentials
|
616
|
+
# @return [Types::Authorization]
|
617
|
+
#
|
576
618
|
# @!attribute [rw] channel_id
|
577
619
|
# @return [String]
|
578
620
|
#
|
@@ -625,6 +667,7 @@ module Aws::MediaPackage
|
|
625
667
|
#
|
626
668
|
class CreateOriginEndpointResponse < Struct.new(
|
627
669
|
:arn,
|
670
|
+
:authorization,
|
628
671
|
:channel_id,
|
629
672
|
:cmaf_package,
|
630
673
|
:dash_package,
|
@@ -983,6 +1026,10 @@ module Aws::MediaPackage
|
|
983
1026
|
# @!attribute [rw] arn
|
984
1027
|
# @return [String]
|
985
1028
|
#
|
1029
|
+
# @!attribute [rw] authorization
|
1030
|
+
# CDN Authorization credentials
|
1031
|
+
# @return [Types::Authorization]
|
1032
|
+
#
|
986
1033
|
# @!attribute [rw] channel_id
|
987
1034
|
# @return [String]
|
988
1035
|
#
|
@@ -1035,6 +1082,7 @@ module Aws::MediaPackage
|
|
1035
1082
|
#
|
1036
1083
|
class DescribeOriginEndpointResponse < Struct.new(
|
1037
1084
|
:arn,
|
1085
|
+
:authorization,
|
1038
1086
|
:channel_id,
|
1039
1087
|
:cmaf_package,
|
1040
1088
|
:dash_package,
|
@@ -1817,6 +1865,10 @@ module Aws::MediaPackage
|
|
1817
1865
|
# The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
|
1818
1866
|
# @return [String]
|
1819
1867
|
#
|
1868
|
+
# @!attribute [rw] authorization
|
1869
|
+
# CDN Authorization credentials
|
1870
|
+
# @return [Types::Authorization]
|
1871
|
+
#
|
1820
1872
|
# @!attribute [rw] channel_id
|
1821
1873
|
# The ID of the Channel the OriginEndpoint is associated with.
|
1822
1874
|
# @return [String]
|
@@ -1887,6 +1939,7 @@ module Aws::MediaPackage
|
|
1887
1939
|
#
|
1888
1940
|
class OriginEndpoint < Struct.new(
|
1889
1941
|
:arn,
|
1942
|
+
:authorization,
|
1890
1943
|
:channel_id,
|
1891
1944
|
:cmaf_package,
|
1892
1945
|
:dash_package,
|
@@ -1906,6 +1959,10 @@ module Aws::MediaPackage
|
|
1906
1959
|
|
1907
1960
|
# Configuration parameters for a new OriginEndpoint.
|
1908
1961
|
#
|
1962
|
+
# @!attribute [rw] authorization
|
1963
|
+
# CDN Authorization credentials
|
1964
|
+
# @return [Types::Authorization]
|
1965
|
+
#
|
1909
1966
|
# @!attribute [rw] channel_id
|
1910
1967
|
# The ID of the Channel that the OriginEndpoint will be associated
|
1911
1968
|
# with. This cannot be changed after the OriginEndpoint is created.
|
@@ -1974,6 +2031,7 @@ module Aws::MediaPackage
|
|
1974
2031
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpointCreateParameters AWS API Documentation
|
1975
2032
|
#
|
1976
2033
|
class OriginEndpointCreateParameters < Struct.new(
|
2034
|
+
:authorization,
|
1977
2035
|
:channel_id,
|
1978
2036
|
:cmaf_package,
|
1979
2037
|
:dash_package,
|
@@ -2011,6 +2069,10 @@ module Aws::MediaPackage
|
|
2011
2069
|
|
2012
2070
|
# Configuration parameters for updating an existing OriginEndpoint.
|
2013
2071
|
#
|
2072
|
+
# @!attribute [rw] authorization
|
2073
|
+
# CDN Authorization credentials
|
2074
|
+
# @return [Types::Authorization]
|
2075
|
+
#
|
2014
2076
|
# @!attribute [rw] cmaf_package
|
2015
2077
|
# A Common Media Application Format (CMAF) packaging configuration.
|
2016
2078
|
# @return [Types::CmafPackageCreateOrUpdateParameters]
|
@@ -2064,6 +2126,7 @@ module Aws::MediaPackage
|
|
2064
2126
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpointUpdateParameters AWS API Documentation
|
2065
2127
|
#
|
2066
2128
|
class OriginEndpointUpdateParameters < Struct.new(
|
2129
|
+
:authorization,
|
2067
2130
|
:cmaf_package,
|
2068
2131
|
:dash_package,
|
2069
2132
|
:description,
|
@@ -2427,6 +2490,10 @@ module Aws::MediaPackage
|
|
2427
2490
|
# data as a hash:
|
2428
2491
|
#
|
2429
2492
|
# {
|
2493
|
+
# authorization: {
|
2494
|
+
# cdn_identifier_secret: "__string", # required
|
2495
|
+
# secrets_role_arn: "__string", # required
|
2496
|
+
# },
|
2430
2497
|
# cmaf_package: {
|
2431
2498
|
# encryption: {
|
2432
2499
|
# key_rotation_interval_seconds: 1,
|
@@ -2543,6 +2610,10 @@ module Aws::MediaPackage
|
|
2543
2610
|
# whitelist: ["__string"],
|
2544
2611
|
# }
|
2545
2612
|
#
|
2613
|
+
# @!attribute [rw] authorization
|
2614
|
+
# CDN Authorization credentials
|
2615
|
+
# @return [Types::Authorization]
|
2616
|
+
#
|
2546
2617
|
# @!attribute [rw] cmaf_package
|
2547
2618
|
# A Common Media Application Format (CMAF) packaging configuration.
|
2548
2619
|
# @return [Types::CmafPackageCreateOrUpdateParameters]
|
@@ -2584,6 +2655,7 @@ module Aws::MediaPackage
|
|
2584
2655
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointRequest AWS API Documentation
|
2585
2656
|
#
|
2586
2657
|
class UpdateOriginEndpointRequest < Struct.new(
|
2658
|
+
:authorization,
|
2587
2659
|
:cmaf_package,
|
2588
2660
|
:dash_package,
|
2589
2661
|
:description,
|
@@ -2601,6 +2673,10 @@ module Aws::MediaPackage
|
|
2601
2673
|
# @!attribute [rw] arn
|
2602
2674
|
# @return [String]
|
2603
2675
|
#
|
2676
|
+
# @!attribute [rw] authorization
|
2677
|
+
# CDN Authorization credentials
|
2678
|
+
# @return [Types::Authorization]
|
2679
|
+
#
|
2604
2680
|
# @!attribute [rw] channel_id
|
2605
2681
|
# @return [String]
|
2606
2682
|
#
|
@@ -2653,6 +2729,7 @@ module Aws::MediaPackage
|
|
2653
2729
|
#
|
2654
2730
|
class UpdateOriginEndpointResponse < Struct.new(
|
2655
2731
|
:arn,
|
2732
|
+
:authorization,
|
2656
2733
|
:channel_id,
|
2657
2734
|
:cmaf_package,
|
2658
2735
|
:dash_package,
|
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.
|
4
|
+
version: 1.25.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:
|
11
|
+
date: 2020-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|