aws-sdk-mediaconnect 1.27.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-mediaconnect.rb +1 -1
- data/lib/aws-sdk-mediaconnect/client.rb +232 -1
- data/lib/aws-sdk-mediaconnect/client_api.rb +164 -0
- data/lib/aws-sdk-mediaconnect/types.rb +410 -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
@@ -989,6 +989,86 @@ module Aws::MediaConnect
|
|
989
989
|
req.send_request(options)
|
990
990
|
end
|
991
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
|
+
|
992
1072
|
# Grants entitlements to an existing flow.
|
993
1073
|
#
|
994
1074
|
# @option params [required, Array<Types::GrantEntitlementRequest>] :entitlements
|
@@ -1136,6 +1216,102 @@ module Aws::MediaConnect
|
|
1136
1216
|
req.send_request(options)
|
1137
1217
|
end
|
1138
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
|
+
|
1139
1315
|
# List all tags on an AWS Elemental MediaConnect resource
|
1140
1316
|
#
|
1141
1317
|
# @option params [required, String] :resource_arn
|
@@ -1164,6 +1340,61 @@ module Aws::MediaConnect
|
|
1164
1340
|
req.send_request(options)
|
1165
1341
|
end
|
1166
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
|
+
|
1167
1398
|
# Removes an output from an existing flow. This request can be made only
|
1168
1399
|
# on an output that does not have an entitlement associated with it. If
|
1169
1400
|
# the output has an entitlement, you must revoke the entitlement
|
@@ -1895,7 +2126,7 @@ module Aws::MediaConnect
|
|
1895
2126
|
params: params,
|
1896
2127
|
config: config)
|
1897
2128
|
context[:gem_name] = 'aws-sdk-mediaconnect'
|
1898
|
-
context[:gem_version] = '1.
|
2129
|
+
context[:gem_version] = '1.28.0'
|
1899
2130
|
Seahorse::Client::Request.new(handlers, context)
|
1900
2131
|
end
|
1901
2132
|
|
@@ -30,6 +30,11 @@ 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')
|
35
40
|
EntitlementStatus = Shapes::StringShape.new(name: 'EntitlementStatus')
|
@@ -46,6 +51,10 @@ module Aws::MediaConnect
|
|
46
51
|
ListEntitlementsResponse = Shapes::StructureShape.new(name: 'ListEntitlementsResponse')
|
47
52
|
ListFlowsRequest = Shapes::StructureShape.new(name: 'ListFlowsRequest')
|
48
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')
|
49
58
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
50
59
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
51
60
|
ListedEntitlement = Shapes::StructureShape.new(name: 'ListedEntitlement')
|
@@ -53,14 +62,22 @@ module Aws::MediaConnect
|
|
53
62
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
54
63
|
Messages = Shapes::StructureShape.new(name: 'Messages')
|
55
64
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
65
|
+
Offering = Shapes::StructureShape.new(name: 'Offering')
|
56
66
|
Output = Shapes::StructureShape.new(name: 'Output')
|
67
|
+
PriceUnits = Shapes::StringShape.new(name: 'PriceUnits')
|
57
68
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
69
|
+
PurchaseOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseOfferingRequest')
|
70
|
+
PurchaseOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseOfferingResponse')
|
58
71
|
RemoveFlowOutputRequest = Shapes::StructureShape.new(name: 'RemoveFlowOutputRequest')
|
59
72
|
RemoveFlowOutputResponse = Shapes::StructureShape.new(name: 'RemoveFlowOutputResponse')
|
60
73
|
RemoveFlowSourceRequest = Shapes::StructureShape.new(name: 'RemoveFlowSourceRequest')
|
61
74
|
RemoveFlowSourceResponse = Shapes::StructureShape.new(name: 'RemoveFlowSourceResponse')
|
62
75
|
RemoveFlowVpcInterfaceRequest = Shapes::StructureShape.new(name: 'RemoveFlowVpcInterfaceRequest')
|
63
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')
|
64
81
|
ResponseError = Shapes::StructureShape.new(name: 'ResponseError')
|
65
82
|
RevokeFlowEntitlementRequest = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementRequest')
|
66
83
|
RevokeFlowEntitlementResponse = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementResponse')
|
@@ -99,7 +116,9 @@ module Aws::MediaConnect
|
|
99
116
|
__listOfGrantEntitlementRequest = Shapes::ListShape.new(name: '__listOfGrantEntitlementRequest')
|
100
117
|
__listOfListedEntitlement = Shapes::ListShape.new(name: '__listOfListedEntitlement')
|
101
118
|
__listOfListedFlow = Shapes::ListShape.new(name: '__listOfListedFlow')
|
119
|
+
__listOfOffering = Shapes::ListShape.new(name: '__listOfOffering')
|
102
120
|
__listOfOutput = Shapes::ListShape.new(name: '__listOfOutput')
|
121
|
+
__listOfReservation = Shapes::ListShape.new(name: '__listOfReservation')
|
103
122
|
__listOfSetSourceRequest = Shapes::ListShape.new(name: '__listOfSetSourceRequest')
|
104
123
|
__listOfSource = Shapes::ListShape.new(name: '__listOfSource')
|
105
124
|
__listOfVpcInterface = Shapes::ListShape.new(name: '__listOfVpcInterface')
|
@@ -186,6 +205,18 @@ module Aws::MediaConnect
|
|
186
205
|
DescribeFlowResponse.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
|
187
206
|
DescribeFlowResponse.struct_class = Types::DescribeFlowResponse
|
188
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
|
+
|
189
220
|
Encryption.add_member(:algorithm, Shapes::ShapeRef.new(shape: Algorithm, required: true, location_name: "algorithm"))
|
190
221
|
Encryption.add_member(:constant_initialization_vector, Shapes::ShapeRef.new(shape: __string, location_name: "constantInitializationVector"))
|
191
222
|
Encryption.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, location_name: "deviceId"))
|
@@ -265,6 +296,22 @@ module Aws::MediaConnect
|
|
265
296
|
ListFlowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
266
297
|
ListFlowsResponse.struct_class = Types::ListFlowsResponse
|
267
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
|
+
|
268
315
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
|
269
316
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
270
317
|
|
@@ -290,6 +337,16 @@ module Aws::MediaConnect
|
|
290
337
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
291
338
|
NotFoundException.struct_class = Types::NotFoundException
|
292
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
|
+
|
293
350
|
Output.add_member(:data_transfer_subscriber_fee_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "dataTransferSubscriberFeePercent"))
|
294
351
|
Output.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
295
352
|
Output.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
|
@@ -303,6 +360,14 @@ module Aws::MediaConnect
|
|
303
360
|
Output.add_member(:vpc_interface_attachment, Shapes::ShapeRef.new(shape: VpcInterfaceAttachment, location_name: "vpcInterfaceAttachment"))
|
304
361
|
Output.struct_class = Types::Output
|
305
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
|
+
|
306
371
|
RemoveFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
|
307
372
|
RemoveFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
|
308
373
|
RemoveFlowOutputRequest.struct_class = Types::RemoveFlowOutputRequest
|
@@ -328,6 +393,25 @@ module Aws::MediaConnect
|
|
328
393
|
RemoveFlowVpcInterfaceResponse.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
|
329
394
|
RemoveFlowVpcInterfaceResponse.struct_class = Types::RemoveFlowVpcInterfaceResponse
|
330
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
|
+
|
331
415
|
ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
332
416
|
ResponseError.struct_class = Types::ResponseError
|
333
417
|
|
@@ -499,8 +583,12 @@ module Aws::MediaConnect
|
|
499
583
|
|
500
584
|
__listOfListedFlow.member = Shapes::ShapeRef.new(shape: ListedFlow)
|
501
585
|
|
586
|
+
__listOfOffering.member = Shapes::ShapeRef.new(shape: Offering)
|
587
|
+
|
502
588
|
__listOfOutput.member = Shapes::ShapeRef.new(shape: Output)
|
503
589
|
|
590
|
+
__listOfReservation.member = Shapes::ShapeRef.new(shape: Reservation)
|
591
|
+
|
504
592
|
__listOfSetSourceRequest.member = Shapes::ShapeRef.new(shape: SetSourceRequest)
|
505
593
|
|
506
594
|
__listOfSource.member = Shapes::ShapeRef.new(shape: Source)
|
@@ -619,6 +707,32 @@ module Aws::MediaConnect
|
|
619
707
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
620
708
|
end)
|
621
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
|
+
|
622
736
|
api.add_operation(:grant_flow_entitlements, Seahorse::Model::Operation.new.tap do |o|
|
623
737
|
o.name = "GrantFlowEntitlements"
|
624
738
|
o.http_method = "POST"
|
@@ -670,6 +784,42 @@ module Aws::MediaConnect
|
|
670
784
|
)
|
671
785
|
end)
|
672
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
|
+
|
673
823
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
674
824
|
o.name = "ListTagsForResource"
|
675
825
|
o.http_method = "GET"
|
@@ -681,6 +831,20 @@ module Aws::MediaConnect
|
|
681
831
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
682
832
|
end)
|
683
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
|
+
|
684
848
|
api.add_operation(:remove_flow_output, Seahorse::Model::Operation.new.tap do |o|
|
685
849
|
o.name = "RemoveFlowOutput"
|
686
850
|
o.http_method = "DELETE"
|
@@ -617,6 +617,77 @@ module Aws::MediaConnect
|
|
617
617
|
include Aws::Structure
|
618
618
|
end
|
619
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
|
+
|
620
691
|
# Information about the encryption of the flow.
|
621
692
|
#
|
622
693
|
# @note When making an API call, you may pass Encryption
|
@@ -1128,6 +1199,112 @@ module Aws::MediaConnect
|
|
1128
1199
|
include Aws::Structure
|
1129
1200
|
end
|
1130
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
|
+
|
1131
1308
|
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1132
1309
|
# data as a hash:
|
1133
1310
|
#
|
@@ -1260,6 +1437,61 @@ module Aws::MediaConnect
|
|
1260
1437
|
include Aws::Structure
|
1261
1438
|
end
|
1262
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
|
+
|
1263
1495
|
# The settings for an output.
|
1264
1496
|
#
|
1265
1497
|
# @!attribute [rw] data_transfer_subscriber_fee_percent
|
@@ -1331,6 +1563,66 @@ module Aws::MediaConnect
|
|
1331
1563
|
include Aws::Structure
|
1332
1564
|
end
|
1333
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
|
+
|
1334
1626
|
# @note When making an API call, you may pass RemoveFlowOutputRequest
|
1335
1627
|
# data as a hash:
|
1336
1628
|
#
|
@@ -1467,6 +1759,122 @@ module Aws::MediaConnect
|
|
1467
1759
|
include Aws::Structure
|
1468
1760
|
end
|
1469
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
|
+
|
1470
1878
|
# Exception raised by AWS Elemental MediaConnect. See the error message
|
1471
1879
|
# and documentation for the operation for more information on the cause
|
1472
1880
|
# of this exception.
|
@@ -2096,7 +2504,7 @@ module Aws::MediaConnect
|
|
2096
2504
|
# entitlement configuration.
|
2097
2505
|
#
|
2098
2506
|
# @!attribute [rw] entitlement
|
2099
|
-
# The
|
2507
|
+
# The new configuration of the entitlement that you updated.
|
2100
2508
|
# @return [Types::Entitlement]
|
2101
2509
|
#
|
2102
2510
|
# @!attribute [rw] flow_arn
|
@@ -2232,7 +2640,7 @@ module Aws::MediaConnect
|
|
2232
2640
|
# @return [String]
|
2233
2641
|
#
|
2234
2642
|
# @!attribute [rw] output
|
2235
|
-
# The settings
|
2643
|
+
# The new settings of the output that you updated.
|
2236
2644
|
# @return [Types::Output]
|
2237
2645
|
#
|
2238
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.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-30 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|