aws-sdk-kinesis 1.90.0 → 1.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6736085f516ca2510d94734bac5c542f0df5de503df98f8fe48484d9e3d9ebd
4
- data.tar.gz: d7ca22b1bd87600d8194c9f3f356ab567995abe145494773a5d4c1d7e45b3c1f
3
+ metadata.gz: d1e34426c44a4ce854921e54df13e6c6385ba4ef35fe40b60dd6f694ecac12b6
4
+ data.tar.gz: 30648627d2cb5b8b263abb8e112e10ad430f0dbf9dbed11ecd6a46ea6740c063
5
5
  SHA512:
6
- metadata.gz: b0d5d077174ecee435925a7f8a79cb0ca0636442302af64fdb122b9ff7005e56bed32cc5b51555373aa62901c547a5fa0942b1ab67ec8d400c4ab0e5a523a83d
7
- data.tar.gz: 6e31b996883744ea63af66267f26cc7ad879ac1dca7d59625bd73b4bd9c534e7993b39f94e44d9e8aea8042fb17fc6fd99c05c5f90b53f4252753f599f06e920
6
+ metadata.gz: 706993a2fcad531a516fd329badec84a0bac0afe713945bf512127f48493f71f683998957322b2709ebbdf0c3cb7f84edb60a883576973d0fc7cc680b9148dee
7
+ data.tar.gz: 1748fe2127434e34100acfa1eab8f00e826277bc915ac473ac1e2cbc14de7562a32c10b7675957dcba56e99229847b7dfe5b6cfe353d39c7ddf4a4f852827e0e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.91.0 (2025-11-03)
5
+ ------------------
6
+
7
+ * Feature - Adds support for MinimumThroughputBillingCommitment with new UpdateAccountSettings API. Adds support to configure warm throughput for on-demand streams in new UpdateStreamWarmThroughput API and existing CreateStream API and UpdateStreamMode API.
8
+
4
9
  1.90.0 (2025-10-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.90.0
1
+ 1.91.0
@@ -745,7 +745,7 @@ module Aws::Kinesis
745
745
  tracer: tracer
746
746
  )
747
747
  context[:gem_name] = 'aws-sdk-kinesis'
748
- context[:gem_version] = '1.90.0'
748
+ context[:gem_version] = '1.91.0'
749
749
  Seahorse::Client::Request.new(handlers, context)
750
750
  end
751
751
 
@@ -553,13 +553,22 @@ module Aws::Kinesis
553
553
  # planning and automatically scale to handle gigabytes of write and read
554
554
  # throughput per minute. With the on-demand mode, Kinesis Data Streams
555
555
  # automatically manages the shards in order to provide the necessary
556
- # throughput. For the data streams with a provisioned mode, you must
557
- # specify the number of shards for the data stream. Each shard can
558
- # support reads up to five transactions per second, up to a maximum data
559
- # read total of 2 MiB per second. Each shard can support writes up to
560
- # 1,000 records per second, up to a maximum data write total of 1 MiB
561
- # per second. If the amount of data input increases or decreases, you
562
- # can add or remove shards.
556
+ # throughput.
557
+ #
558
+ # If you'd still like to proactively scale your on-demand data stream’s
559
+ # capacity, you can unlock the warm throughput feature for on-demand
560
+ # data streams by enabling `MinimumThroughputBillingCommitment` for your
561
+ # account. Once your account has `MinimumThroughputBillingCommitment`
562
+ # enabled, you can specify the warm throughput in MiB per second that
563
+ # your stream can support in writes.
564
+ #
565
+ # For the data streams with a provisioned mode, you must specify the
566
+ # number of shards for the data stream. Each shard can support reads up
567
+ # to five transactions per second, up to a maximum data read total of 2
568
+ # MiB per second. Each shard can support writes up to 1,000 records per
569
+ # second, up to a maximum data write total of 1 MiB per second. If the
570
+ # amount of data input increases or decreases, you can add or remove
571
+ # shards.
563
572
  #
564
573
  # The stream name identifies the stream. The name is scoped to the
565
574
  # Amazon Web Services account used by the application. It is also scoped
@@ -581,10 +590,10 @@ module Aws::Kinesis
581
590
  #
582
591
  # * Create more shards than are authorized for your account.
583
592
  #
584
- # For the default shard limit for an Amazon Web Services account, see
585
- # [Amazon Kinesis Data Streams Limits][1] in the *Amazon Kinesis Data
586
- # Streams Developer Guide*. To increase this limit, [contact Amazon Web
587
- # Services Support][2].
593
+ # For the default shard or on-demand throughput limits for an Amazon Web
594
+ # Services account, see [Amazon Kinesis Data Streams Limits][1] in the
595
+ # *Amazon Kinesis Data Streams Developer Guide*. To increase this limit,
596
+ # [contact Amazon Web Services Support][2].
588
597
  #
589
598
  # You can use DescribeStreamSummary to check the stream status, which is
590
599
  # returned in `StreamStatus`.
@@ -627,6 +636,11 @@ module Aws::Kinesis
627
636
  # A set of up to 50 key-value pairs to use to create the tags. A tag
628
637
  # consists of a required key and an optional value.
629
638
  #
639
+ # @option params [Integer] :warm_throughput_mi_bps
640
+ # The target warm throughput in MB/s that the stream should be scaled to
641
+ # handle. This represents the throughput capacity that will be
642
+ # immediately available for write operations.
643
+ #
630
644
  # @option params [Integer] :max_record_size_in_ki_b
631
645
  # The maximum record size of a single record in kibibyte (KiB) that you
632
646
  # can write to, and read from a stream.
@@ -644,6 +658,7 @@ module Aws::Kinesis
644
658
  # tags: {
645
659
  # "TagKey" => "TagValue",
646
660
  # },
661
+ # warm_throughput_mi_bps: 1,
647
662
  # max_record_size_in_ki_b: 1,
648
663
  # })
649
664
  #
@@ -834,6 +849,34 @@ module Aws::Kinesis
834
849
  req.send_request(options)
835
850
  end
836
851
 
