aws-sdk-kinesis 1.87.0 → 1.89.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: c637513286d305100c6bbbbecd9f494c33b33abe881d1182e3696ab63e70cf40
4
- data.tar.gz: dd0e3944b13c014afa64c7ffb7340b20272c34e038a30fd55afbe96d9e2fedab
3
+ metadata.gz: 23065c6c22fcefb2407c125f4cc7fe0528c9704fd9f41551857161b988ebf460
4
+ data.tar.gz: 28448df4fd9e94a626104f292b759fc17e7f390c14d7b8d56d1750bab4b891ad
5
5
  SHA512:
6
- metadata.gz: e7479ad9ad9fff8c7409157b2dd3b55da1443a8697896ec4cbf2c8c89b1d8cc51c1925a62a055585116196a939df4384c071a108bc3c9f2330a71c8e5de27688
7
- data.tar.gz: c43f3162e74105d47844906faca03a92ab6f2f26c396012f66549a5174d965cd91a14770b4c1ba4d81d22bee35f4f2fa926dac12fd6d990290002dfc82c6c0c4
6
+ metadata.gz: b33cf9ce3de2a2221092afd1987911267b6380710d76eb65540e34c7b1f635fae0a845d33b6cccfa465e0d0210545ac8a7ecb01518238cf2523b707a67a7bda7
7
+ data.tar.gz: 714523030befffbdcedb7e166c21780c59e3ac98f71a86d67b970a65cd46c7248939b72ff3adae33761de656ff895df07a23c2633b8cd3e4d9edbb9652a716dc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2025-10-27)
5
+ ------------------
6
+
7
+ * Feature - Adds support for record sizes up to 10MiB and introduces new UpdateMaxRecordSize API to modify stream record size limits. Adds record size parameters to existing CreateStream and DescribeStreamSummary APIs for request and response payloads respectively.
8
+
9
+ 1.88.0 (2025-10-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.87.0 (2025-08-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.87.0
1
+ 1.89.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.87.0'
748
+ context[:gem_version] = '1.89.0'
749
749
  Seahorse::Client::Request.new(handlers, context)
750
750
  end
751
751
 
@@ -627,6 +627,10 @@ module Aws::Kinesis
627
627
  # A set of up to 50 key-value pairs to use to create the tags. A tag
628
628
  # consists of a required key and an optional value.
629
629
  #
630
+ # @option params [Integer] :max_record_size_in_ki_b
631
+ # The maximum record size of a single record in kibibyte (KiB) that you
632
+ # can write to, and read from a stream.
633
+ #
630
634
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
631
635
  #
632
636
  # @example Request syntax with placeholder values
@@ -640,6 +644,7 @@ module Aws::Kinesis
640
644
  # tags: {
641
645
  # "TagKey" => "TagValue",
642
646
  # },
647
+ # max_record_size_in_ki_b: 1,
643
648
  # })
644
649
  #
645
650
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream AWS API Documentation
@@ -1082,6 +1087,7 @@ module Aws::Kinesis
1082
1087
  # resp.stream_description_summary.key_id #=> String
1083
1088
  # resp.stream_description_summary.open_shard_count #=> Integer
1084
1089
  # resp.stream_description_summary.consumer_count #=> Integer
1090
+ # resp.stream_description_summary.max_record_size_in_ki_b #=> Integer
1085
1091
  #
1086
1092
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummary AWS API Documentation
1087
1093
  #
@@ -2088,7 +2094,7 @@ module Aws::Kinesis
2088
2094
  # `PutRecord` to send data into the stream for real-time ingestion and
2089
2095
  # subsequent processing, one record at a time. Each shard can support
2090
2096
  # writes up to 1,000 records per second, up to a maximum data write
2091
- # total of 1 MiB per second.
2097
+ # total of 10 MiB per second.
2092
2098
  #
2093
2099
  # <note markdown="1"> When invoking this API, you must use either the `StreamARN` or the
2094
2100
  # `StreamName` parameter, or both. It is recommended that you use the
@@ -2222,10 +2228,10 @@ module Aws::Kinesis
2222
2228
  # </note>
2223
2229
  #
2224
2230
  # Each `PutRecords` request can support up to 500 records. Each record
2225
- # in the request can be as large as 1 MiB, up to a limit of 5 MiB for
2231
+ # in the request can be as large as 10 MiB, up to a limit of 10 MiB for
2226
2232
  # the entire request, including partition keys. Each shard can support
2227
2233
  # writes up to 1,000 records per second, up to a maximum data write
2228
- # total of 1 MiB per second.
2234
+ # total of 1 MB per second.
2229
2235
  #
2230
2236
  # You must specify the name of the stream that captures, stores, and
2231
2237
  # transports the data; and an array of request `Records`, with each
@@ -2844,6 +2850,38 @@ module Aws::Kinesis
2844
2850
  req.send_request(options)
2845
2851
  end
2846
2852
 
2853
+ # This allows you to update the `MaxRecordSize` of a single record that
2854
+ # you can write to, and read from a stream. You can ingest and digest
2855
+ # single records up to 10240 KiB.
2856
+ #
2857
+ # @option params [String] :stream_arn
2858
+ # The Amazon Resource Name (ARN) of the stream for the `MaxRecordSize`
2859
+ # update.
2860
+ #
2861
+ # @option params [required, Integer] :max_record_size_in_ki_b
2862
+ # The maximum record size of a single record in KiB that you can write
2863
+ # to, and read from a stream. Specify a value between 1024 and 10240 KiB
2864
+ # (1 to 10 MiB). If you specify a value that is out of this range,
2865
+ # `UpdateMaxRecordSize` sends back an `ValidationException` message.
2866
+ #
2867
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2868
+ #
2869
+ # @example Request syntax with placeholder values
2870
+ #
2871
+ # resp = client.update_max_record_size({
2872
+ # stream_arn: "StreamARN",
2873
+ # max_record_size_in_ki_b: 1, # required
2874
+ # })
2875
+ #
2876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateMaxRecordSize AWS API Documentation
2877
+ #
2878
+ # @overload update_max_record_size(params = {})
2879
+ # @param [Hash] params ({})
2880
+ def update_max_record_size(params = {}, options = {})
2881
+ req = build_request(:update_max_record_size, params)
2882
+ req.send_request(options)
2883
+ end
2884
+
2847
2885
  # Updates the shard count of the specified stream to the specified
2848
2886
  # number of shards. This API is only supported for the data streams with
2849
2887
  # the provisioned capacity mode.
@@ -3011,7 +3049,7 @@ module Aws::Kinesis
3011
3049
  tracer: tracer
3012
3050
  )
3013
3051
  context[:gem_name] = 'aws-sdk-kinesis'
3014
- context[:gem_version] = '1.87.0'
3052
+ context[:gem_version] = '1.89.0'
3015
3053
  Seahorse::Client::Request.new(handlers, context)
3016
3054
  end
3017
3055
 
@@ -85,6 +85,7 @@ module Aws::Kinesis
85
85
  ListTagsForStreamInput = Shapes::StructureShape.new(name: 'ListTagsForStreamInput')
86
86
  ListTagsForStreamInputLimit = Shapes::IntegerShape.new(name: 'ListTagsForStreamInputLimit')
87
87
  ListTagsForStreamOutput = Shapes::StructureShape.new(name: 'ListTagsForStreamOutput')
88
+ MaxRecordSizeInKiB = Shapes::IntegerShape.new(name: 'MaxRecordSizeInKiB')
88
89
  MergeShardsInput = Shapes::StructureShape.new(name: 'MergeShardsInput')
89
90
  MetricsName = Shapes::StringShape.new(name: 'MetricsName')
90
91
  MetricsNameList = Shapes::ListShape.new(name: 'MetricsNameList')
@@ -153,6 +154,7 @@ module Aws::Kinesis
153
154
  TagValue = Shapes::StringShape.new(name: 'TagValue')
154
155
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
155
156
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
157
+ UpdateMaxRecordSizeInput = Shapes::StructureShape.new(name: 'UpdateMaxRecordSizeInput')
156
158
  UpdateShardCountInput = Shapes::StructureShape.new(name: 'UpdateShardCountInput')
157
159
  UpdateShardCountOutput = Shapes::StructureShape.new(name: 'UpdateShardCountOutput')
158
160
  UpdateStreamModeInput = Shapes::StructureShape.new(name: 'UpdateStreamModeInput')
@@ -192,6 +194,7 @@ module Aws::Kinesis
192
194
  CreateStreamInput.add_member(:shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "ShardCount"))
