aws-sdk-medialive 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-medialive.rb +1 -1
- data/lib/aws-sdk-medialive/client.rb +393 -1
- data/lib/aws-sdk-medialive/client_api.rb +294 -0
- data/lib/aws-sdk-medialive/types.rb +734 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e01821c13f859ac46affbd5a08077a52178dacc3
|
4
|
+
data.tar.gz: 9e88fd761e93a4fb6e2fc68165f50db6a05a50cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12997da67f70994efc8fe04afc6fe192f58ffba97ee796efda5be6e492ab8d0e4ea580637ba2e834ed0058b306209a5f1b858b41b2c6a229a2645a6f3e19d5f1
|
7
|
+
data.tar.gz: 824e1c1a7f909f8f0b3900a1a612ed3adcfb63096f636f9d72e3b278b166fce36ddfb42b39af517db2aab1db273b589d991caf1c75036e91ba38040c955163df
|
data/lib/aws-sdk-medialive.rb
CHANGED
@@ -1997,6 +1997,71 @@ module Aws::MediaLive
|
|
1997
1997
|
req.send_request(options)
|
1998
1998
|
end
|
1999
1999
|
|
2000
|
+
# Delete an expired reservation.
|
2001
|
+
#
|
2002
|
+
# @option params [required, String] :reservation_id
|
2003
|
+
#
|
2004
|
+
# @return [Types::DeleteReservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2005
|
+
#
|
2006
|
+
# * {Types::DeleteReservationResponse#arn #arn} => String
|
2007
|
+
# * {Types::DeleteReservationResponse#count #count} => Integer
|
2008
|
+
# * {Types::DeleteReservationResponse#currency_code #currency_code} => String
|
2009
|
+
# * {Types::DeleteReservationResponse#duration #duration} => Integer
|
2010
|
+
# * {Types::DeleteReservationResponse#duration_units #duration_units} => String
|
2011
|
+
# * {Types::DeleteReservationResponse#end #end} => String
|
2012
|
+
# * {Types::DeleteReservationResponse#fixed_price #fixed_price} => Float
|
2013
|
+
# * {Types::DeleteReservationResponse#name #name} => String
|
2014
|
+
# * {Types::DeleteReservationResponse#offering_description #offering_description} => String
|
2015
|
+
# * {Types::DeleteReservationResponse#offering_id #offering_id} => String
|
2016
|
+
# * {Types::DeleteReservationResponse#offering_type #offering_type} => String
|
2017
|
+
# * {Types::DeleteReservationResponse#region #region} => String
|
2018
|
+
# * {Types::DeleteReservationResponse#reservation_id #reservation_id} => String
|
2019
|
+
# * {Types::DeleteReservationResponse#resource_specification #resource_specification} => Types::ReservationResourceSpecification
|
2020
|
+
# * {Types::DeleteReservationResponse#start #start} => String
|
2021
|
+
# * {Types::DeleteReservationResponse#state #state} => String
|
2022
|
+
# * {Types::DeleteReservationResponse#usage_price #usage_price} => Float
|
2023
|
+
#
|
2024
|
+
# @example Request syntax with placeholder values
|
2025
|
+
#
|
2026
|
+
# resp = client.delete_reservation({
|
2027
|
+
# reservation_id: "__string", # required
|
2028
|
+
# })
|
2029
|
+
#
|
2030
|
+
# @example Response structure
|
2031
|
+
#
|
2032
|
+
# resp.arn #=> String
|
2033
|
+
# resp.count #=> Integer
|
2034
|
+
# resp.currency_code #=> String
|
2035
|
+
# resp.duration #=> Integer
|
2036
|
+
# resp.duration_units #=> String, one of "MONTHS"
|
2037
|
+
# resp.end #=> String
|
2038
|
+
# resp.fixed_price #=> Float
|
2039
|
+
# resp.name #=> String
|
2040
|
+
# resp.offering_description #=> String
|
2041
|
+
# resp.offering_id #=> String
|
2042
|
+
# resp.offering_type #=> String, one of "NO_UPFRONT"
|
2043
|
+
# resp.region #=> String
|
2044
|
+
# resp.reservation_id #=> String
|
2045
|
+
# resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
|
2046
|
+
# resp.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
|
2047
|
+
# resp.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
|
2048
|
+
# resp.resource_specification.resolution #=> String, one of "SD", "HD", "UHD"
|
2049
|
+
# resp.resource_specification.resource_type #=> String, one of "INPUT", "OUTPUT", "CHANNEL"
|
2050
|
+
# resp.resource_specification.special_feature #=> String, one of "ADVANCED_AUDIO", "AUDIO_NORMALIZATION"
|
2051
|
+
# resp.resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
|
2052
|
+
# resp.start #=> String
|
2053
|
+
# resp.state #=> String, one of "ACTIVE", "EXPIRED", "CANCELED", "DELETED"
|
2054
|
+
# resp.usage_price #=> Float
|
2055
|
+
#
|
2056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation AWS API Documentation
|
2057
|
+
#
|
2058
|
+
# @overload delete_reservation(params = {})
|
2059
|
+
# @param [Hash] params ({})
|
2060
|
+
def delete_reservation(params = {}, options = {})
|
2061
|
+
req = build_request(:delete_reservation, params)
|
2062
|
+
req.send_request(options)
|
2063
|
+
end
|
2064
|
+
|
2000
2065
|
# Gets details about a channel
|
2001
2066
|
#
|
2002
2067
|
# @option params [required, String] :channel_id
|
@@ -2587,6 +2652,124 @@ module Aws::MediaLive
|
|
2587
2652
|
req.send_request(options)
|
2588
2653
|
end
|
2589
2654
|
|
2655
|
+
# Get details for an offering.
|
2656
|
+
#
|
2657
|
+
# @option params [required, String] :offering_id
|
2658
|
+
#
|
2659
|
+
# @return [Types::DescribeOfferingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2660
|
+
#
|
2661
|
+
# * {Types::DescribeOfferingResponse#arn #arn} => String
|
2662
|
+
# * {Types::DescribeOfferingResponse#currency_code #currency_code} => String
|
2663
|
+
# * {Types::DescribeOfferingResponse#duration #duration} => Integer
|
2664
|
+
# * {Types::DescribeOfferingResponse#duration_units #duration_units} => String
|
2665
|
+
# * {Types::DescribeOfferingResponse#fixed_price #fixed_price} => Float
|
2666
|
+
# * {Types::DescribeOfferingResponse#offering_description #offering_description} => String
|
2667
|
+
# * {Types::DescribeOfferingResponse#offering_id #offering_id} => String
|
2668
|
+
# * {Types::DescribeOfferingResponse#offering_type #offering_type} => String
|
2669
|
+
# * {Types::DescribeOfferingResponse#region #region} => String
|
2670
|
+
# * {Types::DescribeOfferingResponse#resource_specification #resource_specification} => Types::ReservationResourceSpecification
|
2671
|
+
# * {Types::DescribeOfferingResponse#usage_price #usage_price} => Float
|
2672
|
+
#
|
2673
|
+
# @example Request syntax with placeholder values
|
2674
|
+
#
|
2675
|
+
# resp = client.describe_offering({
|
2676
|
+
# offering_id: "__string", # required
|
2677
|
+
# })
|
2678
|
+
#
|
2679
|
+
# @example Response structure
|
2680
|
+
#
|
2681
|
+
# resp.arn #=> String
|
2682
|
+
# resp.currency_code #=> String
|
2683
|
+
# resp.duration #=> Integer
|
2684
|
+
# resp.duration_units #=> String, one of "MONTHS"
|
2685
|
+
# resp.fixed_price #=> Float
|
2686
|
+
# resp.offering_description #=> String
|
2687
|
+
# resp.offering_id #=> String
|
2688
|
+
# resp.offering_type #=> String, one of "NO_UPFRONT"
|
2689
|
+
# resp.region #=> String
|
2690
|
+
# resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
|
2691
|
+
# resp.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
|
2692
|
+
# resp.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
|
2693
|
+
# resp.resource_specification.resolution #=> String, one of "SD", "HD", "UHD"
|
2694
|
+
# resp.resource_specification.resource_type #=> String, one of "INPUT", "OUTPUT", "CHANNEL"
|
2695
|
+
# resp.resource_specification.special_feature #=> String, one of "ADVANCED_AUDIO", "AUDIO_NORMALIZATION"
|
2696
|
+
# resp.resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
|
2697
|
+
# resp.usage_price #=> Float
|
2698
|
+
#
|
2699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeOffering AWS API Documentation
|
2700
|
+
#
|
2701
|
+
# @overload describe_offering(params = {})
|
2702
|
+
# @param [Hash] params ({})
|
2703
|
+
def describe_offering(params = {}, options = {})
|
2704
|
+
req = build_request(:describe_offering, params)
|
2705
|
+
req.send_request(options)
|
2706
|
+
end
|
2707
|
+
|
2708
|
+
# Get details for a reservation.
|
2709
|
+
#
|
2710
|
+
# @option params [required, String] :reservation_id
|
2711
|
+
#
|
2712
|
+
# @return [Types::DescribeReservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2713
|
+
#
|
2714
|
+
# * {Types::DescribeReservationResponse#arn #arn} => String
|
2715
|
+
# * {Types::DescribeReservationResponse#count #count} => Integer
|
2716
|
+
# * {Types::DescribeReservationResponse#currency_code #currency_code} => String
|
2717
|
+
# * {Types::DescribeReservationResponse#duration #duration} => Integer
|
2718
|
+
# * {Types::DescribeReservationResponse#duration_units #duration_units} => String
|
2719
|
+
# * {Types::DescribeReservationResponse#end #end} => String
|
2720
|
+
# * {Types::DescribeReservationResponse#fixed_price #fixed_price} => Float
|
2721
|
+
# * {Types::DescribeReservationResponse#name #name} => String
|
2722
|
+
# * {Types::DescribeReservationResponse#offering_description #offering_description} => String
|
2723
|
+
# * {Types::DescribeReservationResponse#offering_id #offering_id} => String
|
2724
|
+
# * {Types::DescribeReservationResponse#offering_type #offering_type} => String
|
2725
|
+
# * {Types::DescribeReservationResponse#region #region} => String
|
2726
|
+
# * {Types::DescribeReservationResponse#reservation_id #reservation_id} => String
|
2727
|
+
# * {Types::DescribeReservationResponse#resource_specification #resource_specification} => Types::ReservationResourceSpecification
|
2728
|
+
# * {Types::DescribeReservationResponse#start #start} => String
|
2729
|
+
# * {Types::DescribeReservationResponse#state #state} => String
|
2730
|
+
# * {Types::DescribeReservationResponse#usage_price #usage_price} => Float
|
2731
|
+
#
|
2732
|
+
# @example Request syntax with placeholder values
|
2733
|
+
#
|
2734
|
+
# resp = client.describe_reservation({
|
2735
|
+
# reservation_id: "__string", # required
|
2736
|
+
# })
|
2737
|
+
#
|
2738
|
+
# @example Response structure
|
2739
|
+
#
|
2740
|
+
# resp.arn #=> String
|
2741
|
+
# resp.count #=> Integer
|
2742
|
+
# resp.currency_code #=> String
|
2743
|
+
# resp.duration #=> Integer
|
2744
|
+
# resp.duration_units #=> String, one of "MONTHS"
|
2745
|
+
# resp.end #=> String
|
2746
|
+
# resp.fixed_price #=> Float
|
2747
|
+
# resp.name #=> String
|
2748
|
+
# resp.offering_description #=> String
|
2749
|
+
# resp.offering_id #=> String
|
2750
|
+
# resp.offering_type #=> String, one of "NO_UPFRONT"
|
2751
|
+
# resp.region #=> String
|
2752
|
+
# resp.reservation_id #=> String
|
2753
|
+
# resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
|
2754
|
+
# resp.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
|
2755
|
+
# resp.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
|
2756
|
+
# resp.resource_specification.resolution #=> String, one of "SD", "HD", "UHD"
|
2757
|
+
# resp.resource_specification.resource_type #=> String, one of "INPUT", "OUTPUT", "CHANNEL"
|
2758
|
+
# resp.resource_specification.special_feature #=> String, one of "ADVANCED_AUDIO", "AUDIO_NORMALIZATION"
|
2759
|
+
# resp.resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
|
2760
|
+
# resp.start #=> String
|
2761
|
+
# resp.state #=> String, one of "ACTIVE", "EXPIRED", "CANCELED", "DELETED"
|
2762
|
+
# resp.usage_price #=> Float
|
2763
|
+
#
|
2764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeReservation AWS API Documentation
|
2765
|
+
#
|
2766
|
+
# @overload describe_reservation(params = {})
|
2767
|
+
# @param [Hash] params ({})
|
2768
|
+
def describe_reservation(params = {}, options = {})
|
2769
|
+
req = build_request(:describe_reservation, params)
|
2770
|
+
req.send_request(options)
|
2771
|
+
end
|
2772
|
+
|
2590
2773
|
# Produces list of channels that have been created
|
2591
2774
|
#
|
2592
2775
|
# @option params [Integer] :max_results
|
@@ -2759,6 +2942,215 @@ module Aws::MediaLive
|
|
2759
2942
|
req.send_request(options)
|
2760
2943
|
end
|
2761
2944
|
|
2945
|
+
# List offerings available for purchase.
|
2946
|
+
#
|
2947
|
+
# @option params [String] :channel_configuration
|
2948
|
+
#
|
2949
|
+
# @option params [String] :codec
|
2950
|
+
#
|
2951
|
+
# @option params [Integer] :max_results
|
2952
|
+
#
|
2953
|
+
# @option params [String] :maximum_bitrate
|
2954
|
+
#
|
2955
|
+
# @option params [String] :maximum_framerate
|
2956
|
+
#
|
2957
|
+
# @option params [String] :next_token
|
2958
|
+
#
|
2959
|
+
# @option params [String] :resolution
|
2960
|
+
#
|
2961
|
+
# @option params [String] :resource_type
|
2962
|
+
#
|
2963
|
+
# @option params [String] :special_feature
|
2964
|
+
#
|
2965
|
+
# @option params [String] :video_quality
|
2966
|
+
#
|
2967
|
+
# @return [Types::ListOfferingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2968
|
+
#
|
2969
|
+
# * {Types::ListOfferingsResponse#next_token #next_token} => String
|
2970
|
+
# * {Types::ListOfferingsResponse#offerings #offerings} => Array<Types::Offering>
|
2971
|
+
#
|
2972
|
+
# @example Request syntax with placeholder values
|
2973
|
+
#
|
2974
|
+
# resp = client.list_offerings({
|
2975
|
+
# channel_configuration: "__string",
|
2976
|
+
# codec: "__string",
|
2977
|
+
# max_results: 1,
|
2978
|
+
# maximum_bitrate: "__string",
|
2979
|
+
# maximum_framerate: "__string",
|
2980
|
+
# next_token: "__string",
|
2981
|
+
# resolution: "__string",
|
2982
|
+
# resource_type: "__string",
|
2983
|
+
# special_feature: "__string",
|
2984
|
+
# video_quality: "__string",
|
2985
|
+
# })
|
2986
|
+
#
|
2987
|
+
# @example Response structure
|
2988
|
+
#
|
2989
|
+
# resp.next_token #=> String
|
2990
|
+
# resp.offerings #=> Array
|
2991
|
+
# resp.offerings[0].arn #=> String
|
2992
|
+
# resp.offerings[0].currency_code #=> String
|
2993
|
+
# resp.offerings[0].duration #=> Integer
|
2994
|
+
# resp.offerings[0].duration_units #=> String, one of "MONTHS"
|
2995
|
+
# resp.offerings[0].fixed_price #=> Float
|
2996
|
+
# resp.offerings[0].offering_description #=> String
|
2997
|
+
# resp.offerings[0].offering_id #=> String
|
2998
|
+
# resp.offerings[0].offering_type #=> String, one of "NO_UPFRONT"
|
2999
|
+
# resp.offerings[0].region #=> String
|
3000
|
+
# resp.offerings[0].resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
|
3001
|
+
# resp.offerings[0].resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
|
3002
|
+
# resp.offerings[0].resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
|
3003
|
+
# resp.offerings[0].resource_specification.resolution #=> String, one of "SD", "HD", "UHD"
|
3004
|
+
# resp.offerings[0].resource_specification.resource_type #=> String, one of "INPUT", "OUTPUT", "CHANNEL"
|
3005
|
+
# resp.offerings[0].resource_specification.special_feature #=> String, one of "ADVANCED_AUDIO", "AUDIO_NORMALIZATION"
|
3006
|
+
# resp.offerings[0].resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
|
3007
|
+
# resp.offerings[0].usage_price #=> Float
|
3008
|
+
#
|
3009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferings AWS API Documentation
|
3010
|
+
#
|
3011
|
+
# @overload list_offerings(params = {})
|
3012
|
+
# @param [Hash] params ({})
|
3013
|
+
def list_offerings(params = {}, options = {})
|
3014
|
+
req = build_request(:list_offerings, params)
|
3015
|
+
req.send_request(options)
|
3016
|
+
end
|
3017
|
+
|
3018
|
+
# List purchased reservations.
|
3019
|
+
#
|
3020
|
+
# @option params [String] :codec
|
3021
|
+
#
|
3022
|
+
# @option params [Integer] :max_results
|
3023
|
+
#
|
3024
|
+
# @option params [String] :maximum_bitrate
|
3025
|
+
#
|
3026
|
+
# @option params [String] :maximum_framerate
|
3027
|
+
#
|
3028
|
+
# @option params [String] :next_token
|
3029
|
+
#
|
3030
|
+
# @option params [String] :resolution
|
3031
|
+
#
|
3032
|
+
# @option params [String] :resource_type
|
3033
|
+
#
|
3034
|
+
# @option params [String] :special_feature
|
3035
|
+
#
|
3036
|
+
# @option params [String] :video_quality
|
3037
|
+
#
|
3038
|
+
# @return [Types::ListReservationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3039
|
+
#
|
3040
|
+
# * {Types::ListReservationsResponse#next_token #next_token} => String
|
3041
|
+
# * {Types::ListReservationsResponse#reservations #reservations} => Array<Types::Reservation>
|
3042
|
+
#
|
3043
|
+
# @example Request syntax with placeholder values
|
3044
|
+
#
|
3045
|
+
# resp = client.list_reservations({
|
3046
|
+
# codec: "__string",
|
3047
|
+
# max_results: 1,
|
3048
|
+
# maximum_bitrate: "__string",
|
3049
|
+
# maximum_framerate: "__string",
|
3050
|
+
# next_token: "__string",
|
3051
|
+
# resolution: "__string",
|
3052
|
+
# resource_type: "__string",
|
3053
|
+
# special_feature: "__string",
|
3054
|
+
# video_quality: "__string",
|
3055
|
+
# })
|
3056
|
+
#
|
3057
|
+
# @example Response structure
|
3058
|
+
#
|
3059
|
+
# resp.next_token #=> String
|
3060
|
+
# resp.reservations #=> Array
|
3061
|
+
# resp.reservations[0].arn #=> String
|
3062
|
+
# resp.reservations[0].count #=> Integer
|
3063
|
+
# resp.reservations[0].currency_code #=> String
|
3064
|
+
# resp.reservations[0].duration #=> Integer
|
3065
|
+
# resp.reservations[0].duration_units #=> String, one of "MONTHS"
|
3066
|
+
# resp.reservations[0].end #=> String
|
3067
|
+
# resp.reservations[0].fixed_price #=> Float
|
3068
|
+
# resp.reservations[0].name #=> String
|
3069
|
+
# resp.reservations[0].offering_description #=> String
|
3070
|
+
# resp.reservations[0].offering_id #=> String
|
3071
|
+
# resp.reservations[0].offering_type #=> String, one of "NO_UPFRONT"
|
3072
|
+
# resp.reservations[0].region #=> String
|
3073
|
+
# resp.reservations[0].reservation_id #=> String
|
3074
|
+
# resp.reservations[0].resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
|
3075
|
+
# resp.reservations[0].resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
|
3076
|
+
# resp.reservations[0].resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
|
3077
|
+
# resp.reservations[0].resource_specification.resolution #=> String, one of "SD", "HD", "UHD"
|
3078
|
+
# resp.reservations[0].resource_specification.resource_type #=> String, one of "INPUT", "OUTPUT", "CHANNEL"
|
3079
|
+
# resp.reservations[0].resource_specification.special_feature #=> String, one of "ADVANCED_AUDIO", "AUDIO_NORMALIZATION"
|
3080
|
+
# resp.reservations[0].resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
|
3081
|
+
# resp.reservations[0].start #=> String
|
3082
|
+
# resp.reservations[0].state #=> String, one of "ACTIVE", "EXPIRED", "CANCELED", "DELETED"
|
3083
|
+
# resp.reservations[0].usage_price #=> Float
|
3084
|
+
#
|
3085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations AWS API Documentation
|
3086
|
+
#
|
3087
|
+
# @overload list_reservations(params = {})
|
3088
|
+
# @param [Hash] params ({})
|
3089
|
+
def list_reservations(params = {}, options = {})
|
3090
|
+
req = build_request(:list_reservations, params)
|
3091
|
+
req.send_request(options)
|
3092
|
+
end
|
3093
|
+
|
3094
|
+
# Purchase an offering and create a reservation.
|
3095
|
+
#
|
3096
|
+
# @option params [Integer] :count
|
3097
|
+
#
|
3098
|
+
# @option params [String] :name
|
3099
|
+
#
|
3100
|
+
# @option params [required, String] :offering_id
|
3101
|
+
#
|
3102
|
+
# @option params [String] :request_id
|
3103
|
+
# **A suitable default value is auto-generated.** You should normally
|
3104
|
+
# not need to pass this option.**
|
3105
|
+
#
|
3106
|
+
# @return [Types::PurchaseOfferingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3107
|
+
#
|
3108
|
+
# * {Types::PurchaseOfferingResponse#reservation #reservation} => Types::Reservation
|
3109
|
+
#
|
3110
|
+
# @example Request syntax with placeholder values
|
3111
|
+
#
|
3112
|
+
# resp = client.purchase_offering({
|
3113
|
+
# count: 1,
|
3114
|
+
# name: "__string",
|
3115
|
+
# offering_id: "__string", # required
|
3116
|
+
# request_id: "__string",
|
3117
|
+
# })
|
3118
|
+
#
|
3119
|
+
# @example Response structure
|
3120
|
+
#
|
3121
|
+
# resp.reservation.arn #=> String
|
3122
|
+
# resp.reservation.count #=> Integer
|
3123
|
+
# resp.reservation.currency_code #=> String
|
3124
|
+
# resp.reservation.duration #=> Integer
|
3125
|
+
# resp.reservation.duration_units #=> String, one of "MONTHS"
|
3126
|
+
# resp.reservation.end #=> String
|
3127
|
+
# resp.reservation.fixed_price #=> Float
|
3128
|
+
# resp.reservation.name #=> String
|
3129
|
+
# resp.reservation.offering_description #=> String
|
3130
|
+
# resp.reservation.offering_id #=> String
|
3131
|
+
# resp.reservation.offering_type #=> String, one of "NO_UPFRONT"
|
3132
|
+
# resp.reservation.region #=> String
|
3133
|
+
# resp.reservation.reservation_id #=> String
|
3134
|
+
# resp.reservation.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO"
|
3135
|
+
# resp.reservation.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
|
3136
|
+
# resp.reservation.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
|
3137
|
+
# resp.reservation.resource_specification.resolution #=> String, one of "SD", "HD", "UHD"
|
3138
|
+
# resp.reservation.resource_specification.resource_type #=> String, one of "INPUT", "OUTPUT", "CHANNEL"
|
3139
|
+
# resp.reservation.resource_specification.special_feature #=> String, one of "ADVANCED_AUDIO", "AUDIO_NORMALIZATION"
|
3140
|
+
# resp.reservation.resource_specification.video_quality #=> String, one of "STANDARD", "ENHANCED", "PREMIUM"
|
3141
|
+
# resp.reservation.start #=> String
|
3142
|
+
# resp.reservation.state #=> String, one of "ACTIVE", "EXPIRED", "CANCELED", "DELETED"
|
3143
|
+
# resp.reservation.usage_price #=> Float
|
3144
|
+
#
|
3145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering AWS API Documentation
|
3146
|
+
#
|
3147
|
+
# @overload purchase_offering(params = {})
|
3148
|
+
# @param [Hash] params ({})
|
3149
|
+
def purchase_offering(params = {}, options = {})
|
3150
|
+
req = build_request(:purchase_offering, params)
|
3151
|
+
req.send_request(options)
|
3152
|
+
end
|
3153
|
+
|
2762
3154
|
# Starts an existing channel
|
2763
3155
|
#
|
2764
3156
|
# @option params [required, String] :channel_id
|
@@ -5077,7 +5469,7 @@ module Aws::MediaLive
|
|
5077
5469
|
params: params,
|
5078
5470
|
config: config)
|
5079
5471
|
context[:gem_name] = 'aws-sdk-medialive'
|
5080
|
-
context[:gem_version] = '1.
|
5472
|
+
context[:gem_version] = '1.7.0'
|
5081
5473
|
Seahorse::Client::Request.new(handlers, context)
|
5082
5474
|
end
|
5083
5475
|
|
@@ -93,12 +93,18 @@ module Aws::MediaLive
|
|
93
93
|
DeleteInputResponse = Shapes::StructureShape.new(name: 'DeleteInputResponse')
|
94
94
|
DeleteInputSecurityGroupRequest = Shapes::StructureShape.new(name: 'DeleteInputSecurityGroupRequest')
|
95
95
|
DeleteInputSecurityGroupResponse = Shapes::StructureShape.new(name: 'DeleteInputSecurityGroupResponse')
|
96
|
+
DeleteReservationRequest = Shapes::StructureShape.new(name: 'DeleteReservationRequest')
|
97
|
+
DeleteReservationResponse = Shapes::StructureShape.new(name: 'DeleteReservationResponse')
|
96
98
|
DescribeChannelRequest = Shapes::StructureShape.new(name: 'DescribeChannelRequest')
|
97
99
|
DescribeChannelResponse = Shapes::StructureShape.new(name: 'DescribeChannelResponse')
|
98
100
|
DescribeInputRequest = Shapes::StructureShape.new(name: 'DescribeInputRequest')
|
99
101
|
DescribeInputResponse = Shapes::StructureShape.new(name: 'DescribeInputResponse')
|
100
102
|
DescribeInputSecurityGroupRequest = Shapes::StructureShape.new(name: 'DescribeInputSecurityGroupRequest')
|
101
103
|
DescribeInputSecurityGroupResponse = Shapes::StructureShape.new(name: 'DescribeInputSecurityGroupResponse')
|
104
|
+
DescribeOfferingRequest = Shapes::StructureShape.new(name: 'DescribeOfferingRequest')
|
105
|
+
DescribeOfferingResponse = Shapes::StructureShape.new(name: 'DescribeOfferingResponse')
|
106
|
+
DescribeReservationRequest = Shapes::StructureShape.new(name: 'DescribeReservationRequest')
|
107
|
+
DescribeReservationResponse = Shapes::StructureShape.new(name: 'DescribeReservationResponse')
|
102
108
|
DvbNitSettings = Shapes::StructureShape.new(name: 'DvbNitSettings')
|
103
109
|
DvbSdtOutputSdt = Shapes::StringShape.new(name: 'DvbSdtOutputSdt')
|
104
110
|
DvbSdtSettings = Shapes::StructureShape.new(name: 'DvbSdtSettings')
|
@@ -233,6 +239,12 @@ module Aws::MediaLive
|
|
233
239
|
ListInputsRequest = Shapes::StructureShape.new(name: 'ListInputsRequest')
|
234
240
|
ListInputsResponse = Shapes::StructureShape.new(name: 'ListInputsResponse')
|
235
241
|
ListInputsResultModel = Shapes::StructureShape.new(name: 'ListInputsResultModel')
|
242
|
+
ListOfferingsRequest = Shapes::StructureShape.new(name: 'ListOfferingsRequest')
|
243
|
+
ListOfferingsResponse = Shapes::StructureShape.new(name: 'ListOfferingsResponse')
|
244
|
+
ListOfferingsResultModel = Shapes::StructureShape.new(name: 'ListOfferingsResultModel')
|
245
|
+
ListReservationsRequest = Shapes::StructureShape.new(name: 'ListReservationsRequest')
|
246
|
+
ListReservationsResponse = Shapes::StructureShape.new(name: 'ListReservationsResponse')
|
247
|
+
ListReservationsResultModel = Shapes::StructureShape.new(name: 'ListReservationsResultModel')
|
236
248
|
LogLevel = Shapes::StringShape.new(name: 'LogLevel')
|
237
249
|
M2tsAbsentInputAudioBehavior = Shapes::StringShape.new(name: 'M2tsAbsentInputAudioBehavior')
|
238
250
|
M2tsArib = Shapes::StringShape.new(name: 'M2tsArib')
|
@@ -265,6 +277,9 @@ module Aws::MediaLive
|
|
265
277
|
NetworkInputServerValidation = Shapes::StringShape.new(name: 'NetworkInputServerValidation')
|
266
278
|
NetworkInputSettings = Shapes::StructureShape.new(name: 'NetworkInputSettings')
|
267
279
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
280
|
+
Offering = Shapes::StructureShape.new(name: 'Offering')
|
281
|
+
OfferingDurationUnits = Shapes::StringShape.new(name: 'OfferingDurationUnits')
|
282
|
+
OfferingType = Shapes::StringShape.new(name: 'OfferingType')
|
268
283
|
Output = Shapes::StructureShape.new(name: 'Output')
|
269
284
|
OutputDestination = Shapes::StructureShape.new(name: 'OutputDestination')
|
270
285
|
OutputDestinationSettings = Shapes::StructureShape.new(name: 'OutputDestinationSettings')
|
@@ -273,7 +288,21 @@ module Aws::MediaLive
|
|
273
288
|
OutputLocationRef = Shapes::StructureShape.new(name: 'OutputLocationRef')
|
274
289
|
OutputSettings = Shapes::StructureShape.new(name: 'OutputSettings')
|
275
290
|
PassThroughSettings = Shapes::StructureShape.new(name: 'PassThroughSettings')
|
291
|
+
PurchaseOffering = Shapes::StructureShape.new(name: 'PurchaseOffering')
|
292
|
+
PurchaseOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseOfferingRequest')
|
293
|
+
PurchaseOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseOfferingResponse')
|
294
|
+
PurchaseOfferingResultModel = Shapes::StructureShape.new(name: 'PurchaseOfferingResultModel')
|
276
295
|
RemixSettings = Shapes::StructureShape.new(name: 'RemixSettings')
|
296
|
+
Reservation = Shapes::StructureShape.new(name: 'Reservation')
|
297
|
+
ReservationCodec = Shapes::StringShape.new(name: 'ReservationCodec')
|
298
|
+
ReservationMaximumBitrate = Shapes::StringShape.new(name: 'ReservationMaximumBitrate')
|
299
|
+
ReservationMaximumFramerate = Shapes::StringShape.new(name: 'ReservationMaximumFramerate')
|
300
|
+
ReservationResolution = Shapes::StringShape.new(name: 'ReservationResolution')
|
301
|
+
ReservationResourceSpecification = Shapes::StructureShape.new(name: 'ReservationResourceSpecification')
|
302
|
+
ReservationResourceType = Shapes::StringShape.new(name: 'ReservationResourceType')
|
303
|
+
ReservationSpecialFeature = Shapes::StringShape.new(name: 'ReservationSpecialFeature')
|
304
|
+
ReservationState = Shapes::StringShape.new(name: 'ReservationState')
|
305
|
+
ReservationVideoQuality = Shapes::StringShape.new(name: 'ReservationVideoQuality')
|
277
306
|
ResourceConflict = Shapes::StructureShape.new(name: 'ResourceConflict')
|
278
307
|
ResourceNotFound = Shapes::StructureShape.new(name: 'ResourceNotFound')
|
279
308
|
RtmpCacheFullBehavior = Shapes::StringShape.new(name: 'RtmpCacheFullBehavior')
|
@@ -406,10 +435,12 @@ module Aws::MediaLive
|
|
406
435
|
__listOfInputSourceRequest = Shapes::ListShape.new(name: '__listOfInputSourceRequest')
|
407
436
|
__listOfInputWhitelistRule = Shapes::ListShape.new(name: '__listOfInputWhitelistRule')
|
408
437
|
__listOfInputWhitelistRuleCidr = Shapes::ListShape.new(name: '__listOfInputWhitelistRuleCidr')
|
438
|
+
__listOfOffering = Shapes::ListShape.new(name: '__listOfOffering')
|
409
439
|
__listOfOutput = Shapes::ListShape.new(name: '__listOfOutput')
|
410
440
|
__listOfOutputDestination = Shapes::ListShape.new(name: '__listOfOutputDestination')
|
411
441
|
__listOfOutputDestinationSettings = Shapes::ListShape.new(name: '__listOfOutputDestinationSettings')
|
412
442
|
__listOfOutputGroup = Shapes::ListShape.new(name: '__listOfOutputGroup')
|
443
|
+
__listOfReservation = Shapes::ListShape.new(name: '__listOfReservation')
|
413
444
|
__listOfValidationError = Shapes::ListShape.new(name: '__listOfValidationError')
|
414
445
|
__listOfVideoDescription = Shapes::ListShape.new(name: '__listOfVideoDescription')
|
415
446
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
@@ -707,6 +738,28 @@ module Aws::MediaLive
|
|
707
738
|
|
708
739
|
DeleteInputSecurityGroupResponse.struct_class = Types::DeleteInputSecurityGroupResponse
|
709
740
|
|
741
|
+
DeleteReservationRequest.add_member(:reservation_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "reservationId"))
|
742
|
+
DeleteReservationRequest.struct_class = Types::DeleteReservationRequest
|
743
|
+
|
744
|
+
DeleteReservationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
745
|
+
DeleteReservationResponse.add_member(:count, Shapes::ShapeRef.new(shape: __integer, location_name: "count"))
|
746
|
+
DeleteReservationResponse.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, location_name: "currencyCode"))
|
747
|
+
DeleteReservationResponse.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, location_name: "duration"))
|
748
|
+
DeleteReservationResponse.add_member(:duration_units, Shapes::ShapeRef.new(shape: OfferingDurationUnits, location_name: "durationUnits"))
|
749
|
+
DeleteReservationResponse.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "end"))
|
750
|
+
DeleteReservationResponse.add_member(:fixed_price, Shapes::ShapeRef.new(shape: __double, location_name: "fixedPrice"))
|
751
|
+
DeleteReservationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
752
|
+
DeleteReservationResponse.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, location_name: "offeringDescription"))
|
753
|
+
DeleteReservationResponse.add_member(:offering_id, Shapes::ShapeRef.new(shape: __string, location_name: "offeringId"))
|
754
|
+
DeleteReservationResponse.add_member(:offering_type, Shapes::ShapeRef.new(shape: OfferingType, location_name: "offeringType"))
|
755
|
+
DeleteReservationResponse.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
|
756
|
+
DeleteReservationResponse.add_member(:reservation_id, Shapes::ShapeRef.new(shape: __string, location_name: "reservationId"))
|
757
|
+
DeleteReservationResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ReservationResourceSpecification, location_name: "resourceSpecification"))
|
758
|
+
DeleteReservationResponse.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "start"))
|
759
|
+
DeleteReservationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReservationState, location_name: "state"))
|
760
|
+
DeleteReservationResponse.add_member(:usage_price, Shapes::ShapeRef.new(shape: __double, location_name: "usagePrice"))
|
761
|
+
DeleteReservationResponse.struct_class = Types::DeleteReservationResponse
|
762
|
+
|
710
763
|
DescribeChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
|
711
764
|
DescribeChannelRequest.struct_class = Types::DescribeChannelRequest
|
712
765
|
|
@@ -748,6 +801,44 @@ module Aws::MediaLive
|
|
748
801
|
DescribeInputSecurityGroupResponse.add_member(:whitelist_rules, Shapes::ShapeRef.new(shape: __listOfInputWhitelistRule, location_name: "whitelistRules"))
|
749
802
|
DescribeInputSecurityGroupResponse.struct_class = Types::DescribeInputSecurityGroupResponse
|
750
803
|
|
804
|
+
DescribeOfferingRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringId"))
|
805
|
+
DescribeOfferingRequest.struct_class = Types::DescribeOfferingRequest
|
806
|
+
|
807
|
+
DescribeOfferingResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
808
|
+
DescribeOfferingResponse.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, location_name: "currencyCode"))
|
809
|
+
DescribeOfferingResponse.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, location_name: "duration"))
|
810
|
+
DescribeOfferingResponse.add_member(:duration_units, Shapes::ShapeRef.new(shape: OfferingDurationUnits, location_name: "durationUnits"))
|
811
|
+
DescribeOfferingResponse.add_member(:fixed_price, Shapes::ShapeRef.new(shape: __double, location_name: "fixedPrice"))
|
812
|
+
DescribeOfferingResponse.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, location_name: "offeringDescription"))
|
813
|
+
DescribeOfferingResponse.add_member(:offering_id, Shapes::ShapeRef.new(shape: __string, location_name: "offeringId"))
|
814
|
+
DescribeOfferingResponse.add_member(:offering_type, Shapes::ShapeRef.new(shape: OfferingType, location_name: "offeringType"))
|
815
|
+
DescribeOfferingResponse.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
|
816
|
+
DescribeOfferingResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ReservationResourceSpecification, location_name: "resourceSpecification"))
|
817
|
+
DescribeOfferingResponse.add_member(:usage_price, Shapes::ShapeRef.new(shape: __double, location_name: "usagePrice"))
|
818
|
+
DescribeOfferingResponse.struct_class = Types::DescribeOfferingResponse
|
819
|
+
|
820
|
+
DescribeReservationRequest.add_member(:reservation_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "reservationId"))
|
821
|
+
DescribeReservationRequest.struct_class = Types::DescribeReservationRequest
|
822
|
+
|
823
|
+
DescribeReservationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
824
|
+
DescribeReservationResponse.add_member(:count, Shapes::ShapeRef.new(shape: __integer, location_name: "count"))
|
825
|
+
DescribeReservationResponse.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, location_name: "currencyCode"))
|
826
|
+
DescribeReservationResponse.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, location_name: "duration"))
|
827
|
+
DescribeReservationResponse.add_member(:duration_units, Shapes::ShapeRef.new(shape: OfferingDurationUnits, location_name: "durationUnits"))
|
828
|
+
DescribeReservationResponse.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "end"))
|
829
|
+
DescribeReservationResponse.add_member(:fixed_price, Shapes::ShapeRef.new(shape: __double, location_name: "fixedPrice"))
|
830
|
+
DescribeReservationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
831
|
+
DescribeReservationResponse.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, location_name: "offeringDescription"))
|
832
|
+
DescribeReservationResponse.add_member(:offering_id, Shapes::ShapeRef.new(shape: __string, location_name: "offeringId"))
|
833
|
+
DescribeReservationResponse.add_member(:offering_type, Shapes::ShapeRef.new(shape: OfferingType, location_name: "offeringType"))
|
834
|
+
DescribeReservationResponse.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
|
835
|
+
DescribeReservationResponse.add_member(:reservation_id, Shapes::ShapeRef.new(shape: __string, location_name: "reservationId"))
|
836
|
+
DescribeReservationResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ReservationResourceSpecification, location_name: "resourceSpecification"))
|
837
|
+
DescribeReservationResponse.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "start"))
|
838
|
+
DescribeReservationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReservationState, location_name: "state"))
|
839
|
+
DescribeReservationResponse.add_member(:usage_price, Shapes::ShapeRef.new(shape: __double, location_name: "usagePrice"))
|
840
|
+
DescribeReservationResponse.struct_class = Types::DescribeReservationResponse
|
841
|
+
|
751
842
|
DvbNitSettings.add_member(:network_id, Shapes::ShapeRef.new(shape: __integerMin0Max65536, required: true, location_name: "networkId"))
|
752
843
|
DvbNitSettings.add_member(:network_name, Shapes::ShapeRef.new(shape: __stringMin1Max256, required: true, location_name: "networkName"))
|
753
844
|
DvbNitSettings.add_member(:rep_interval, Shapes::ShapeRef.new(shape: __integerMin25Max10000, location_name: "repInterval"))
|
@@ -1094,6 +1185,45 @@ module Aws::MediaLive
|
|
1094
1185
|
ListInputsResultModel.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
1095
1186
|
ListInputsResultModel.struct_class = Types::ListInputsResultModel
|
1096
1187
|
|
1188
|
+
ListOfferingsRequest.add_member(:channel_configuration, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "channelConfiguration"))
|
1189
|
+
ListOfferingsRequest.add_member(:codec, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "codec"))
|
1190
|
+
ListOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1191
|
+
ListOfferingsRequest.add_member(:maximum_bitrate, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "maximumBitrate"))
|
1192
|
+
ListOfferingsRequest.add_member(:maximum_framerate, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "maximumFramerate"))
|
1193
|
+
ListOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
1194
|
+
ListOfferingsRequest.add_member(:resolution, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "resolution"))
|
1195
|
+
ListOfferingsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "resourceType"))
|
1196
|
+
ListOfferingsRequest.add_member(:special_feature, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "specialFeature"))
|
1197
|
+
ListOfferingsRequest.add_member(:video_quality, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "videoQuality"))
|
1198
|
+
ListOfferingsRequest.struct_class = Types::ListOfferingsRequest
|
1199
|
+
|
1200
|
+
ListOfferingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
1201
|
+
ListOfferingsResponse.add_member(:offerings, Shapes::ShapeRef.new(shape: __listOfOffering, location_name: "offerings"))
|
1202
|
+
ListOfferingsResponse.struct_class = Types::ListOfferingsResponse
|
1203
|
+
|
1204
|
+
ListOfferingsResultModel.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
1205
|
+
ListOfferingsResultModel.add_member(:offerings, Shapes::ShapeRef.new(shape: __listOfOffering, location_name: "offerings"))
|
1206
|
+
ListOfferingsResultModel.struct_class = Types::ListOfferingsResultModel
|
1207
|
+
|
1208
|
+
ListReservationsRequest.add_member(:codec, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "codec"))
|
1209
|
+
ListReservationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1210
|
+
ListReservationsRequest.add_member(:maximum_bitrate, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "maximumBitrate"))
|
1211
|
+
ListReservationsRequest.add_member(:maximum_framerate, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "maximumFramerate"))
|
1212
|
+
ListReservationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
1213
|
+
ListReservationsRequest.add_member(:resolution, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "resolution"))
|
1214
|
+
ListReservationsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "resourceType"))
|
1215
|
+
ListReservationsRequest.add_member(:special_feature, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "specialFeature"))
|
1216
|
+
ListReservationsRequest.add_member(:video_quality, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "videoQuality"))
|
1217
|
+
ListReservationsRequest.struct_class = Types::ListReservationsRequest
|
1218
|
+
|
1219
|
+
ListReservationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
1220
|
+
ListReservationsResponse.add_member(:reservations, Shapes::ShapeRef.new(shape: __listOfReservation, location_name: "reservations"))
|
1221
|
+
ListReservationsResponse.struct_class = Types::ListReservationsResponse
|
1222
|
+
|
1223
|
+
ListReservationsResultModel.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
1224
|
+
ListReservationsResultModel.add_member(:reservations, Shapes::ShapeRef.new(shape: __listOfReservation, location_name: "reservations"))
|
1225
|
+
ListReservationsResultModel.struct_class = Types::ListReservationsResultModel
|
1226
|
+
|
1097
1227
|
M2tsSettings.add_member(:absent_input_audio_behavior, Shapes::ShapeRef.new(shape: M2tsAbsentInputAudioBehavior, location_name: "absentInputAudioBehavior"))
|
1098
1228
|
M2tsSettings.add_member(:arib, Shapes::ShapeRef.new(shape: M2tsArib, location_name: "arib"))
|
1099
1229
|
M2tsSettings.add_member(:arib_captions_pid, Shapes::ShapeRef.new(shape: __string, location_name: "aribCaptionsPid"))
|
@@ -1193,6 +1323,19 @@ module Aws::MediaLive
|
|
1193
1323
|
NetworkInputSettings.add_member(:server_validation, Shapes::ShapeRef.new(shape: NetworkInputServerValidation, location_name: "serverValidation"))
|
1194
1324
|
NetworkInputSettings.struct_class = Types::NetworkInputSettings
|
1195
1325
|
|
1326
|
+
Offering.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
1327
|
+
Offering.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, location_name: "currencyCode"))
|
1328
|
+
Offering.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, location_name: "duration"))
|
1329
|
+
Offering.add_member(:duration_units, Shapes::ShapeRef.new(shape: OfferingDurationUnits, location_name: "durationUnits"))
|
1330
|
+
Offering.add_member(:fixed_price, Shapes::ShapeRef.new(shape: __double, location_name: "fixedPrice"))
|
1331
|
+
Offering.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, location_name: "offeringDescription"))
|
1332
|
+
Offering.add_member(:offering_id, Shapes::ShapeRef.new(shape: __string, location_name: "offeringId"))
|
1333
|
+
Offering.add_member(:offering_type, Shapes::ShapeRef.new(shape: OfferingType, location_name: "offeringType"))
|
1334
|
+
Offering.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
|
1335
|
+
Offering.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ReservationResourceSpecification, location_name: "resourceSpecification"))
|
1336
|
+
Offering.add_member(:usage_price, Shapes::ShapeRef.new(shape: __double, location_name: "usagePrice"))
|
1337
|
+
Offering.struct_class = Types::Offering
|
1338
|
+
|
1196
1339
|
Output.add_member(:audio_description_names, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "audioDescriptionNames"))
|
1197
1340
|
Output.add_member(:caption_description_names, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "captionDescriptionNames"))
|
1198
1341
|
Output.add_member(:output_name, Shapes::ShapeRef.new(shape: __stringMin1Max255, location_name: "outputName"))
|
@@ -1234,11 +1377,56 @@ module Aws::MediaLive
|
|
1234
1377
|
|
1235
1378
|
PassThroughSettings.struct_class = Types::PassThroughSettings
|
1236
1379
|
|
1380
|
+
PurchaseOffering.add_member(:count, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "count"))
|
1381
|
+
PurchaseOffering.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
1382
|
+
PurchaseOffering.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
|
1383
|
+
PurchaseOffering.struct_class = Types::PurchaseOffering
|
1384
|
+
|
1385
|
+
PurchaseOfferingRequest.add_member(:count, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "count"))
|
1386
|
+
PurchaseOfferingRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
1387
|
+
PurchaseOfferingRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringId"))
|
1388
|
+
PurchaseOfferingRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
|
1389
|
+
PurchaseOfferingRequest.struct_class = Types::PurchaseOfferingRequest
|
1390
|
+
|
1391
|
+
PurchaseOfferingResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
|
1392
|
+
PurchaseOfferingResponse.struct_class = Types::PurchaseOfferingResponse
|
1393
|
+
|
1394
|
+
PurchaseOfferingResultModel.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
|
1395
|
+
PurchaseOfferingResultModel.struct_class = Types::PurchaseOfferingResultModel
|
1396
|
+
|
1237
1397
|
RemixSettings.add_member(:channel_mappings, Shapes::ShapeRef.new(shape: __listOfAudioChannelMapping, required: true, location_name: "channelMappings"))
|
1238
1398
|
RemixSettings.add_member(:channels_in, Shapes::ShapeRef.new(shape: __integerMin1Max16, location_name: "channelsIn"))
|
1239
1399
|
RemixSettings.add_member(:channels_out, Shapes::ShapeRef.new(shape: __integerMin1Max8, location_name: "channelsOut"))
|
1240
1400
|
RemixSettings.struct_class = Types::RemixSettings
|
1241
1401
|
|
1402
|
+
Reservation.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
1403
|
+
Reservation.add_member(:count, Shapes::ShapeRef.new(shape: __integer, location_name: "count"))
|
1404
|
+
Reservation.add_member(:currency_code, Shapes::ShapeRef.new(shape: __string, location_name: "currencyCode"))
|
1405
|
+
Reservation.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, location_name: "duration"))
|
1406
|
+
Reservation.add_member(:duration_units, Shapes::ShapeRef.new(shape: OfferingDurationUnits, location_name: "durationUnits"))
|
1407
|
+
Reservation.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "end"))
|
1408
|
+
Reservation.add_member(:fixed_price, Shapes::ShapeRef.new(shape: __double, location_name: "fixedPrice"))
|
1409
|
+
Reservation.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
1410
|
+
Reservation.add_member(:offering_description, Shapes::ShapeRef.new(shape: __string, location_name: "offeringDescription"))
|
1411
|
+
Reservation.add_member(:offering_id, Shapes::ShapeRef.new(shape: __string, location_name: "offeringId"))
|
1412
|
+
Reservation.add_member(:offering_type, Shapes::ShapeRef.new(shape: OfferingType, location_name: "offeringType"))
|
1413
|
+
Reservation.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
|
1414
|
+
Reservation.add_member(:reservation_id, Shapes::ShapeRef.new(shape: __string, location_name: "reservationId"))
|
1415
|
+
Reservation.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ReservationResourceSpecification, location_name: "resourceSpecification"))
|
1416
|
+
Reservation.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "start"))
|
1417
|
+
Reservation.add_member(:state, Shapes::ShapeRef.new(shape: ReservationState, location_name: "state"))
|
1418
|
+
Reservation.add_member(:usage_price, Shapes::ShapeRef.new(shape: __double, location_name: "usagePrice"))
|
1419
|
+
Reservation.struct_class = Types::Reservation
|
1420
|
+
|
1421
|
+
ReservationResourceSpecification.add_member(:codec, Shapes::ShapeRef.new(shape: ReservationCodec, location_name: "codec"))
|
1422
|
+
ReservationResourceSpecification.add_member(:maximum_bitrate, Shapes::ShapeRef.new(shape: ReservationMaximumBitrate, location_name: "maximumBitrate"))
|
1423
|
+
ReservationResourceSpecification.add_member(:maximum_framerate, Shapes::ShapeRef.new(shape: ReservationMaximumFramerate, location_name: "maximumFramerate"))
|
1424
|
+
ReservationResourceSpecification.add_member(:resolution, Shapes::ShapeRef.new(shape: ReservationResolution, location_name: "resolution"))
|
1425
|
+
ReservationResourceSpecification.add_member(:resource_type, Shapes::ShapeRef.new(shape: ReservationResourceType, location_name: "resourceType"))
|
1426
|
+
ReservationResourceSpecification.add_member(:special_feature, Shapes::ShapeRef.new(shape: ReservationSpecialFeature, location_name: "specialFeature"))
|
1427
|
+
ReservationResourceSpecification.add_member(:video_quality, Shapes::ShapeRef.new(shape: ReservationVideoQuality, location_name: "videoQuality"))
|
1428
|
+
ReservationResourceSpecification.struct_class = Types::ReservationResourceSpecification
|
1429
|
+
|
1242
1430
|
ResourceConflict.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
1243
1431
|
ResourceConflict.struct_class = Types::ResourceConflict
|
1244
1432
|
|
@@ -1476,6 +1664,8 @@ module Aws::MediaLive
|
|
1476
1664
|
|
1477
1665
|
__listOfInputWhitelistRuleCidr.member = Shapes::ShapeRef.new(shape: InputWhitelistRuleCidr)
|
1478
1666
|
|
1667
|
+
__listOfOffering.member = Shapes::ShapeRef.new(shape: Offering)
|
1668
|
+
|
1479
1669
|
__listOfOutput.member = Shapes::ShapeRef.new(shape: Output)
|
1480
1670
|
|
1481
1671
|
__listOfOutputDestination.member = Shapes::ShapeRef.new(shape: OutputDestination)
|
@@ -1484,6 +1674,8 @@ module Aws::MediaLive
|
|
1484
1674
|
|
1485
1675
|
__listOfOutputGroup.member = Shapes::ShapeRef.new(shape: OutputGroup)
|
1486
1676
|
|
1677
|
+
__listOfReservation.member = Shapes::ShapeRef.new(shape: Reservation)
|
1678
|
+
|
1487
1679
|
__listOfValidationError.member = Shapes::ShapeRef.new(shape: ValidationError)
|
1488
1680
|
|
1489
1681
|
__listOfVideoDescription.member = Shapes::ShapeRef.new(shape: VideoDescription)
|
@@ -1596,6 +1788,22 @@ module Aws::MediaLive
|
|
1596
1788
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1597
1789
|
end)
|
1598
1790
|
|
1791
|
+
api.add_operation(:delete_reservation, Seahorse::Model::Operation.new.tap do |o|
|
1792
|
+
o.name = "DeleteReservation"
|
1793
|
+
o.http_method = "DELETE"
|
1794
|
+
o.http_request_uri = "/prod/reservations/{reservationId}"
|
1795
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteReservationRequest)
|
1796
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteReservationResponse)
|
1797
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1798
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1799
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1800
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1801
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1802
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1803
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1804
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1805
|
+
end)
|
1806
|
+
|
1599
1807
|
api.add_operation(:describe_channel, Seahorse::Model::Operation.new.tap do |o|
|
1600
1808
|
o.name = "DescribeChannel"
|
1601
1809
|
o.http_method = "GET"
|
@@ -1641,6 +1849,36 @@ module Aws::MediaLive
|
|
1641
1849
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1642
1850
|
end)
|
1643
1851
|
|
1852
|
+
api.add_operation(:describe_offering, Seahorse::Model::Operation.new.tap do |o|
|
1853
|
+
o.name = "DescribeOffering"
|
1854
|
+
o.http_method = "GET"
|
1855
|
+
o.http_request_uri = "/prod/offerings/{offeringId}"
|
1856
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeOfferingRequest)
|
1857
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeOfferingResponse)
|
1858
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1859
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1860
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1861
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1862
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1863
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1864
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1865
|
+
end)
|
1866
|
+
|
1867
|
+
api.add_operation(:describe_reservation, Seahorse::Model::Operation.new.tap do |o|
|
1868
|
+
o.name = "DescribeReservation"
|
1869
|
+
o.http_method = "GET"
|
1870
|
+
o.http_request_uri = "/prod/reservations/{reservationId}"
|
1871
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReservationRequest)
|
1872
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReservationResponse)
|
1873
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1874
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1875
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1876
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1877
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1878
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1879
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1880
|
+
end)
|
1881
|
+
|
1644
1882
|
api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
|
1645
1883
|
o.name = "ListChannels"
|
1646
1884
|
o.http_method = "GET"
|
@@ -1701,6 +1939,62 @@ module Aws::MediaLive
|
|
1701
1939
|
)
|
1702
1940
|
end)
|
1703
1941
|
|
1942
|
+
api.add_operation(:list_offerings, Seahorse::Model::Operation.new.tap do |o|
|
1943
|
+
o.name = "ListOfferings"
|
1944
|
+
o.http_method = "GET"
|
1945
|
+
o.http_request_uri = "/prod/offerings"
|
1946
|
+
o.input = Shapes::ShapeRef.new(shape: ListOfferingsRequest)
|
1947
|
+
o.output = Shapes::ShapeRef.new(shape: ListOfferingsResponse)
|
1948
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1949
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1950
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1951
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1952
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1953
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1954
|
+
o[:pager] = Aws::Pager.new(
|
1955
|
+
limit_key: "max_results",
|
1956
|
+
tokens: {
|
1957
|
+
"next_token" => "next_token"
|
1958
|
+
}
|
1959
|
+
)
|
1960
|
+
end)
|
1961
|
+
|
1962
|
+
api.add_operation(:list_reservations, Seahorse::Model::Operation.new.tap do |o|
|
1963
|
+
o.name = "ListReservations"
|
1964
|
+
o.http_method = "GET"
|
1965
|
+
o.http_request_uri = "/prod/reservations"
|
1966
|
+
o.input = Shapes::ShapeRef.new(shape: ListReservationsRequest)
|
1967
|
+
o.output = Shapes::ShapeRef.new(shape: ListReservationsResponse)
|
1968
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1969
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1970
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1971
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1972
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1973
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1974
|
+
o[:pager] = Aws::Pager.new(
|
1975
|
+
limit_key: "max_results",
|
1976
|
+
tokens: {
|
1977
|
+
"next_token" => "next_token"
|
1978
|
+
}
|
1979
|
+
)
|
1980
|
+
end)
|
1981
|
+
|
1982
|
+
api.add_operation(:purchase_offering, Seahorse::Model::Operation.new.tap do |o|
|
1983
|
+
o.name = "PurchaseOffering"
|
1984
|
+
o.http_method = "POST"
|
1985
|
+
o.http_request_uri = "/prod/offerings/{offeringId}/purchase"
|
1986
|
+
o.input = Shapes::ShapeRef.new(shape: PurchaseOfferingRequest)
|
1987
|
+
o.output = Shapes::ShapeRef.new(shape: PurchaseOfferingResponse)
|
1988
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1989
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1990
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1991
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1992
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1993
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1994
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1995
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1996
|
+
end)
|
1997
|
+
|
1704
1998
|
api.add_operation(:start_channel, Seahorse::Model::Operation.new.tap do |o|
|
1705
1999
|
o.name = "StartChannel"
|
1706
2000
|
o.http_method = "POST"
|