aws-sdk-kinesis 1.67.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a92561b05df89676963fadbe301a516abec730ac13668dd02f36432c6f3a56a
4
- data.tar.gz: 54d535b537d94b74c4a90ec606cb9c964c12728228edd5400549124b73bd9e5e
3
+ metadata.gz: ce31e80de35109da5f2ac1828d421b64498d2a10a8f7017383feb343cc6b5982
4
+ data.tar.gz: 531d02913063dc8684942881b7d192b52a2aa6ae9728f2a67c513ec1a144a003
5
5
  SHA512:
6
- metadata.gz: 340013f1d311627b841395deedbda3c967584ff9faf35dfb998cfe20ab6d9ab5dd51d21820797b391aca70459f7d19896ed67c9cfe9d039c70a5f63f0d7bd1ad
7
- data.tar.gz: 90bb3add0c0d09c3dcc2b80a02091a31f05b8ee5e74cbb48ffc12d90a7764515bbfa64f279e9134ce88b9d6c2f4e3ce385a521b8fa53b17a6688b65456ac2264
6
+ metadata.gz: cf82216e31ee02b05735052e42918a73d100a68e34722ef3bc6213d7d40c2cc5ea2e2a9d8f43d57acb269f8457503c86a7350d98535a33a2c692fea1e7bcbd30
7
+ data.tar.gz: 83750c5db9ce13bd93ed0bfc19e5af3c07f4fb396906f50e8a09117f5cba2671c4259e3409446ed5311d6d2a5a1ee8be12f9497b824bef875165ee49319b8edd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2024-09-24)
5
+ ------------------
6
+
7
+ * Feature - This release includes support to add tags when creating a stream
8
+
9
+ 1.68.0 (2024-09-23)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.67.0 (2024-09-20)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.69.0
@@ -397,9 +397,12 @@ module Aws::Kinesis
397
397
  # subscription and the previous connection expires or fails with a
398
398
  # `ResourceInUseException`.
399
399
  #
400
- # For an example of how to use this operations, see [Enhanced Fan-Out
401
- # Using the Kinesis Data Streams
402
- # API](/streams/latest/dev/building-enhanced-consumers-api.html).
400
+ # For an example of how to use this operation, see [Enhanced Fan-Out
401
+ # Using the Kinesis Data Streams API][1].
402
+ #
403
+ #
404
+ #
405
+ # [1]: https://docs.aws.amazon.com/streams/latest/dev/building-enhanced-consumers-api.html
403
406
  #
404
407
  # @option params [required, String] :consumer_arn
405
408
  # For this parameter, use the value you obtained when you called
@@ -687,7 +690,7 @@ module Aws::Kinesis
687
690
  tracer: tracer
688
691
  )
689
692
  context[:gem_name] = 'aws-sdk-kinesis'
690
- context[:gem_version] = '1.67.0'
693
+ context[:gem_version] = '1.69.0'
691
694
  Seahorse::Client::Request.new(handlers, context)
692
695
  end
693
696
 
@@ -37,8 +37,6 @@ require 'aws-sdk-core/plugins/sign.rb'
37
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
38
38
  require 'aws-sdk-core/plugins/event_stream_configuration.rb'
39
39
 
40
- Aws::Plugins::GlobalConfiguration.add_identifier(:kinesis)
41
-
42
40
  module Aws::Kinesis
43
41
  # An API client for Kinesis. To construct a client, you need to configure a `:region` and `:credentials`.
44
42
  #
@@ -562,6 +560,13 @@ module Aws::Kinesis
562
560
  #
563
561
  # CreateStream has a limit of five transactions per second per account.
564
562
  #
563
+ # You can add tags to the stream when making a `CreateStream` request by
564
+ # setting the `Tags` parameter. If you pass `Tags` parameter, in
565
+ # addition to having `kinesis:createStream` permission, you must also
566
+ # have `kinesis:addTagsToStream` permission for the stream that will be
567
+ # created. Tags will take effect from the `CREATING` status of the
568
+ # stream.
569
+ #
565
570
  #
