aws-sdk-mediaconnect 1.27.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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')
@@ -144,6 +163,7 @@ module Aws::MediaConnect
144
163
  AddOutputRequest.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
145
164
  AddOutputRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
146
165
  AddOutputRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
166
+ AddOutputRequest.add_member(:min_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "minLatency"))
147
167
  AddOutputRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
148
168
  AddOutputRequest.add_member(:port, Shapes::ShapeRef.new(shape: __integer, location_name: "port"))
149
169
  AddOutputRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "protocol"))
@@ -186,7 +206,19 @@ module Aws::MediaConnect
186
206
  DescribeFlowResponse.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
187
207
  DescribeFlowResponse.struct_class = Types::DescribeFlowResponse
188
208
 
189
- Encryption.add_member(:algorithm, Shapes::ShapeRef.new(shape: Algorithm, required: true, location_name: "algorithm"))
209
+ DescribeOfferingRequest.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringArn"))
210
+ DescribeOfferingRequest.struct_class = Types::DescribeOfferingRequest
211
+
212
+ DescribeOfferingResponse.add_member(:offering, Shapes::ShapeRef.new(shape: Offering, location_name: "offering"))
213
+ DescribeOfferingResponse.struct_class = Types::DescribeOfferingResponse
214
+
215
+ DescribeReservationRequest.add_member(:reservation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "reservationArn"))
216
+ DescribeReservationRequest.struct_class = Types::DescribeReservationRequest
217
+
218
+ DescribeReservationResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
219
+ DescribeReservationResponse.struct_class = Types::DescribeReservationResponse
220
+
221
+ Encryption.add_member(:algorithm, Shapes::ShapeRef.new(shape: Algorithm, location_name: "algorithm"))
190
222
  Encryption.add_member(:constant_initialization_vector, Shapes::ShapeRef.new(shape: __string, location_name: "constantInitializationVector"))
191
223
  Encryption.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, location_name: "deviceId"))
192
224
  Encryption.add_member(:key_type, Shapes::ShapeRef.new(shape: KeyType, location_name: "keyType"))
@@ -265,6 +297,22 @@ module Aws::MediaConnect
265
297
  ListFlowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
266
298
  ListFlowsResponse.struct_class = Types::ListFlowsResponse
267
299
 
300
+ ListOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
301
+ ListOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
302
+ ListOfferingsRequest.struct_class = Types::ListOfferingsRequest
303
+
304
+ ListOfferingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
305
+ ListOfferingsResponse.add_member(:offerings, Shapes::ShapeRef.new(shape: __listOfOffering, location_name: "offerings"))
306
+ ListOfferingsResponse.struct_class = Types::ListOfferingsResponse
307
+
308
+ ListReservationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
309
+ ListReservationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
310
+ ListReservationsRequest.struct_class = Types::ListReservationsRequest
311
+
312
+ ListReservationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
313
+ ListReservationsResponse.add_member(:reservations, Shapes::ShapeRef.new(shape: __listOfReservation, location_name: "reservations"))
314
+ ListReservationsResponse.struct_class = Types::ListReservationsResponse
315
+
268
316
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
269
317
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
270
318
 
@@ -290,11 +338,22 @@ module Aws::MediaConnect
290
338
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
291
339
  NotFoundException.struct_class = Types::NotFoundException
292
340
 
341
+ Offering.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currencyCode"))
342
+ Offering.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "duration"))
343
+ Offering.add_member(:duration_units, Shapes::ShapeRef.new(shape: DurationUnits, required: true, location_name: "durationUnits"))
344
+ Offering.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringArn"))
345
+ Offering.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringDescription"))
346
+ Offering.add_member(:price_per_unit, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "pricePerUnit"))
347
+ Offering.add_member(:price_units, Shapes::ShapeRef.new(shape: PriceUnits, required: true, location_name: "priceUnits"))
348
+ Offering.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ResourceSpecification, required: true, location_name: "resourceSpecification"))
349
+ Offering.struct_class = Types::Offering
350
+
293
351
  Output.add_member(:data_transfer_subscriber_fee_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "dataTransferSubscriberFeePercent"))
294
352
  Output.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
295
353
  Output.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
296
354
  Output.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "encryption"))
297
355
  Output.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __string, location_name: "entitlementArn"))
356
+ Output.add_member(:listener_address, Shapes::ShapeRef.new(shape: __string, location_name: "listenerAddress"))
298
357
  Output.add_member(:media_live_input_arn, Shapes::ShapeRef.new(shape: __string, location_name: "mediaLiveInputArn"))
299
358
  Output.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
300
359
  Output.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "outputArn"))
@@ -303,6 +362,14 @@ module Aws::MediaConnect
303
362
  Output.add_member(:vpc_interface_attachment, Shapes::ShapeRef.new(shape: VpcInterfaceAttachment, location_name: "vpcInterfaceAttachment"))
304
363
  Output.struct_class = Types::Output
305
364
 
365
+ PurchaseOfferingRequest.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringArn"))
366
+ PurchaseOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationName"))
367
+ PurchaseOfferingRequest.add_member(:start, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "start"))
368
+ PurchaseOfferingRequest.struct_class = Types::PurchaseOfferingRequest
369
+
370
+ PurchaseOfferingResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
371
+ PurchaseOfferingResponse.struct_class = Types::PurchaseOfferingResponse
372
+
306
373
  RemoveFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
307
374
  RemoveFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
308
375
  RemoveFlowOutputRequest.struct_class = Types::RemoveFlowOutputRequest
@@ -328,6 +395,25 @@ module Aws::MediaConnect
328
395
  RemoveFlowVpcInterfaceResponse.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
329
396
  RemoveFlowVpcInterfaceResponse.struct_class = Types::RemoveFlowVpcInterfaceResponse
330
397
 
