aws-sdk-mediaconnect 1.23.1 → 1.28.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 +5 -2
- data/lib/aws-sdk-mediaconnect/client.rb +270 -8
- data/lib/aws-sdk-mediaconnect/client_api.rb +170 -0
- data/lib/aws-sdk-mediaconnect/errors.rb +2 -0
- data/lib/aws-sdk-mediaconnect/resource.rb +2 -0
- data/lib/aws-sdk-mediaconnect/types.rb +507 -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: 0cf7303d3ab2a8730fa819735129e173107dfcb239f68510db3f0a3dd5bfa27d
|
4
|
+
data.tar.gz: 623824dbdfc166f466c174c54186273e51ba2e3c0b18554ea5f8345efc1bb75f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dffc5144881578ef69a3c4ecda5b7baa2ae2668ab4d093ddbe084e955cd461af918506d339210cc4bf00b5ed2986dd88f24bb95f0a5398e2bff6ecb1e675a43
|
7
|
+
data.tar.gz: 747645586ba378629e625d342526fa12ef7e843a717b407884ef531252fa75dfc42bb62659bbf16092806a98aa96a2aa11afe64b09191663abd9017cd0788702
|
data/lib/aws-sdk-mediaconnect.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-mediaconnect/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::MediaConnect
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.28.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::MediaConnect
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
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
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::MediaConnect
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# 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.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -578,6 +595,7 @@ module Aws::MediaConnect
|
|
578
595
|
# secret_arn: "__string",
|
579
596
|
# url: "__string",
|
580
597
|
# },
|
598
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
581
599
|
# name: "__string",
|
582
600
|
# subscribers: ["__string"], # required
|
583
601
|
# },
|
@@ -691,6 +709,7 @@ module Aws::MediaConnect
|
|
691
709
|
# resp.flow.entitlements[0].encryption.secret_arn #=> String
|
692
710
|
# resp.flow.entitlements[0].encryption.url #=> String
|
693
711
|
# resp.flow.entitlements[0].entitlement_arn #=> String
|
712
|
+
# resp.flow.entitlements[0].entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
694
713
|
# resp.flow.entitlements[0].name #=> String
|
695
714
|
# resp.flow.entitlements[0].subscribers #=> Array
|
696
715
|
# resp.flow.entitlements[0].subscribers[0] #=> String
|
@@ -861,6 +880,7 @@ module Aws::MediaConnect
|
|
861
880
|
# resp.flow.entitlements[0].encryption.secret_arn #=> String
|
862
881
|
# resp.flow.entitlements[0].encryption.url #=> String
|
863
882
|
# resp.flow.entitlements[0].entitlement_arn #=> String
|
883
|
+
# resp.flow.entitlements[0].entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
864
884
|
# resp.flow.entitlements[0].name #=> String
|
865
885
|
# resp.flow.entitlements[0].subscribers #=> Array
|
866
886
|
# resp.flow.entitlements[0].subscribers[0] #=> String
|
@@ -969,6 +989,86 @@ module Aws::MediaConnect
|
|
969
989
|
req.send_request(options)
|
970
990
|
end
|
971
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
|
+
|
972
1072
|
# Grants entitlements to an existing flow.
|
973
1073
|
#
|
974
1074
|
# @option params [required, Array<Types::GrantEntitlementRequest>] :entitlements
|
@@ -999,6 +1099,7 @@ module Aws::MediaConnect
|
|
999
1099
|
# secret_arn: "__string",
|
1000
1100
|
# url: "__string",
|
1001
1101
|
# },
|
1102
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
1002
1103
|
# name: "__string",
|
1003
1104
|
# subscribers: ["__string"], # required
|
1004
1105
|
# },
|
@@ -1021,6 +1122,7 @@ module Aws::MediaConnect
|
|
1021
1122
|
# resp.entitlements[0].encryption.secret_arn #=> String
|
1022
1123
|
# resp.entitlements[0].encryption.url #=> String
|
1023
1124
|
# resp.entitlements[0].entitlement_arn #=> String
|
1125
|
+
# resp.entitlements[0].entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
1024
1126
|
# resp.entitlements[0].name #=> String
|
1025
1127
|
# resp.entitlements[0].subscribers #=> Array
|
1026
1128
|
# resp.entitlements[0].subscribers[0] #=> String
|
@@ -1114,6 +1216,102 @@ module Aws::MediaConnect
|
|
1114
1216
|
req.send_request(options)
|
1115
1217
|
end
|
1116
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
|
+
|
1117
1315
|
# List all tags on an AWS Elemental MediaConnect resource
|
1118
1316
|
#
|
1119
1317
|
# @option params [required, String] :resource_arn
|
@@ -1142,6 +1340,61 @@ module Aws::MediaConnect
|
|
1142
1340
|
req.send_request(options)
|
1143
1341
|
end
|
1144
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
|
+
|
1145
1398
|
# Removes an output from an existing flow. This request can be made only
|
1146
1399
|
# on an output that does not have an entitlement associated with it. If
|
1147
1400
|
# the output has an entitlement, you must revoke the entitlement
|
@@ -1437,6 +1690,7 @@ module Aws::MediaConnect
|
|
1437
1690
|
# resp.flow.entitlements[0].encryption.secret_arn #=> String
|
1438
1691
|
# resp.flow.entitlements[0].encryption.url #=> String
|
1439
1692
|
# resp.flow.entitlements[0].entitlement_arn #=> String
|
1693
|
+
# resp.flow.entitlements[0].entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
1440
1694
|
# resp.flow.entitlements[0].name #=> String
|
1441
1695
|
# resp.flow.entitlements[0].subscribers #=> Array
|
1442
1696
|
# resp.flow.entitlements[0].subscribers[0] #=> String
|
@@ -1558,6 +1812,12 @@ module Aws::MediaConnect
|
|
1558
1812
|
#
|
1559
1813
|
# @option params [required, String] :entitlement_arn
|
1560
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
|
+
#
|
1561
1821
|
# @option params [required, String] :flow_arn
|
1562
1822
|
#
|
1563
1823
|
# @option params [Array<String>] :subscribers
|
@@ -1586,6 +1846,7 @@ module Aws::MediaConnect
|
|
1586
1846
|
# url: "__string",
|
1587
1847
|
# },
|
1588
1848
|
# entitlement_arn: "__string", # required
|
1849
|
+
# entitlement_status: "ENABLED", # accepts ENABLED, DISABLED
|
1589
1850
|
# flow_arn: "__string", # required
|
1590
1851
|
# subscribers: ["__string"],
|
1591
1852
|
# })
|
@@ -1604,6 +1865,7 @@ module Aws::MediaConnect
|
|
1604
1865
|
# resp.entitlement.encryption.secret_arn #=> String
|
1605
1866
|
# resp.entitlement.encryption.url #=> String
|
1606
1867
|
# resp.entitlement.entitlement_arn #=> String
|
1868
|
+
# resp.entitlement.entitlement_status #=> String, one of "ENABLED", "DISABLED"
|
1607
1869
|
# resp.entitlement.name #=> String
|
1608
1870
|
# resp.entitlement.subscribers #=> Array
|
1609
1871
|
# resp.entitlement.subscribers[0] #=> String
|
@@ -1864,7 +2126,7 @@ module Aws::MediaConnect
|
|
1864
2126
|
params: params,
|
1865
2127
|
config: config)
|
1866
2128
|
context[:gem_name] = 'aws-sdk-mediaconnect'
|
1867
|
-
context[:gem_version] = '1.
|
2129
|
+
context[:gem_version] = '1.28.0'
|
1868
2130
|
Seahorse::Client::Request.new(handlers, context)
|
1869
2131
|
end
|
1870
2132
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -28,8 +30,14 @@ module Aws::MediaConnect
|
|
28
30
|
DeleteFlowResponse = Shapes::StructureShape.new(name: 'DeleteFlowResponse')
|
29
31
|
DescribeFlowRequest = Shapes::StructureShape.new(name: 'DescribeFlowRequest')
|
30
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')
|
31
38
|
Encryption = Shapes::StructureShape.new(name: 'Encryption')
|
32
39
|
Entitlement = Shapes::StructureShape.new(name: 'Entitlement')
|
40
|
+
EntitlementStatus = Shapes::StringShape.new(name: 'EntitlementStatus')
|
33
41
|
FailoverConfig = Shapes::StructureShape.new(name: 'FailoverConfig')
|
34
42
|
Flow = Shapes::StructureShape.new(name: 'Flow')
|
35
43
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
@@ -43,6 +51,10 @@ module Aws::MediaConnect
|
|
43
51
|
ListEntitlementsResponse = Shapes::StructureShape.new(name: 'ListEntitlementsResponse')
|
44
52
|
ListFlowsRequest = Shapes::StructureShape.new(name: 'ListFlowsRequest')
|
45
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')
|
46
58
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
47
59
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
48
60
|
ListedEntitlement = Shapes::StructureShape.new(name: 'ListedEntitlement')
|
@@ -50,14 +62,22 @@ module Aws::MediaConnect
|
|
50
62
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
51
63
|
Messages = Shapes::StructureShape.new(name: 'Messages')
|
52
64
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
65
|
+
Offering = Shapes::StructureShape.new(name: 'Offering')
|
53
66
|
Output = Shapes::StructureShape.new(name: 'Output')
|
67
|
+
PriceUnits = Shapes::StringShape.new(name: 'PriceUnits')
|
54
68
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
69
|
+
PurchaseOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseOfferingRequest')
|
70
|
+
PurchaseOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseOfferingResponse')
|
55
71
|
RemoveFlowOutputRequest = Shapes::StructureShape.new(name: 'RemoveFlowOutputRequest')
|
56
72
|
RemoveFlowOutputResponse = Shapes::StructureShape.new(name: 'RemoveFlowOutputResponse')
|
57
73
|
RemoveFlowSourceRequest = Shapes::StructureShape.new(name: 'RemoveFlowSourceRequest')
|
58
74
|
RemoveFlowSourceResponse = Shapes::StructureShape.new(name: 'RemoveFlowSourceResponse')
|
59
75
|
RemoveFlowVpcInterfaceRequest = Shapes::StructureShape.new(name: 'RemoveFlowVpcInterfaceRequest')
|
60
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')
|
61
81
|
ResponseError = Shapes::StructureShape.new(name: 'ResponseError')
|
62
82
|
RevokeFlowEntitlementRequest = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementRequest')
|
63
83
|
RevokeFlowEntitlementResponse = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementResponse')
|
@@ -96,7 +116,9 @@ module Aws::MediaConnect
|
|
96
116
|
__listOfGrantEntitlementRequest = Shapes::ListShape.new(name: '__listOfGrantEntitlementRequest')
|
97
117
|
__listOfListedEntitlement = Shapes::ListShape.new(name: '__listOfListedEntitlement')
|
98
118
|
__listOfListedFlow = Shapes::ListShape.new(name: '__listOfListedFlow')
|
119
|
+
__listOfOffering = Shapes::ListShape.new(name: '__listOfOffering')
|
99
120
|
__listOfOutput = Shapes::ListShape.new(name: '__listOfOutput')
|
121
|
+
__listOfReservation = Shapes::ListShape.new(name: '__listOfReservation')
|
100
122
|
__listOfSetSourceRequest = Shapes::ListShape.new(name: '__listOfSetSourceRequest')
|
101
123
|
__listOfSource = Shapes::ListShape.new(name: '__listOfSource')
|
102
124
|
__listOfVpcInterface = Shapes::ListShape.new(name: '__listOfVpcInterface')
|
@@ -183,6 +205,18 @@ module Aws::MediaConnect
|
|
183
205
|
DescribeFlowResponse.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
|
184
206
|
DescribeFlowResponse.struct_class = Types::DescribeFlowResponse
|
185
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
|
+
|
186
220
|
Encryption.add_member(:algorithm, Shapes::ShapeRef.new(shape: Algorithm, required: true, location_name: "algorithm"))
|
187
221
|
Encryption.add_member(:constant_initialization_vector, Shapes::ShapeRef.new(shape: __string, location_name: "constantInitializationVector"))
|
188
222
|
Encryption.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, location_name: "deviceId"))
|
@@ -198,6 +232,7 @@ module Aws::MediaConnect
|
|
198
232
|
Entitlement.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
199
233
|
Entitlement.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
|
200
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"))
|
201
236
|
Entitlement.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
202
237
|
Entitlement.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subscribers"))
|
203
238
|
Entitlement.struct_class = Types::Entitlement
|
@@ -226,6 +261,7 @@ module Aws::MediaConnect
|
|
226
261
|
GrantEntitlementRequest.add_member(:data_transfer_subscriber_fee_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "dataTransferSubscriberFeePercent"))
|
227
262
|
GrantEntitlementRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
228
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"))
|
229
265
|
GrantEntitlementRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
230
266
|
GrantEntitlementRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subscribers"))
|
231
267
|
GrantEntitlementRequest.struct_class = Types::GrantEntitlementRequest
|
@@ -260,6 +296,22 @@ module Aws::MediaConnect
|
|
260
296
|
ListFlowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
261
297
|
ListFlowsResponse.struct_class = Types::ListFlowsResponse
|
262
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
|
+
|
263
315
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
|
264
316
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
265
317
|
|
@@ -285,6 +337,16 @@ module Aws::MediaConnect
|
|
285
337
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
286
338
|
NotFoundException.struct_class = Types::NotFoundException
|
287
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
|
+
|
288
350
|
Output.add_member(:data_transfer_subscriber_fee_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "dataTransferSubscriberFeePercent"))
|
289
351
|
Output.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
290
352
|
Output.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
|
@@ -298,6 +360,14 @@ module Aws::MediaConnect
|
|
298
360
|
Output.add_member(:vpc_interface_attachment, Shapes::ShapeRef.new(shape: VpcInterfaceAttachment, location_name: "vpcInterfaceAttachment"))
|
299
361
|
Output.struct_class = Types::Output
|
300
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
|
+
|
301
371
|
RemoveFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
302
372
|
RemoveFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
|
303
373
|
RemoveFlowOutputRequest.struct_class = Types::RemoveFlowOutputRequest
|
@@ -323,6 +393,25 @@ module Aws::MediaConnect
|
|
323
393
|
RemoveFlowVpcInterfaceResponse.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
|
324
394
|
RemoveFlowVpcInterfaceResponse.struct_class = Types::RemoveFlowVpcInterfaceResponse
|
325
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
|
+
|
326
415
|
ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
327
416
|
ResponseError.struct_class = Types::ResponseError
|
328
417
|
|
@@ -415,6 +504,7 @@ module Aws::MediaConnect
|
|
415
504
|
UpdateFlowEntitlementRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
416
505
|
UpdateFlowEntitlementRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: UpdateEncryption, location_name: "encryption"))
|
417
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"))
|
418
508
|
UpdateFlowEntitlementRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
419
509
|
UpdateFlowEntitlementRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "subscribers"))
|
420
510
|
UpdateFlowEntitlementRequest.struct_class = Types::UpdateFlowEntitlementRequest
|
@@ -493,8 +583,12 @@ module Aws::MediaConnect
|
|
493
583
|
|
494
584
|
__listOfListedFlow.member = Shapes::ShapeRef.new(shape: ListedFlow)
|
495
585
|
|
586
|
+
__listOfOffering.member = Shapes::ShapeRef.new(shape: Offering)
|
587
|
+
|
496
588
|
__listOfOutput.member = Shapes::ShapeRef.new(shape: Output)
|
497
589
|
|
590
|
+
__listOfReservation.member = Shapes::ShapeRef.new(shape: Reservation)
|
591
|
+
|
498
592
|
__listOfSetSourceRequest.member = Shapes::ShapeRef.new(shape: SetSourceRequest)
|
499
593
|
|
500
594
|
__listOfSource.member = Shapes::ShapeRef.new(shape: Source)
|
@@ -613,6 +707,32 @@ module Aws::MediaConnect
|
|
613
707
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
614
708
|
end)
|
615
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
|
+
|
616
736
|
api.add_operation(:grant_flow_entitlements, Seahorse::Model::Operation.new.tap do |o|
|
617
737
|
o.name = "GrantFlowEntitlements"
|
618
738
|
o.http_method = "POST"
|
@@ -664,6 +784,42 @@ module Aws::MediaConnect
|
|
664
784
|
)
|
665
785
|
end)
|
666
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
|
+
|
667
823
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
668
824
|
o.name = "ListTagsForResource"
|
669
825
|
o.http_method = "GET"
|
@@ -675,6 +831,20 @@ module Aws::MediaConnect
|
|
675
831
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
676
832
|
end)
|
677
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
|
+
|
678
848
|
api.add_operation(:remove_flow_output, Seahorse::Model::Operation.new.tap do |o|
|
679
849
|
o.name = "RemoveFlowOutput"
|
680
850
|
o.http_method = "DELETE"
|