852
+ # Describes the account-level settings for Amazon Kinesis Data Streams.
853
+ # This operation returns information about the minimum throughput
854
+ # billing commitments and other account-level configurations.
855
+ #
856
+ # This API has a call limit of 5 transactions per second (TPS) for each
857
+ # Amazon Web Services account. TPS over 5 will initiate the
858
+ # `LimitExceededException`.
859
+ #
860
+ # @return [Types::DescribeAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
861
+ #
862
+ # * {Types::DescribeAccountSettingsOutput#minimum_throughput_billing_commitment #minimum_throughput_billing_commitment} => Types::MinimumThroughputBillingCommitmentOutput
863
+ #
864
+ # @example Response structure
865
+ #
866
+ # resp.minimum_throughput_billing_commitment.status #=> String, one of "ENABLED", "DISABLED", "ENABLED_UNTIL_EARLIEST_ALLOWED_END"
867
+ # resp.minimum_throughput_billing_commitment.started_at #=> Time
868
+ # resp.minimum_throughput_billing_commitment.ended_at #=> Time
869
+ # resp.minimum_throughput_billing_commitment.earliest_allowed_end_at #=> Time
870
+ #
871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeAccountSettings AWS API Documentation
872
+ #
873
+ # @overload describe_account_settings(params = {})
874
+ # @param [Hash] params ({})
875
+ def describe_account_settings(params = {}, options = {})
876
+ req = build_request(:describe_account_settings, params)
877
+ req.send_request(options)
878
+ end
879
+
837
880
  # Describes the shard limits and usage for the account.
838
881
  #
839
882
  # If you update your account limits, the old limits might be returned
@@ -1087,6 +1130,8 @@ module Aws::Kinesis
1087
1130
  # resp.stream_description_summary.key_id #=> String
1088
1131
  # resp.stream_description_summary.open_shard_count #=> Integer
1089
1132
  # resp.stream_description_summary.consumer_count #=> Integer
1133
+ # resp.stream_description_summary.warm_throughput.target_mi_bps #=> Integer
1134
+ # resp.stream_description_summary.warm_throughput.current_mi_bps #=> Integer
1090
1135
  # resp.stream_description_summary.max_record_size_in_ki_b #=> Integer
1091
1136
  #
1092
1137
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummary AWS API Documentation
@@ -2850,6 +2895,54 @@ module Aws::Kinesis
2850
2895
  req.send_request(options)
2851
2896
  end
2852
2897
 
2898
+ # Updates the account-level settings for Amazon Kinesis Data Streams.
2899
+ #
2900
+ # Updating account settings is a synchronous operation. Upon receiving
2901
+ # the request, Kinesis Data Streams will return immediately with your
2902
+ # account’s updated settings.
2903
+ #
2904
+ # **API limits**
2905
+ #
2906
+ # * Certain account configurations have minimum commitment windows.
2907
+ # Attempting to update your settings prior to the end of the minimum
2908
+ # commitment window might have certain restrictions.
2909
+ #
2910
+ # * This API has a call limit of 5 transactions per second (TPS) for
2911
+ # each Amazon Web Services account. TPS over 5 will initiate the
2912
+ # `LimitExceededException`.
2913
+ #
2914
+ # @option params [required, Types::MinimumThroughputBillingCommitmentInput] :minimum_throughput_billing_commitment
2915
+ # Specifies the minimum throughput billing commitment configuration for
2916
+ # your account.
2917
+ #
2918
+ # @return [Types::UpdateAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2919
+ #
2920
+ # * {Types::UpdateAccountSettingsOutput#minimum_throughput_billing_commitment #minimum_throughput_billing_commitment} => Types::MinimumThroughputBillingCommitmentOutput
2921
+ #
2922
+ # @example Request syntax with placeholder values
2923
+ #
2924
+ # resp = client.update_account_settings({
2925
+ # minimum_throughput_billing_commitment: { # required
2926
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
2927
+ # },
2928
+ # })
2929
+ #
2930
+ # @example Response structure
2931
+ #
2932
+ # resp.minimum_throughput_billing_commitment.status #=> String, one of "ENABLED", "DISABLED", "ENABLED_UNTIL_EARLIEST_ALLOWED_END"
2933
+ # resp.minimum_throughput_billing_commitment.started_at #=> Time
2934
+ # resp.minimum_throughput_billing_commitment.ended_at #=> Time
2935
+ # resp.minimum_throughput_billing_commitment.earliest_allowed_end_at #=> Time
2936
+ #
2937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateAccountSettings AWS API Documentation
2938
+ #
2939
+ # @overload update_account_settings(params = {})
2940
+ # @param [Hash] params ({})
2941
+ def update_account_settings(params = {}, options = {})
2942
+ req = build_request(:update_account_settings, params)
2943
+ req.send_request(options)
2944
+ end
2945
+
2853
2946
  # This allows you to update the `MaxRecordSize` of a single record that
2854
2947
  # you can write to, and read from a stream. You can ingest and digest
2855
2948
  # single records up to 10240 KiB.
@@ -3001,6 +3094,13 @@ module Aws::Kinesis
3001
3094
  # Data Streams, you can choose between an **on-demand** capacity mode
3002
3095
  # and a **provisioned** capacity mode for your data stream.
3003
3096
  #
3097
+ # If you'd still like to proactively scale your on-demand data stream’s
3098
+ # capacity, you can unlock the warm throughput feature for on-demand
3099
+ # data streams by enabling `MinimumThroughputBillingCommitment` for your
3100
+ # account. Once your account has `MinimumThroughputBillingCommitment`
3101
+ # enabled, you can specify the warm throughput in MiB per second that
3102
+ # your stream can support in writes.
3103
+ #
3004
3104
  # @option params [required, String] :stream_arn
3005
3105
  # Specifies the ARN of the data stream whose capacity mode you want to
3006
3106
  # update.
@@ -3011,6 +3111,12 @@ module Aws::Kinesis
3011
3111
  # **on-demand** capacity mode and a **provisioned** capacity mode for
3012
3112
  # your data streams.
3013
3113
  #
3114
+ # @option params [Integer] :warm_throughput_mi_bps
3115
+ # The target warm throughput in MB/s that the stream should be scaled to
3116
+ # handle. This represents the throughput capacity that will be
3117
+ # immediately available for write operations. This field is only valid
3118
+ # when the stream mode is being updated to on-demand.
3119
+ #
3014
3120
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3015
3121
  #
3016
3122
  # @example Request syntax with placeholder values
@@ -3020,6 +3126,7 @@ module Aws::Kinesis
3020
3126
  # stream_mode_details: { # required
3021
3127
  # stream_mode: "PROVISIONED", # required, accepts PROVISIONED, ON_DEMAND
3022
3128
  # },
3129
+ # warm_throughput_mi_bps: 1,
3023
3130
  # })
3024
3131
  #
3025
3132
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateStreamMode AWS API Documentation
@@ -3031,6 +3138,91 @@ module Aws::Kinesis
3031
3138
  req.send_request(options)
3032
3139
  end
3033
3140
 