398
+ Reservation.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currencyCode"))
399
+ Reservation.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "duration"))
400
+ Reservation.add_member(:duration_units, Shapes::ShapeRef.new(shape: DurationUnits, required: true, location_name: "durationUnits"))
401
+ Reservation.add_member(:end, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "end"))
402
+ Reservation.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringArn"))
403
+ Reservation.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringDescription"))
404
+ Reservation.add_member(:price_per_unit, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "pricePerUnit"))
405
+ Reservation.add_member(:price_units, Shapes::ShapeRef.new(shape: PriceUnits, required: true, location_name: "priceUnits"))
406
+ Reservation.add_member(:reservation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationArn"))
407
+ Reservation.add_member(:reservation_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationName"))
408
+ Reservation.add_member(:reservation_state, Shapes::ShapeRef.new(shape: ReservationState, required: true, location_name: "reservationState"))
409
+ Reservation.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ResourceSpecification, required: true, location_name: "resourceSpecification"))
410
+ Reservation.add_member(:start, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "start"))
411
+ Reservation.struct_class = Types::Reservation
412
+
413
+ ResourceSpecification.add_member(:reserved_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "reservedBitrate"))
414
+ ResourceSpecification.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
415
+ ResourceSpecification.struct_class = Types::ResourceSpecification
416
+
331
417
  ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
332
418
  ResponseError.struct_class = Types::ResponseError
333
419
 
@@ -348,6 +434,7 @@ module Aws::MediaConnect
348
434
  SetSourceRequest.add_member(:ingest_port, Shapes::ShapeRef.new(shape: __integer, location_name: "ingestPort"))
349
435
  SetSourceRequest.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
350
436
  SetSourceRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
437
+ SetSourceRequest.add_member(:min_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "minLatency"))
351
438
  SetSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
352
439
  SetSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
353
440
  SetSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
@@ -392,6 +479,7 @@ module Aws::MediaConnect
392
479
  Transport.add_member(:cidr_allow_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "cidrAllowList"))
393
480
  Transport.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
394
481
  Transport.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
482
+ Transport.add_member(:min_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "minLatency"))
395
483
  Transport.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "protocol"))
396
484
  Transport.add_member(:remote_id, Shapes::ShapeRef.new(shape: __string, location_name: "remoteId"))
397
485
  Transport.add_member(:smoothing_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "smoothingLatency"))
@@ -435,6 +523,7 @@ module Aws::MediaConnect
435
523
  UpdateFlowOutputRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: UpdateEncryption, location_name: "encryption"))
436
524
  UpdateFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
437
525
  UpdateFlowOutputRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
526
+ UpdateFlowOutputRequest.add_member(:min_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "minLatency"))
438
527
  UpdateFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
439
528
  UpdateFlowOutputRequest.add_member(:port, Shapes::ShapeRef.new(shape: __integer, location_name: "port"))
440
529
  UpdateFlowOutputRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
@@ -462,6 +551,7 @@ module Aws::MediaConnect
462
551
  UpdateFlowSourceRequest.add_member(:ingest_port, Shapes::ShapeRef.new(shape: __integer, location_name: "ingestPort"))
463
552
  UpdateFlowSourceRequest.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
464
553
  UpdateFlowSourceRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
554
+ UpdateFlowSourceRequest.add_member(:min_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "minLatency"))
465
555
  UpdateFlowSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
466
556
  UpdateFlowSourceRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "sourceArn"))
467
557
  UpdateFlowSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
@@ -499,8 +589,12 @@ module Aws::MediaConnect
499
589
 
500
590
  __listOfListedFlow.member = Shapes::ShapeRef.new(shape: ListedFlow)
501
591
 
592
+ __listOfOffering.member = Shapes::ShapeRef.new(shape: Offering)
593
+
502
594
  __listOfOutput.member = Shapes::ShapeRef.new(shape: Output)
503
595
 
596
+ __listOfReservation.member = Shapes::ShapeRef.new(shape: Reservation)
597
+
504
598
  __listOfSetSourceRequest.member = Shapes::ShapeRef.new(shape: SetSourceRequest)
505
599
 
506
600
  __listOfSource.member = Shapes::ShapeRef.new(shape: Source)
@@ -619,6 +713,32 @@ module Aws::MediaConnect
619
713
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
620
714
  end)
621
715
 
716
+ api.add_operation(:describe_offering, Seahorse::Model::Operation.new.tap do |o|
717
+ o.name = "DescribeOffering"
718
+ o.http_method = "GET"
719
+ o.http_request_uri = "/v1/offerings/{offeringArn}"
720
+ o.input = Shapes::ShapeRef.new(shape: DescribeOfferingRequest)
721
+ o.output = Shapes::ShapeRef.new(shape: DescribeOfferingResponse)
722
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
723
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
724
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
725
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
726
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
727
+ end)
728
+
729
+ api.add_operation(:describe_reservation, Seahorse::Model::Operation.new.tap do |o|
730
+ o.name = "DescribeReservation"
731
+ o.http_method = "GET"
732
+ o.http_request_uri = "/v1/reservations/{reservationArn}"
733
+ o.input = Shapes::ShapeRef.new(shape: DescribeReservationRequest)
734
+ o.output = Shapes::ShapeRef.new(shape: DescribeReservationResponse)
735
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
736
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
737
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
738
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
739
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
740
+ end)
741
+
622
742
  api.add_operation(:grant_flow_entitlements, Seahorse::Model::Operation.new.tap do |o|
623
743
  o.name = "GrantFlowEntitlements"
624
744
  o.http_method = "POST"
@@ -670,6 +790,42 @@ module Aws::MediaConnect
670
790
  )
671
791
  end)
672
792
 
793
+ api.add_operation(:list_offerings, Seahorse::Model::Operation.new.tap do |o|
794
+ o.name = "ListOfferings"
795
+ o.http_method = "GET"
796
+ o.http_request_uri = "/v1/offerings"
797
+ o.input = Shapes::ShapeRef.new(shape: ListOfferingsRequest)
798
+ o.output = Shapes::ShapeRef.new(shape: ListOfferingsResponse)
799
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
800
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
801
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
802
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
803
+ o[:pager] = Aws::Pager.new(
804
+ limit_key: "max_results",
805
+ tokens: {
806
+ "next_token" => "next_token"
807
+ }
808
+ )
809
+ end)
810
+
811
+ api.add_operation(:list_reservations, Seahorse::Model::Operation.new.tap do |o|
812
+ o.name = "ListReservations"
813
+ o.http_method = "GET"
814
+ o.http_request_uri = "/v1/reservations"
815
+ o.input = Shapes::ShapeRef.new(shape: ListReservationsRequest)
816
+ o.output = Shapes::ShapeRef.new(shape: ListReservationsResponse)
817
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
818
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
819
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
820
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
821
+ o[:pager] = Aws::Pager.new(
822
+ limit_key: "max_results",
823
+ tokens: {
824
+ "next_token" => "next_token"
825
+ }
826
+ )
827
+ end)
828
+
673
829
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
674
830
  o.name = "ListTagsForResource"
