aws-sdk-mediaconnect 1.25.0 → 1.30.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')
@@ -186,6 +205,18 @@ module Aws::MediaConnect
186
205
  DescribeFlowResponse.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
187
206
  DescribeFlowResponse.struct_class = Types::DescribeFlowResponse
188
207
 
208
+ DescribeOfferingRequest.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringArn"))
209
+ DescribeOfferingRequest.struct_class = Types::DescribeOfferingRequest
210
+
211
+ DescribeOfferingResponse.add_member(:offering, Shapes::ShapeRef.new(shape: Offering, location_name: "offering"))
212
+ DescribeOfferingResponse.struct_class = Types::DescribeOfferingResponse
213
+
214
+ DescribeReservationRequest.add_member(:reservation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "reservationArn"))
215
+ DescribeReservationRequest.struct_class = Types::DescribeReservationRequest
216
+
217
+ DescribeReservationResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
218
+ DescribeReservationResponse.struct_class = Types::DescribeReservationResponse
219
+
189
220
  Encryption.add_member(:algorithm, Shapes::ShapeRef.new(shape: Algorithm, required: true, location_name: "algorithm"))
190
221
  Encryption.add_member(:constant_initialization_vector, Shapes::ShapeRef.new(shape: __string, location_name: "constantInitializationVector"))
191
222
  Encryption.add_member(:device_id, Shapes::ShapeRef.new(shape: __string, location_name: "deviceId"))
@@ -265,6 +296,22 @@ module Aws::MediaConnect
265
296
  ListFlowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
266
297
  ListFlowsResponse.struct_class = Types::ListFlowsResponse
267
298
 
299
+ ListOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
300
+ ListOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
301
+ ListOfferingsRequest.struct_class = Types::ListOfferingsRequest
302
+
303
+ ListOfferingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
304
+ ListOfferingsResponse.add_member(:offerings, Shapes::ShapeRef.new(shape: __listOfOffering, location_name: "offerings"))
305
+ ListOfferingsResponse.struct_class = Types::ListOfferingsResponse
306
+
307
+ ListReservationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
308
+ ListReservationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
309
+ ListReservationsRequest.struct_class = Types::ListReservationsRequest
310
+
311
+ ListReservationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
312
+ ListReservationsResponse.add_member(:reservations, Shapes::ShapeRef.new(shape: __listOfReservation, location_name: "reservations"))
313
+ ListReservationsResponse.struct_class = Types::ListReservationsResponse
314
+
268
315
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
269
316
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
270
317
 
@@ -290,6 +337,16 @@ module Aws::MediaConnect
290
337
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
291
338
  NotFoundException.struct_class = Types::NotFoundException
292
339
 
340
+ Offering.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currencyCode"))
341
+ Offering.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "duration"))
342
+ Offering.add_member(:duration_units, Shapes::ShapeRef.new(shape: DurationUnits, required: true, location_name: "durationUnits"))
343
+ Offering.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringArn"))
344
+ Offering.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringDescription"))
345
+ Offering.add_member(:price_per_unit, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "pricePerUnit"))
346
+ Offering.add_member(:price_units, Shapes::ShapeRef.new(shape: PriceUnits, required: true, location_name: "priceUnits"))
347
+ Offering.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ResourceSpecification, required: true, location_name: "resourceSpecification"))
348
+ Offering.struct_class = Types::Offering
349
+
293
350
  Output.add_member(:data_transfer_subscriber_fee_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "dataTransferSubscriberFeePercent"))
294
351
  Output.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
295
352
  Output.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
@@ -303,6 +360,14 @@ module Aws::MediaConnect
303
360
  Output.add_member(:vpc_interface_attachment, Shapes::ShapeRef.new(shape: VpcInterfaceAttachment, location_name: "vpcInterfaceAttachment"))
304
361
  Output.struct_class = Types::Output
305
362
 
363
+ PurchaseOfferingRequest.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringArn"))
364
+ PurchaseOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationName"))
365
+ PurchaseOfferingRequest.add_member(:start, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "start"))
366
+ PurchaseOfferingRequest.struct_class = Types::PurchaseOfferingRequest
367
+
368
+ PurchaseOfferingResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
369
+ PurchaseOfferingResponse.struct_class = Types::PurchaseOfferingResponse
370
+
306
371
  RemoveFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
