aws-sdk-mediaconnect 1.26.0 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,6 +338,16 @@ 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"))
@@ -303,6 +361,14 @@ module Aws::MediaConnect
303
361
  Output.add_member(:vpc_interface_attachment, Shapes::ShapeRef.new(shape: VpcInterfaceAttachment, location_name: "vpcInterfaceAttachment"))
304
362
  Output.struct_class = Types::Output
305
363
 
364
+ PurchaseOfferingRequest.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringArn"))
365
+ PurchaseOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationName"))
366
+ PurchaseOfferingRequest.add_member(:start, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "start"))
367
+ PurchaseOfferingRequest.struct_class = Types::PurchaseOfferingRequest
368
+
369
+ PurchaseOfferingResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
370
+ PurchaseOfferingResponse.struct_class = Types::PurchaseOfferingResponse
371
+
306
372
  RemoveFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
307
373
  RemoveFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
308
374
  RemoveFlowOutputRequest.struct_class = Types::RemoveFlowOutputRequest
@@ -328,6 +394,25 @@ module Aws::MediaConnect
328
394
  RemoveFlowVpcInterfaceResponse.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
329
395
  RemoveFlowVpcInterfaceResponse.struct_class = Types::RemoveFlowVpcInterfaceResponse
330
396
 
397
+ Reservation.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currencyCode"))
398
+ Reservation.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "duration"))
399
+ Reservation.add_member(:duration_units, Shapes::ShapeRef.new(shape: DurationUnits, required: true, location_name: "durationUnits"))
400
+ Reservation.add_member(:end, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "end"))
401
+ Reservation.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringArn"))
402
+ Reservation.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringDescription"))
403
+ Reservation.add_member(:price_per_unit, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "pricePerUnit"))
404
+ Reservation.add_member(:price_units, Shapes::ShapeRef.new(shape: PriceUnits, required: true, location_name: "priceUnits"))
405
+ Reservation.add_member(:reservation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationArn"))
406
+ Reservation.add_member(:reservation_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationName"))
407
+ Reservation.add_member(:reservation_state, Shapes::ShapeRef.new(shape: ReservationState, required: true, location_name: "reservationState"))
408
+ Reservation.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ResourceSpecification, required: true, location_name: "resourceSpecification"))
409
+ Reservation.add_member(:start, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "start"))
410
+ Reservation.struct_class = Types::Reservation
411
+
412
+ ResourceSpecification.add_member(:reserved_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "reservedBitrate"))
413
+ ResourceSpecification.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
414
+ ResourceSpecification.struct_class = Types::ResourceSpecification
415
+
331
416
  ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
332
417
  ResponseError.struct_class = Types::ResponseError
333
418
 
@@ -348,6 +433,7 @@ module Aws::MediaConnect
348
433
  SetSourceRequest.add_member(:ingest_port, Shapes::ShapeRef.new(shape: __integer, location_name: "ingestPort"))
349
434
  SetSourceRequest.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
350
435
  SetSourceRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
436
+ SetSourceRequest.add_member(:min_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "minLatency"))
351
437
  SetSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
352
438
  SetSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
353
439
  SetSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
@@ -392,6 +478,7 @@ module Aws::MediaConnect
392
478
  Transport.add_member(:cidr_allow_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "cidrAllowList"))
393
479
  Transport.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
394
480
  Transport.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
481
+ Transport.add_member(:min_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "minLatency"))
395
482
  Transport.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "protocol"))
396
483
  Transport.add_member(:remote_id, Shapes::ShapeRef.new(shape: __string, location_name: "remoteId"))
397
484
  Transport.add_member(:smoothing_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "smoothingLatency"))
@@ -435,6 +522,7 @@ module Aws::MediaConnect
435
522
  UpdateFlowOutputRequest.add_member(:encryption, Shapes::ShapeRef.new(shape: UpdateEncryption, location_name: "encryption"))
436
523
  UpdateFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
437
524
  UpdateFlowOutputRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
525
+ UpdateFlowOutputRequest.add_member(:min_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "minLatency"))
438
526
  UpdateFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
439
527
  UpdateFlowOutputRequest.add_member(:port, Shapes::ShapeRef.new(shape: __integer, location_name: "port"))
440
528
  UpdateFlowOutputRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
@@ -462,6 +550,7 @@ module Aws::MediaConnect
462
550
  UpdateFlowSourceRequest.add_member(:ingest_port, Shapes::ShapeRef.new(shape: __integer, location_name: "ingestPort"))