675
831
  o.http_method = "GET"
@@ -681,6 +837,20 @@ module Aws::MediaConnect
681
837
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
682
838
  end)
683
839
 
840
+ api.add_operation(:purchase_offering, Seahorse::Model::Operation.new.tap do |o|
841
+ o.name = "PurchaseOffering"
842
+ o.http_method = "POST"
843
+ o.http_request_uri = "/v1/offerings/{offeringArn}"
844
+ o.input = Shapes::ShapeRef.new(shape: PurchaseOfferingRequest)
845
+ o.output = Shapes::ShapeRef.new(shape: PurchaseOfferingResponse)
846
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
847
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
848
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
849
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
850
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
851
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
852
+ end)
853
+
684
854
  api.add_operation(:remove_flow_output, Seahorse::Model::Operation.new.tap do |o|
685
855
  o.name = "RemoveFlowOutput"
686
856
  o.http_method = "DELETE"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -39,10 +39,10 @@ module Aws::MediaConnect
39
39
  # description: "__string",
40
40
  # destination: "__string",
41
41
  # encryption: {
42
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
42
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
43
43
  # constant_initialization_vector: "__string",
44
44
  # device_id: "__string",
45
- # key_type: "speke", # accepts speke, static-key
45
+ # key_type: "speke", # accepts speke, static-key, srt-password
46
46
  # region: "__string",
47
47
  # resource_id: "__string",
48
48
  # role_arn: "__string", # required
@@ -50,9 +50,10 @@ module Aws::MediaConnect
50
50
  # url: "__string",
51
51
  # },
52
52
  # max_latency: 1,
53
+ # min_latency: 1,
53
54
  # name: "__string",
54
55
  # port: 1,
55
- # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
56
+ # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
56
57
  # remote_id: "__string",
57
58
  # smoothing_latency: 1,
58
59
  # stream_id: "__string",
@@ -109,10 +110,10 @@ module Aws::MediaConnect
109
110
  # sources: [ # required
110
111
  # {
111
112
  # decryption: {
112
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
113
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
113
114
  # constant_initialization_vector: "__string",
114
115
  # device_id: "__string",
115
- # key_type: "speke", # accepts speke, static-key
116
+ # key_type: "speke", # accepts speke, static-key, srt-password
116
117
  # region: "__string",
117
118
  # resource_id: "__string",
118
119
  # role_arn: "__string", # required
@@ -124,8 +125,9 @@ module Aws::MediaConnect
124
125
  # ingest_port: 1,
125
126
  # max_bitrate: 1,
126
127
  # max_latency: 1,
128
+ # min_latency: 1,
127
129
  # name: "__string",
128
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
130
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
129
131
  # stream_id: "__string",
130
132
  # vpc_interface_name: "__string",
131
133
  # whitelist_cidr: "__string",
@@ -232,10 +234,10 @@ module Aws::MediaConnect
232
234
  # description: "__string",
233
235
  # destination: "__string",
234
236
  # encryption: {
235
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
237
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
236
238
  # constant_initialization_vector: "__string",
237
239
  # device_id: "__string",
238
- # key_type: "speke", # accepts speke, static-key
240
+ # key_type: "speke", # accepts speke, static-key, srt-password
239
241
  # region: "__string",
240
242
  # resource_id: "__string",
241
243
  # role_arn: "__string", # required
@@ -243,9 +245,10 @@ module Aws::MediaConnect
243
245
  # url: "__string",
244
246
  # },
245
247
  # max_latency: 1,
248
+ # min_latency: 1,
246
249
  # name: "__string",
247
250
  # port: 1,
248
- # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
251
+ # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
249
252
  # remote_id: "__string",
250
253
  # smoothing_latency: 1,
251
254
  # stream_id: "__string",
@@ -280,6 +283,15 @@ module Aws::MediaConnect
280
283
  # The maximum latency in milliseconds for Zixi-based streams.
281
284
  # @return [Integer]
282
285
  #
286
+ # @!attribute [rw] min_latency
287
+ # The minimum latency in milliseconds for SRT-based streams. In
288
+ # streams that use the SRT protocol, this value that you set on your
289
+ # MediaConnect source or output represents the minimal potential
290
+ # latency of that connection. The latency of the stream is set to the
291
+ # highest number between the sender’s minimum latency and the
292
+ # receiver’s minimum latency.
293
+ # @return [Integer]
294
+ #
283
295
  # @!attribute [rw] name
284
296
  # The name of the output. This value must be unique within the current
285
297
  # flow.
@@ -319,6 +331,7 @@ module Aws::MediaConnect
319
331
  :destination,
320
332
  :encryption,
321
333
  :max_latency,
334
+ :min_latency,
322
335
  :name,
323
336
  :port,
324
337
  :protocol,
@@ -373,10 +386,10 @@ module Aws::MediaConnect
373
386
  # data_transfer_subscriber_fee_percent: 1,
374
387
  # description: "__string",
375
388
  # encryption: {
376
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
389
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
377
390
  # constant_initialization_vector: "__string",
378
391
  # device_id: "__string",
379
- # key_type: "speke", # accepts speke, static-key
392
+ # key_type: "speke", # accepts speke, static-key, srt-password
380
393
  # region: "__string",
381
394
  # resource_id: "__string",
382
395
  # role_arn: "__string", # required
@@ -395,10 +408,10 @@ module Aws::MediaConnect
395
408
  # description: "__string",
396
409
  # destination: "__string",
397
410
  # encryption: {
398
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
411
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
399
412
  # constant_initialization_vector: "__string",
400
413
  # device_id: "__string",
401
- # key_type: "speke", # accepts speke, static-key
414
+ # key_type: "speke", # accepts speke, static-key, srt-password
402
415
  # region: "__string",
403
416
  # resource_id: "__string",
404
417
  # role_arn: "__string", # required
@@ -406,9 +419,10 @@ module Aws::MediaConnect
406
419
  # url: "__string",
407
420
  # },
408
421
  # max_latency: 1,
422
+ # min_latency: 1,
409
423
  # name: "__string",
410
424
  # port: 1,
411
- # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
425
+ # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
412
426
  # remote_id: "__string",
413
427
  # smoothing_latency: 1,
414
428
  # stream_id: "__string",
@@ -419,10 +433,10 @@ module Aws::MediaConnect
419
433
  # ],
420
434
  # source: {
421
435
  # decryption: {
422
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
436
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
423
437
  # constant_initialization_vector: "__string",
424
438
  # device_id: "__string",
425
- # key_type: "speke", # accepts speke, static-key
439
+ # key_type: "speke", # accepts speke, static-key, srt-password
426
440
  # region: "__string",
427
441
  # resource_id: "__string",
428
442
  # role_arn: "__string", # required
@@ -434,8 +448,9 @@ module Aws::MediaConnect
434
448
  # ingest_port: 1,
435
449
  # max_bitrate: 1,
436
450
  # max_latency: 1,
451
+ # min_latency: 1,
437
452
  # name: "__string",
438
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
453
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
439
454
  # stream_id: "__string",
440
455
  # vpc_interface_name: "__string",
441
456
  # whitelist_cidr: "__string",
@@ -447,10 +462,10 @@ module Aws::MediaConnect
447
462
  # sources: [
448
463
  # {
449
464
  # decryption: {
450
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
465
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
451
466
  # constant_initialization_vector: "__string",
452
467
  # device_id: "__string",
453
- # key_type: "speke", # accepts speke, static-key
468
+ # key_type: "speke", # accepts speke, static-key, srt-password
454
469
  # region: "__string",
455
470
  # resource_id: "__string",
456
471
  # role_arn: "__string", # required
@@ -462,8 +477,9 @@ module Aws::MediaConnect
462
477
  # ingest_port: 1,
463
478
  # max_bitrate: 1,
464
479
  # max_latency: 1,
480
+ # min_latency: 1,
465
481
  # name: "__string",
466
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
482
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
467
483
  # stream_id: "__string",
468
484
  # vpc_interface_name: "__string",
469
485
  # whitelist_cidr: "__string",
@@ -617,16 +633,87 @@ module Aws::MediaConnect
617
633
  include Aws::Structure
618
634
  end
619
635
 
636
+ # @note When making an API call, you may pass DescribeOfferingRequest
637
+ # data as a hash:
638
+ #
639
+ # {
640
+ # offering_arn: "__string", # required
641
+ # }
642
+ #
643
+ # @!attribute [rw] offering_arn
644
+ # @return [String]
645
+ #
646
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeOfferingRequest AWS API Documentation
647
+ #
648
+ class DescribeOfferingRequest < Struct.new(
649
+ :offering_arn)
650
+ SENSITIVE = []
651
+ include Aws::Structure
652
+ end
653
+
654
+ # The result of a successful DescribeOffering request.
655
+ #
656
+ # @!attribute [rw] offering
657
+ # A savings plan that reserves a certain amount of outbound bandwidth
658
+ # usage at a discounted rate each month over a period of time.
659
+ # @return [Types::Offering]
660
+ #
661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeOfferingResponse AWS API Documentation
662
+ #
663
+ class DescribeOfferingResponse < Struct.new(
664
+ :offering)
665
+ SENSITIVE = []
666
+ include Aws::Structure
667
+ end
668
+
669
+ # @note When making an API call, you may pass DescribeReservationRequest
670
+ # data as a hash:
671
+ #
672
+ # {
673
+ # reservation_arn: "__string", # required
674
+ # }
675
+ #
676
+ # @!attribute [rw] reservation_arn
677
+ # @return [String]
678
+ #
679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeReservationRequest AWS API Documentation
680
+ #
681
+ class DescribeReservationRequest < Struct.new(
682
+ :reservation_arn)
683
+ SENSITIVE = []
684
+ include Aws::Structure
685
+ end
686
+
687
+ # The result of a successful DescribeReservation request.
688
+ #
689
+ # @!attribute [rw] reservation
690
+ # A pricing agreement for a discounted rate for a specific outbound
691
+ # bandwidth that your MediaConnect account will use each month over a
692
+ # specific time period. The discounted rate in the reservation applies
693
+ # to outbound bandwidth for all flows from your account until your
694
+ # account reaches the amount of bandwidth in your reservation. If you
695
+ # use more outbound bandwidth than the agreed upon amount in a single
696
+ # month, the overage is charged at the on-demand rate.
697
+ # @return [Types::Reservation]
698
+ #
699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeReservationResponse AWS API Documentation
700
+ #
701
+ class DescribeReservationResponse < Struct.new(
702
+ :reservation)
703
+ SENSITIVE = []
704
+ include Aws::Structure
705
+ end
706
+
620
707
  # Information about the encryption of the flow.
621
708
  #
622
709
  # @note When making an API call, you may pass Encryption
623
710
  # data as a hash:
624
711
  #
625
712
  # {
626
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
713
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
627
714
  # constant_initialization_vector: "__string",
628
715
  # device_id: "__string",
629
- # key_type: "speke", # accepts speke, static-key
716
+ # key_type: "speke", # accepts speke, static-key, srt-password
630
717
  # region: "__string",
631
718
  # resource_id: "__string",
632
719
  # role_arn: "__string", # required
@@ -874,10 +961,10 @@ module Aws::MediaConnect
874
961
  # data_transfer_subscriber_fee_percent: 1,
875
962
  # description: "__string",
876
963
  # encryption: {
877
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
964
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
878
965
  # constant_initialization_vector: "__string",
879
966
  # device_id: "__string",
880
- # key_type: "speke", # accepts speke, static-key
967
+ # key_type: "speke", # accepts speke, static-key, srt-password
881
968
  # region: "__string",
882
969
  # resource_id: "__string",
883
970
  # role_arn: "__string", # required
@@ -962,10 +1049,10 @@ module Aws::MediaConnect
962
1049
  # data_transfer_subscriber_fee_percent: 1,
963
1050
  # description: "__string",
964
1051
  # encryption: {
965
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
1052
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
966
1053
  # constant_initialization_vector: "__string",
967
1054
  # device_id: "__string",
968
- # key_type: "speke", # accepts speke, static-key
1055
+ # key_type: "speke", # accepts speke, static-key, srt-password
969
1056
  # region: "__string",
970
1057
  # resource_id: "__string",
971
1058
  # role_arn: "__string", # required
@@ -1128,6 +1215,112 @@ module Aws::MediaConnect
1128
1215
  include Aws::Structure
1129
1216
  end
1130
1217
 
1218
+ # @note When making an API call, you may pass ListOfferingsRequest
1219
+ # data as a hash:
1220
+ #
1221
+ # {
1222
+ # max_results: 1,
1223
+ # next_token: "__string",
1224
+ # }
1225
+ #
1226
+ # @!attribute [rw] max_results
1227
+ # @return [Integer]
1228
+ #
1229
+ # @!attribute [rw] next_token
1230
+ # @return [String]
1231
+ #
1232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListOfferingsRequest AWS API Documentation
1233
+ #
1234
+ class ListOfferingsRequest < Struct.new(
1235
+ :max_results,
1236
+ :next_token)
1237
+ SENSITIVE = []
1238
+ include Aws::Structure
1239
+ end
1240
+
1241
+ # The result of a successful ListOfferings request. The response
1242
+ # includes the details of each offering that your account is eligible
1243
+ # for. The response includes the following information for each
1244
+ # offering: description, duration, outbound bandwidth, price, Amazon
1245
+ # Resource Name (ARN), and the NextToken to use in a subsequent
1246
+ # ListOfferings request.
1247
+ #
1248
+ # @!attribute [rw] next_token
1249
+ # The token that identifies which batch of results that you want to
1250
+ # see. For example, you submit a ListOfferings request with MaxResults
1251
+ # set at 5. The service returns the first batch of results (up to 5)
1252
+ # and a NextToken value. To see the next batch of results, you can
1253
+ # submit the ListOfferings request a second time and specify the
1254
+ # NextToken value.
1255
+ # @return [String]
1256
+ #
1257
+ # @!attribute [rw] offerings
1258
+ # A list of offerings that are available to this account in the
1259
+ # current AWS Region.
1260
+ # @return [Array<Types::Offering>]
1261
+ #
1262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListOfferingsResponse AWS API Documentation
1263
+ #
1264
+ class ListOfferingsResponse < Struct.new(
1265
+ :next_token,
1266
+ :offerings)
1267
+ SENSITIVE = []
1268
+ include Aws::Structure
1269
+ end
1270
+
1271
+ # @note When making an API call, you may pass ListReservationsRequest
1272
+ # data as a hash:
1273
+ #
1274
+ # {
1275
+ # max_results: 1,
1276
+ # next_token: "__string",
1277
+ # }
1278
+ #
1279
+ # @!attribute [rw] max_results
1280
+ # @return [Integer]
1281
+ #
1282
+ # @!attribute [rw] next_token
1283
+ # @return [String]
1284
+ #
1285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListReservationsRequest AWS API Documentation
1286
+ #
1287
+ class ListReservationsRequest < Struct.new(
1288
+ :max_results,
1289
+ :next_token)
1290
+ SENSITIVE = []
1291
+ include Aws::Structure
1292
+ end
1293
+
1294
+ # The result of a successful ListReservations request. The response
1295
+ # includes the details of each offering that your account is eligible
1296
+ # for. The response includes the following information for each
1297
+ # offering: description, duration, outbound bandwidth, price, Amazon
1298
+ # Resource Name (ARN), and the NextToken to use in a subsequent
1299
+ # ListOfferings request.
1300
+ #
1301
+ # @!attribute [rw] next_token
1302
+ # The token that identifies which batch of results that you want to
1303
+ # see. For example, you submit a ListReservations request with
1304
+ # MaxResults set at 5. The service returns the first batch of results
1305
+ # (up to 5) and a NextToken value. To see the next batch of results,
1306
+ # you can submit the ListReservations request a second time and
1307
+ # specify the NextToken value.
1308
+ # @return [String]
1309
+ #
1310
+ # @!attribute [rw] reservations
1311
+ # A list of all reservations that have been purchased by this account
1312
+ # in the current AWS Region.
1313
+ # @return [Array<Types::Reservation>]
1314
+ #
1315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListReservationsResponse AWS API Documentation
1316
+ #
1317
+ class ListReservationsResponse < Struct.new(
1318
+ :next_token,
1319
+ :reservations)
1320
+ SENSITIVE = []
1321
+ include Aws::Structure
1322
+ end
1323
+
1131
1324
  # @note When making an API call, you may pass ListTagsForResourceRequest
1132
1325
  # data as a hash:
1133
1326
  #
@@ -1260,6 +1453,61 @@ module Aws::MediaConnect
1260
1453
  include Aws::Structure
1261
1454
  end
1262
1455
 
1456
+ # A savings plan that reserves a certain amount of outbound bandwidth
1457
+ # usage at a discounted rate each month over a period of time.
1458
+ #
1459
+ # @!attribute [rw] currency_code
1460
+ # The type of currency that is used for billing. The currencyCode used
1461
+ # for all reservations is US dollars.
1462
+ # @return [String]
1463
+ #
1464
+ # @!attribute [rw] duration
1465
+ # The length of time that your reservation would be active.
1466
+ # @return [Integer]
1467
+ #
1468
+ # @!attribute [rw] duration_units
1469
+ # The unit of measurement for the duration of the offering.
1470
+ # @return [String]
1471
+ #
1472
+ # @!attribute [rw] offering_arn
1473
+ # The Amazon Resource Name (ARN) that MediaConnect assigns to the
1474
+ # offering.
1475
+ # @return [String]
1476
+ #
1477
+ # @!attribute [rw] offering_description
1478
+ # A description of the offering.
1479
+ # @return [String]
1480
+ #
1481
+ # @!attribute [rw] price_per_unit
1482
+ # The cost of a single unit. This value, in combination with
1483
+ # priceUnits, makes up the rate.
1484
+ # @return [String]
1485
+ #
1486
+ # @!attribute [rw] price_units
1487
+ # The unit of measurement that is used for billing. This value, in
1488
+ # combination with pricePerUnit, makes up the rate.
1489
+ # @return [String]
1490
+ #
1491
+ # @!attribute [rw] resource_specification
1492
+ # A definition of the amount of outbound bandwidth that you would be
1493
+ # reserving if you purchase the offering.
1494
+ # @return [Types::ResourceSpecification]
1495
+ #
1496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Offering AWS API Documentation
1497
+ #
1498
+ class Offering < Struct.new(
1499
+ :currency_code,
1500
+ :duration,
1501
+ :duration_units,
1502
+ :offering_arn,
1503
+ :offering_description,
1504
+ :price_per_unit,
1505
+ :price_units,
1506
+ :resource_specification)
1507
+ SENSITIVE = []
1508
+ include Aws::Structure
1509
+ end
1510
+
1263
1511
  # The settings for an output.
1264
1512
  #
1265
1513
  # @!attribute [rw] data_transfer_subscriber_fee_percent
@@ -1285,6 +1533,15 @@ module Aws::MediaConnect
1285
1533
  # is relevant only on entitled flows.
1286
1534
  # @return [String]
1287
1535
  #
1536
+ # @!attribute [rw] listener_address
1537
+ # The IP address that the receiver requires in order to establish a
1538
+ # connection with the flow. For public networking, the ListenerAddress
1539
+ # is represented by the elastic IP address of the flow. For private
1540
+ # networking, the ListenerAddress is represented by the elastic
1541
+ # network interface IP address of the VPC. This field applies only to
1542
+ # outputs that use the Zixi pull or SRT listener protocol.
1543
+ # @return [String]
1544
+ #
1288
1545
  # @!attribute [rw] media_live_input_arn
1289
1546
  # The input ARN of the AWS Elemental MediaLive channel. This parameter
1290
1547
  # is relevant only for outputs that were added by creating a MediaLive
@@ -1321,6 +1578,7 @@ module Aws::MediaConnect
1321
1578
  :destination,
1322
1579
  :encryption,
1323
1580
  :entitlement_arn,
1581
+ :listener_address,
1324
1582
  :media_live_input_arn,
1325
1583
  :name,
1326
1584
  :output_arn,
@@ -1331,6 +1589,66 @@ module Aws::MediaConnect
1331
1589
  include Aws::Structure
1332
1590
  end
1333
1591
 
1592
+ # Submits a request to purchase an offering, which creates a reservation
1593
+ # in your AWS account. If you already have an active reservation, you
1594
+ # can't purchase another offering.
1595
+ #
1596
+ # @note When making an API call, you may pass PurchaseOfferingRequest
1597
+ # data as a hash:
1598
+ #
1599
+ # {
1600
+ # offering_arn: "__string", # required
1601
+ # reservation_name: "__string", # required
1602
+ # start: "__string", # required
1603
+ # }
1604
+ #
1605
+ # @!attribute [rw] offering_arn
1606
+ # @return [String]
1607
+ #
1608
+ # @!attribute [rw] reservation_name
1609
+ # The name that you want to use for the reservation.
1610
+ # @return [String]
1611
+ #
1612
+ # @!attribute [rw] start
1613
+ # The date and time that you want the reservation to begin, in
1614
+ # Coordinated Universal Time (UTC). You can specify any date and time
1615
+ # between 12:00am on the first day of the current month to the current
1616
+ # time on today's date, inclusive. Specify the start in a 24-hour
1617
+ # notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T
1618
+ # and Z are literal characters. For example, to specify 11:30pm on
1619
+ # March 5, 2020, enter 2020-03-05T23:30:00Z.
1620
+ # @return [String]
1621
+ #
1622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOfferingRequest AWS API Documentation
1623
+ #
1624
+ class PurchaseOfferingRequest < Struct.new(
1625
+ :offering_arn,
1626
+ :reservation_name,
1627
+ :start)
1628
+ SENSITIVE = []
1629
+ include Aws::Structure
1630
+ end
1631
+
1632
+ # The result of a successful PurchaseOffering request.
1633
+ #
1634
+ # @!attribute [rw] reservation
1635
+ # A pricing agreement for a discounted rate for a specific outbound
1636
+ # bandwidth that your MediaConnect account will use each month over a
1637
+ # specific time period. The discounted rate in the reservation applies
1638
+ # to outbound bandwidth for all flows from your account until your
1639
+ # account reaches the amount of bandwidth in your reservation. If you
1640
+ # use more outbound bandwidth than the agreed upon amount in a single
1641
+ # month, the overage is charged at the on-demand rate.
1642
+ # @return [Types::Reservation]
1643
+ #
1644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOfferingResponse AWS API Documentation
1645
+ #
1646
+ class PurchaseOfferingResponse < Struct.new(
1647
+ :reservation)
1648
+ SENSITIVE = []
1649
+ include Aws::Structure
1650
+ end
1651
+
1334
1652
  # @note When making an API call, you may pass RemoveFlowOutputRequest
1335
1653
  # data as a hash:
1336
1654
  #
@@ -1467,6 +1785,122 @@ module Aws::MediaConnect
1467
1785
  include Aws::Structure
1468
1786
  end
1469
1787
 
1788
+ # A pricing agreement for a discounted rate for a specific outbound
1789
+ # bandwidth that your MediaConnect account will use each month over a
1790
+ # specific time period. The discounted rate in the reservation applies
1791
+ # to outbound bandwidth for all flows from your account until your
1792
+ # account reaches the amount of bandwidth in your reservation. If you
1793
+ # use more outbound bandwidth than the agreed upon amount in a single
1794
+ # month, the overage is charged at the on-demand rate.
1795
+ #
1796
+ # @!attribute [rw] currency_code
1797
+ # The type of currency that is used for billing. The currencyCode used
1798
+ # for your reservation is US dollars.
1799
+ # @return [String]
1800
+ #
1801
+ # @!attribute [rw] duration
1802
+ # The length of time that this reservation is active. MediaConnect
1803
+ # defines this value in the offering.
1804
+ # @return [Integer]
1805
+ #
1806
+ # @!attribute [rw] duration_units
1807
+ # The unit of measurement for the duration of the reservation.
1808
+ # MediaConnect defines this value in the offering.
1809
+ # @return [String]
1810
+ #
1811
+ # @!attribute [rw] end
1812
+ # The day and time that this reservation expires. This value is
1813
+ # calculated based on the start date and time that you set and the
1814
+ # offering's duration.
1815
+ # @return [String]
1816
+ #
1817
+ # @!attribute [rw] offering_arn
1818
+ # The Amazon Resource Name (ARN) that MediaConnect assigns to the
1819
+ # offering.
1820
+ # @return [String]
1821
+ #
1822
+ # @!attribute [rw] offering_description
1823
+ # A description of the offering. MediaConnect defines this value in
1824
+ # the offering.
1825
+ # @return [String]
1826
+ #
1827
+ # @!attribute [rw] price_per_unit
1828
+ # The cost of a single unit. This value, in combination with
1829
+ # priceUnits, makes up the rate. MediaConnect defines this value in
1830
+ # the offering.
1831
+ # @return [String]
1832
+ #
1833
+ # @!attribute [rw] price_units
1834
+ # The unit of measurement that is used for billing. This value, in
1835
+ # combination with pricePerUnit, makes up the rate. MediaConnect
1836
+ # defines this value in the offering.
1837
+ # @return [String]
1838
+ #
1839
+ # @!attribute [rw] reservation_arn
1840
+ # The Amazon Resource Name (ARN) that MediaConnect assigns to the
1841
+ # reservation when you purchase an offering.
1842
+ # @return [String]
1843
+ #
1844
+ # @!attribute [rw] reservation_name
1845
+ # The name that you assigned to the reservation when you purchased the
1846
+ # offering.
1847
+ # @return [String]
1848
+ #
1849
+ # @!attribute [rw] reservation_state
1850
+ # The status of your reservation.
1851
+ # @return [String]
1852
+ #
1853
+ # @!attribute [rw] resource_specification
1854
+ # A definition of the amount of outbound bandwidth that you would be
1855
+ # reserving if you purchase the offering. MediaConnect defines the
1856
+ # values that make up the resourceSpecification in the offering.
1857
+ # @return [Types::ResourceSpecification]
1858
+ #
1859
+ # @!attribute [rw] start
1860
+ # The day and time that the reservation becomes active. You set this
1861
+ # value when you purchase the offering.
1862
+ # @return [String]
1863
+ #
1864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Reservation AWS API Documentation
1865
+ #
1866
+ class Reservation < Struct.new(
1867
+ :currency_code,
1868
+ :duration,
1869
+ :duration_units,
1870
+ :end,
1871
+ :offering_arn,
1872
+ :offering_description,
1873
+ :price_per_unit,
1874
+ :price_units,
1875
+ :reservation_arn,
1876
+ :reservation_name,
1877
+ :reservation_state,
1878
+ :resource_specification,
1879
+ :start)
1880
+ SENSITIVE = []
1881
+ include Aws::Structure
1882
+ end
1883
+
1884
+ # A definition of what is being billed for, including the type and
1885
+ # amount.
1886
+ #
1887
+ # @!attribute [rw] reserved_bitrate
1888
+ # The amount of outbound bandwidth that is discounted in the offering.
1889
+ # @return [Integer]
1890
+ #
1891
+ # @!attribute [rw] resource_type
1892
+ # The type of resource and the unit that is being billed for.
1893
+ # @return [String]
1894
+ #
1895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ResourceSpecification AWS API Documentation
1896
+ #
1897
+ class ResourceSpecification < Struct.new(
1898
+ :reserved_bitrate,
1899
+ :resource_type)
1900
+ SENSITIVE = []
1901
+ include Aws::Structure
1902
+ end
1903
+
1470
1904
  # Exception raised by AWS Elemental MediaConnect. See the error message
1471
1905
  # and documentation for the operation for more information on the cause
1472
1906
  # of this exception.
@@ -1549,10 +1983,10 @@ module Aws::MediaConnect
1549
1983
  #
1550
1984
  # {
1551
1985
  # decryption: {
1552
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
1986
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
1553
1987
  # constant_initialization_vector: "__string",
1554
1988
  # device_id: "__string",
1555
- # key_type: "speke", # accepts speke, static-key
1989
+ # key_type: "speke", # accepts speke, static-key, srt-password
1556
1990
  # region: "__string",
1557
1991
  # resource_id: "__string",
1558
1992
  # role_arn: "__string", # required
@@ -1564,8 +1998,9 @@ module Aws::MediaConnect
1564
1998
  # ingest_port: 1,
1565
1999
  # max_bitrate: 1,
1566
2000
  # max_latency: 1,
2001
+ # min_latency: 1,
1567
2002
  # name: "__string",
1568
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
2003
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
1569
2004
  # stream_id: "__string",
1570
2005
  # vpc_interface_name: "__string",
1571
2006
  # whitelist_cidr: "__string",
@@ -1600,6 +2035,15 @@ module Aws::MediaConnect
1600
2035
  # RIST-based and Zixi-based streams.
1601
2036
  # @return [Integer]
1602
2037
  #
2038
+ # @!attribute [rw] min_latency
2039
+ # The minimum latency in milliseconds for SRT-based streams. In
2040
+ # streams that use the SRT protocol, this value that you set on your
2041
+ # MediaConnect source or output represents the minimal potential
2042
+ # latency of that connection. The latency of the stream is set to the
2043
+ # highest number between the sender’s minimum latency and the
2044
+ # receiver’s minimum latency.
2045
+ # @return [Integer]
2046
+ #
1603
2047
  # @!attribute [rw] name
1604
2048
  # The name of the source.
1605
2049
  # @return [String]
@@ -1633,6 +2077,7 @@ module Aws::MediaConnect
1633
2077
  :ingest_port,
1634
2078
  :max_bitrate,
1635
2079
  :max_latency,
2080
+ :min_latency,
1636
2081
  :name,
1637
2082
  :protocol,
1638
2083
  :stream_id,
@@ -1857,6 +2302,15 @@ module Aws::MediaConnect
1857
2302
  # RIST-based and Zixi-based streams.
1858
2303
  # @return [Integer]
1859
2304
  #
2305
+ # @!attribute [rw] min_latency
2306
+ # The minimum latency in milliseconds for SRT-based streams. In
2307
+ # streams that use the SRT protocol, this value that you set on your
2308
+ # MediaConnect source or output represents the minimal potential
2309
+ # latency of that connection. The latency of the stream is set to the
2310
+ # highest number between the sender’s minimum latency and the
2311
+ # receiver’s minimum latency.
2312
+ # @return [Integer]
2313
+ #
1860
2314
  # @!attribute [rw] protocol
1861
2315
  # The protocol that is used by the source or output.
1862
2316
  # @return [String]
@@ -1881,6 +2335,7 @@ module Aws::MediaConnect
1881
2335
  :cidr_allow_list,
1882
2336
  :max_bitrate,
1883
2337
  :max_latency,
2338
+ :min_latency,
1884
2339
  :protocol,
1885
2340
  :remote_id,
1886
2341
  :smoothing_latency,
@@ -1921,7 +2376,7 @@ module Aws::MediaConnect
1921
2376
  # algorithm: "aes128", # accepts aes128, aes192, aes256
1922
2377
  # constant_initialization_vector: "__string",
1923
2378
  # device_id: "__string",
1924
- # key_type: "speke", # accepts speke, static-key
2379
+ # key_type: "speke", # accepts speke, static-key, srt-password
1925
2380
  # region: "__string",
1926
2381
  # resource_id: "__string",
1927
2382
  # role_arn: "__string",
@@ -2035,7 +2490,7 @@ module Aws::MediaConnect
2035
2490
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2036
2491
  # constant_initialization_vector: "__string",
2037
2492
  # device_id: "__string",
2038
- # key_type: "speke", # accepts speke, static-key
2493
+ # key_type: "speke", # accepts speke, static-key, srt-password
2039
2494
  # region: "__string",
2040
2495
  # resource_id: "__string",
2041
2496
  # role_arn: "__string",
@@ -2096,7 +2551,7 @@ module Aws::MediaConnect
2096
2551
  # entitlement configuration.
2097
2552
  #
2098
2553
  # @!attribute [rw] entitlement
2099
- # The settings for a flow entitlement.
2554
+ # The new configuration of the entitlement that you updated.
2100
2555
  # @return [Types::Entitlement]
2101
2556
  #
2102
2557
  # @!attribute [rw] flow_arn
@@ -2126,7 +2581,7 @@ module Aws::MediaConnect
2126
2581
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2127
2582
  # constant_initialization_vector: "__string",
2128
2583
  # device_id: "__string",
2129
- # key_type: "speke", # accepts speke, static-key
2584
+ # key_type: "speke", # accepts speke, static-key, srt-password
2130
2585
  # region: "__string",
2131
2586
  # resource_id: "__string",
2132
2587
  # role_arn: "__string",
@@ -2135,9 +2590,10 @@ module Aws::MediaConnect
2135
2590
  # },
2136
2591
  # flow_arn: "__string", # required
2137
2592
  # max_latency: 1,
2593
+ # min_latency: 1,
2138
2594
  # output_arn: "__string", # required
2139
2595
  # port: 1,
2140
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
2596
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
2141
2597
  # remote_id: "__string",
2142
2598
  # smoothing_latency: 1,
2143
2599
  # stream_id: "__string",
@@ -2175,6 +2631,15 @@ module Aws::MediaConnect
2175
2631
  # The maximum latency in milliseconds for Zixi-based streams.
2176
2632
  # @return [Integer]
2177
2633
  #
2634
+ # @!attribute [rw] min_latency
2635
+ # The minimum latency in milliseconds for SRT-based streams. In
2636
+ # streams that use the SRT protocol, this value that you set on your
2637
+ # MediaConnect source or output represents the minimal potential
2638
+ # latency of that connection. The latency of the stream is set to the
2639
+ # highest number between the sender’s minimum latency and the
2640
+ # receiver’s minimum latency.
2641
+ # @return [Integer]
2642
+ #
2178
2643
  # @!attribute [rw] output_arn
2179
2644
  # @return [String]
2180
2645
  #
@@ -2213,6 +2678,7 @@ module Aws::MediaConnect
2213
2678
  :encryption,
2214
2679
  :flow_arn,
2215
2680
  :max_latency,
2681
+ :min_latency,
2216
2682
  :output_arn,
2217
2683
  :port,
2218
2684
  :protocol,
@@ -2232,7 +2698,7 @@ module Aws::MediaConnect
2232
2698
  # @return [String]
2233
2699
  #
2234
2700
  # @!attribute [rw] output
2235
- # The settings for an output.
2701
+ # The new settings of the output that you updated.
2236
2702
  # @return [Types::Output]
2237
2703
  #
2238
2704
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutputResponse AWS API Documentation
@@ -2298,7 +2764,7 @@ module Aws::MediaConnect
2298
2764
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2299
2765
  # constant_initialization_vector: "__string",
2300
2766
  # device_id: "__string",
2301
- # key_type: "speke", # accepts speke, static-key
2767
+ # key_type: "speke", # accepts speke, static-key, srt-password
2302
2768
  # region: "__string",
2303
2769
  # resource_id: "__string",
2304
2770
  # role_arn: "__string",
@@ -2311,7 +2777,8 @@ module Aws::MediaConnect
2311
2777
  # ingest_port: 1,
2312
2778
  # max_bitrate: 1,
2313
2779
  # max_latency: 1,
2314
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
2780
+ # min_latency: 1,
2781
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
2315
2782
  # source_arn: "__string", # required
2316
2783
  # stream_id: "__string",
2317
2784
  # vpc_interface_name: "__string",
@@ -2350,6 +2817,15 @@ module Aws::MediaConnect
2350
2817
  # RIST-based and Zixi-based streams.
2351
2818
  # @return [Integer]
2352
2819
  #
2820
+ # @!attribute [rw] min_latency
2821
+ # The minimum latency in milliseconds for SRT-based streams. In
2822
+ # streams that use the SRT protocol, this value that you set on your
2823
+ # MediaConnect source or output represents the minimal potential
2824
+ # latency of that connection. The latency of the stream is set to the
2825
+ # highest number between the sender’s minimum latency and the
2826
+ # receiver’s minimum latency.
2827
+ # @return [Integer]
2828
+ #
2353
2829
  # @!attribute [rw] protocol
2354
2830
  # The protocol that is used by the source.
2355
2831
  # @return [String]
@@ -2383,6 +2859,7 @@ module Aws::MediaConnect
2383
2859
  :ingest_port,
2384
2860
  :max_bitrate,
2385
2861
  :max_latency,
2862
+ :min_latency,
2386
2863
  :protocol,
2387
2864
  :source_arn,
2388
2865
  :stream_id,