566
571
  #
567
572
  # [1]: https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html
@@ -585,6 +590,9 @@ module Aws::Kinesis
585
590
  # Data Streams, you can choose between an **on-demand** capacity mode
586
591
  # and a **provisioned** capacity mode for your data streams.
587
592
  #
593
+ # @option params [Hash<String,String>] :tags
594
+ # A set of up to 10 key-value pairs to use to create the tags.
595
+ #
588
596
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
589
597
  #
590
598
  # @example Request syntax with placeholder values
@@ -595,6 +603,9 @@ module Aws::Kinesis
595
603
  # stream_mode_details: {
596
604
  # stream_mode: "PROVISIONED", # required, accepts PROVISIONED, ON_DEMAND
597
605
  # },
606
+ # tags: {
607
+ # "TagKey" => "TagValue",
608
+ # },
598
609
  # })
599
610
  #
600
611
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream AWS API Documentation
@@ -2322,9 +2333,8 @@ module Aws::Kinesis
2322
2333
  # You can register up to 20 consumers per stream. A given consumer can
2323
2334
  # only be registered with one stream at a time.
2324
2335
  #
2325
- # For an example of how to use this operations, see [Enhanced Fan-Out
2326
- # Using the Kinesis Data Streams
2327
- # API](/streams/latest/dev/building-enhanced-consumers-api.html).
2336
+ # For an example of how to use this operation, see [Enhanced Fan-Out
2337
+ # Using the Kinesis Data Streams API][1].
2328
2338
  #
2329
2339
  # The use of this operation has a limit of five transactions per second
2330
2340
  # per account. Also, only 5 consumers can be created simultaneously. In
@@ -2332,6 +2342,10 @@ module Aws::Kinesis
2332
2342
  # status at the same time. Registering a 6th consumer while there are 5
2333
2343
  # in a `CREATING` status results in a `LimitExceededException`.
2334
2344
  #
2345
+ #
2346
+ #
2347
+ # [1]: https://docs.aws.amazon.com/streams/latest/dev/building-enhanced-consumers-api.html
2348
+ #
2335
2349
  # @option params [required, String] :stream_arn
2336
2350
  # The ARN of the Kinesis data stream that you want to register the
2337
2351
  # consumer with. For more info, see [Amazon Resource Names (ARNs) and
@@ -2840,7 +2854,7 @@ module Aws::Kinesis
2840
2854
  tracer: tracer
2841
2855
  )
2842
2856
  context[:gem_name] = 'aws-sdk-kinesis'
2843
- context[:gem_version] = '1.67.0'
2857
+ context[:gem_version] = '1.69.0'
2844
2858
  Seahorse::Client::Request.new(handlers, context)
2845
2859
  end
2846
2860
 
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  module Aws::Kinesis
11
12
  # @api private
12
13
  module ClientApi
@@ -186,6 +187,7 @@ module Aws::Kinesis
186
187
  CreateStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
187
188
  CreateStreamInput.add_member(:shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "ShardCount"))
188
189
  CreateStreamInput.add_member(:stream_mode_details, Shapes::ShapeRef.new(shape: StreamModeDetails, location_name: "StreamModeDetails"))
190
+ CreateStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
189
191
  CreateStreamInput.struct_class = Types::CreateStreamInput
190
192
 
191
193
  DecreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
@@ -794,6 +796,7 @@ module Aws::Kinesis
794
796
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
795
797
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
796
798
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
799
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
797
800
  end)
798
801
 