307
372
  RemoveFlowOutputRequest.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "outputArn"))
308
373
  RemoveFlowOutputRequest.struct_class = Types::RemoveFlowOutputRequest
@@ -328,6 +393,25 @@ module Aws::MediaConnect
328
393
  RemoveFlowVpcInterfaceResponse.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
329
394
  RemoveFlowVpcInterfaceResponse.struct_class = Types::RemoveFlowVpcInterfaceResponse
330
395
 
396
+ Reservation.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currencyCode"))
397
+ Reservation.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "duration"))
398
+ Reservation.add_member(:duration_units, Shapes::ShapeRef.new(shape: DurationUnits, required: true, location_name: "durationUnits"))
399
+ Reservation.add_member(:end, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "end"))
400
+ Reservation.add_member(:offering_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringArn"))
401
+ Reservation.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "offeringDescription"))
402
+ Reservation.add_member(:price_per_unit, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "pricePerUnit"))
403
+ Reservation.add_member(:price_units, Shapes::ShapeRef.new(shape: PriceUnits, required: true, location_name: "priceUnits"))
404
+ Reservation.add_member(:reservation_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationArn"))
405
+ Reservation.add_member(:reservation_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "reservationName"))
406
+ Reservation.add_member(:reservation_state, Shapes::ShapeRef.new(shape: ReservationState, required: true, location_name: "reservationState"))
407
+ Reservation.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ResourceSpecification, required: true, location_name: "resourceSpecification"))
408
+ Reservation.add_member(:start, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "start"))
409
+ Reservation.struct_class = Types::Reservation
410
+
411
+ ResourceSpecification.add_member(:reserved_bitrate, Shapes::ShapeRef.new(shape: __integer, location_name: "reservedBitrate"))
412
+ ResourceSpecification.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
413
+ ResourceSpecification.struct_class = Types::ResourceSpecification
414
+
331
415
  ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
332
416
  ResponseError.struct_class = Types::ResponseError
333
417
 
@@ -499,8 +583,12 @@ module Aws::MediaConnect
499
583
 
500
584
  __listOfListedFlow.member = Shapes::ShapeRef.new(shape: ListedFlow)
501
585
 
586
+ __listOfOffering.member = Shapes::ShapeRef.new(shape: Offering)
587
+
502
588
  __listOfOutput.member = Shapes::ShapeRef.new(shape: Output)
503
589
 
590
+ __listOfReservation.member = Shapes::ShapeRef.new(shape: Reservation)
591
+
504
592
  __listOfSetSourceRequest.member = Shapes::ShapeRef.new(shape: SetSourceRequest)
505
593
 
506
594
  __listOfSource.member = Shapes::ShapeRef.new(shape: Source)
@@ -619,6 +707,32 @@ module Aws::MediaConnect
619
707
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
620
708
  end)
621
709
 
710
+ api.add_operation(:describe_offering, Seahorse::Model::Operation.new.tap do |o|
711
+ o.name = "DescribeOffering"
712
+ o.http_method = "GET"
713
+ o.http_request_uri = "/v1/offerings/{offeringArn}"
714
+ o.input = Shapes::ShapeRef.new(shape: DescribeOfferingRequest)
715
+ o.output = Shapes::ShapeRef.new(shape: DescribeOfferingResponse)
716
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
718
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
719
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
720
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
721
+ end)
722
+
723
+ api.add_operation(:describe_reservation, Seahorse::Model::Operation.new.tap do |o|
724
+ o.name = "DescribeReservation"
725
+ o.http_method = "GET"
726
+ o.http_request_uri = "/v1/reservations/{reservationArn}"
727
+ o.input = Shapes::ShapeRef.new(shape: DescribeReservationRequest)
728
+ o.output = Shapes::ShapeRef.new(shape: DescribeReservationResponse)
729
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
730
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
731
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
732
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
733
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
734
+ end)
735
+
622
736
  api.add_operation(:grant_flow_entitlements, Seahorse::Model::Operation.new.tap do |o|
623
737
  o.name = "GrantFlowEntitlements"
624
738
  o.http_method = "POST"
@@ -670,6 +784,42 @@ module Aws::MediaConnect
670
784
  )