193
195
  CreateStreamInput.add_member(:stream_mode_details, Shapes::ShapeRef.new(shape: StreamModeDetails, location_name: "StreamModeDetails"))
194
196
  CreateStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
197
+ CreateStreamInput.add_member(:max_record_size_in_ki_b, Shapes::ShapeRef.new(shape: MaxRecordSizeInKiB, location_name: "MaxRecordSizeInKiB"))
195
198
  CreateStreamInput.struct_class = Types::CreateStreamInput
196
199
 
197
200
  DecreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
@@ -533,6 +536,7 @@ module Aws::Kinesis
533
536
  StreamDescriptionSummary.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, location_name: "KeyId"))
534
537
  StreamDescriptionSummary.add_member(:open_shard_count, Shapes::ShapeRef.new(shape: ShardCountObject, required: true, location_name: "OpenShardCount"))
535
538
  StreamDescriptionSummary.add_member(:consumer_count, Shapes::ShapeRef.new(shape: ConsumerCountObject, location_name: "ConsumerCount"))
539
+ StreamDescriptionSummary.add_member(:max_record_size_in_ki_b, Shapes::ShapeRef.new(shape: MaxRecordSizeInKiB, location_name: "MaxRecordSizeInKiB"))
536
540
  StreamDescriptionSummary.struct_class = Types::StreamDescriptionSummary