3141
+ # Updates the warm throughput configuration for the specified Amazon
3142
+ # Kinesis Data Streams on-demand data stream. This operation allows you
3143
+ # to proactively scale your on-demand data stream to a specified
3144
+ # throughput level, enabling better performance for sudden traffic
3145
+ # spikes.
3146
+ #
3147
+ # <note markdown="1"> When invoking this API, you must use either the `StreamARN` or the
3148
+ # `StreamName` parameter, or both. It is recommended that you use the
3149
+ # `StreamARN` input parameter when you invoke this API.
3150
+ #
3151
+ # </note>
3152
+ #
3153
+ # Updating the warm throughput is an asynchronous operation. Upon
3154
+ # receiving the request, Kinesis Data Streams returns immediately and
3155
+ # sets the status of the stream to `UPDATING`. After the update is
3156
+ # complete, Kinesis Data Streams sets the status of the stream back to
3157
+ # `ACTIVE`. Depending on the size of the stream, the scaling action
3158
+ # could take a few minutes to complete. You can continue to read and
3159
+ # write data to your stream while its status is `UPDATING`.
3160
+ #
3161
+ # This operation is only supported for data streams with the on-demand
3162
+ # capacity mode in accounts that have
3163
+ # `MinimumThroughputBillingCommitment` enabled. Provisioned capacity
3164
+ # mode streams do not support warm throughput configuration.
3165
+ #
3166
+ # This operation has the following default limits. By default, you
3167
+ # cannot do the following:
3168
+ #
3169
+ # * Scale to more than 10 GiBps for an on-demand stream.
3170
+ #
3171
+ # * This API has a call limit of 5 transactions per second (TPS) for
3172
+ # each Amazon Web Services account. TPS over 5 will initiate the
3173
+ # `LimitExceededException`.
3174
+ #
3175
+ # For the default limits for an Amazon Web Services account, see
3176
+ # [Streams Limits][1] in the *Amazon Kinesis Data Streams Developer
3177
+ # Guide*. To request an increase in the call rate limit, the shard limit
3178
+ # for this API, or your overall shard limit, use the [limits form][2].
3179
+ #
3180
+ #
3181
+ #
3182
+ # [1]: https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html
3183
+ # [2]: https://console.aws.amazon.com/support/v1#/case/create?issueType=service-limit-increase&amp;limitType=service-code-kinesis
3184
+ #
3185
+ # @option params [String] :stream_arn
3186
+ # The ARN of the stream to be updated.
3187
+ #
3188
+ # @option params [String] :stream_name
3189
+ # The name of the stream to be updated.
3190
+ #
3191
+ # @option params [required, Integer] :warm_throughput_mi_bps
3192
+ # The target warm throughput in MB/s that the stream should be scaled to
3193
+ # handle. This represents the throughput capacity that will be
3194
+ # immediately available for write operations.
3195
+ #
3196
+ # @return [Types::UpdateStreamWarmThroughputOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3197
+ #
3198
+ # * {Types::UpdateStreamWarmThroughputOutput#stream_arn #stream_arn} => String
3199
+ # * {Types::UpdateStreamWarmThroughputOutput#stream_name #stream_name} => String
3200
+ # * {Types::UpdateStreamWarmThroughputOutput#warm_throughput #warm_throughput} => Types::WarmThroughputObject
3201
+ #
3202
+ # @example Request syntax with placeholder values
3203
+ #
3204
+ # resp = client.update_stream_warm_throughput({
3205
+ # stream_arn: "StreamARN",
3206
+ # stream_name: "StreamName",
3207
+ # warm_throughput_mi_bps: 1, # required
3208
+ # })
3209
+ #
3210
+ # @example Response structure
3211
+ #
3212
+ # resp.stream_arn #=> String
3213
+ # resp.stream_name #=> String
3214
+ # resp.warm_throughput.target_mi_bps #=> Integer
3215
+ # resp.warm_throughput.current_mi_bps #=> Integer
3216
+ #
3217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateStreamWarmThroughput AWS API Documentation
3218
+ #
3219
+ # @overload update_stream_warm_throughput(params = {})
3220
+ # @param [Hash] params ({})
3221
+ def update_stream_warm_throughput(params = {}, options = {})
3222
+ req = build_request(:update_stream_warm_throughput, params)
3223
+ req.send_request(options)
3224
+ end
3225
+
3034
3226
  # @!endgroup
3035
3227
 
3036
3228
  # @param params ({})
@@ -3049,7 +3241,7 @@ module Aws::Kinesis
3049
3241
  tracer: tracer
3050
3242
  )
3051
3243
  context[:gem_name] = 'aws-sdk-kinesis'
3052
- context[:gem_version] = '1.90.0'
3244
+ context[:gem_version] = '1.91.0'
3053
3245
  Seahorse::Client::Request.new(handlers, context)
3054
3246
  end
3055
3247
 
@@ -32,6 +32,8 @@ module Aws::Kinesis
32
32
  DeleteResourcePolicyInput = Shapes::StructureShape.new(name: 'DeleteResourcePolicyInput')
33
33
  DeleteStreamInput = Shapes::StructureShape.new(name: 'DeleteStreamInput')
34
34
  DeregisterStreamConsumerInput = Shapes::StructureShape.new(name: 'DeregisterStreamConsumerInput')
35
+ DescribeAccountSettingsInput = Shapes::StructureShape.new(name: 'DescribeAccountSettingsInput')
36
+ DescribeAccountSettingsOutput = Shapes::StructureShape.new(name: 'DescribeAccountSettingsOutput')
35
37
  DescribeLimitsInput = Shapes::StructureShape.new(name: 'DescribeLimitsInput')
36
38
  DescribeLimitsOutput = Shapes::StructureShape.new(name: 'DescribeLimitsOutput')
37
39
  DescribeStreamConsumerInput = Shapes::StructureShape.new(name: 'DescribeStreamConsumerInput')
@@ -90,6 +92,11 @@ module Aws::Kinesis
90
92
  MetricsName = Shapes::StringShape.new(name: 'MetricsName')
91
93
  MetricsNameList = Shapes::ListShape.new(name: 'MetricsNameList')
92
94
  MillisBehindLatest = Shapes::IntegerShape.new(name: 'MillisBehindLatest')
95
+ MinimumThroughputBillingCommitmentInput = Shapes::StructureShape.new(name: 'MinimumThroughputBillingCommitmentInput')
96
+ MinimumThroughputBillingCommitmentInputStatus = Shapes::StringShape.new(name: 'MinimumThroughputBillingCommitmentInputStatus')
97
+ MinimumThroughputBillingCommitmentOutput = Shapes::StructureShape.new(name: 'MinimumThroughputBillingCommitmentOutput')
98
+ MinimumThroughputBillingCommitmentOutputStatus = Shapes::StringShape.new(name: 'MinimumThroughputBillingCommitmentOutputStatus')
99
+ NaturalIntegerObject = Shapes::IntegerShape.new(name: 'NaturalIntegerObject')
93
100
  NextToken = Shapes::StringShape.new(name: 'NextToken')
94
101
  OnDemandStreamCountLimitObject = Shapes::IntegerShape.new(name: 'OnDemandStreamCountLimitObject')
95
102
  OnDemandStreamCountObject = Shapes::IntegerShape.new(name: 'OnDemandStreamCountObject')
@@ -154,11 +161,16 @@ module Aws::Kinesis
154
161
  TagValue = Shapes::StringShape.new(name: 'TagValue')
155
162
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
156
163
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
164
+ UpdateAccountSettingsInput = Shapes::StructureShape.new(name: 'UpdateAccountSettingsInput')
165
+ UpdateAccountSettingsOutput = Shapes::StructureShape.new(name: 'UpdateAccountSettingsOutput')
157
166
  UpdateMaxRecordSizeInput = Shapes::StructureShape.new(name: 'UpdateMaxRecordSizeInput')
158
167
  UpdateShardCountInput = Shapes::StructureShape.new(name: 'UpdateShardCountInput')
159
168
  UpdateShardCountOutput = Shapes::StructureShape.new(name: 'UpdateShardCountOutput')
160
169
  UpdateStreamModeInput = Shapes::StructureShape.new(name: 'UpdateStreamModeInput')
170
+ UpdateStreamWarmThroughputInput = Shapes::StructureShape.new(name: 'UpdateStreamWarmThroughputInput')
171
+ UpdateStreamWarmThroughputOutput = Shapes::StructureShape.new(name: 'UpdateStreamWarmThroughputOutput')
161
172
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
173
+ WarmThroughputObject = Shapes::StructureShape.new(name: 'WarmThroughputObject')
162
174
 
163
175
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
164
176
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -194,6 +206,7 @@ module Aws::Kinesis
194
206
  CreateStreamInput.add_member(:shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "ShardCount"))
195
207
  CreateStreamInput.add_member(:stream_mode_details, Shapes::ShapeRef.new(shape: StreamModeDetails, location_name: "StreamModeDetails"))
196
208
  CreateStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
209
+ CreateStreamInput.add_member(:warm_throughput_mi_bps, Shapes::ShapeRef.new(shape: NaturalIntegerObject, location_name: "WarmThroughputMiBps"))
197
210
  CreateStreamInput.add_member(:max_record_size_in_ki_b, Shapes::ShapeRef.new(shape: MaxRecordSizeInKiB, location_name: "MaxRecordSizeInKiB"))
198
211
  CreateStreamInput.struct_class = Types::CreateStreamInput
199
212
 
@@ -215,6 +228,11 @@ module Aws::Kinesis
215
228
  DeregisterStreamConsumerInput.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: ConsumerARN, location_name: "ConsumerARN", metadata: {"contextParam" => {"name" => "ConsumerARN"}}))
216
229
  DeregisterStreamConsumerInput.struct_class = Types::DeregisterStreamConsumerInput
217
230
 
231
+ DescribeAccountSettingsInput.struct_class = Types::DescribeAccountSettingsInput
232
+
233
+ DescribeAccountSettingsOutput.add_member(:minimum_throughput_billing_commitment, Shapes::ShapeRef.new(shape: MinimumThroughputBillingCommitmentOutput, location_name: "MinimumThroughputBillingCommitment"))
234
+ DescribeAccountSettingsOutput.struct_class = Types::DescribeAccountSettingsOutput
235
+
218
236
  DescribeLimitsInput.struct_class = Types::DescribeLimitsInput
219
237
 
220
238
  DescribeLimitsOutput.add_member(:shard_limit, Shapes::ShapeRef.new(shape: ShardCountObject, required: true, location_name: "ShardLimit"))
@@ -396,6 +414,15 @@ module Aws::Kinesis
396
414
 
397
415
  MetricsNameList.member = Shapes::ShapeRef.new(shape: MetricsName)
398
416
 
417
+ MinimumThroughputBillingCommitmentInput.add_member(:status, Shapes::ShapeRef.new(shape: MinimumThroughputBillingCommitmentInputStatus, required: true, location_name: "Status"))
418
+ MinimumThroughputBillingCommitmentInput.struct_class = Types::MinimumThroughputBillingCommitmentInput
419
+
420
+ MinimumThroughputBillingCommitmentOutput.add_member(:status, Shapes::ShapeRef.new(shape: MinimumThroughputBillingCommitmentOutputStatus, required: true, location_name: "Status"))
421
+ MinimumThroughputBillingCommitmentOutput.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartedAt"))
422
+ MinimumThroughputBillingCommitmentOutput.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndedAt"))
423
+ MinimumThroughputBillingCommitmentOutput.add_member(:earliest_allowed_end_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EarliestAllowedEndAt"))
424
+ MinimumThroughputBillingCommitmentOutput.struct_class = Types::MinimumThroughputBillingCommitmentOutput
425
+
399
426
  ProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
400
427
  ProvisionedThroughputExceededException.struct_class = Types::ProvisionedThroughputExceededException
401
428
 
@@ -536,6 +563,7 @@ module Aws::Kinesis
536
563
  StreamDescriptionSummary.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, location_name: "KeyId"))
537
564
  StreamDescriptionSummary.add_member(:open_shard_count, Shapes::ShapeRef.new(shape: ShardCountObject, required: true, location_name: "OpenShardCount"))
538
565
  StreamDescriptionSummary.add_member(:consumer_count, Shapes::ShapeRef.new(shape: ConsumerCountObject, location_name: "ConsumerCount"))
566
+ StreamDescriptionSummary.add_member(:warm_throughput, Shapes::ShapeRef.new(shape: WarmThroughputObject, location_name: "WarmThroughput"))
539
567
  StreamDescriptionSummary.add_member(:max_record_size_in_ki_b, Shapes::ShapeRef.new(shape: MaxRecordSizeInKiB, location_name: "MaxRecordSizeInKiB"))
540
568
  StreamDescriptionSummary.struct_class = Types::StreamDescriptionSummary
541
569
 
@@ -598,6 +626,12 @@ module Aws::Kinesis
598
626
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN", metadata: {"contextParam" => {"name" => "ResourceARN"}}))
599
627
  UntagResourceInput.struct_class = Types::UntagResourceInput
600
628
 