671
785
  end)
672
786
 
787
+ api.add_operation(:list_offerings, Seahorse::Model::Operation.new.tap do |o|
788
+ o.name = "ListOfferings"
789
+ o.http_method = "GET"
790
+ o.http_request_uri = "/v1/offerings"
791
+ o.input = Shapes::ShapeRef.new(shape: ListOfferingsRequest)
792
+ o.output = Shapes::ShapeRef.new(shape: ListOfferingsResponse)
793
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
794
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
795
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
796
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
797
+ o[:pager] = Aws::Pager.new(
798
+ limit_key: "max_results",
799
+ tokens: {
800
+ "next_token" => "next_token"
801
+ }
802
+ )
803
+ end)
804
+
805
+ api.add_operation(:list_reservations, Seahorse::Model::Operation.new.tap do |o|
806
+ o.name = "ListReservations"
807
+ o.http_method = "GET"
808
+ o.http_request_uri = "/v1/reservations"
809
+ o.input = Shapes::ShapeRef.new(shape: ListReservationsRequest)
810
+ o.output = Shapes::ShapeRef.new(shape: ListReservationsResponse)
811
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
812
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
813
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
814
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
815
+ o[:pager] = Aws::Pager.new(
816
+ limit_key: "max_results",
817
+ tokens: {
818
+ "next_token" => "next_token"
819
+ }
820
+ )
821
+ end)
822
+
673
823
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
674
824
  o.name = "ListTagsForResource"
675
825
  o.http_method = "GET"
@@ -681,6 +831,20 @@ module Aws::MediaConnect
681
831
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
682
832
  end)
683
833
 