463
551
  UpdateFlowSourceRequest.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "maxBitrate"))
464
552
  UpdateFlowSourceRequest.add_member(:max_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLatency"))
553
+ UpdateFlowSourceRequest.add_member(:min_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "minLatency"))
465
554
  UpdateFlowSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
466
555
  UpdateFlowSourceRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "sourceArn"))
467
556
  UpdateFlowSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
@@ -499,8 +588,12 @@ module Aws::MediaConnect
499
588
 
500
589
  __listOfListedFlow.member = Shapes::ShapeRef.new(shape: ListedFlow)
501
590
 
591
+ __listOfOffering.member = Shapes::ShapeRef.new(shape: Offering)
592
+
502
593
  __listOfOutput.member = Shapes::ShapeRef.new(shape: Output)
503
594
 
595
+ __listOfReservation.member = Shapes::ShapeRef.new(shape: Reservation)
596
+
504
597
  __listOfSetSourceRequest.member = Shapes::ShapeRef.new(shape: SetSourceRequest)
505
598
 
506
599
  __listOfSource.member = Shapes::ShapeRef.new(shape: Source)
@@ -619,6 +712,32 @@ module Aws::MediaConnect
619
712
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
620
713
  end)
621
714
 
715
+ api.add_operation(:describe_offering, Seahorse::Model::Operation.new.tap do |o|
716
+ o.name = "DescribeOffering"
717
+ o.http_method = "GET"
718
+ o.http_request_uri = "/v1/offerings/{offeringArn}"
719
+ o.input = Shapes::ShapeRef.new(shape: DescribeOfferingRequest)
720
+ o.output = Shapes::ShapeRef.new(shape: DescribeOfferingResponse)
721
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
723
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
724
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
725
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
726
+ end)
727
+
728
+ api.add_operation(:describe_reservation, Seahorse::Model::Operation.new.tap do |o|
729
+ o.name = "DescribeReservation"
730
+ o.http_method = "GET"
731
+ o.http_request_uri = "/v1/reservations/{reservationArn}"
732
+ o.input = Shapes::ShapeRef.new(shape: DescribeReservationRequest)
733
+ o.output = Shapes::ShapeRef.new(shape: DescribeReservationResponse)
734
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
735
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
736
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
737
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
738
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
739
+ end)
740
+
622
741
  api.add_operation(:grant_flow_entitlements, Seahorse::Model::Operation.new.tap do |o|
623
742
  o.name = "GrantFlowEntitlements"
624
743
  o.http_method = "POST"
@@ -670,6 +789,42 @@ module Aws::MediaConnect
670
789
  )
671
790
  end)
672
791
 
792
+ api.add_operation(:list_offerings, Seahorse::Model::Operation.new.tap do |o|
793
+ o.name = "ListOfferings"
794
+ o.http_method = "GET"
795
+ o.http_request_uri = "/v1/offerings"
796
+ o.input = Shapes::ShapeRef.new(shape: ListOfferingsRequest)
797
+ o.output = Shapes::ShapeRef.new(shape: ListOfferingsResponse)
798
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
799
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
800
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
801
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
802
+ o[:pager] = Aws::Pager.new(
803
+ limit_key: "max_results",
804
+ tokens: {
805
+ "next_token" => "next_token"
806
+ }
807
+ )
808
+ end)
809
+
810
+ api.add_operation(:list_reservations, Seahorse::Model::Operation.new.tap do |o|
811
+ o.name = "ListReservations"
812
+ o.http_method = "GET"
813
+ o.http_request_uri = "/v1/reservations"
814
+ o.input = Shapes::ShapeRef.new(shape: ListReservationsRequest)
815
+ o.output = Shapes::ShapeRef.new(shape: ListReservationsResponse)
816
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
817
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
818
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
819
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
820
+ o[:pager] = Aws::Pager.new(
821
+ limit_key: "max_results",
822
+ tokens: {
823
+ "next_token" => "next_token"
824
+ }
825
+ )
826
+ end)
827
+
673
828
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
674
829
  o.name = "ListTagsForResource"
675
830
  o.http_method = "GET"
@@ -681,6 +836,20 @@ module Aws::MediaConnect
681
836
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
682
837
  end)
683
838
 
839
+ api.add_operation(:purchase_offering, Seahorse::Model::Operation.new.tap do |o|
840
+ o.name = "PurchaseOffering"
841
+ o.http_method = "POST"
842
+ o.http_request_uri = "/v1/offerings/{offeringArn}"
843
+ o.input = Shapes::ShapeRef.new(shape: PurchaseOfferingRequest)
844
+ o.output = Shapes::ShapeRef.new(shape: PurchaseOfferingResponse)
845
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
846
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
848
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
849
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
850
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
851
+ end)
852
+
684
853
  api.add_operation(:remove_flow_output, Seahorse::Model::Operation.new.tap do |o|
685
854
  o.name = "RemoveFlowOutput"
686
855
  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
@@ -1331,6 +1579,66 @@ module Aws::MediaConnect
1331
1579
  include Aws::Structure
1332
1580
  end
1333
1581
 
1582
+ # Submits a request to purchase an offering, which creates a reservation
1583
+ # in your AWS account. If you already have an active reservation, you
1584
+ # can't purchase another offering.
1585
+ #
1586
+ # @note When making an API call, you may pass PurchaseOfferingRequest
1587
+ # data as a hash:
1588
+ #
1589
+ # {
1590
+ # offering_arn: "__string", # required
1591
+ # reservation_name: "__string", # required
1592
+ # start: "__string", # required
1593
+ # }
1594
+ #
1595
+ # @!attribute [rw] offering_arn
1596
+ # @return [String]
1597
+ #
1598
+ # @!attribute [rw] reservation_name
1599
+ # The name that you want to use for the reservation.
1600
+ # @return [String]
1601
+ #
1602
+ # @!attribute [rw] start
1603
+ # The date and time that you want the reservation to begin, in
1604
+ # Coordinated Universal Time (UTC). You can specify any date and time
1605
+ # between 12:00am on the first day of the current month to the current
1606
+ # time on today's date, inclusive. Specify the start in a 24-hour
1607
+ # notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T
1608
+ # and Z are literal characters. For example, to specify 11:30pm on
1609
+ # March 5, 2020, enter 2020-03-05T23:30:00Z.
1610
+ # @return [String]
1611
+ #
1612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOfferingRequest AWS API Documentation
1613
+ #
1614
+ class PurchaseOfferingRequest < Struct.new(
1615
+ :offering_arn,
1616
+ :reservation_name,
1617
+ :start)
1618
+ SENSITIVE = []
1619
+ include Aws::Structure
1620
+ end
1621
+
1622
+ # The result of a successful PurchaseOffering request.
1623
+ #
1624
+ # @!attribute [rw] reservation
1625
+ # A pricing agreement for a discounted rate for a specific outbound
1626
+ # bandwidth that your MediaConnect account will use each month over a
1627
+ # specific time period. The discounted rate in the reservation applies
1628
+ # to outbound bandwidth for all flows from your account until your
1629
+ # account reaches the amount of bandwidth in your reservation. If you
1630
+ # use more outbound bandwidth than the agreed upon amount in a single
1631
+ # month, the overage is charged at the on-demand rate.
1632
+ # @return [Types::Reservation]
1633
+ #
1634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOfferingResponse AWS API Documentation
1635
+ #
1636
+ class PurchaseOfferingResponse < Struct.new(
1637
+ :reservation)
1638
+ SENSITIVE = []
1639
+ include Aws::Structure
1640
+ end
1641
+
1334
1642
  # @note When making an API call, you may pass RemoveFlowOutputRequest
1335
1643
  # data as a hash:
1336
1644
  #
@@ -1467,6 +1775,122 @@ module Aws::MediaConnect
1467
1775
  include Aws::Structure
1468
1776
  end
1469
1777
 
1778
+ # A pricing agreement for a discounted rate for a specific outbound
1779
+ # bandwidth that your MediaConnect account will use each month over a
1780
+ # specific time period. The discounted rate in the reservation applies
1781
+ # to outbound bandwidth for all flows from your account until your
1782
+ # account reaches the amount of bandwidth in your reservation. If you
1783
+ # use more outbound bandwidth than the agreed upon amount in a single
1784
+ # month, the overage is charged at the on-demand rate.
1785
+ #
1786
+ # @!attribute [rw] currency_code
1787
+ # The type of currency that is used for billing. The currencyCode used
1788
+ # for your reservation is US dollars.
1789
+ # @return [String]
1790
+ #
1791
+ # @!attribute [rw] duration
1792
+ # The length of time that this reservation is active. MediaConnect
1793
+ # defines this value in the offering.
1794
+ # @return [Integer]
1795
+ #
1796
+ # @!attribute [rw] duration_units
1797
+ # The unit of measurement for the duration of the reservation.
1798
+ # MediaConnect defines this value in the offering.
1799
+ # @return [String]
1800
+ #
1801
+ # @!attribute [rw] end
1802
+ # The day and time that this reservation expires. This value is
1803
+ # calculated based on the start date and time that you set and the
1804
+ # offering's duration.
1805
+ # @return [String]
1806
+ #
1807
+ # @!attribute [rw] offering_arn
1808
+ # The Amazon Resource Name (ARN) that MediaConnect assigns to the
1809
+ # offering.
1810
+ # @return [String]
1811
+ #
1812
+ # @!attribute [rw] offering_description
1813
+ # A description of the offering. MediaConnect defines this value in
1814
+ # the offering.
1815
+ # @return [String]
1816
+ #
1817
+ # @!attribute [rw] price_per_unit
1818
+ # The cost of a single unit. This value, in combination with
1819
+ # priceUnits, makes up the rate. MediaConnect defines this value in
1820
+ # the offering.
1821
+ # @return [String]
1822
+ #
1823
+ # @!attribute [rw] price_units
1824
+ # The unit of measurement that is used for billing. This value, in
1825
+ # combination with pricePerUnit, makes up the rate. MediaConnect
1826
+ # defines this value in the offering.
1827
+ # @return [String]
1828
+ #
1829
+ # @!attribute [rw] reservation_arn
1830
+ # The Amazon Resource Name (ARN) that MediaConnect assigns to the
1831
+ # reservation when you purchase an offering.
1832
+ # @return [String]
1833
+ #
1834
+ # @!attribute [rw] reservation_name
1835
+ # The name that you assigned to the reservation when you purchased the
1836
+ # offering.
1837
+ # @return [String]
1838
+ #
1839
+ # @!attribute [rw] reservation_state
1840
+ # The status of your reservation.
1841
+ # @return [String]
1842
+ #
1843
+ # @!attribute [rw] resource_specification
1844
+ # A definition of the amount of outbound bandwidth that you would be
1845
+ # reserving if you purchase the offering. MediaConnect defines the
1846
+ # values that make up the resourceSpecification in the offering.
1847
+ # @return [Types::ResourceSpecification]
1848
+ #
1849
+ # @!attribute [rw] start
1850
+ # The day and time that the reservation becomes active. You set this
1851
+ # value when you purchase the offering.
1852
+ # @return [String]
1853
+ #
1854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Reservation AWS API Documentation
1855
+ #
1856
+ class Reservation < Struct.new(
1857
+ :currency_code,
1858
+ :duration,
1859
+ :duration_units,
1860
+ :end,
1861
+ :offering_arn,
1862
+ :offering_description,
1863
+ :price_per_unit,
1864
+ :price_units,
1865
+ :reservation_arn,
1866
+ :reservation_name,
1867
+ :reservation_state,
1868
+ :resource_specification,
1869
+ :start)
1870
+ SENSITIVE = []
1871
+ include Aws::Structure
1872
+ end
1873
+
1874
+ # A definition of what is being billed for, including the type and
1875
+ # amount.
1876
+ #
1877
+ # @!attribute [rw] reserved_bitrate
1878
+ # The amount of outbound bandwidth that is discounted in the offering.
1879
+ # @return [Integer]
1880
+ #
1881
+ # @!attribute [rw] resource_type
1882
+ # The type of resource and the unit that is being billed for.
1883
+ # @return [String]
1884
+ #
1885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ResourceSpecification AWS API Documentation
1886
+ #
1887
+ class ResourceSpecification < Struct.new(
1888
+ :reserved_bitrate,
1889
+ :resource_type)
1890
+ SENSITIVE = []
1891
+ include Aws::Structure
1892
+ end
1893
+
1470
1894
  # Exception raised by AWS Elemental MediaConnect. See the error message
1471
1895
  # and documentation for the operation for more information on the cause
1472
1896
  # of this exception.
@@ -1549,10 +1973,10 @@ module Aws::MediaConnect
1549
1973
  #
1550
1974
  # {
1551
1975
  # decryption: {
1552
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
1976
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
1553
1977
  # constant_initialization_vector: "__string",
1554
1978
  # device_id: "__string",
1555
- # key_type: "speke", # accepts speke, static-key
1979
+ # key_type: "speke", # accepts speke, static-key, srt-password
1556
1980
  # region: "__string",
1557
1981
  # resource_id: "__string",
1558
1982
  # role_arn: "__string", # required
@@ -1564,8 +1988,9 @@ module Aws::MediaConnect
1564
1988
  # ingest_port: 1,
1565
1989
  # max_bitrate: 1,
1566
1990
  # max_latency: 1,
1991
+ # min_latency: 1,
1567
1992
  # name: "__string",
1568
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
1993
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
1569
1994
  # stream_id: "__string",
1570
1995
  # vpc_interface_name: "__string",
1571
1996
  # whitelist_cidr: "__string",
@@ -1600,6 +2025,15 @@ module Aws::MediaConnect
1600
2025
  # RIST-based and Zixi-based streams.
1601
2026
  # @return [Integer]
1602
2027
  #
2028
+ # @!attribute [rw] min_latency
2029
+ # The minimum latency in milliseconds for SRT-based streams. In
2030
+ # streams that use the SRT protocol, this value that you set on your
2031
+ # MediaConnect source or output represents the minimal potential
2032
+ # latency of that connection. The latency of the stream is set to the
2033
+ # highest number between the sender’s minimum latency and the
2034
+ # receiver’s minimum latency.
2035
+ # @return [Integer]
2036
+ #
1603
2037
  # @!attribute [rw] name
1604
2038
  # The name of the source.
1605
2039
  # @return [String]
@@ -1633,6 +2067,7 @@ module Aws::MediaConnect
1633
2067
  :ingest_port,
1634
2068
  :max_bitrate,
1635
2069
  :max_latency,
2070
+ :min_latency,
1636
2071
  :name,
1637
2072
  :protocol,
1638
2073
  :stream_id,
@@ -1857,6 +2292,15 @@ module Aws::MediaConnect
1857
2292
  # RIST-based and Zixi-based streams.
1858
2293
  # @return [Integer]
1859
2294
  #
2295
+ # @!attribute [rw] min_latency
2296
+ # The minimum latency in milliseconds for SRT-based streams. In
2297
+ # streams that use the SRT protocol, this value that you set on your
2298
+ # MediaConnect source or output represents the minimal potential
2299
+ # latency of that connection. The latency of the stream is set to the
2300
+ # highest number between the sender’s minimum latency and the
2301
+ # receiver’s minimum latency.
2302
+ # @return [Integer]
2303
+ #
1860
2304
  # @!attribute [rw] protocol
1861
2305
  # The protocol that is used by the source or output.
1862
2306
  # @return [String]
@@ -1881,6 +2325,7 @@ module Aws::MediaConnect
1881
2325
  :cidr_allow_list,
1882
2326
  :max_bitrate,
1883
2327
  :max_latency,
2328
+ :min_latency,
1884
2329
  :protocol,
1885
2330
  :remote_id,
1886
2331
  :smoothing_latency,
@@ -1921,7 +2366,7 @@ module Aws::MediaConnect
1921
2366
  # algorithm: "aes128", # accepts aes128, aes192, aes256
1922
2367
  # constant_initialization_vector: "__string",
1923
2368
  # device_id: "__string",
1924
- # key_type: "speke", # accepts speke, static-key
2369
+ # key_type: "speke", # accepts speke, static-key, srt-password
1925
2370
  # region: "__string",
1926
2371
  # resource_id: "__string",
1927
2372
  # role_arn: "__string",
@@ -2035,7 +2480,7 @@ module Aws::MediaConnect
2035
2480
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2036
2481
  # constant_initialization_vector: "__string",
2037
2482
  # device_id: "__string",
2038
- # key_type: "speke", # accepts speke, static-key
2483
+ # key_type: "speke", # accepts speke, static-key, srt-password
2039
2484
  # region: "__string",
2040
2485
  # resource_id: "__string",
2041
2486
  # role_arn: "__string",
@@ -2096,7 +2541,7 @@ module Aws::MediaConnect
2096
2541
  # entitlement configuration.
2097
2542
  #
2098
2543
  # @!attribute [rw] entitlement
2099
- # The settings for a flow entitlement.
2544
+ # The new configuration of the entitlement that you updated.
2100
2545
  # @return [Types::Entitlement]
2101
2546
  #
2102
2547
  # @!attribute [rw] flow_arn
@@ -2126,7 +2571,7 @@ module Aws::MediaConnect
2126
2571
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2127
2572
  # constant_initialization_vector: "__string",
2128
2573
  # device_id: "__string",
2129
- # key_type: "speke", # accepts speke, static-key
2574
+ # key_type: "speke", # accepts speke, static-key, srt-password
2130
2575
  # region: "__string",
2131
2576
  # resource_id: "__string",
2132
2577
  # role_arn: "__string",
@@ -2135,9 +2580,10 @@ module Aws::MediaConnect
2135
2580
  # },
2136
2581
  # flow_arn: "__string", # required
2137
2582
  # max_latency: 1,
2583
+ # min_latency: 1,
2138
2584
  # output_arn: "__string", # required
2139
2585
  # port: 1,
2140
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
2586
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
2141
2587
  # remote_id: "__string",
2142
2588
  # smoothing_latency: 1,
2143
2589
  # stream_id: "__string",
@@ -2175,6 +2621,15 @@ module Aws::MediaConnect
2175
2621
  # The maximum latency in milliseconds for Zixi-based streams.
2176
2622
  # @return [Integer]
2177
2623
  #
2624
+ # @!attribute [rw] min_latency
2625
+ # The minimum latency in milliseconds for SRT-based streams. In
2626
+ # streams that use the SRT protocol, this value that you set on your
2627
+ # MediaConnect source or output represents the minimal potential
2628
+ # latency of that connection. The latency of the stream is set to the
2629
+ # highest number between the sender’s minimum latency and the
2630
+ # receiver’s minimum latency.
2631
+ # @return [Integer]
2632
+ #
2178
2633
  # @!attribute [rw] output_arn
2179
2634
  # @return [String]
2180
2635
  #
@@ -2213,6 +2668,7 @@ module Aws::MediaConnect
2213
2668
  :encryption,
2214
2669
  :flow_arn,
2215
2670
  :max_latency,
2671
+ :min_latency,
2216
2672
  :output_arn,
2217
2673
  :port,
2218
2674
  :protocol,
@@ -2232,7 +2688,7 @@ module Aws::MediaConnect
2232
2688
  # @return [String]
2233
2689
  #
2234
2690
  # @!attribute [rw] output
2235
- # The settings for an output.
2691
+ # The new settings of the output that you updated.
2236
2692
  # @return [Types::Output]
2237
2693
  #
2238
2694
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutputResponse AWS API Documentation
@@ -2298,7 +2754,7 @@ module Aws::MediaConnect
2298
2754
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2299
2755
  # constant_initialization_vector: "__string",
2300
2756
  # device_id: "__string",
2301
- # key_type: "speke", # accepts speke, static-key
2757
+ # key_type: "speke", # accepts speke, static-key, srt-password
2302
2758
  # region: "__string",
2303
2759
  # resource_id: "__string",
2304
2760
  # role_arn: "__string",
@@ -2311,7 +2767,8 @@ module Aws::MediaConnect
2311
2767
  # ingest_port: 1,
2312
2768
  # max_bitrate: 1,
2313
2769
  # max_latency: 1,
2314
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
2770
+ # min_latency: 1,
2771
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
2315
2772
  # source_arn: "__string", # required
2316
2773
  # stream_id: "__string",
2317
2774
  # vpc_interface_name: "__string",
@@ -2350,6 +2807,15 @@ module Aws::MediaConnect
2350
2807
  # RIST-based and Zixi-based streams.
2351
2808
  # @return [Integer]
2352
2809
  #
2810
+ # @!attribute [rw] min_latency
2811
+ # The minimum latency in milliseconds for SRT-based streams. In
2812
+ # streams that use the SRT protocol, this value that you set on your
2813
+ # MediaConnect source or output represents the minimal potential
2814
+ # latency of that connection. The latency of the stream is set to the
2815
+ # highest number between the sender’s minimum latency and the
2816
+ # receiver’s minimum latency.
2817
+ # @return [Integer]
2818
+ #
2353
2819
  # @!attribute [rw] protocol
2354
2820
  # The protocol that is used by the source.
2355
2821
  # @return [String]
@@ -2383,6 +2849,7 @@ module Aws::MediaConnect
2383
2849
  :ingest_port,
2384
2850
  :max_bitrate,
2385
2851
  :max_latency,
2852
+ :min_latency,
2386
2853
  :protocol,
2387
2854
  :source_arn,
2388
2855
  :stream_id,