799
802
  api.add_operation(:get_shard_iterator, Seahorse::Model::Operation.new.tap do |o|
@@ -177,12 +177,17 @@ module Aws::Kinesis
177
177
  # streams.
178
178
  # @return [Types::StreamModeDetails]
179
179
  #
180
+ # @!attribute [rw] tags
181
+ # A set of up to 10 key-value pairs to use to create the tags.
182
+ # @return [Hash<String,String>]
183
+ #
180
184
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamInput AWS API Documentation
181
185
  #
182
186
  class CreateStreamInput < Struct.new(
183
187
  :stream_name,
184
188
  :shard_count,
185
- :stream_mode_details)
189
+ :stream_mode_details,
190
+ :tags)
186
191
  SENSITIVE = []
187
192
  include Aws::Structure
188
193
  end
@@ -2597,3 +2602,4 @@ module Aws::Kinesis
2597
2602
 
2598
2603
  end
2599
2604
  end
2605
+
@@ -11,19 +11,7 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
- require_relative 'aws-sdk-kinesis/types'
15
- require_relative 'aws-sdk-kinesis/client_api'
16
- require_relative 'aws-sdk-kinesis/plugins/endpoints.rb'
17
- require_relative 'aws-sdk-kinesis/client'
18
- require_relative 'aws-sdk-kinesis/errors'
19
- require_relative 'aws-sdk-kinesis/waiters'
20
- require_relative 'aws-sdk-kinesis/resource'
21
- require_relative 'aws-sdk-kinesis/endpoint_parameters'
22
- require_relative 'aws-sdk-kinesis/endpoint_provider'
23
- require_relative 'aws-sdk-kinesis/endpoints'
24
- require_relative 'aws-sdk-kinesis/customizations'
25
- require_relative 'aws-sdk-kinesis/async_client'
26
- require_relative 'aws-sdk-kinesis/event_streams'
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:kinesis)
27
15
 
28
16
  # This module provides support for Amazon Kinesis. This module is available in the
29
17
  # `aws-sdk-kinesis` gem.
@@ -54,7 +42,23 @@ require_relative 'aws-sdk-kinesis/event_streams'
54
42
  #
55
43
  # @!group service
56
44
  module Aws::Kinesis
45
+ autoload :Types, 'aws-sdk-kinesis/types'
46
+ autoload :ClientApi, 'aws-sdk-kinesis/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-kinesis/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-kinesis/client'
51
+ autoload :Errors, 'aws-sdk-kinesis/errors'
52
+ autoload :Waiters, 'aws-sdk-kinesis/waiters'
53
+ autoload :Resource, 'aws-sdk-kinesis/resource'
54
+ autoload :EndpointParameters, 'aws-sdk-kinesis/endpoint_parameters'
55
+ autoload :EndpointProvider, 'aws-sdk-kinesis/endpoint_provider'
56
+ autoload :Endpoints, 'aws-sdk-kinesis/endpoints'
57
+ autoload :AsyncClient, 'aws-sdk-kinesis/async_client'
58
+ autoload :EventStreams, 'aws-sdk-kinesis/event_streams'
57
59
 
58
- GEM_VERSION = '1.67.0'
60
+ GEM_VERSION = '1.69.0'
59
61
 
60
62
  end
63
+
64
+ require_relative 'aws-sdk-kinesis/customizations'
data/sig/client.rbs CHANGED
@@ -93,7 +93,8 @@ module Aws
93
93
  ?shard_count: ::Integer,
94
94
  ?stream_mode_details: {
95
95
  stream_mode: ("PROVISIONED" | "ON_DEMAND")
96
- }
96
+ },
97
+ ?tags: Hash[::String, ::String]
97
98
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
98
99
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
99
100
 
data/sig/types.rbs CHANGED
@@ -48,6 +48,7 @@ module Aws::Kinesis
48
48
  attr_accessor stream_name: ::String
49
49
  attr_accessor shard_count: ::Integer
50
50
  attr_accessor stream_mode_details: Types::StreamModeDetails
51
+ attr_accessor tags: ::Hash[::String, ::String]
51
52
  SENSITIVE: []
52
53
  end
53
54
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kinesis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.67.0
4
+ version: 1.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-20 00:00:00.000000000 Z
11
+ date: 2024-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core