537
541
 
538
542
  StreamModeDetails.add_member(:stream_mode, Shapes::ShapeRef.new(shape: StreamMode, required: true, location_name: "StreamMode"))
@@ -594,6 +598,10 @@ module Aws::Kinesis
594
598
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN", metadata: {"contextParam" => {"name" => "ResourceARN"}}))
595
599
  UntagResourceInput.struct_class = Types::UntagResourceInput
596
600
 
601
+ UpdateMaxRecordSizeInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam" => {"name" => "StreamARN"}}))
602
+ UpdateMaxRecordSizeInput.add_member(:max_record_size_in_ki_b, Shapes::ShapeRef.new(shape: MaxRecordSizeInKiB, required: true, location_name: "MaxRecordSizeInKiB"))
603
+ UpdateMaxRecordSizeInput.struct_class = Types::UpdateMaxRecordSizeInput
604
+
597
605
  UpdateShardCountInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
598
606
  UpdateShardCountInput.add_member(:target_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "TargetShardCount"))
599
607
  UpdateShardCountInput.add_member(:scaling_type, Shapes::ShapeRef.new(shape: ScalingType, required: true, location_name: "ScalingType"))
@@ -1097,6 +1105,20 @@ module Aws::Kinesis
1097
1105
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1098
1106
  end)
1099
1107
 
1108
+ api.add_operation(:update_max_record_size, Seahorse::Model::Operation.new.tap do |o|
1109
+ o.name = "UpdateMaxRecordSize"
1110
+ o.http_method = "POST"
1111
+ o.http_request_uri = "/"
1112
+ o.input = Shapes::ShapeRef.new(shape: UpdateMaxRecordSizeInput)
1113
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1114
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1115
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1116
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1118
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1119
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1120
+ end)
1121
+
1100
1122
  api.add_operation(:update_shard_count, Seahorse::Model::Operation.new.tap do |o|
1101
1123
  o.name = "UpdateShardCount"
1102
1124
  o.http_method = "POST"
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
- # WARNING ABOUT GENERATED CODE
3
- #
4
- # This file is generated. See the contributing for info on making contributions:
5
- # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
6
- #
7
- # WARNING ABOUT GENERATED CODE
8
-
@@ -314,6 +314,16 @@ module Aws::Kinesis
314
314
  end
315
315
  end
316
316
 
317
+ class UpdateMaxRecordSize
318
+ def self.build(context)
319
+ Aws::Kinesis::EndpointParameters.create(
320
+ context.config,
321
+ stream_arn: context.params[:stream_arn],
322
+ operation_type: "control",
323
+ )
324
+ end
325
+ end
326
+
317
327
  class UpdateShardCount
318
328
  def self.build(context)
319
329
  Aws::Kinesis::EndpointParameters.create(
@@ -397,6 +407,8 @@ module Aws::Kinesis
397
407
  TagResource.build(context)
398
408
  when :untag_resource
399
409
  UntagResource.build(context)
410
+ when :update_max_record_size
411
+ UpdateMaxRecordSize.build(context)
400
412
  when :update_shard_count
401
413
  UpdateShardCount.build(context)
402
414
  when :update_stream_mode
@@ -184,13 +184,19 @@ 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] max_record_size_in_ki_b
188
+ # The maximum record size of a single record in kibibyte (KiB) that
189
+ # you can write to, and read from a stream.
190
+ # @return [Integer]
191
+ #
187
192
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamInput AWS API Documentation
188
193
  #
189
194
  class CreateStreamInput < Struct.new(
190
195
  :stream_name,
191
196
  :shard_count,
192
197
  :stream_mode_details,
193
- :tags)
198
+ :tags,
199
+ :max_record_size_in_ki_b)
194
200
  SENSITIVE = []
