aws-sdk-kinesis 1.68.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesis/async_client.rb +7 -4
- data/lib/aws-sdk-kinesis/client.rb +20 -6
- data/lib/aws-sdk-kinesis/client_api.rb +2 -0
- data/lib/aws-sdk-kinesis/types.rb +6 -1
- data/lib/aws-sdk-kinesis.rb +3 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce31e80de35109da5f2ac1828d421b64498d2a10a8f7017383feb343cc6b5982
|
4
|
+
data.tar.gz: 531d02913063dc8684942881b7d192b52a2aa6ae9728f2a67c513ec1a144a003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf82216e31ee02b05735052e42918a73d100a68e34722ef3bc6213d7d40c2cc5ea2e2a9d8f43d57acb269f8457503c86a7350d98535a33a2c692fea1e7bcbd30
|
7
|
+
data.tar.gz: 83750c5db9ce13bd93ed0bfc19e5af3c07f4fb396906f50e8a09117f5cba2671c4259e3409446ed5311d6d2a5a1ee8be12f9497b824bef875165ee49319b8edd
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
401
|
-
# Using the Kinesis Data Streams
|
402
|
-
#
|
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.
|
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
|
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.
|
2857
|
+
context[:gem_version] = '1.69.0'
|
2844
2858
|
Seahorse::Client::Request.new(handlers, context)
|
2845
2859
|
end
|
2846
2860
|
|
@@ -187,6 +187,7 @@ module Aws::Kinesis
|
|
187
187
|
CreateStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
|
188
188
|
CreateStreamInput.add_member(:shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "ShardCount"))
|
189
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"))
|
190
191
|
CreateStreamInput.struct_class = Types::CreateStreamInput
|
191
192
|
|
192
193
|
DecreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
@@ -795,6 +796,7 @@ module Aws::Kinesis
|
|
795
796
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
796
797
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
797
798
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
798
800
|
end)
|
799
801
|
|
800
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
|
data/lib/aws-sdk-kinesis.rb
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:kinesis)
|
15
|
+
|
14
16
|
# This module provides support for Amazon Kinesis. This module is available in the
|
15
17
|
# `aws-sdk-kinesis` gem.
|
16
18
|
#
|
@@ -55,7 +57,7 @@ module Aws::Kinesis
|
|
55
57
|
autoload :AsyncClient, 'aws-sdk-kinesis/async_client'
|
56
58
|
autoload :EventStreams, 'aws-sdk-kinesis/event_streams'
|
57
59
|
|
58
|
-
GEM_VERSION = '1.
|
60
|
+
GEM_VERSION = '1.69.0'
|
59
61
|
|
60
62
|
end
|
61
63
|
|
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
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.
|
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-
|
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
|