629
+ UpdateAccountSettingsInput.add_member(:minimum_throughput_billing_commitment, Shapes::ShapeRef.new(shape: MinimumThroughputBillingCommitmentInput, required: true, location_name: "MinimumThroughputBillingCommitment"))
630
+ UpdateAccountSettingsInput.struct_class = Types::UpdateAccountSettingsInput
631
+
632
+ UpdateAccountSettingsOutput.add_member(:minimum_throughput_billing_commitment, Shapes::ShapeRef.new(shape: MinimumThroughputBillingCommitmentOutput, location_name: "MinimumThroughputBillingCommitment"))
633
+ UpdateAccountSettingsOutput.struct_class = Types::UpdateAccountSettingsOutput
634
+
601
635
  UpdateMaxRecordSizeInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam" => {"name" => "StreamARN"}}))
602
636
  UpdateMaxRecordSizeInput.add_member(:max_record_size_in_ki_b, Shapes::ShapeRef.new(shape: MaxRecordSizeInKiB, required: true, location_name: "MaxRecordSizeInKiB"))
603
637
  UpdateMaxRecordSizeInput.struct_class = Types::UpdateMaxRecordSizeInput
@@ -616,11 +650,26 @@ module Aws::Kinesis
616
650
 
617
651
  UpdateStreamModeInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN", metadata: {"contextParam" => {"name" => "StreamARN"}}))
618
652
  UpdateStreamModeInput.add_member(:stream_mode_details, Shapes::ShapeRef.new(shape: StreamModeDetails, required: true, location_name: "StreamModeDetails"))
653
+ UpdateStreamModeInput.add_member(:warm_throughput_mi_bps, Shapes::ShapeRef.new(shape: NaturalIntegerObject, location_name: "WarmThroughputMiBps"))
619
654
  UpdateStreamModeInput.struct_class = Types::UpdateStreamModeInput
620
655
 
656
+ UpdateStreamWarmThroughputInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam" => {"name" => "StreamARN"}}))
657
+ UpdateStreamWarmThroughputInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
658
+ UpdateStreamWarmThroughputInput.add_member(:warm_throughput_mi_bps, Shapes::ShapeRef.new(shape: NaturalIntegerObject, required: true, location_name: "WarmThroughputMiBps"))
659
+ UpdateStreamWarmThroughputInput.struct_class = Types::UpdateStreamWarmThroughputInput
660
+
661
+ UpdateStreamWarmThroughputOutput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN"))
662
+ UpdateStreamWarmThroughputOutput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
663
+ UpdateStreamWarmThroughputOutput.add_member(:warm_throughput, Shapes::ShapeRef.new(shape: WarmThroughputObject, location_name: "WarmThroughput"))
664
+ UpdateStreamWarmThroughputOutput.struct_class = Types::UpdateStreamWarmThroughputOutput
665
+
621
666
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
622
667
  ValidationException.struct_class = Types::ValidationException
623
668
 
669
+ WarmThroughputObject.add_member(:target_mi_bps, Shapes::ShapeRef.new(shape: NaturalIntegerObject, location_name: "TargetMiBps"))
670
+ WarmThroughputObject.add_member(:current_mi_bps, Shapes::ShapeRef.new(shape: NaturalIntegerObject, location_name: "CurrentMiBps"))
671
+ WarmThroughputObject.struct_class = Types::WarmThroughputObject
672
+
624
673
 
625
674
  # @api private
626
675
  API = Seahorse::Model::Api.new.tap do |api|
@@ -665,6 +714,7 @@ module Aws::Kinesis
665
714
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
666
715
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
667
716
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
668
718
  end)
669
719
 
670
720
  api.add_operation(:decrease_stream_retention_period, Seahorse::Model::Operation.new.tap do |o|
@@ -717,6 +767,15 @@ module Aws::Kinesis
717
767
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
718
768
  end)
719
769
 
770
+ api.add_operation(:describe_account_settings, Seahorse::Model::Operation.new.tap do |o|
771
+ o.name = "DescribeAccountSettings"
772
+ o.http_method = "POST"
773
+ o.http_request_uri = "/"
774
+ o.input = Shapes::ShapeRef.new(shape: DescribeAccountSettingsInput)
775
+ o.output = Shapes::ShapeRef.new(shape: DescribeAccountSettingsOutput)
776
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
777
+ end)
778
+
720
779
  api.add_operation(:describe_limits, Seahorse::Model::Operation.new.tap do |o|
721
780
  o.name = "DescribeLimits"
722
781
  o.http_method = "POST"
@@ -1105,6 +1164,17 @@ module Aws::Kinesis
1105
1164
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1106
1165
  end)
1107
1166
 
1167
+ api.add_operation(:update_account_settings, Seahorse::Model::Operation.new.tap do |o|
1168
+ o.name = "UpdateAccountSettings"
1169
+ o.http_method = "POST"
1170
+ o.http_request_uri = "/"
1171
+ o.input = Shapes::ShapeRef.new(shape: UpdateAccountSettingsInput)
1172
+ o.output = Shapes::ShapeRef.new(shape: UpdateAccountSettingsOutput)
1173
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1174
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1176
+ end)
1177
+
1108
1178
  api.add_operation(:update_max_record_size, Seahorse::Model::Operation.new.tap do |o|
1109
1179
  o.name = "UpdateMaxRecordSize"
1110
1180
  o.http_method = "POST"
@@ -1143,6 +1213,21 @@ module Aws::Kinesis
1143
1213
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1144
1214
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1145
1215
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1216
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1217
+ end)
1218
+
1219
+ api.add_operation(:update_stream_warm_throughput, Seahorse::Model::Operation.new.tap do |o|
1220
+ o.name = "UpdateStreamWarmThroughput"
1221
+ o.http_method = "POST"
1222
+ o.http_request_uri = "/"
1223
+ o.input = Shapes::ShapeRef.new(shape: UpdateStreamWarmThroughputInput)
1224
+ o.output = Shapes::ShapeRef.new(shape: UpdateStreamWarmThroughputOutput)
1225
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1226
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1227
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1228
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1229
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1230
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1146
1231
  end)
1147
1232
  end
1148
1233
 
@@ -344,6 +344,16 @@ module Aws::Kinesis
344
344
  end
345
345
  end
346
346
 
347
+ class UpdateStreamWarmThroughput
348
+ def self.build(context)
349
+ Aws::Kinesis::EndpointParameters.create(
350
+ context.config,
351
+ stream_arn: context.params[:stream_arn],
352
+ operation_type: "control",
353
+ )
354
+ end
355
+ end
356
+
347
357
 
348
358
  def self.parameters_for_operation(context)
349
359
  case context.operation_name
@@ -413,6 +423,8 @@ module Aws::Kinesis
413
423
  UpdateShardCount.build(context)
414
424
  when :update_stream_mode
415
425
  UpdateStreamMode.build(context)
426
+ when :update_stream_warm_throughput
427
+ UpdateStreamWarmThroughput.build(context)
416
428
  else
417
429
  Aws::Kinesis::EndpointParameters.create(context.config)
418
430
  end
@@ -184,6 +184,12 @@ module Aws::Kinesis
184
184
  # consists of a required key and an optional value.
185
185
  # @return [Hash<String,String>]
186
186
  #
187
+ # @!attribute [rw] warm_throughput_mi_bps
188
+ # The target warm throughput in MB/s that the stream should be scaled
189
+ # to handle. This represents the throughput capacity that will be
190
+ # immediately available for write operations.
191
+ # @return [Integer]
192
+ #
187
193
  # @!attribute [rw] max_record_size_in_ki_b
188
194
  # The maximum record size of a single record in kibibyte (KiB) that
189
195
  # you can write to, and read from a stream.
@@ -196,6 +202,7 @@ module Aws::Kinesis
196
202
  :shard_count,
197
203
  :stream_mode_details,
198
204
  :tags,
205
+ :warm_throughput_mi_bps,
199
206
  :max_record_size_in_ki_b)
200
207
  SENSITIVE = []
201
208
  include Aws::Structure
@@ -297,6 +304,25 @@ module Aws::Kinesis
297
304
  include Aws::Structure
298
305
  end
299
306
 
307
+ # @api private
308
+ #
309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeAccountSettingsInput AWS API Documentation
310
+ #
311
+ class DescribeAccountSettingsInput < Aws::EmptyStructure; end
312
+
313
+ # @!attribute [rw] minimum_throughput_billing_commitment
314
+ # The current configuration of the minimum throughput billing
315
+ # commitment for your Amazon Web Services account.
316
+ # @return [Types::MinimumThroughputBillingCommitmentOutput]
317
+ #
318
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeAccountSettingsOutput AWS API Documentation
319
+ #
320
+ class DescribeAccountSettingsOutput < Struct.new(
321
+ :minimum_throughput_billing_commitment)
322
+ SENSITIVE = []
323
+ include Aws::Structure
324
+ end
325
+
300
326
  # @api private
301
327
  #
302
328
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimitsInput AWS API Documentation
@@ -1438,6 +1464,67 @@ module Aws::Kinesis
1438
1464
  include Aws::Structure
1439
1465
  end
1440
1466
 
1467
+ # Represents the request parameters for configuring minimum throughput
1468
+ # billing commitment.
1469
+ #
1470
+ # <note markdown="1"> * Minimum throughput billing commitments provide cost savings on
1471
+ # on-demand data streams in exchange for committing to a minimum level
1472
+ # of throughput usage.
1473
+ #
1474
+ # * Commitments have a minimum duration of 24 hours that must be honored
1475
+ # before they can be disabled.
1476
+ #
1477
+ # * If you attempt to disable a commitment before the minimum commitment
1478
+ # period ends, the commitment will be scheduled for automatic disable
1479
+ # at the earliest allowed end time.
1480
+ #
1481
+ # * You can cancel a pending disable by enabling the commitment again
1482
+ # before the earliest allowed end time.
1483
+ #
1484
+ # </note>
1485
+ #
1486
+ # @!attribute [rw] status
1487
+ # The desired status of the minimum throughput billing commitment.
1488
+ # @return [String]
1489
+ #
1490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MinimumThroughputBillingCommitmentInput AWS API Documentation
1491
+ #
1492
+ class MinimumThroughputBillingCommitmentInput < Struct.new(
1493
+ :status)
1494
+ SENSITIVE = []
1495
+ include Aws::Structure
1496
+ end
1497
+
1498
+ # Represents the current status of minimum throughput billing commitment
1499
+ # for an account.
1500
+ #
1501
+ # @!attribute [rw] status
1502
+ # The current status of the minimum throughput billing commitment.
1503
+ # @return [String]
1504
+ #
1505
+ # @!attribute [rw] started_at
1506
+ # The timestamp when the commitment was started.
1507
+ # @return [Time]
1508
+ #
1509
+ # @!attribute [rw] ended_at
1510
+ # The timestamp when the commitment was ended.
1511
+ # @return [Time]
1512
+ #
1513
+ # @!attribute [rw] earliest_allowed_end_at
1514
+ # The earliest timestamp when the commitment can be ended.
1515
+ # @return [Time]
1516
+ #
1517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MinimumThroughputBillingCommitmentOutput AWS API Documentation
1518
+ #
1519
+ class MinimumThroughputBillingCommitmentOutput < Struct.new(
1520
+ :status,
1521
+ :started_at,
1522
+ :ended_at,
1523
+ :earliest_allowed_end_at)
1524
+ SENSITIVE = []
1525
+ include Aws::Structure
1526
+ end
1527
+
1441
1528
  # The request rate for the stream is too high, or the requested data is
1442
1529
  # too large for the available throughput. Reduce the frequency or size
1443
1530
  # of your requests. For more information, see [Streams Limits][1] in the
@@ -2335,6 +2422,12 @@ module Aws::Kinesis
2335
2422
  # The number of enhanced fan-out consumers registered with the stream.
2336
2423
  # @return [Integer]
2337
2424
  #
2425
+ # @!attribute [rw] warm_throughput
2426
+ # The warm throughput in MB/s for the stream. This represents the
2427
+ # throughput capacity that will be immediately available for write
2428
+ # operations.
2429
+ # @return [Types::WarmThroughputObject]
2430
+ #
2338
2431
  # @!attribute [rw] max_record_size_in_ki_b
2339
2432
  # The maximum record size of a single record in kibibyte (KiB) that
2340
2433
  # you can write to, and read from a stream.
@@ -2354,6 +2447,7 @@ module Aws::Kinesis
2354
2447
  :key_id,
2355
2448
  :open_shard_count,
2356
2449
  :consumer_count,
2450
+ :warm_throughput,
2357
2451
  :max_record_size_in_ki_b)
2358
2452
  SENSITIVE = []
2359
2453
  include Aws::Structure
@@ -2559,6 +2653,32 @@ module Aws::Kinesis
2559
2653
  include Aws::Structure
2560
2654
  end
2561
2655
 
2656
+ # @!attribute [rw] minimum_throughput_billing_commitment
2657
+ # Specifies the minimum throughput billing commitment configuration
2658
+ # for your account.
2659
+ # @return [Types::MinimumThroughputBillingCommitmentInput]
2660
+ #
2661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateAccountSettingsInput AWS API Documentation
2662
+ #
2663
+ class UpdateAccountSettingsInput < Struct.new(
2664
+ :minimum_throughput_billing_commitment)
2665
+ SENSITIVE = []
2666
+ include Aws::Structure
2667
+ end
2668
+
2669
+ # @!attribute [rw] minimum_throughput_billing_commitment
2670
+ # The updated configuration of the minimum throughput billing
2671
+ # commitment for your account.
2672
+ # @return [Types::MinimumThroughputBillingCommitmentOutput]
2673
+ #
2674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateAccountSettingsOutput AWS API Documentation
2675
+ #
2676
+ class UpdateAccountSettingsOutput < Struct.new(
2677
+ :minimum_throughput_billing_commitment)
2678
+ SENSITIVE = []
2679
+ include Aws::Structure
2680
+ end
2681
+
2562
2682
  # @!attribute [rw] stream_arn
2563
2683
  # The Amazon Resource Name (ARN) of the stream for the `MaxRecordSize`
2564
2684
  # update.
@@ -2659,11 +2779,66 @@ module Aws::Kinesis
2659
2779
  # for your data streams.
2660
2780
  # @return [Types::StreamModeDetails]
2661
2781
  #
2782
+ # @!attribute [rw] warm_throughput_mi_bps
2783
+ # The target warm throughput in MB/s that the stream should be scaled
2784
+ # to handle. This represents the throughput capacity that will be
2785
+ # immediately available for write operations. This field is only valid
2786
+ # when the stream mode is being updated to on-demand.
2787
+ # @return [Integer]
2788
+ #
2662
2789
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateStreamModeInput AWS API Documentation
2663
2790
  #
2664
2791
  class UpdateStreamModeInput < Struct.new(
2665
2792
  :stream_arn,
2666
- :stream_mode_details)
2793
+ :stream_mode_details,
2794
+ :warm_throughput_mi_bps)
2795
+ SENSITIVE = []
2796
+ include Aws::Structure
2797
+ end
2798
+
2799
+ # @!attribute [rw] stream_arn
2800
+ # The ARN of the stream to be updated.
2801
+ # @return [String]
2802
+ #
2803
+ # @!attribute [rw] stream_name
2804
+ # The name of the stream to be updated.
2805
+ # @return [String]
2806
+ #
2807
+ # @!attribute [rw] warm_throughput_mi_bps
2808
+ # The target warm throughput in MB/s that the stream should be scaled
2809
+ # to handle. This represents the throughput capacity that will be
2810
+ # immediately available for write operations.
2811
+ # @return [Integer]
2812
+ #
2813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateStreamWarmThroughputInput AWS API Documentation
2814
+ #
2815
+ class UpdateStreamWarmThroughputInput < Struct.new(
2816
+ :stream_arn,
2817
+ :stream_name,
2818
+ :warm_throughput_mi_bps)
2819
+ SENSITIVE = []
2820
+ include Aws::Structure
2821
+ end
2822
+
2823
+ # @!attribute [rw] stream_arn
2824
+ # The ARN of the stream that was updated.
2825
+ # @return [String]
2826
+ #
2827
+ # @!attribute [rw] stream_name
2828
+ # The name of the stream that was updated.
2829
+ # @return [String]
2830
+ #
2831
+ # @!attribute [rw] warm_throughput
2832
+ # Specifies the updated warm throughput configuration for your data
2833
+ # stream.
2834
+ # @return [Types::WarmThroughputObject]
2835
+ #
2836
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateStreamWarmThroughputOutput AWS API Documentation
2837
+ #
2838
+ class UpdateStreamWarmThroughputOutput < Struct.new(
2839
+ :stream_arn,
2840
+ :stream_name,
2841
+ :warm_throughput)
2667
2842
  SENSITIVE = []
2668
2843
  include Aws::Structure
2669
2844
  end
@@ -2683,6 +2858,29 @@ module Aws::Kinesis
2683
2858
  include Aws::Structure
2684
2859
  end
2685
2860
 
2861
+ # Represents the warm throughput configuration on the stream. This is
2862
+ # only present for On-Demand Kinesis Data Streams in accounts that have
2863
+ # `MinimumThroughputBillingCommitment` enabled.
2864
+ #
2865
+ # @!attribute [rw] target_mi_bps
2866
+ # The target warm throughput value on the stream. This indicates that
2867
+ # the stream is currently scaling towards this target value.
2868
+ # @return [Integer]
2869
+ #
2870
+ # @!attribute [rw] current_mi_bps
2871
+ # The current warm throughput value on the stream. This is the write
2872
+ # throughput in MiBps that the stream is currently scaled to handle.
2873
+ # @return [Integer]
2874
+ #
2875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/WarmThroughputObject AWS API Documentation
2876
+ #
2877
+ class WarmThroughputObject < Struct.new(
2878
+ :target_mi_bps,
2879
+ :current_mi_bps)
2880
+ SENSITIVE = []
2881
+ include Aws::Structure
2882
+ end
2883
+
2686
2884
  # This is a tagged union for all of the types of events an enhanced
2687
2885
  # fan-out consumer can receive over HTTP/2 after a call to
2688
2886
  # SubscribeToShard.
@@ -57,7 +57,7 @@ module Aws::Kinesis
57
57
  autoload :AsyncClient, 'aws-sdk-kinesis/async_client'
58
58
  autoload :EventStreams, 'aws-sdk-kinesis/event_streams'
59
59
 
60
- GEM_VERSION = '1.90.0'
60
+ GEM_VERSION = '1.91.0'
61
61
 
62
62
  end
63
63
 
data/sig/client.rbs CHANGED
@@ -98,6 +98,7 @@ module Aws
98
98
  stream_mode: ("PROVISIONED" | "ON_DEMAND")
99
99
  },
100
100
  ?tags: Hash[::String, ::String],
101
+ ?warm_throughput_mi_bps: ::Integer,
101
102
  ?max_record_size_in_ki_b: ::Integer
102
103
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
103
104
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -132,6 +133,15 @@ module Aws
132
133
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
133
134
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
134
135
 
136
+ interface _DescribeAccountSettingsResponseSuccess
137
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountSettingsOutput]
138
+ def minimum_throughput_billing_commitment: () -> Types::MinimumThroughputBillingCommitmentOutput
139
+ end
140
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#describe_account_settings-instance_method
141
+ def describe_account_settings: (
142
+ ) -> _DescribeAccountSettingsResponseSuccess
143
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountSettingsResponseSuccess
144
+
135
145
  interface _DescribeLimitsResponseSuccess
136
146
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLimitsOutput]
137
147
  def shard_limit: () -> ::Integer
@@ -446,6 +456,18 @@ module Aws
446
456
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
447
457
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
448
458
 
459
+ interface _UpdateAccountSettingsResponseSuccess
460
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountSettingsOutput]
461
+ def minimum_throughput_billing_commitment: () -> Types::MinimumThroughputBillingCommitmentOutput
462
+ end
463
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#update_account_settings-instance_method
464
+ def update_account_settings: (
465
+ minimum_throughput_billing_commitment: {
466
+ status: ("ENABLED" | "DISABLED")
467
+ }
468
+ ) -> _UpdateAccountSettingsResponseSuccess
469
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountSettingsResponseSuccess
470
+
449
471
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#update_max_record_size-instance_method
450
472
  def update_max_record_size: (
451
473
  ?stream_arn: ::String,
@@ -474,10 +496,25 @@ module Aws
474
496
  stream_arn: ::String,
475
497
  stream_mode_details: {
476
498
  stream_mode: ("PROVISIONED" | "ON_DEMAND")
477
- }
499
+ },
500
+ ?warm_throughput_mi_bps: ::Integer
478
501
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
479
502
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
480
503
 
504
+ interface _UpdateStreamWarmThroughputResponseSuccess
505
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStreamWarmThroughputOutput]
506
+ def stream_arn: () -> ::String
507
+ def stream_name: () -> ::String
508
+ def warm_throughput: () -> Types::WarmThroughputObject
509
+ end
510
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#update_stream_warm_throughput-instance_method
511
+ def update_stream_warm_throughput: (
512
+ ?stream_arn: ::String,
513
+ ?stream_name: ::String,
514
+ warm_throughput_mi_bps: ::Integer
515
+ ) -> _UpdateStreamWarmThroughputResponseSuccess
516
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStreamWarmThroughputResponseSuccess
517
+
481
518
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#wait_until-instance_method
482
519
  def wait_until: (:stream_exists waiter_name,
483
520
  ?stream_name: ::String,
data/sig/types.rbs CHANGED
@@ -49,6 +49,7 @@ module Aws::Kinesis
49
49
  attr_accessor shard_count: ::Integer
50
50
  attr_accessor stream_mode_details: Types::StreamModeDetails
51
51
  attr_accessor tags: ::Hash[::String, ::String]
52
+ attr_accessor warm_throughput_mi_bps: ::Integer
52
53
  attr_accessor max_record_size_in_ki_b: ::Integer
53
54
  SENSITIVE: []
54
55
  end
@@ -79,6 +80,14 @@ module Aws::Kinesis
79
80
  SENSITIVE: []
80
81
  end
81
82
 
83
+ class DescribeAccountSettingsInput < Aws::EmptyStructure
84
+ end
85
+
86
+ class DescribeAccountSettingsOutput
87
+ attr_accessor minimum_throughput_billing_commitment: Types::MinimumThroughputBillingCommitmentOutput
88
+ SENSITIVE: []
89
+ end
90
+
82
91
  class DescribeLimitsInput < Aws::EmptyStructure
83
92
  end
84
93
 
@@ -346,6 +355,19 @@ module Aws::Kinesis
346
355
  SENSITIVE: []
347
356
  end
348
357
 
358
+ class MinimumThroughputBillingCommitmentInput
359
+ attr_accessor status: ("ENABLED" | "DISABLED")
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class MinimumThroughputBillingCommitmentOutput
364
+ attr_accessor status: ("ENABLED" | "DISABLED" | "ENABLED_UNTIL_EARLIEST_ALLOWED_END")
365
+ attr_accessor started_at: ::Time
366
+ attr_accessor ended_at: ::Time
367
+ attr_accessor earliest_allowed_end_at: ::Time
368
+ SENSITIVE: []
369
+ end
370
+
349
371
  class ProvisionedThroughputExceededException
350
372
  attr_accessor message: ::String
351
373
  SENSITIVE: []
@@ -523,6 +545,7 @@ module Aws::Kinesis
523
545
  attr_accessor key_id: ::String
524
546
  attr_accessor open_shard_count: ::Integer
525
547
  attr_accessor consumer_count: ::Integer
548
+ attr_accessor warm_throughput: Types::WarmThroughputObject
526
549
  attr_accessor max_record_size_in_ki_b: ::Integer
527
550
  SENSITIVE: []
528
551
  end
@@ -580,6 +603,16 @@ module Aws::Kinesis
580
603
  SENSITIVE: []
581
604
  end
582
605
 
606
+ class UpdateAccountSettingsInput
607
+ attr_accessor minimum_throughput_billing_commitment: Types::MinimumThroughputBillingCommitmentInput
608
+ SENSITIVE: []
609
+ end
610
+
611
+ class UpdateAccountSettingsOutput
612
+ attr_accessor minimum_throughput_billing_commitment: Types::MinimumThroughputBillingCommitmentOutput
613
+ SENSITIVE: []
614
+ end
615
+
583
616
  class UpdateMaxRecordSizeInput
584
617
  attr_accessor stream_arn: ::String
585
618
  attr_accessor max_record_size_in_ki_b: ::Integer
@@ -605,6 +638,21 @@ module Aws::Kinesis
605
638
  class UpdateStreamModeInput
606
639
  attr_accessor stream_arn: ::String
607
640
  attr_accessor stream_mode_details: Types::StreamModeDetails
641
+ attr_accessor warm_throughput_mi_bps: ::Integer
642
+ SENSITIVE: []
643
+ end
644
+
645
+ class UpdateStreamWarmThroughputInput
646
+ attr_accessor stream_arn: ::String
647
+ attr_accessor stream_name: ::String
648
+ attr_accessor warm_throughput_mi_bps: ::Integer
649
+ SENSITIVE: []
650
+ end
651
+
652
+ class UpdateStreamWarmThroughputOutput
653
+ attr_accessor stream_arn: ::String
654
+ attr_accessor stream_name: ::String
655
+ attr_accessor warm_throughput: Types::WarmThroughputObject
608
656
  SENSITIVE: []
609
657
  end
610
658
 
@@ -613,6 +661,12 @@ module Aws::Kinesis
613
661
  SENSITIVE: []
614
662
  end
615
663
 
664
+ class WarmThroughputObject
665
+ attr_accessor target_mi_bps: ::Integer
666
+ attr_accessor current_mi_bps: ::Integer
667
+ SENSITIVE: []
668
+ end
669
+
616
670
  class SubscribeToShardEventStream < Enumerator[untyped, untyped]
617
671
  def event_types: () -> [:subscribe_to_shard_event, :resource_not_found_exception, :resource_in_use_exception, :kms_disabled_exception, :kms_invalid_state_exception, :kms_access_denied_exception, :kms_not_found_exception, :kms_opt_in_required, :kms_throttling_exception, :internal_failure_exception]
618
672
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kinesis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.90.0
4
+ version: 1.91.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services