195
201
  include Aws::Structure
196
202
  end
@@ -2329,6 +2335,11 @@ module Aws::Kinesis
2329
2335
  # The number of enhanced fan-out consumers registered with the stream.
2330
2336
  # @return [Integer]
2331
2337
  #
2338
+ # @!attribute [rw] max_record_size_in_ki_b
2339
+ # The maximum record size of a single record in kibibyte (KiB) that
2340
+ # you can write to, and read from a stream.
2341
+ # @return [Integer]
2342
+ #
2332
2343
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StreamDescriptionSummary AWS API Documentation
2333
2344
  #
2334
2345
  class StreamDescriptionSummary < Struct.new(
@@ -2342,7 +2353,8 @@ module Aws::Kinesis
2342
2353
  :encryption_type,
2343
2354
  :key_id,
2344
2355
  :open_shard_count,
2345
- :consumer_count)
2356
+ :consumer_count,
2357
+ :max_record_size_in_ki_b)
2346
2358
  SENSITIVE = []
2347
2359
  include Aws::Structure
2348
2360
  end
@@ -2547,6 +2559,27 @@ module Aws::Kinesis
2547
2559
  include Aws::Structure
2548
2560
  end
2549
2561
 
2562
+ # @!attribute [rw] stream_arn
2563
+ # The Amazon Resource Name (ARN) of the stream for the `MaxRecordSize`
2564
+ # update.
2565
+ # @return [String]
2566
+ #
2567
+ # @!attribute [rw] max_record_size_in_ki_b
2568
+ # The maximum record size of a single record in KiB that you can write
2569
+ # to, and read from a stream. Specify a value between 1024 and 10240
2570
+ # KiB (1 to 10 MiB). If you specify a value that is out of this range,
2571
+ # `UpdateMaxRecordSize` sends back an `ValidationException` message.
2572
+ # @return [Integer]
2573
+ #
2574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateMaxRecordSizeInput AWS API Documentation
2575
+ #
2576
+ class UpdateMaxRecordSizeInput < Struct.new(
2577
+ :stream_arn,
2578
+ :max_record_size_in_ki_b)
2579
+ SENSITIVE = []
2580
+ include Aws::Structure
2581
+ end
2582
+
2550
2583
  # @!attribute [rw] stream_name
2551
2584
  # The name of the stream.
2552
2585
  # @return [String]
@@ -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.87.0'
60
+ GEM_VERSION = '1.89.0'
61
61
 
62
62
  end
63
63
 
data/sig/client.rbs CHANGED
@@ -97,7 +97,8 @@ module Aws
97
97
  ?stream_mode_details: {
98
98
  stream_mode: ("PROVISIONED" | "ON_DEMAND")
99
99
  },
100
- ?tags: Hash[::String, ::String]
100
+ ?tags: Hash[::String, ::String],
101
+ ?max_record_size_in_ki_b: ::Integer
101
102
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
102
103
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
103
104
 
@@ -445,6 +446,13 @@ module Aws
445
446
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
446
447
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
447
448
 
449
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Client.html#update_max_record_size-instance_method
450
+ def update_max_record_size: (
451
+ ?stream_arn: ::String,
452
+ max_record_size_in_ki_b: ::Integer
453
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
454
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
455
+
448
456
  interface _UpdateShardCountResponseSuccess
449
457
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateShardCountOutput]
450
458
  def 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 max_record_size_in_ki_b: ::Integer
52
53
  SENSITIVE: []
53
54
  end
54
55
 
@@ -522,6 +523,7 @@ module Aws::Kinesis
522
523
  attr_accessor key_id: ::String
523
524
  attr_accessor open_shard_count: ::Integer
524
525
  attr_accessor consumer_count: ::Integer
526
+ attr_accessor max_record_size_in_ki_b: ::Integer
525
527
  SENSITIVE: []
526
528
  end
527
529
 
@@ -578,6 +580,12 @@ module Aws::Kinesis
578
580
  SENSITIVE: []
579
581
  end
580
582
 
583
+ class UpdateMaxRecordSizeInput
584
+ attr_accessor stream_arn: ::String
585
+ attr_accessor max_record_size_in_ki_b: ::Integer
586
+ SENSITIVE: []
587
+ end
588
+
581
589
  class UpdateShardCountInput
582
590
  attr_accessor stream_name: ::String
583
591
  attr_accessor target_shard_count: ::Integer
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.87.0
4
+ version: 1.89.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.231.0
21
+ version: 3.234.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.231.0
31
+ version: 3.234.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement