aws-sdk-mediaconnect 1.24.0 → 1.29.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-mediaconnect.rb +3 -2
- data/lib/aws-sdk-mediaconnect/client.rb +268 -8
- data/lib/aws-sdk-mediaconnect/client_api.rb +168 -0
- data/lib/aws-sdk-mediaconnect/types.rb +435 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 797cd96008574d9ecfde3ecf50cba69d9cf7645c80a7d56410cd8e4709a5d835
|
4
|
+
data.tar.gz: d300975280b3690f59468b4d696c6d298f00ecb4e31bdf3d01eb12402e36259d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33c681963afbb36bdf1827504501d38fa86ea69986af3f5645ce235a5179b90225666b19d94eed07487e1f6063638043457b7f1cbb698ce3705f02975eec7283
|
7
|
+
data.tar.gz: 82fd6aaccb8e277569eb4e57b3fa553812bd6ee76a31c656ed38c828b6af567c816d3b014ff6160d099511ddd1080f0b40b3f69748617beb5d940526e3418807
|
data/lib/aws-sdk-mediaconnect.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-mediaconnect/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::MediaConnect
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.29.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::MediaConnect
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::MediaConnect
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -580,6 +595,7 @@ module Aws::MediaConnect
|
|
580
595
|
# secret_arn: "__string",
|
581
596
|
# url: "__string",
|
582
597
|
# },
|
598
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
583
599
|
# name: "__string",
|
584
600
|
# subscribers: ["__string"], # required
|
585
601
|
# },
|
@@ -693,6 +709,7 @@ module Aws::MediaConnect
|
|
693
709
|
# resp.flow.entitlements[0].encryption.secret_arn #=> String
|
694
710
|
# resp.flow.entitlements[0].encryption.url #=> String
|
695
711
|
# resp.flow.entitlements[0].entitlement_arn #=> String
|
712
|
+
# resp.flow.entitlements[0].entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
696
713
|
# resp.flow.entitlements[0].name #=> String
|
697
714
|
# resp.flow.entitlements[0].subscribers #=> Array
|
698
715
|
# resp.flow.entitlements[0].subscribers[0] #=> String
|
@@ -863,6 +880,7 @@ module Aws::MediaConnect
|
|
863
880
|
# resp.flow.entitlements[0].encryption.secret_arn #=> String
|
864
881
|
# resp.flow.entitlements[0].encryption.url #=> String
|
865
882
|
# resp.flow.entitlements[0].entitlement_arn #=> String
|
883
|
+
# resp.flow.entitlements[0].entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
866
884
|
# resp.flow.entitlements[0].name #=> String
|
867
885
|
# resp.flow.entitlements[0].subscribers #=> Array
|
868
886
|
# resp.flow.entitlements[0].subscribers[0] #=> String
|
@@ -971,6 +989,86 @@ module Aws::MediaConnect
|
|
971
989
|
req.send_request(options)
|
972
990
|
end
|
973
991
|
|
992
|
+
# Displays the details of an offering. The response includes the
|
993
|
+
# offering description, duration, outbound bandwidth, price, and Amazon
|
994
|
+
# Resource Name (ARN).
|
995
|
+
#
|
996
|
+
# @option params [required, String] :offering_arn
|
997
|
+
#
|
998
|
+
# @return [Types::DescribeOfferingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
999
|
+
#
|
1000
|
+
# * {Types::DescribeOfferingResponse#offering #offering} => Types::Offering
|
1001
|
+
#
|
1002
|
+
# @example Request syntax with placeholder values
|
1003
|
+
#
|
1004
|
+
# resp = client.describe_offering({
|
1005
|
+
# offering_arn: "__string", # required
|
1006
|
+
# })
|
1007
|
+
#
|
1008
|
+
# @example Response structure
|
1009
|
+
#
|
1010
|
+
# resp.offering.currency_code #=> String
|
1011
|
+
# resp.offering.duration #=> Integer
|
1012
|
+
# resp.offering.duration_units #=> String, one of "MONTHS"
|
1013
|
+
# resp.offering.offering_arn #=> String
|
1014
|
+
# resp.offering.offering_description #=> String
|
1015
|
+
# resp.offering.price_per_unit #=> String
|
1016
|
+
# resp.offering.price_units #=> String, one of "HOURLY"
|
1017
|
+
# resp.offering.resource_specification.reserved_bitrate #=> Integer
|
1018
|
+
# resp.offering.resource_specification.resource_type #=> String, one of "Mbps_Outbound_Bandwidth"
|
1019
|
+
#
|
1020
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeOffering AWS API Documentation
|
1021
|
+
#
|
1022
|
+
# @overload describe_offering(params = {})
|
1023
|
+
# @param [Hash] params ({})
|
1024
|
+
def describe_offering(params = {}, options = {})
|
1025
|
+
req = build_request(:describe_offering, params)
|
1026
|
+
req.send_request(options)
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# Displays the details of a reservation. The response includes the
|
1030
|
+
# reservation name, state, start date and time, and the details of the
|
1031
|
+
# offering that make up the rest of the reservation (such as price,
|
1032
|
+
# duration, and outbound bandwidth).
|
1033
|
+
#
|
1034
|
+
# @option params [required, String] :reservation_arn
|
1035
|
+
#
|
1036
|
+
# @return [Types::DescribeReservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1037
|
+
#
|
1038
|
+
# * {Types::DescribeReservationResponse#reservation #reservation} => Types::Reservation
|
1039
|
+
#
|
1040
|
+
# @example Request syntax with placeholder values
|
1041
|
+
#
|
1042
|
+
# resp = client.describe_reservation({
|
1043
|
+
# reservation_arn: "__string", # required
|
1044
|
+
# })
|
1045
|
+
#
|
1046
|
+
# @example Response structure
|
1047
|
+
#
|
1048
|
+
# resp.reservation.currency_code #=> String
|
1049
|
+
# resp.reservation.duration #=> Integer
|
1050
|
+
# resp.reservation.duration_units #=> String, one of "MONTHS"
|
1051
|
+
# resp.reservation.end #=> String
|
1052
|
+
# resp.reservation.offering_arn #=> String
|
1053
|
+
# resp.reservation.offering_description #=> String
|
1054
|
+
# resp.reservation.price_per_unit #=> String
|
1055
|
+
# resp.reservation.price_units #=> String, one of "HOURLY"
|
1056
|
+
# resp.reservation.reservation_arn #=> String
|
1057
|
+
# resp.reservation.reservation_name #=> String
|
1058
|
+
# resp.reservation.reservation_state #=> String, one of "ACTIVE", "EXPIRED", "PROCESSING", "CANCELED"
|
1059
|
+
# resp.reservation.resource_specification.reserved_bitrate #=> Integer
|
1060
|
+
# resp.reservation.resource_specification.resource_type #=> String, one of "Mbps_Outbound_Bandwidth"
|
1061
|
+
# resp.reservation.start #=> String
|
1062
|
+
#
|
1063
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeReservation AWS API Documentation
|
1064
|
+
#
|
1065
|
+
# @overload describe_reservation(params = {})
|
1066
|
+
# @param [Hash] params ({})
|
1067
|
+
def describe_reservation(params = {}, options = {})
|
1068
|
+
req = build_request(:describe_reservation, params)
|
1069
|
+
req.send_request(options)
|
1070
|
+
end
|
1071
|
+
|
974
1072
|
# Grants entitlements to an existing flow.
|
975
1073
|
#
|
976
1074
|
# @option params [required, Array<Types::GrantEntitlementRequest>] :entitlements
|
@@ -1001,6 +1099,7 @@ module Aws::MediaConnect
|
|
1001
1099
|
# secret_arn: "__string",
|
1002
1100
|
# url: "__string",
|
1003
1101
|
# },
|
1102
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
1004
1103
|
# name: "__string",
|
1005
1104
|
# subscribers: ["__string"], # required
|
1006
1105
|
# },
|
@@ -1023,6 +1122,7 @@ module Aws::MediaConnect
|
|
1023
1122
|
# resp.entitlements[0].encryption.secret_arn #=> String
|
1024
1123
|
# resp.entitlements[0].encryption.url #=> String
|
1025
1124
|
# resp.entitlements[0].entitlement_arn #=> String
|
1125
|
+
# resp.entitlements[0].entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
1026
1126
|
# resp.entitlements[0].name #=> String
|
1027
1127
|
# resp.entitlements[0].subscribers #=> Array
|
1028
1128
|
# resp.entitlements[0].subscribers[0] #=> String
|
@@ -1116,6 +1216,102 @@ module Aws::MediaConnect
|
|
1116
1216
|
req.send_request(options)
|
1117
1217
|
end
|
1118
1218
|
|
1219
|
+
# Displays a list of all offerings that are available to this account in
|
1220
|
+
# the current AWS Region. If you have an active reservation (which means
|
1221
|
+
# you've purchased an offering that has already started and hasn't
|
1222
|
+
# expired yet), your account isn't eligible for other offerings.
|
1223
|
+
#
|
1224
|
+
# @option params [Integer] :max_results
|
1225
|
+
#
|
1226
|
+
# @option params [String] :next_token
|
1227
|
+
#
|
1228
|
+
# @return [Types::ListOfferingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1229
|
+
#
|
1230
|
+
# * {Types::ListOfferingsResponse#next_token #next_token} => String
|
1231
|
+
# * {Types::ListOfferingsResponse#offerings #offerings} => Array<Types::Offering>
|
1232
|
+
#
|
1233
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1234
|
+
#
|
1235
|
+
# @example Request syntax with placeholder values
|
1236
|
+
#
|
1237
|
+
# resp = client.list_offerings({
|
1238
|
+
# max_results: 1,
|
1239
|
+
# next_token: "__string",
|
1240
|
+
# })
|
1241
|
+
#
|
1242
|
+
# @example Response structure
|
1243
|
+
#
|
1244
|
+
# resp.next_token #=> String
|
1245
|
+
# resp.offerings #=> Array
|
1246
|
+
# resp.offerings[0].currency_code #=> String
|
1247
|
+
# resp.offerings[0].duration #=> Integer
|
1248
|
+
# resp.offerings[0].duration_units #=> String, one of "MONTHS"
|
1249
|
+
# resp.offerings[0].offering_arn #=> String
|
1250
|
+
# resp.offerings[0].offering_description #=> String
|
1251
|
+
# resp.offerings[0].price_per_unit #=> String
|
1252
|
+
# resp.offerings[0].price_units #=> String, one of "HOURLY"
|
1253
|
+
# resp.offerings[0].resource_specification.reserved_bitrate #=> Integer
|
1254
|
+
# resp.offerings[0].resource_specification.resource_type #=> String, one of "Mbps_Outbound_Bandwidth"
|
1255
|
+
#
|
1256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListOfferings AWS API Documentation
|
1257
|
+
#
|
1258
|
+
# @overload list_offerings(params = {})
|
1259
|
+
# @param [Hash] params ({})
|
1260
|
+
def list_offerings(params = {}, options = {})
|
1261
|
+
req = build_request(:list_offerings, params)
|
1262
|
+
req.send_request(options)
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
# Displays a list of all reservations that have been purchased by this
|
1266
|
+
# account in the current AWS Region. This list includes all reservations
|
1267
|
+
# in all states (such as active and expired).
|
1268
|
+
#
|
1269
|
+
# @option params [Integer] :max_results
|
1270
|
+
#
|
1271
|
+
# @option params [String] :next_token
|
1272
|
+
#
|
1273
|
+
# @return [Types::ListReservationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1274
|
+
#
|
1275
|
+
# * {Types::ListReservationsResponse#next_token #next_token} => String
|
1276
|
+
# * {Types::ListReservationsResponse#reservations #reservations} => Array<Types::Reservation>
|
1277
|
+
#
|
1278
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1279
|
+
#
|
1280
|
+
# @example Request syntax with placeholder values
|
1281
|
+
#
|
1282
|
+
# resp = client.list_reservations({
|
1283
|
+
# max_results: 1,
|
1284
|
+
# next_token: "__string",
|
1285
|
+
# })
|
1286
|
+
#
|
1287
|
+
# @example Response structure
|
1288
|
+
#
|
1289
|
+
# resp.next_token #=> String
|
1290
|
+
# resp.reservations #=> Array
|
1291
|
+
# resp.reservations[0].currency_code #=> String
|
1292
|
+
# resp.reservations[0].duration #=> Integer
|
1293
|
+
# resp.reservations[0].duration_units #=> String, one of "MONTHS"
|
1294
|
+
# resp.reservations[0].end #=> String
|
1295
|
+
# resp.reservations[0].offering_arn #=> String
|
1296
|
+
# resp.reservations[0].offering_description #=> String
|
1297
|
+
# resp.reservations[0].price_per_unit #=> String
|
1298
|
+
# resp.reservations[0].price_units #=> String, one of "HOURLY"
|
1299
|
+
# resp.reservations[0].reservation_arn #=> String
|
1300
|
+
# resp.reservations[0].reservation_name #=> String
|
1301
|
+
# resp.reservations[0].reservation_state #=> String, one of "ACTIVE", "EXPIRED", "PROCESSING", "CANCELED"
|
1302
|
+
# resp.reservations[0].resource_specification.reserved_bitrate #=> Integer
|
1303
|
+
# resp.reservations[0].resource_specification.resource_type #=> String, one of "Mbps_Outbound_Bandwidth"
|
1304
|
+
# resp.reservations[0].start #=> String
|
1305
|
+
#
|
1306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListReservations AWS API Documentation
|
1307
|
+
#
|
1308
|
+
# @overload list_reservations(params = {})
|
1309
|
+
# @param [Hash] params ({})
|
1310
|
+
def list_reservations(params = {}, options = {})
|
1311
|
+
req = build_request(:list_reservations, params)
|
1312
|
+
req.send_request(options)
|
1313
|
+
end
|
1314
|
+
|
1119
1315
|
# List all tags on an AWS Elemental MediaConnect resource
|
1120
1316
|
#
|
1121
1317
|
# @option params [required, String] :resource_arn
|
@@ -1144,6 +1340,61 @@ module Aws::MediaConnect
|
|
1144
1340
|
req.send_request(options)
|
1145
1341
|
end
|
1146
1342
|
|
1343
|
+
# Submits a request to purchase an offering. If you already have an
|
1344
|
+
# active reservation, you can't purchase another offering.
|
1345
|
+
#
|
1346
|
+
# @option params [required, String] :offering_arn
|
1347
|
+
#
|
1348
|
+
# @option params [required, String] :reservation_name
|
1349
|
+
# The name that you want to use for the reservation.
|
1350
|
+
#
|
1351
|
+
# @option params [required, String] :start
|
1352
|
+
# The date and time that you want the reservation to begin, in
|
1353
|
+
# Coordinated Universal Time (UTC). You can specify any date and time
|
1354
|
+
# between 12:00am on the first day of the current month to the current
|
1355
|
+
# time on today's date, inclusive. Specify the start in a 24-hour
|
1356
|
+
# notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T and
|
1357
|
+
# Z are literal characters. For example, to specify 11:30pm on March 5,
|
1358
|
+
# 2020, enter 2020-03-05T23:30:00Z.
|
1359
|
+
#
|
1360
|
+
# @return [Types::PurchaseOfferingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1361
|
+
#
|
1362
|
+
# * {Types::PurchaseOfferingResponse#reservation #reservation} => Types::Reservation
|
1363
|
+
#
|
1364
|
+
# @example Request syntax with placeholder values
|
1365
|
+
#
|
1366
|
+
# resp = client.purchase_offering({
|
1367
|
+
# offering_arn: "__string", # required
|
1368
|
+
# reservation_name: "__string", # required
|
1369
|
+
# start: "__string", # required
|
1370
|
+
# })
|
1371
|
+
#
|
1372
|
+
# @example Response structure
|
1373
|
+
#
|
1374
|
+
# resp.reservation.currency_code #=> String
|
1375
|
+
# resp.reservation.duration #=> Integer
|
1376
|
+
# resp.reservation.duration_units #=> String, one of "MONTHS"
|
1377
|
+
# resp.reservation.end #=> String
|
1378
|
+
# resp.reservation.offering_arn #=> String
|
1379
|
+
# resp.reservation.offering_description #=> String
|
1380
|
+
# resp.reservation.price_per_unit #=> String
|
1381
|
+
# resp.reservation.price_units #=> String, one of "HOURLY"
|
1382
|
+
# resp.reservation.reservation_arn #=> String
|
1383
|
+
# resp.reservation.reservation_name #=> String
|
1384
|
+
# resp.reservation.reservation_state #=> String, one of "ACTIVE", "EXPIRED", "PROCESSING", "CANCELED"
|
1385
|
+
# resp.reservation.resource_specification.reserved_bitrate #=> Integer
|
1386
|
+
# resp.reservation.resource_specification.resource_type #=> String, one of "Mbps_Outbound_Bandwidth"
|
1387
|
+
# resp.reservation.start #=> String
|
1388
|
+
#
|
1389
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOffering AWS API Documentation
|
1390
|
+
#
|
1391
|
+
# @overload purchase_offering(params = {})
|
1392
|
+
# @param [Hash] params ({})
|
1393
|
+
def purchase_offering(params = {}, options = {})
|
1394
|
+
req = build_request(:purchase_offering, params)
|
1395
|
+
req.send_request(options)
|
1396
|
+
end
|
1397
|
+
|
1147
1398
|
# Removes an output from an existing flow. This request can be made only
|
1148
1399
|
# on an output that does not have an entitlement associated with it. If
|
1149
1400
|
# the output has an entitlement, you must revoke the entitlement
|
@@ -1439,6 +1690,7 @@ module Aws::MediaConnect
|
|
1439
1690
|
# resp.flow.entitlements[0].encryption.secret_arn #=> String
|
1440
1691
|
# resp.flow.entitlements[0].encryption.url #=> String
|
1441
1692
|
# resp.flow.entitlements[0].entitlement_arn #=> String
|
1693
|
+
# resp.flow.entitlements[0].entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
1442
1694
|
# resp.flow.entitlements[0].name #=> String
|
1443
1695
|
# resp.flow.entitlements[0].subscribers #=> Array
|
1444
1696
|
# resp.flow.entitlements[0].subscribers[0] #=> String
|
@@ -1560,6 +1812,12 @@ module Aws::MediaConnect
|
|
1560
1812
|
#
|
1561
1813
|
# @option params [required, String] :entitlement_arn
|
1562
1814
|
#
|
1815
|
+
# @option params [String] :entitlement_status
|
1816
|
+
# An indication of whether you want to enable the entitlement to allow
|
1817
|
+
# access, or disable it to stop streaming content to the subscriber’s
|
1818
|
+
# flow temporarily. If you don’t specify the entitlementStatus field in
|
1819
|
+
# your request, MediaConnect leaves the value unchanged.
|
1820
|
+
#
|
1563
1821
|
# @option params [required, String] :flow_arn
|
1564
1822
|
#
|
1565
1823
|
# @option params [Array<String>] :subscribers
|
@@ -1588,6 +1846,7 @@ module Aws::MediaConnect
|
|
1588
1846
|
# url: "__string",
|
1589
1847
|
# },
|
1590
1848
|
# entitlement_arn: "__string", # required
|
1849
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
1591
1850
|
# flow_arn: "__string", # required
|
1592
1851
|
# subscribers: ["__string"],
|
1593
1852
|
# })
|
@@ -1606,6 +1865,7 @@ module Aws::MediaConnect
|
|
1606
1865
|
# resp.entitlement.encryption.secret_arn #=> String
|
1607
1866
|
# resp.entitlement.encryption.url #=> String
|
1608
1867
|
# resp.entitlement.entitlement_arn #=> String
|
1868
|
+
# resp.entitlement.entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
1609
1869
|
# resp.entitlement.name #=> String
|
1610
1870
|
# resp.entitlement.subscribers #=> Array
|
1611
1871
|
# resp.entitlement.subscribers[0] #=> String
|
@@ -1866,7 +2126,7 @@ module Aws::MediaConnect
|
|
1866
2126
|
params: params,
|
1867
2127
|
config: config)
|
1868
2128
|
context[:gem_name] = 'aws-sdk-mediaconnect'
|
1869
|
-
context[:gem_version] = '1.
|
2129
|
+
context[:gem_version] = '1.29.0'
|
1870
2130
|
Seahorse::Client::Request.new(handlers, context)
|
1871
2131
|
end
|
1872
2132
|
|
@@ -30,8 +30,14 @@ module Aws::MediaConnect
|
|
30
30
|
DeleteFlowResponse = Shapes::StructureShape.new(name: 'DeleteFlowResponse')
|
31
31
|
DescribeFlowRequest = Shapes::StructureShape.new(name: 'DescribeFlowRequest')
|
32
32
|
DescribeFlowResponse = Shapes::StructureShape.new(name: 'DescribeFlowResponse')
|
33
|
+
DescribeOfferingRequest = Shapes::StructureShape.new(name: 'DescribeOfferingRequest')
|
34
|
+
DescribeOfferingResponse = Shapes::StructureShape.new(name: 'DescribeOfferingResponse')
|
35
|
+
DescribeReservationRequest = Shapes::StructureShape.new(name: 'DescribeReservationRequest')
|
36
|
+
DescribeReservationResponse = Shapes::StructureShape.new(name: 'DescribeReservationResponse')
|
37
|
+
DurationUnits = Shapes::StringShape.new(name: 'DurationUnits')
|
33
38
|
Encryption = Shapes::StructureShape.new(name: 'Encryption')
|
34
39
|
Entitlement = Shapes::StructureShape.new(name: 'Entitlement')
|
40
|
+
EntitlementStatus = Shapes::StringShape.new(name: 'EntitlementStatus')
|
35
41
|
FailoverConfig = Shapes::StructureShape.new(name: 'FailoverConfig')
|
36
42
|
Flow = Shapes::StructureShape.new(name: 'Flow')
|
37
43
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
@@ -45,6 +51,10 @@ module Aws::MediaConnect
|
|
45
51
|
ListEntitlementsResponse = Shapes::StructureShape.new(name: 'ListEntitlementsResponse')
|
46
52
|
ListFlowsRequest = Shapes::StructureShape.new(name: 'ListFlowsRequest')
|
47
53
|
ListFlowsResponse = Shapes::StructureShape.new(name: 'ListFlowsResponse')
|
54
|
+
ListOfferingsRequest = Shapes::StructureShape.new(name: 'ListOfferingsRequest')
|
55
|
+
ListOfferingsResponse = Shapes::StructureShape.new(name: 'ListOfferingsResponse')
|
56
|
+
ListReservationsRequest = Shapes::StructureShape.new(name: 'ListReservationsRequest')
|
57
|
+
ListReservationsResponse = Shapes::StructureShape.new(name: 'ListReservationsResponse')
|
48
58
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
49
59
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
50
60
|
ListedEntitlement = Shapes::StructureShape.new(name: 'ListedEntitlement')
|
@@ -52,14 +62,22 @@ module Aws::MediaConnect
|
|
52
62
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
53
63
|
Messages = Shapes::StructureShape.new(name: 'Messages')
|
54
64
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
65
|
+
Offering = Shapes::StructureShape.new(name: 'Offering')
|
55
66
|
Output = Shapes::StructureShape.new(name: 'Output')
|
67
|
+
PriceUnits = Shapes::StringShape.new(name: 'PriceUnits')
|
56
68
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
69
|
+
PurchaseOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseOfferingRequest')
|
70
|
+
PurchaseOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseOfferingResponse')
|
57
71
|
RemoveFlowOutputRequest = Shapes::StructureShape.new(name: 'RemoveFlowOutputRequest')
|
58
72
|
RemoveFlowOutputResponse = Shapes::StructureShape.new(name: 'RemoveFlowOutputResponse')
|
59
73
|
RemoveFlowSourceRequest = Shapes::StructureShape.new(name: 'RemoveFlowSourceRequest')
|
60
74
|
RemoveFlowSourceResponse = Shapes::StructureShape.new(name: 'RemoveFlowSourceResponse')
|
61
75
|
RemoveFlowVpcInterfaceRequest = Shapes::StructureShape.new(name: 'RemoveFlowVpcInterfaceRequest')
|
62
76
|
RemoveFlowVpcInterfaceResponse = Shapes::StructureShape.new(name: 'RemoveFlowVpcInterfaceResponse')
|
77
|
+
Reservation = Shapes::StructureShape.new(name: 'Reservation')
|
78
|
+
ReservationState = Shapes::StringShape.new(name: 'ReservationState')
|
79
|
+
ResourceSpecification = Shapes::StructureShape.new(name: 'ResourceSpecification')
|
80
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
63
81
|
ResponseError = Shapes::StructureShape.new(name: 'ResponseError')
|
64
82
|
RevokeFlowEntitlementRequest = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementRequest')
|
65
83
|
RevokeFlowEntitlementResponse = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementResponse')
|
@@ -98,7 +116,9 @@ module Aws::MediaConnect
|
|
98
116
|
__listOfGrantEntitlementRequest = Shapes::ListShape.new(name: '__listOfGrantEntitlementRequest')
|
99
117
|
__listOfListedEntitlement = Shapes::ListShape.new(name: '__listOfListedEntitlement')
|
100
118
|
__listOfListedFlow = Shapes::ListShape.new(name: '__listOfListedFlow')
|
119
|
+
__listOfOffering = Shapes::ListShape.new(name: '__listOfOffering')
|
101
120
|
__listOfOutput = Shapes::ListShape.new(name: '__listOfOutput')
|
121
|
+
__listOfReservation = Shapes::ListShape.new(name: '__listOfReservation')
|
102
122
|
__listOfSetSourceRequest = Shapes::ListShape.new(name: '__listOfSetSourceRequest')
|
103
123
|
__listOfSource = Shapes::ListShape.new(name: '__listOfSource')
|
104
124
|
__listOfVpcInterface = Shapes::ListShape.new(name: '__listOfVpcInterface')
|
@@ -185,6 +205,18 @@ module Aws::MediaConnect
|
|
185
205
|
DescribeFlowResponse.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
|
186
206
|
DescribeFlowResponse.struct_class = Types::DescribeFlowResponse
|
187
207
|
|
208
|
+
DescribeOfferingRequest.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringArn"))
|
209
|
+
DescribeOfferingRequest.struct_class = Types::DescribeOfferingRequest
|
210
|
+
|
211
|
+
DescribeOfferingResponse.add_member(:offering, Shapes::ShapeRef.new(shape: Offering, location_name: "offering"))
|
212
|
+
DescribeOfferingResponse.struct_class = Types::DescribeOfferingResponse
|
213
|
+
|
214
|
+
DescribeReservationRequest.add_member(:reservation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "reservationArn"))
|
215
|
+
DescribeReservationRequest.struct_class = Types::DescribeReservationRequest
|
216
|
+
|
217
|
+
DescribeReservationResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
|
218
|
+
DescribeReservationResponse.struct_class = Types::DescribeReservationResponse
|
219
|
+
|
188
220
|
Encryption.add_member(:algorithm, Shapes::ShapeRef.new(shape: Algorithm, required: true, location_name: "algorithm"))
|
189
221
|
Encryption.add_member(:constant_initialization_vector, Shapes::ShapeRef.new(shape: __string, location_name: "constantInitializationVector"))
|
190
222
|
Encryption.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, location_name: "deviceId"))
|
@@ -200,6 +232,7 @@ module Aws::MediaConnect
|
|
200
232
|
Entitlement.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
201
233
|
Entitlement.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
|
202
234
|
Entitlement.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "entitlementArn"))
|
235
|
+
Entitlement.add_member(:entitlement_status, Shapes::ShapeRef.new(shape: EntitlementStatus, location_name: "entitlementStatus"))
|
203
236
|
Entitlement.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
204
237
|
Entitlement.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subscribers"))
|
205
238
|
Entitlement.struct_class = Types::Entitlement
|
@@ -228,6 +261,7 @@ module Aws::MediaConnect
|
|
228
261
|
GrantEntitlementRequest.add_member(:data_transfer_subscriber_fee_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "dataTransferSubscriberFeePercent"))
|
229
262
|
GrantEntitlementRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
230
263
|
GrantEntitlementRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
|
264
|
+
GrantEntitlementRequest.add_member(:entitlement_status, Shapes::ShapeRef.new(shape: EntitlementStatus, location_name: "entitlementStatus"))
|
231
265
|
GrantEntitlementRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
232
266
|
GrantEntitlementRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subscribers"))
|
233
267
|
GrantEntitlementRequest.struct_class = Types::GrantEntitlementRequest
|
@@ -262,6 +296,22 @@ module Aws::MediaConnect
|
|
262
296
|
ListFlowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
263
297
|
ListFlowsResponse.struct_class = Types::ListFlowsResponse
|
264
298
|
|
299
|
+
ListOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
300
|
+
ListOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
301
|
+
ListOfferingsRequest.struct_class = Types::ListOfferingsRequest
|
302
|
+
|
303
|
+
ListOfferingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
304
|
+
ListOfferingsResponse.add_member(:offerings, Shapes::ShapeRef.new(shape: __listOfOffering, location_name: "offerings"))
|
305
|
+
ListOfferingsResponse.struct_class = Types::ListOfferingsResponse
|
306
|
+
|
307
|
+
ListReservationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
308
|
+
ListReservationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
309
|
+
ListReservationsRequest.struct_class = Types::ListReservationsRequest
|
310
|
+
|
311
|
+
ListReservationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
312
|
+
ListReservationsResponse.add_member(:reservations, Shapes::ShapeRef.new(shape: __listOfReservation, location_name: "reservations"))
|
313
|
+
ListReservationsResponse.struct_class = Types::ListReservationsResponse
|
314
|
+
|
265
315
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
|
266
316
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
267
317
|
|
@@ -287,6 +337,16 @@ module Aws::MediaConnect
|
|
287
337
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
288
338
|
NotFoundException.struct_class = Types::NotFoundException
|
289
339
|
|
340
|
+
Offering.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currencyCode"))
|
341
|
+
Offering.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "duration"))
|
342
|
+
Offering.add_member(:duration_units, Shapes::ShapeRef.new(shape: DurationUnits, required: true, location_name: "durationUnits"))
|
343
|
+
Offering.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringArn"))
|
344
|
+
Offering.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringDescription"))
|
345
|
+
Offering.add_member(:price_per_unit, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "pricePerUnit"))
|
346
|
+
Offering.add_member(:price_units, Shapes::ShapeRef.new(shape: PriceUnits, required: true, location_name: "priceUnits"))
|
347
|
+
Offering.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ResourceSpecification, required: true, location_name: "resourceSpecification"))
|
348
|
+
Offering.struct_class = Types::Offering
|
349
|
+
|
290
350
|
Output.add_member(:data_transfer_subscriber_fee_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "dataTransferSubscriberFeePercent"))
|
291
351
|
Output.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
292
352
|
Output.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
|
@@ -300,6 +360,14 @@ module Aws::MediaConnect
|
|
300
360
|
Output.add_member(:vpc_interface_attachment, Shapes::ShapeRef.new(shape: VpcInterfaceAttachment, location_name: "vpcInterfaceAttachment"))
|
301
361
|
Output.struct_class = Types::Output
|
302
362
|
|
363
|
+
PurchaseOfferingRequest.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringArn"))
|
364
|
+
PurchaseOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationName"))
|
365
|
+
PurchaseOfferingRequest.add_member(:start, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "start"))
|
366
|
+
PurchaseOfferingRequest.struct_class = Types::PurchaseOfferingRequest
|
367
|
+
|
368
|
+
PurchaseOfferingResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
|
369
|
+
PurchaseOfferingResponse.struct_class = Types::PurchaseOfferingResponse
|
370
|
+
|
303
371
|
RemoveFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
304
372
|
RemoveFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
|
305
373
|
RemoveFlowOutputRequest.struct_class = Types::RemoveFlowOutputRequest
|
@@ -325,6 +393,25 @@ module Aws::MediaConnect
|
|
325
393
|
RemoveFlowVpcInterfaceResponse.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
|
326
394
|
RemoveFlowVpcInterfaceResponse.struct_class = Types::RemoveFlowVpcInterfaceResponse
|
327
395
|
|
396
|
+
Reservation.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currencyCode"))
|
397
|
+
Reservation.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "duration"))
|
398
|
+
Reservation.add_member(:duration_units, Shapes::ShapeRef.new(shape: DurationUnits, required: true, location_name: "durationUnits"))
|
399
|
+
Reservation.add_member(:end, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "end"))
|
400
|
+
Reservation.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringArn"))
|
401
|
+
Reservation.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringDescription"))
|
402
|
+
Reservation.add_member(:price_per_unit, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "pricePerUnit"))
|
403
|
+
Reservation.add_member(:price_units, Shapes::ShapeRef.new(shape: PriceUnits, required: true, location_name: "priceUnits"))
|
404
|
+
Reservation.add_member(:reservation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationArn"))
|
405
|
+
Reservation.add_member(:reservation_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationName"))
|
406
|
+
Reservation.add_member(:reservation_state, Shapes::ShapeRef.new(shape: ReservationState, required: true, location_name: "reservationState"))
|
407
|
+
Reservation.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ResourceSpecification, required: true, location_name: "resourceSpecification"))
|
408
|
+
Reservation.add_member(:start, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "start"))
|
409
|
+
Reservation.struct_class = Types::Reservation
|
410
|
+
|
411
|
+
ResourceSpecification.add_member(:reserved_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "reservedBitrate"))
|
412
|
+
ResourceSpecification.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
413
|
+
ResourceSpecification.struct_class = Types::ResourceSpecification
|
414
|
+
|
328
415
|
ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
329
416
|
ResponseError.struct_class = Types::ResponseError
|
330
417
|
|
@@ -417,6 +504,7 @@ module Aws::MediaConnect
|
|
417
504
|
UpdateFlowEntitlementRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
418
505
|
UpdateFlowEntitlementRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: UpdateEncryption, location_name: "encryption"))
|
419
506
|
UpdateFlowEntitlementRequest.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "entitlementArn"))
|
507
|
+
UpdateFlowEntitlementRequest.add_member(:entitlement_status, Shapes::ShapeRef.new(shape: EntitlementStatus, location_name: "entitlementStatus"))
|
420
508
|
UpdateFlowEntitlementRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
421
509
|
UpdateFlowEntitlementRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "subscribers"))
|
422
510
|
UpdateFlowEntitlementRequest.struct_class = Types::UpdateFlowEntitlementRequest
|
@@ -495,8 +583,12 @@ module Aws::MediaConnect
|
|
495
583
|
|
496
584
|
__listOfListedFlow.member = Shapes::ShapeRef.new(shape: ListedFlow)
|
497
585
|
|
586
|
+
__listOfOffering.member = Shapes::ShapeRef.new(shape: Offering)
|
587
|
+
|
498
588
|
__listOfOutput.member = Shapes::ShapeRef.new(shape: Output)
|
499
589
|
|
590
|
+
__listOfReservation.member = Shapes::ShapeRef.new(shape: Reservation)
|
591
|
+
|
500
592
|
__listOfSetSourceRequest.member = Shapes::ShapeRef.new(shape: SetSourceRequest)
|
501
593
|
|
502
594
|
__listOfSource.member = Shapes::ShapeRef.new(shape: Source)
|
@@ -615,6 +707,32 @@ module Aws::MediaConnect
|
|
615
707
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
616
708
|
end)
|
617
709
|
|
710
|
+
api.add_operation(:describe_offering, Seahorse::Model::Operation.new.tap do |o|
|
711
|
+
o.name = "DescribeOffering"
|
712
|
+
o.http_method = "GET"
|
713
|
+
o.http_request_uri = "/v1/offerings/{offeringArn}"
|
714
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeOfferingRequest)
|
715
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeOfferingResponse)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
721
|
+
end)
|
722
|
+
|
723
|
+
api.add_operation(:describe_reservation, Seahorse::Model::Operation.new.tap do |o|
|
724
|
+
o.name = "DescribeReservation"
|
725
|
+
o.http_method = "GET"
|
726
|
+
o.http_request_uri = "/v1/reservations/{reservationArn}"
|
727
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReservationRequest)
|
728
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReservationResponse)
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
734
|
+
end)
|
735
|
+
|
618
736
|
api.add_operation(:grant_flow_entitlements, Seahorse::Model::Operation.new.tap do |o|
|
619
737
|
o.name = "GrantFlowEntitlements"
|
620
738
|
o.http_method = "POST"
|
@@ -666,6 +784,42 @@ module Aws::MediaConnect
|
|
666
784
|
)
|
667
785
|
end)
|
668
786
|
|
787
|
+
api.add_operation(:list_offerings, Seahorse::Model::Operation.new.tap do |o|
|
788
|
+
o.name = "ListOfferings"
|
789
|
+
o.http_method = "GET"
|
790
|
+
o.http_request_uri = "/v1/offerings"
|
791
|
+
o.input = Shapes::ShapeRef.new(shape: ListOfferingsRequest)
|
792
|
+
o.output = Shapes::ShapeRef.new(shape: ListOfferingsResponse)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
797
|
+
o[:pager] = Aws::Pager.new(
|
798
|
+
limit_key: "max_results",
|
799
|
+
tokens: {
|
800
|
+
"next_token" => "next_token"
|
801
|
+
}
|
802
|
+
)
|
803
|
+
end)
|
804
|
+
|
805
|
+
api.add_operation(:list_reservations, Seahorse::Model::Operation.new.tap do |o|
|
806
|
+
o.name = "ListReservations"
|
807
|
+
o.http_method = "GET"
|
808
|
+
o.http_request_uri = "/v1/reservations"
|
809
|
+
o.input = Shapes::ShapeRef.new(shape: ListReservationsRequest)
|
810
|
+
o.output = Shapes::ShapeRef.new(shape: ListReservationsResponse)
|
811
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
815
|
+
o[:pager] = Aws::Pager.new(
|
816
|
+
limit_key: "max_results",
|
817
|
+
tokens: {
|
818
|
+
"next_token" => "next_token"
|
819
|
+
}
|
820
|
+
)
|
821
|
+
end)
|
822
|
+
|
669
823
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
670
824
|
o.name = "ListTagsForResource"
|
671
825
|
o.http_method = "GET"
|
@@ -677,6 +831,20 @@ module Aws::MediaConnect
|
|
677
831
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
678
832
|
end)
|
679
833
|
|
834
|
+
api.add_operation(:purchase_offering, Seahorse::Model::Operation.new.tap do |o|
|
835
|
+
o.name = "PurchaseOffering"
|
836
|
+
o.http_method = "POST"
|
837
|
+
o.http_request_uri = "/v1/offerings/{offeringArn}"
|
838
|
+
o.input = Shapes::ShapeRef.new(shape: PurchaseOfferingRequest)
|
839
|
+
o.output = Shapes::ShapeRef.new(shape: PurchaseOfferingResponse)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
844
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
845
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
846
|
+
end)
|
847
|
+
|
680
848
|
api.add_operation(:remove_flow_output, Seahorse::Model::Operation.new.tap do |o|
|
681
849
|
o.name = "RemoveFlowOutput"
|
682
850
|
o.http_method = "DELETE"
|
@@ -383,6 +383,7 @@ module Aws::MediaConnect
|
|
383
383
|
# secret_arn: "__string",
|
384
384
|
# url: "__string",
|
385
385
|
# },
|
386
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
386
387
|
# name: "__string",
|
387
388
|
# subscribers: ["__string"], # required
|
388
389
|
# },
|
@@ -616,6 +617,77 @@ module Aws::MediaConnect
|
|
616
617
|
include Aws::Structure
|
617
618
|
end
|
618
619
|
|
620
|
+
# @note When making an API call, you may pass DescribeOfferingRequest
|
621
|
+
# data as a hash:
|
622
|
+
#
|
623
|
+
# {
|
624
|
+
# offering_arn: "__string", # required
|
625
|
+
# }
|
626
|
+
#
|
627
|
+
# @!attribute [rw] offering_arn
|
628
|
+
# @return [String]
|
629
|
+
#
|
630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeOfferingRequest AWS API Documentation
|
631
|
+
#
|
632
|
+
class DescribeOfferingRequest < Struct.new(
|
633
|
+
:offering_arn)
|
634
|
+
SENSITIVE = []
|
635
|
+
include Aws::Structure
|
636
|
+
end
|
637
|
+
|
638
|
+
# The result of a successful DescribeOffering request.
|
639
|
+
#
|
640
|
+
# @!attribute [rw] offering
|
641
|
+
# A savings plan that reserves a certain amount of outbound bandwidth
|
642
|
+
# usage at a discounted rate each month over a period of time.
|
643
|
+
# @return [Types::Offering]
|
644
|
+
#
|
645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeOfferingResponse AWS API Documentation
|
646
|
+
#
|
647
|
+
class DescribeOfferingResponse < Struct.new(
|
648
|
+
:offering)
|
649
|
+
SENSITIVE = []
|
650
|
+
include Aws::Structure
|
651
|
+
end
|
652
|
+
|
653
|
+
# @note When making an API call, you may pass DescribeReservationRequest
|
654
|
+
# data as a hash:
|
655
|
+
#
|
656
|
+
# {
|
657
|
+
# reservation_arn: "__string", # required
|
658
|
+
# }
|
659
|
+
#
|
660
|
+
# @!attribute [rw] reservation_arn
|
661
|
+
# @return [String]
|
662
|
+
#
|
663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeReservationRequest AWS API Documentation
|
664
|
+
#
|
665
|
+
class DescribeReservationRequest < Struct.new(
|
666
|
+
:reservation_arn)
|
667
|
+
SENSITIVE = []
|
668
|
+
include Aws::Structure
|
669
|
+
end
|
670
|
+
|
671
|
+
# The result of a successful DescribeReservation request.
|
672
|
+
#
|
673
|
+
# @!attribute [rw] reservation
|
674
|
+
# A pricing agreement for a discounted rate for a specific outbound
|
675
|
+
# bandwidth that your MediaConnect account will use each month over a
|
676
|
+
# specific time period. The discounted rate in the reservation applies
|
677
|
+
# to outbound bandwidth for all flows from your account until your
|
678
|
+
# account reaches the amount of bandwidth in your reservation. If you
|
679
|
+
# use more outbound bandwidth than the agreed upon amount in a single
|
680
|
+
# month, the overage is charged at the on-demand rate.
|
681
|
+
# @return [Types::Reservation]
|
682
|
+
#
|
683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeReservationResponse AWS API Documentation
|
684
|
+
#
|
685
|
+
class DescribeReservationResponse < Struct.new(
|
686
|
+
:reservation)
|
687
|
+
SENSITIVE = []
|
688
|
+
include Aws::Structure
|
689
|
+
end
|
690
|
+
|
619
691
|
# Information about the encryption of the flow.
|
620
692
|
#
|
621
693
|
# @note When making an API call, you may pass Encryption
|
@@ -722,6 +794,10 @@ module Aws::MediaConnect
|
|
722
794
|
# The ARN of the entitlement.
|
723
795
|
# @return [String]
|
724
796
|
#
|
797
|
+
# @!attribute [rw] entitlement_status
|
798
|
+
# An indication of whether the entitlement is enabled.
|
799
|
+
# @return [String]
|
800
|
+
#
|
725
801
|
# @!attribute [rw] name
|
726
802
|
# The name of the entitlement.
|
727
803
|
# @return [String]
|
@@ -739,6 +815,7 @@ module Aws::MediaConnect
|
|
739
815
|
:description,
|
740
816
|
:encryption,
|
741
817
|
:entitlement_arn,
|
818
|
+
:entitlement_status,
|
742
819
|
:name,
|
743
820
|
:subscribers)
|
744
821
|
SENSITIVE = []
|
@@ -878,6 +955,7 @@ module Aws::MediaConnect
|
|
878
955
|
# secret_arn: "__string",
|
879
956
|
# url: "__string",
|
880
957
|
# },
|
958
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
881
959
|
# name: "__string",
|
882
960
|
# subscribers: ["__string"], # required
|
883
961
|
# }
|
@@ -898,6 +976,13 @@ module Aws::MediaConnect
|
|
898
976
|
# associated with this entitlement.
|
899
977
|
# @return [Types::Encryption]
|
900
978
|
#
|
979
|
+
# @!attribute [rw] entitlement_status
|
980
|
+
# An indication of whether the new entitlement should be enabled or
|
981
|
+
# disabled as soon as it is created. If you don’t specify the
|
982
|
+
# entitlementStatus field in your request, MediaConnect sets it to
|
983
|
+
# ENABLED.
|
984
|
+
# @return [String]
|
985
|
+
#
|
901
986
|
# @!attribute [rw] name
|
902
987
|
# The name of the entitlement. This value must be unique within the
|
903
988
|
# current flow.
|
@@ -915,6 +1000,7 @@ module Aws::MediaConnect
|
|
915
1000
|
:data_transfer_subscriber_fee_percent,
|
916
1001
|
:description,
|
917
1002
|
:encryption,
|
1003
|
+
:entitlement_status,
|
918
1004
|
:name,
|
919
1005
|
:subscribers)
|
920
1006
|
SENSITIVE = []
|
@@ -957,6 +1043,7 @@ module Aws::MediaConnect
|
|
957
1043
|
# secret_arn: "__string",
|
958
1044
|
# url: "__string",
|
959
1045
|
# },
|
1046
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
960
1047
|
# name: "__string",
|
961
1048
|
# subscribers: ["__string"], # required
|
962
1049
|
# },
|
@@ -1112,6 +1199,112 @@ module Aws::MediaConnect
|
|
1112
1199
|
include Aws::Structure
|
1113
1200
|
end
|
1114
1201
|
|
1202
|
+
# @note When making an API call, you may pass ListOfferingsRequest
|
1203
|
+
# data as a hash:
|
1204
|
+
#
|
1205
|
+
# {
|
1206
|
+
# max_results: 1,
|
1207
|
+
# next_token: "__string",
|
1208
|
+
# }
|
1209
|
+
#
|
1210
|
+
# @!attribute [rw] max_results
|
1211
|
+
# @return [Integer]
|
1212
|
+
#
|
1213
|
+
# @!attribute [rw] next_token
|
1214
|
+
# @return [String]
|
1215
|
+
#
|
1216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListOfferingsRequest AWS API Documentation
|
1217
|
+
#
|
1218
|
+
class ListOfferingsRequest < Struct.new(
|
1219
|
+
:max_results,
|
1220
|
+
:next_token)
|
1221
|
+
SENSITIVE = []
|
1222
|
+
include Aws::Structure
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# The result of a successful ListOfferings request. The response
|
1226
|
+
# includes the details of each offering that your account is eligible
|
1227
|
+
# for. The response includes the following information for each
|
1228
|
+
# offering: description, duration, outbound bandwidth, price, Amazon
|
1229
|
+
# Resource Name (ARN), and the NextToken to use in a subsequent
|
1230
|
+
# ListOfferings request.
|
1231
|
+
#
|
1232
|
+
# @!attribute [rw] next_token
|
1233
|
+
# The token that identifies which batch of results that you want to
|
1234
|
+
# see. For example, you submit a ListOfferings request with MaxResults
|
1235
|
+
# set at 5. The service returns the first batch of results (up to 5)
|
1236
|
+
# and a NextToken value. To see the next batch of results, you can
|
1237
|
+
# submit the ListOfferings request a second time and specify the
|
1238
|
+
# NextToken value.
|
1239
|
+
# @return [String]
|
1240
|
+
#
|
1241
|
+
# @!attribute [rw] offerings
|
1242
|
+
# A list of offerings that are available to this account in the
|
1243
|
+
# current AWS Region.
|
1244
|
+
# @return [Array<Types::Offering>]
|
1245
|
+
#
|
1246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListOfferingsResponse AWS API Documentation
|
1247
|
+
#
|
1248
|
+
class ListOfferingsResponse < Struct.new(
|
1249
|
+
:next_token,
|
1250
|
+
:offerings)
|
1251
|
+
SENSITIVE = []
|
1252
|
+
include Aws::Structure
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
# @note When making an API call, you may pass ListReservationsRequest
|
1256
|
+
# data as a hash:
|
1257
|
+
#
|
1258
|
+
# {
|
1259
|
+
# max_results: 1,
|
1260
|
+
# next_token: "__string",
|
1261
|
+
# }
|
1262
|
+
#
|
1263
|
+
# @!attribute [rw] max_results
|
1264
|
+
# @return [Integer]
|
1265
|
+
#
|
1266
|
+
# @!attribute [rw] next_token
|
1267
|
+
# @return [String]
|
1268
|
+
#
|
1269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListReservationsRequest AWS API Documentation
|
1270
|
+
#
|
1271
|
+
class ListReservationsRequest < Struct.new(
|
1272
|
+
:max_results,
|
1273
|
+
:next_token)
|
1274
|
+
SENSITIVE = []
|
1275
|
+
include Aws::Structure
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
# The result of a successful ListReservations request. The response
|
1279
|
+
# includes the details of each offering that your account is eligible
|
1280
|
+
# for. The response includes the following information for each
|
1281
|
+
# offering: description, duration, outbound bandwidth, price, Amazon
|
1282
|
+
# Resource Name (ARN), and the NextToken to use in a subsequent
|
1283
|
+
# ListOfferings request.
|
1284
|
+
#
|
1285
|
+
# @!attribute [rw] next_token
|
1286
|
+
# The token that identifies which batch of results that you want to
|
1287
|
+
# see. For example, you submit a ListReservations request with
|
1288
|
+
# MaxResults set at 5. The service returns the first batch of results
|
1289
|
+
# (up to 5) and a NextToken value. To see the next batch of results,
|
1290
|
+
# you can submit the ListReservations request a second time and
|
1291
|
+
# specify the NextToken value.
|
1292
|
+
# @return [String]
|
1293
|
+
#
|
1294
|
+
# @!attribute [rw] reservations
|
1295
|
+
# A list of all reservations that have been purchased by this account
|
1296
|
+
# in the current AWS Region.
|
1297
|
+
# @return [Array<Types::Reservation>]
|
1298
|
+
#
|
1299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListReservationsResponse AWS API Documentation
|
1300
|
+
#
|
1301
|
+
class ListReservationsResponse < Struct.new(
|
1302
|
+
:next_token,
|
1303
|
+
:reservations)
|
1304
|
+
SENSITIVE = []
|
1305
|
+
include Aws::Structure
|
1306
|
+
end
|
1307
|
+
|
1115
1308
|
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1116
1309
|
# data as a hash:
|
1117
1310
|
#
|
@@ -1244,6 +1437,61 @@ module Aws::MediaConnect
|
|
1244
1437
|
include Aws::Structure
|
1245
1438
|
end
|
1246
1439
|
|
1440
|
+
# A savings plan that reserves a certain amount of outbound bandwidth
|
1441
|
+
# usage at a discounted rate each month over a period of time.
|
1442
|
+
#
|
1443
|
+
# @!attribute [rw] currency_code
|
1444
|
+
# The type of currency that is used for billing. The currencyCode used
|
1445
|
+
# for all reservations is US dollars.
|
1446
|
+
# @return [String]
|
1447
|
+
#
|
1448
|
+
# @!attribute [rw] duration
|
1449
|
+
# The length of time that your reservation would be active.
|
1450
|
+
# @return [Integer]
|
1451
|
+
#
|
1452
|
+
# @!attribute [rw] duration_units
|
1453
|
+
# The unit of measurement for the duration of the offering.
|
1454
|
+
# @return [String]
|
1455
|
+
#
|
1456
|
+
# @!attribute [rw] offering_arn
|
1457
|
+
# The Amazon Resource Name (ARN) that MediaConnect assigns to the
|
1458
|
+
# offering.
|
1459
|
+
# @return [String]
|
1460
|
+
#
|
1461
|
+
# @!attribute [rw] offering_description
|
1462
|
+
# A description of the offering.
|
1463
|
+
# @return [String]
|
1464
|
+
#
|
1465
|
+
# @!attribute [rw] price_per_unit
|
1466
|
+
# The cost of a single unit. This value, in combination with
|
1467
|
+
# priceUnits, makes up the rate.
|
1468
|
+
# @return [String]
|
1469
|
+
#
|
1470
|
+
# @!attribute [rw] price_units
|
1471
|
+
# The unit of measurement that is used for billing. This value, in
|
1472
|
+
# combination with pricePerUnit, makes up the rate.
|
1473
|
+
# @return [String]
|
1474
|
+
#
|
1475
|
+
# @!attribute [rw] resource_specification
|
1476
|
+
# A definition of the amount of outbound bandwidth that you would be
|
1477
|
+
# reserving if you purchase the offering.
|
1478
|
+
# @return [Types::ResourceSpecification]
|
1479
|
+
#
|
1480
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Offering AWS API Documentation
|
1481
|
+
#
|
1482
|
+
class Offering < Struct.new(
|
1483
|
+
:currency_code,
|
1484
|
+
:duration,
|
1485
|
+
:duration_units,
|
1486
|
+
:offering_arn,
|
1487
|
+
:offering_description,
|
1488
|
+
:price_per_unit,
|
1489
|
+
:price_units,
|
1490
|
+
:resource_specification)
|
1491
|
+
SENSITIVE = []
|
1492
|
+
include Aws::Structure
|
1493
|
+
end
|
1494
|
+
|
1247
1495
|
# The settings for an output.
|
1248
1496
|
#
|
1249
1497
|
# @!attribute [rw] data_transfer_subscriber_fee_percent
|
@@ -1315,6 +1563,66 @@ module Aws::MediaConnect
|
|
1315
1563
|
include Aws::Structure
|
1316
1564
|
end
|
1317
1565
|
|
1566
|
+
# Submits a request to purchase an offering, which creates a reservation
|
1567
|
+
# in your AWS account. If you already have an active reservation, you
|
1568
|
+
# can't purchase another offering.
|
1569
|
+
#
|
1570
|
+
# @note When making an API call, you may pass PurchaseOfferingRequest
|
1571
|
+
# data as a hash:
|
1572
|
+
#
|
1573
|
+
# {
|
1574
|
+
# offering_arn: "__string", # required
|
1575
|
+
# reservation_name: "__string", # required
|
1576
|
+
# start: "__string", # required
|
1577
|
+
# }
|
1578
|
+
#
|
1579
|
+
# @!attribute [rw] offering_arn
|
1580
|
+
# @return [String]
|
1581
|
+
#
|
1582
|
+
# @!attribute [rw] reservation_name
|
1583
|
+
# The name that you want to use for the reservation.
|
1584
|
+
# @return [String]
|
1585
|
+
#
|
1586
|
+
# @!attribute [rw] start
|
1587
|
+
# The date and time that you want the reservation to begin, in
|
1588
|
+
# Coordinated Universal Time (UTC). You can specify any date and time
|
1589
|
+
# between 12:00am on the first day of the current month to the current
|
1590
|
+
# time on today's date, inclusive. Specify the start in a 24-hour
|
1591
|
+
# notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T
|
1592
|
+
# and Z are literal characters. For example, to specify 11:30pm on
|
1593
|
+
# March 5, 2020, enter 2020-03-05T23:30:00Z.
|
1594
|
+
# @return [String]
|
1595
|
+
#
|
1596
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOfferingRequest AWS API Documentation
|
1597
|
+
#
|
1598
|
+
class PurchaseOfferingRequest < Struct.new(
|
1599
|
+
:offering_arn,
|
1600
|
+
:reservation_name,
|
1601
|
+
:start)
|
1602
|
+
SENSITIVE = []
|
1603
|
+
include Aws::Structure
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
# The result of a successful PurchaseOffering request.
|
1607
|
+
#
|
1608
|
+
# @!attribute [rw] reservation
|
1609
|
+
# A pricing agreement for a discounted rate for a specific outbound
|
1610
|
+
# bandwidth that your MediaConnect account will use each month over a
|
1611
|
+
# specific time period. The discounted rate in the reservation applies
|
1612
|
+
# to outbound bandwidth for all flows from your account until your
|
1613
|
+
# account reaches the amount of bandwidth in your reservation. If you
|
1614
|
+
# use more outbound bandwidth than the agreed upon amount in a single
|
1615
|
+
# month, the overage is charged at the on-demand rate.
|
1616
|
+
# @return [Types::Reservation]
|
1617
|
+
#
|
1618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOfferingResponse AWS API Documentation
|
1619
|
+
#
|
1620
|
+
class PurchaseOfferingResponse < Struct.new(
|
1621
|
+
:reservation)
|
1622
|
+
SENSITIVE = []
|
1623
|
+
include Aws::Structure
|
1624
|
+
end
|
1625
|
+
|
1318
1626
|
# @note When making an API call, you may pass RemoveFlowOutputRequest
|
1319
1627
|
# data as a hash:
|
1320
1628
|
#
|
@@ -1451,6 +1759,122 @@ module Aws::MediaConnect
|
|
1451
1759
|
include Aws::Structure
|
1452
1760
|
end
|
1453
1761
|
|
1762
|
+
# A pricing agreement for a discounted rate for a specific outbound
|
1763
|
+
# bandwidth that your MediaConnect account will use each month over a
|
1764
|
+
# specific time period. The discounted rate in the reservation applies
|
1765
|
+
# to outbound bandwidth for all flows from your account until your
|
1766
|
+
# account reaches the amount of bandwidth in your reservation. If you
|
1767
|
+
# use more outbound bandwidth than the agreed upon amount in a single
|
1768
|
+
# month, the overage is charged at the on-demand rate.
|
1769
|
+
#
|
1770
|
+
# @!attribute [rw] currency_code
|
1771
|
+
# The type of currency that is used for billing. The currencyCode used
|
1772
|
+
# for your reservation is US dollars.
|
1773
|
+
# @return [String]
|
1774
|
+
#
|
1775
|
+
# @!attribute [rw] duration
|
1776
|
+
# The length of time that this reservation is active. MediaConnect
|
1777
|
+
# defines this value in the offering.
|
1778
|
+
# @return [Integer]
|
1779
|
+
#
|
1780
|
+
# @!attribute [rw] duration_units
|
1781
|
+
# The unit of measurement for the duration of the reservation.
|
1782
|
+
# MediaConnect defines this value in the offering.
|
1783
|
+
# @return [String]
|
1784
|
+
#
|
1785
|
+
# @!attribute [rw] end
|
1786
|
+
# The day and time that this reservation expires. This value is
|
1787
|
+
# calculated based on the start date and time that you set and the
|
1788
|
+
# offering's duration.
|
1789
|
+
# @return [String]
|
1790
|
+
#
|
1791
|
+
# @!attribute [rw] offering_arn
|
1792
|
+
# The Amazon Resource Name (ARN) that MediaConnect assigns to the
|
1793
|
+
# offering.
|
1794
|
+
# @return [String]
|
1795
|
+
#
|
1796
|
+
# @!attribute [rw] offering_description
|
1797
|
+
# A description of the offering. MediaConnect defines this value in
|
1798
|
+
# the offering.
|
1799
|
+
# @return [String]
|
1800
|
+
#
|
1801
|
+
# @!attribute [rw] price_per_unit
|
1802
|
+
# The cost of a single unit. This value, in combination with
|
1803
|
+
# priceUnits, makes up the rate. MediaConnect defines this value in
|
1804
|
+
# the offering.
|
1805
|
+
# @return [String]
|
1806
|
+
#
|
1807
|
+
# @!attribute [rw] price_units
|
1808
|
+
# The unit of measurement that is used for billing. This value, in
|
1809
|
+
# combination with pricePerUnit, makes up the rate. MediaConnect
|
1810
|
+
# defines this value in the offering.
|
1811
|
+
# @return [String]
|
1812
|
+
#
|
1813
|
+
# @!attribute [rw] reservation_arn
|
1814
|
+
# The Amazon Resource Name (ARN) that MediaConnect assigns to the
|
1815
|
+
# reservation when you purchase an offering.
|
1816
|
+
# @return [String]
|
1817
|
+
#
|
1818
|
+
# @!attribute [rw] reservation_name
|
1819
|
+
# The name that you assigned to the reservation when you purchased the
|
1820
|
+
# offering.
|
1821
|
+
# @return [String]
|
1822
|
+
#
|
1823
|
+
# @!attribute [rw] reservation_state
|
1824
|
+
# The status of your reservation.
|
1825
|
+
# @return [String]
|
1826
|
+
#
|
1827
|
+
# @!attribute [rw] resource_specification
|
1828
|
+
# A definition of the amount of outbound bandwidth that you would be
|
1829
|
+
# reserving if you purchase the offering. MediaConnect defines the
|
1830
|
+
# values that make up the resourceSpecification in the offering.
|
1831
|
+
# @return [Types::ResourceSpecification]
|
1832
|
+
#
|
1833
|
+
# @!attribute [rw] start
|
1834
|
+
# The day and time that the reservation becomes active. You set this
|
1835
|
+
# value when you purchase the offering.
|
1836
|
+
# @return [String]
|
1837
|
+
#
|
1838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Reservation AWS API Documentation
|
1839
|
+
#
|
1840
|
+
class Reservation < Struct.new(
|
1841
|
+
:currency_code,
|
1842
|
+
:duration,
|
1843
|
+
:duration_units,
|
1844
|
+
:end,
|
1845
|
+
:offering_arn,
|
1846
|
+
:offering_description,
|
1847
|
+
:price_per_unit,
|
1848
|
+
:price_units,
|
1849
|
+
:reservation_arn,
|
1850
|
+
:reservation_name,
|
1851
|
+
:reservation_state,
|
1852
|
+
:resource_specification,
|
1853
|
+
:start)
|
1854
|
+
SENSITIVE = []
|
1855
|
+
include Aws::Structure
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
# A definition of what is being billed for, including the type and
|
1859
|
+
# amount.
|
1860
|
+
#
|
1861
|
+
# @!attribute [rw] reserved_bitrate
|
1862
|
+
# The amount of outbound bandwidth that is discounted in the offering.
|
1863
|
+
# @return [Integer]
|
1864
|
+
#
|
1865
|
+
# @!attribute [rw] resource_type
|
1866
|
+
# The type of resource and the unit that is being billed for.
|
1867
|
+
# @return [String]
|
1868
|
+
#
|
1869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ResourceSpecification AWS API Documentation
|
1870
|
+
#
|
1871
|
+
class ResourceSpecification < Struct.new(
|
1872
|
+
:reserved_bitrate,
|
1873
|
+
:resource_type)
|
1874
|
+
SENSITIVE = []
|
1875
|
+
include Aws::Structure
|
1876
|
+
end
|
1877
|
+
|
1454
1878
|
# Exception raised by AWS Elemental MediaConnect. See the error message
|
1455
1879
|
# and documentation for the operation for more information on the cause
|
1456
1880
|
# of this exception.
|
@@ -2027,6 +2451,7 @@ module Aws::MediaConnect
|
|
2027
2451
|
# url: "__string",
|
2028
2452
|
# },
|
2029
2453
|
# entitlement_arn: "__string", # required
|
2454
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
2030
2455
|
# flow_arn: "__string", # required
|
2031
2456
|
# subscribers: ["__string"],
|
2032
2457
|
# }
|
@@ -2045,6 +2470,13 @@ module Aws::MediaConnect
|
|
2045
2470
|
# @!attribute [rw] entitlement_arn
|
2046
2471
|
# @return [String]
|
2047
2472
|
#
|
2473
|
+
# @!attribute [rw] entitlement_status
|
2474
|
+
# An indication of whether you want to enable the entitlement to allow
|
2475
|
+
# access, or disable it to stop streaming content to the subscriber’s
|
2476
|
+
# flow temporarily. If you don’t specify the entitlementStatus field
|
2477
|
+
# in your request, MediaConnect leaves the value unchanged.
|
2478
|
+
# @return [String]
|
2479
|
+
#
|
2048
2480
|
# @!attribute [rw] flow_arn
|
2049
2481
|
# @return [String]
|
2050
2482
|
#
|
@@ -2060,6 +2492,7 @@ module Aws::MediaConnect
|
|
2060
2492
|
:description,
|
2061
2493
|
:encryption,
|
2062
2494
|
:entitlement_arn,
|
2495
|
+
:entitlement_status,
|
2063
2496
|
:flow_arn,
|
2064
2497
|
:subscribers)
|
2065
2498
|
SENSITIVE = []
|
@@ -2071,7 +2504,7 @@ module Aws::MediaConnect
|
|
2071
2504
|
# entitlement configuration.
|
2072
2505
|
#
|
2073
2506
|
# @!attribute [rw] entitlement
|
2074
|
-
# The
|
2507
|
+
# The new configuration of the entitlement that you updated.
|
2075
2508
|
# @return [Types::Entitlement]
|
2076
2509
|
#
|
2077
2510
|
# @!attribute [rw] flow_arn
|
@@ -2207,7 +2640,7 @@ module Aws::MediaConnect
|
|
2207
2640
|
# @return [String]
|
2208
2641
|
#
|
2209
2642
|
# @!attribute [rw] output
|
2210
|
-
# The settings
|
2643
|
+
# The new settings of the output that you updated.
|
2211
2644
|
# @return [Types::Output]
|
2212
2645
|
#
|
2213
2646
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutputResponse AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mediaconnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.29.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: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.112.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|