834
+ api.add_operation(:purchase_offering, Seahorse::Model::Operation.new.tap do |o|
835
+ o.name = "PurchaseOffering"
836
+ o.http_method = "POST"
837
+ o.http_request_uri = "/v1/offerings/{offeringArn}"
838
+ o.input = Shapes::ShapeRef.new(shape: PurchaseOfferingRequest)
839
+ o.output = Shapes::ShapeRef.new(shape: PurchaseOfferingResponse)
840
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
841
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
842
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
843
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
844
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
845
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
846
+ end)
847
+
684
848
  api.add_operation(:remove_flow_output, Seahorse::Model::Operation.new.tap do |o|
685
849
  o.name = "RemoveFlowOutput"
686
850
  o.http_method = "DELETE"
@@ -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
 
@@ -617,6 +617,77 @@ module Aws::MediaConnect
617
617
  include Aws::Structure
618
618
  end
619
619
 
620
+ # @note When making an API call, you may pass DescribeOfferingRequest
621
+ # data as a hash:
622
+ #
623
+ # {
624
+ # offering_arn: "__string", # required
625
+ # }
626
+ #
627
+ # @!attribute [rw] offering_arn
628
+ # @return [String]
629
+ #
630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeOfferingRequest AWS API Documentation
631
+ #
632
+ class DescribeOfferingRequest < Struct.new(
633
+ :offering_arn)
634
+ SENSITIVE = []
635
+ include Aws::Structure
636
+ end
637
+
638
+ # The result of a successful DescribeOffering request.
639
+ #
640
+ # @!attribute [rw] offering
641
+ # A savings plan that reserves a certain amount of outbound bandwidth
642
+ # usage at a discounted rate each month over a period of time.
643
+ # @return [Types::Offering]
644
+ #
645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeOfferingResponse AWS API Documentation
646
+ #
647
+ class DescribeOfferingResponse < Struct.new(
648
+ :offering)
649
+ SENSITIVE = []
650
+ include Aws::Structure
651
+ end
652
+
653
+ # @note When making an API call, you may pass DescribeReservationRequest
654
+ # data as a hash:
655
+ #
656
+ # {
657
+ # reservation_arn: "__string", # required
658
+ # }
659
+ #
660
+ # @!attribute [rw] reservation_arn
661
+ # @return [String]
662
+ #
663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeReservationRequest AWS API Documentation
664
+ #
665
+ class DescribeReservationRequest < Struct.new(
666
+ :reservation_arn)
667
+ SENSITIVE = []
668
+ include Aws::Structure
669
+ end
670
+
671
+ # The result of a successful DescribeReservation request.
672
+ #
673
+ # @!attribute [rw] reservation
674
+ # A pricing agreement for a discounted rate for a specific outbound
675
+ # bandwidth that your MediaConnect account will use each month over a
676
+ # specific time period. The discounted rate in the reservation applies
677
+ # to outbound bandwidth for all flows from your account until your
678
+ # account reaches the amount of bandwidth in your reservation. If you
679
+ # use more outbound bandwidth than the agreed upon amount in a single
680
+ # month, the overage is charged at the on-demand rate.
681
+ # @return [Types::Reservation]
682
+ #
683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeReservationResponse AWS API Documentation
684
+ #
685
+ class DescribeReservationResponse < Struct.new(
686
+ :reservation)
687
+ SENSITIVE = []
688
+ include Aws::Structure
689
+ end
690
+
620
691
  # Information about the encryption of the flow.
621
692
  #
622
693
  # @note When making an API call, you may pass Encryption
@@ -1128,6 +1199,112 @@ module Aws::MediaConnect
1128
1199
  include Aws::Structure
1129
1200
  end
1130
1201
 
1202
+ # @note When making an API call, you may pass ListOfferingsRequest
1203
+ # data as a hash:
1204
+ #
1205
+ # {
1206
+ # max_results: 1,
1207
+ # next_token: "__string",
1208
+ # }
1209
+ #
1210
+ # @!attribute [rw] max_results
1211
+ # @return [Integer]
1212
+ #
1213
+ # @!attribute [rw] next_token
1214
+ # @return [String]
1215
+ #
1216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListOfferingsRequest AWS API Documentation
1217
+ #
1218
+ class ListOfferingsRequest < Struct.new(
1219
+ :max_results,
1220
+ :next_token)
1221
+ SENSITIVE = []
1222
+ include Aws::Structure
1223
+ end
1224
+
1225
+ # The result of a successful ListOfferings request. The response
1226
+ # includes the details of each offering that your account is eligible
1227
+ # for. The response includes the following information for each
1228
+ # offering: description, duration, outbound bandwidth, price, Amazon
1229
+ # Resource Name (ARN), and the NextToken to use in a subsequent
1230
+ # ListOfferings request.
1231
+ #
1232
+ # @!attribute [rw] next_token
1233
+ # The token that identifies which batch of results that you want to
1234
+ # see. For example, you submit a ListOfferings request with MaxResults
1235
+ # set at 5. The service returns the first batch of results (up to 5)
1236
+ # and a NextToken value. To see the next batch of results, you can
1237
+ # submit the ListOfferings request a second time and specify the
1238
+ # NextToken value.
1239
+ # @return [String]
1240
+ #
1241
+ # @!attribute [rw] offerings
1242
+ # A list of offerings that are available to this account in the
1243
+ # current AWS Region.
1244
+ # @return [Array<Types::Offering>]
1245
+ #
1246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListOfferingsResponse AWS API Documentation
1247
+ #
1248
+ class ListOfferingsResponse < Struct.new(
1249
+ :next_token,
1250
+ :offerings)
1251
+ SENSITIVE = []
1252
+ include Aws::Structure
1253
+ end
1254
+
1255
+ # @note When making an API call, you may pass ListReservationsRequest
1256
+ # data as a hash:
1257
+ #
1258
+ # {
1259
+ # max_results: 1,
1260
+ # next_token: "__string",
1261
+ # }
1262
+ #
1263
+ # @!attribute [rw] max_results
1264
+ # @return [Integer]
1265
+ #
1266
+ # @!attribute [rw] next_token
1267
+ # @return [String]
1268
+ #
1269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListReservationsRequest AWS API Documentation
1270
+ #
1271
+ class ListReservationsRequest < Struct.new(
1272
+ :max_results,
1273
+ :next_token)
1274
+ SENSITIVE = []
1275
+ include Aws::Structure
1276
+ end
1277
+
1278
+ # The result of a successful ListReservations request. The response
1279
+ # includes the details of each offering that your account is eligible
1280
+ # for. The response includes the following information for each
1281
+ # offering: description, duration, outbound bandwidth, price, Amazon
1282
+ # Resource Name (ARN), and the NextToken to use in a subsequent
1283
+ # ListOfferings request.
1284
+ #
1285
+ # @!attribute [rw] next_token
1286
+ # The token that identifies which batch of results that you want to
1287
+ # see. For example, you submit a ListReservations request with
1288
+ # MaxResults set at 5. The service returns the first batch of results
1289
+ # (up to 5) and a NextToken value. To see the next batch of results,
1290
+ # you can submit the ListReservations request a second time and
1291
+ # specify the NextToken value.
1292
+ # @return [String]
1293
+ #
1294
+ # @!attribute [rw] reservations
1295
+ # A list of all reservations that have been purchased by this account
1296
+ # in the current AWS Region.
1297
+ # @return [Array<Types::Reservation>]
1298
+ #
1299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListReservationsResponse AWS API Documentation
1300
+ #
1301
+ class ListReservationsResponse < Struct.new(
1302
+ :next_token,
1303
+ :reservations)
1304
+ SENSITIVE = []
1305
+ include Aws::Structure
1306
+ end
1307
+
1131
1308
  # @note When making an API call, you may pass ListTagsForResourceRequest
1132
1309
  # data as a hash:
1133
1310
  #
@@ -1260,6 +1437,61 @@ module Aws::MediaConnect
1260
1437
  include Aws::Structure
1261
1438
  end
1262
1439
 
1440
+ # A savings plan that reserves a certain amount of outbound bandwidth
1441
+ # usage at a discounted rate each month over a period of time.
1442
+ #
1443
+ # @!attribute [rw] currency_code
1444
+ # The type of currency that is used for billing. The currencyCode used
1445
+ # for all reservations is US dollars.
1446
+ # @return [String]
1447
+ #
1448
+ # @!attribute [rw] duration
1449
+ # The length of time that your reservation would be active.
1450
+ # @return [Integer]
1451
+ #
1452
+ # @!attribute [rw] duration_units
1453
+ # The unit of measurement for the duration of the offering.
1454
+ # @return [String]
1455
+ #
1456
+ # @!attribute [rw] offering_arn
1457
+ # The Amazon Resource Name (ARN) that MediaConnect assigns to the
1458
+ # offering.
1459
+ # @return [String]
1460
+ #
1461
+ # @!attribute [rw] offering_description
1462
+ # A description of the offering.
1463
+ # @return [String]
1464
+ #
1465
+ # @!attribute [rw] price_per_unit
1466
+ # The cost of a single unit. This value, in combination with
1467
+ # priceUnits, makes up the rate.
1468
+ # @return [String]
1469
+ #
1470
+ # @!attribute [rw] price_units
1471
+ # The unit of measurement that is used for billing. This value, in
1472
+ # combination with pricePerUnit, makes up the rate.
1473
+ # @return [String]
1474
+ #
1475
+ # @!attribute [rw] resource_specification
1476
+ # A definition of the amount of outbound bandwidth that you would be
1477
+ # reserving if you purchase the offering.
1478
+ # @return [Types::ResourceSpecification]
1479
+ #
1480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Offering AWS API Documentation
1481
+ #
1482
+ class Offering < Struct.new(
1483
+ :currency_code,
1484
+ :duration,
1485
+ :duration_units,
1486
+ :offering_arn,
1487
+ :offering_description,
1488
+ :price_per_unit,
1489
+ :price_units,
1490
+ :resource_specification)
1491
+ SENSITIVE = []
1492
+ include Aws::Structure
1493
+ end
1494
+
1263
1495
  # The settings for an output.
1264
1496
  #
1265
1497
  # @!attribute [rw] data_transfer_subscriber_fee_percent
@@ -1331,6 +1563,66 @@ module Aws::MediaConnect
1331
1563
  include Aws::Structure
1332
1564
  end
1333
1565
 
1566
+ # Submits a request to purchase an offering, which creates a reservation
1567
+ # in your AWS account. If you already have an active reservation, you
1568
+ # can't purchase another offering.
1569
+ #
1570
+ # @note When making an API call, you may pass PurchaseOfferingRequest
1571
+ # data as a hash:
1572
+ #
1573
+ # {
1574
+ # offering_arn: "__string", # required
1575
+ # reservation_name: "__string", # required
1576
+ # start: "__string", # required
1577
+ # }
1578
+ #
1579
+ # @!attribute [rw] offering_arn
1580
+ # @return [String]
1581
+ #
1582
+ # @!attribute [rw] reservation_name
1583
+ # The name that you want to use for the reservation.
1584
+ # @return [String]
1585
+ #
1586
+ # @!attribute [rw] start
1587
+ # The date and time that you want the reservation to begin, in
1588
+ # Coordinated Universal Time (UTC). You can specify any date and time
1589
+ # between 12:00am on the first day of the current month to the current
1590
+ # time on today's date, inclusive. Specify the start in a 24-hour
1591
+ # notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T
1592
+ # and Z are literal characters. For example, to specify 11:30pm on
1593
+ # March 5, 2020, enter 2020-03-05T23:30:00Z.
1594
+ # @return [String]
1595
+ #
1596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOfferingRequest AWS API Documentation
1597
+ #
1598
+ class PurchaseOfferingRequest < Struct.new(
1599
+ :offering_arn,
1600
+ :reservation_name,
1601
+ :start)
1602
+ SENSITIVE = []
1603
+ include Aws::Structure
1604
+ end
1605
+
1606
+ # The result of a successful PurchaseOffering request.
1607
+ #
1608
+ # @!attribute [rw] reservation
1609
+ # A pricing agreement for a discounted rate for a specific outbound
1610
+ # bandwidth that your MediaConnect account will use each month over a
1611
+ # specific time period. The discounted rate in the reservation applies
1612
+ # to outbound bandwidth for all flows from your account until your
1613
+ # account reaches the amount of bandwidth in your reservation. If you
1614
+ # use more outbound bandwidth than the agreed upon amount in a single
1615
+ # month, the overage is charged at the on-demand rate.
1616
+ # @return [Types::Reservation]
1617
+ #
1618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOfferingResponse AWS API Documentation
1619
+ #
1620
+ class PurchaseOfferingResponse < Struct.new(
1621
+ :reservation)
1622
+ SENSITIVE = []
1623
+ include Aws::Structure
1624
+ end
1625
+
1334
1626
  # @note When making an API call, you may pass RemoveFlowOutputRequest
1335
1627
  # data as a hash:
1336
1628
  #
@@ -1467,6 +1759,122 @@ module Aws::MediaConnect
1467
1759
  include Aws::Structure
1468
1760
  end
1469
1761
 
1762
+ # A pricing agreement for a discounted rate for a specific outbound
1763
+ # bandwidth that your MediaConnect account will use each month over a
1764
+ # specific time period. The discounted rate in the reservation applies
1765
+ # to outbound bandwidth for all flows from your account until your
1766
+ # account reaches the amount of bandwidth in your reservation. If you
1767
+ # use more outbound bandwidth than the agreed upon amount in a single
1768
+ # month, the overage is charged at the on-demand rate.
1769
+ #
1770
+ # @!attribute [rw] currency_code
1771
+ # The type of currency that is used for billing. The currencyCode used
1772
+ # for your reservation is US dollars.
1773
+ # @return [String]
1774
+ #
1775
+ # @!attribute [rw] duration
1776
+ # The length of time that this reservation is active. MediaConnect
1777
+ # defines this value in the offering.
1778
+ # @return [Integer]
1779
+ #
1780
+ # @!attribute [rw] duration_units
1781
+ # The unit of measurement for the duration of the reservation.
1782
+ # MediaConnect defines this value in the offering.
1783
+ # @return [String]
1784
+ #
1785
+ # @!attribute [rw] end
1786
+ # The day and time that this reservation expires. This value is
1787
+ # calculated based on the start date and time that you set and the
1788
+ # offering's duration.
1789
+ # @return [String]
1790
+ #
1791
+ # @!attribute [rw] offering_arn
1792
+ # The Amazon Resource Name (ARN) that MediaConnect assigns to the
1793
+ # offering.
1794
+ # @return [String]
1795
+ #
1796
+ # @!attribute [rw] offering_description
1797
+ # A description of the offering. MediaConnect defines this value in
1798
+ # the offering.
1799
+ # @return [String]
1800
+ #
1801
+ # @!attribute [rw] price_per_unit
1802
+ # The cost of a single unit. This value, in combination with
1803
+ # priceUnits, makes up the rate. MediaConnect defines this value in
1804
+ # the offering.
1805
+ # @return [String]
1806
+ #
1807
+ # @!attribute [rw] price_units
1808
+ # The unit of measurement that is used for billing. This value, in
1809
+ # combination with pricePerUnit, makes up the rate. MediaConnect
1810
+ # defines this value in the offering.
1811
+ # @return [String]
1812
+ #
1813
+ # @!attribute [rw] reservation_arn
1814
+ # The Amazon Resource Name (ARN) that MediaConnect assigns to the
1815
+ # reservation when you purchase an offering.
1816
+ # @return [String]
1817
+ #
1818
+ # @!attribute [rw] reservation_name
1819
+ # The name that you assigned to the reservation when you purchased the
1820
+ # offering.
1821
+ # @return [String]
1822
+ #
1823
+ # @!attribute [rw] reservation_state
1824
+ # The status of your reservation.
1825
+ # @return [String]
1826
+ #
1827
+ # @!attribute [rw] resource_specification
1828
+ # A definition of the amount of outbound bandwidth that you would be
1829
+ # reserving if you purchase the offering. MediaConnect defines the
1830
+ # values that make up the resourceSpecification in the offering.
1831
+ # @return [Types::ResourceSpecification]
1832
+ #
1833
+ # @!attribute [rw] start
1834
+ # The day and time that the reservation becomes active. You set this
1835
+ # value when you purchase the offering.
1836
+ # @return [String]
1837
+ #
1838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Reservation AWS API Documentation
1839
+ #
1840
+ class Reservation < Struct.new(
1841
+ :currency_code,
1842
+ :duration,
1843
+ :duration_units,
1844
+ :end,
1845
+ :offering_arn,
1846
+ :offering_description,
1847
+ :price_per_unit,
1848
+ :price_units,
1849
+ :reservation_arn,
1850
+ :reservation_name,
1851
+ :reservation_state,
1852
+ :resource_specification,
1853
+ :start)
1854
+ SENSITIVE = []
1855
+ include Aws::Structure
1856
+ end
1857
+
1858
+ # A definition of what is being billed for, including the type and
1859
+ # amount.
1860
+ #
1861
+ # @!attribute [rw] reserved_bitrate
1862
+ # The amount of outbound bandwidth that is discounted in the offering.
1863
+ # @return [Integer]
1864
+ #
1865
+ # @!attribute [rw] resource_type
1866
+ # The type of resource and the unit that is being billed for.
1867
+ # @return [String]
1868
+ #
1869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ResourceSpecification AWS API Documentation
1870
+ #
1871
+ class ResourceSpecification < Struct.new(
1872
+ :reserved_bitrate,
1873
+ :resource_type)
1874
+ SENSITIVE = []
1875
+ include Aws::Structure
1876
+ end
1877
+
1470
1878
  # Exception raised by AWS Elemental MediaConnect. See the error message
1471
1879
  # and documentation for the operation for more information on the cause
1472
1880
  # of this exception.
@@ -2096,7 +2504,7 @@ module Aws::MediaConnect
2096
2504
  # entitlement configuration.
2097
2505
  #
2098
2506
  # @!attribute [rw] entitlement
2099
- # The settings for a flow entitlement.
2507
+ # The new configuration of the entitlement that you updated.
2100
2508
  # @return [Types::Entitlement]
2101
2509
  #
2102
2510
  # @!attribute [rw] flow_arn
@@ -2232,7 +2640,7 @@ module Aws::MediaConnect
2232
2640
  # @return [String]
2233
2641
  #
2234
2642
  # @!attribute [rw] output
2235
- # The settings for an output.
2643
+ # The new settings of the output that you updated.
2236
2644
  # @return [Types::Output]
2237
2645
  #
2238
2646
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutputResponse AWS API Documentation