aws-sdk-kafka 1.68.0 → 1.70.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafka/client.rb +74 -46
- data/lib/aws-sdk-kafka/client_api.rb +6 -0
- data/lib/aws-sdk-kafka/types.rb +21 -0
- data/lib/aws-sdk-kafka.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/types.rbs +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 199c2cfe3a6c99ae8dced1dc70cceb3c1218d2a699f911271ad022e5a8a1c7a7
|
4
|
+
data.tar.gz: af607ffb6658a7e2c42ab866e08d518e04fba6526e7757ef5d742f4cb439aebb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b64d65424c12644bdef49c2b655d20d4a6037a6d9669189d051ecc1dce4a1c67bc4cc0dac0f1732639f2e338d3e5090acd54fd34988e24b23e0955fdbfc33940
|
7
|
+
data.tar.gz: 3664b8d48690eb5d6798d7f5fcaf1ef8534424b48bfdb47b6af7cb93a515b22849717ce5795ba0b1c4a665d21c36dd242332db4d32aa3ab8d4a7c75e995e9b93
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.70.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.69.0 (2024-03-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added support for specifying the starting position of topic replication in MSK-Replicator.
|
13
|
+
|
4
14
|
1.68.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::Kafka
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::Kafka
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::Kafka
|
|
337
346
|
# @option options [Aws::Kafka::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Kafka::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
368
399
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
372
402
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
378
405
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -862,6 +886,9 @@ module Aws::Kafka
|
|
862
886
|
# copy_access_control_lists_for_topics: false,
|
863
887
|
# copy_topic_configurations: false,
|
864
888
|
# detect_and_copy_new_topics: false,
|
889
|
+
# starting_position: {
|
890
|
+
# type: "LATEST", # accepts LATEST, EARLIEST
|
891
|
+
# },
|
865
892
|
# topics_to_exclude: ["__stringMax249"],
|
866
893
|
# topics_to_replicate: ["__stringMax249"], # required
|
867
894
|
# },
|
@@ -1604,6 +1631,7 @@ module Aws::Kafka
|
|
1604
1631
|
# resp.replication_info_list[0].topic_replication.copy_access_control_lists_for_topics #=> Boolean
|
1605
1632
|
# resp.replication_info_list[0].topic_replication.copy_topic_configurations #=> Boolean
|
1606
1633
|
# resp.replication_info_list[0].topic_replication.detect_and_copy_new_topics #=> Boolean
|
1634
|
+
# resp.replication_info_list[0].topic_replication.starting_position.type #=> String, one of "LATEST", "EARLIEST"
|
1607
1635
|
# resp.replication_info_list[0].topic_replication.topics_to_exclude #=> Array
|
1608
1636
|
# resp.replication_info_list[0].topic_replication.topics_to_exclude[0] #=> String
|
1609
1637
|
# resp.replication_info_list[0].topic_replication.topics_to_replicate #=> Array
|
@@ -3296,7 +3324,7 @@ module Aws::Kafka
|
|
3296
3324
|
params: params,
|
3297
3325
|
config: config)
|
3298
3326
|
context[:gem_name] = 'aws-sdk-kafka'
|
3299
|
-
context[:gem_version] = '1.
|
3327
|
+
context[:gem_version] = '1.70.0'
|
3300
3328
|
Seahorse::Client::Request.new(handlers, context)
|
3301
3329
|
end
|
3302
3330
|
|
@@ -162,6 +162,8 @@ module Aws::Kafka
|
|
162
162
|
ReplicationInfo = Shapes::StructureShape.new(name: 'ReplicationInfo')
|
163
163
|
ReplicationInfoDescription = Shapes::StructureShape.new(name: 'ReplicationInfoDescription')
|
164
164
|
ReplicationInfoSummary = Shapes::StructureShape.new(name: 'ReplicationInfoSummary')
|
165
|
+
ReplicationStartingPosition = Shapes::StructureShape.new(name: 'ReplicationStartingPosition')
|
166
|
+
ReplicationStartingPositionType = Shapes::StringShape.new(name: 'ReplicationStartingPositionType')
|
165
167
|
ReplicationStateInfo = Shapes::StructureShape.new(name: 'ReplicationStateInfo')
|
166
168
|
ReplicatorState = Shapes::StringShape.new(name: 'ReplicatorState')
|
167
169
|
ReplicatorSummary = Shapes::StructureShape.new(name: 'ReplicatorSummary')
|
@@ -980,6 +982,9 @@ module Aws::Kafka
|
|
980
982
|
ReplicationInfoSummary.add_member(:target_kafka_cluster_alias, Shapes::ShapeRef.new(shape: __string, location_name: "targetKafkaClusterAlias"))
|
981
983
|
ReplicationInfoSummary.struct_class = Types::ReplicationInfoSummary
|
982
984
|
|
985
|
+
ReplicationStartingPosition.add_member(:type, Shapes::ShapeRef.new(shape: ReplicationStartingPositionType, location_name: "type"))
|
986
|
+
ReplicationStartingPosition.struct_class = Types::ReplicationStartingPosition
|
987
|
+
|
983
988
|
ReplicationStateInfo.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
984
989
|
ReplicationStateInfo.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
985
990
|
ReplicationStateInfo.struct_class = Types::ReplicationStateInfo
|
@@ -1047,6 +1052,7 @@ module Aws::Kafka
|
|
1047
1052
|
TopicReplication.add_member(:copy_access_control_lists_for_topics, Shapes::ShapeRef.new(shape: __boolean, location_name: "copyAccessControlListsForTopics"))
|
1048
1053
|
TopicReplication.add_member(:copy_topic_configurations, Shapes::ShapeRef.new(shape: __boolean, location_name: "copyTopicConfigurations"))
|
1049
1054
|
TopicReplication.add_member(:detect_and_copy_new_topics, Shapes::ShapeRef.new(shape: __boolean, location_name: "detectAndCopyNewTopics"))
|
1055
|
+
TopicReplication.add_member(:starting_position, Shapes::ShapeRef.new(shape: ReplicationStartingPosition, location_name: "startingPosition"))
|
1050
1056
|
TopicReplication.add_member(:topics_to_exclude, Shapes::ShapeRef.new(shape: __listOf__stringMax249, location_name: "topicsToExclude"))
|
1051
1057
|
TopicReplication.add_member(:topics_to_replicate, Shapes::ShapeRef.new(shape: __listOf__stringMax249, required: true, location_name: "topicsToReplicate"))
|
1052
1058
|
TopicReplication.struct_class = Types::TopicReplication
|
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -3439,6 +3439,21 @@ module Aws::Kafka
|
|
3439
3439
|
include Aws::Structure
|
3440
3440
|
end
|
3441
3441
|
|
3442
|
+
# Configuration for specifying the position in the topics to start
|
3443
|
+
# replicating from.
|
3444
|
+
#
|
3445
|
+
# @!attribute [rw] type
|
3446
|
+
# The type of replication starting position.
|
3447
|
+
# @return [String]
|
3448
|
+
#
|
3449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ReplicationStartingPosition AWS API Documentation
|
3450
|
+
#
|
3451
|
+
class ReplicationStartingPosition < Struct.new(
|
3452
|
+
:type)
|
3453
|
+
SENSITIVE = []
|
3454
|
+
include Aws::Structure
|
3455
|
+
end
|
3456
|
+
|
3442
3457
|
# Details about the state of a replicator
|
3443
3458
|
#
|
3444
3459
|
# @!attribute [rw] code
|
@@ -3678,6 +3693,11 @@ module Aws::Kafka
|
|
3678
3693
|
# Whether to periodically check for new topics and partitions.
|
3679
3694
|
# @return [Boolean]
|
3680
3695
|
#
|
3696
|
+
# @!attribute [rw] starting_position
|
3697
|
+
# Configuration for specifying the position in the topics to start
|
3698
|
+
# replicating from.
|
3699
|
+
# @return [Types::ReplicationStartingPosition]
|
3700
|
+
#
|
3681
3701
|
# @!attribute [rw] topics_to_exclude
|
3682
3702
|
# List of regular expression patterns indicating the topics that
|
3683
3703
|
# should not be replicated.
|
@@ -3693,6 +3713,7 @@ module Aws::Kafka
|
|
3693
3713
|
:copy_access_control_lists_for_topics,
|
3694
3714
|
:copy_topic_configurations,
|
3695
3715
|
:detect_and_copy_new_topics,
|
3716
|
+
:starting_position,
|
3696
3717
|
:topics_to_exclude,
|
3697
3718
|
:topics_to_replicate)
|
3698
3719
|
SENSITIVE = []
|
data/lib/aws-sdk-kafka.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -374,6 +374,9 @@ module Aws
|
|
374
374
|
copy_access_control_lists_for_topics: bool?,
|
375
375
|
copy_topic_configurations: bool?,
|
376
376
|
detect_and_copy_new_topics: bool?,
|
377
|
+
starting_position: {
|
378
|
+
type: ("LATEST" | "EARLIEST")?
|
379
|
+
}?,
|
377
380
|
topics_to_exclude: Array[::String]?,
|
378
381
|
topics_to_replicate: Array[::String]
|
379
382
|
}
|
data/sig/types.rbs
CHANGED
@@ -972,6 +972,11 @@ module Aws::Kafka
|
|
972
972
|
SENSITIVE: []
|
973
973
|
end
|
974
974
|
|
975
|
+
class ReplicationStartingPosition
|
976
|
+
attr_accessor type: ("LATEST" | "EARLIEST")
|
977
|
+
SENSITIVE: []
|
978
|
+
end
|
979
|
+
|
975
980
|
class ReplicationStateInfo
|
976
981
|
attr_accessor code: ::String
|
977
982
|
attr_accessor message: ::String
|
@@ -1050,6 +1055,7 @@ module Aws::Kafka
|
|
1050
1055
|
attr_accessor copy_access_control_lists_for_topics: bool
|
1051
1056
|
attr_accessor copy_topic_configurations: bool
|
1052
1057
|
attr_accessor detect_and_copy_new_topics: bool
|
1058
|
+
attr_accessor starting_position: Types::ReplicationStartingPosition
|
1053
1059
|
attr_accessor topics_to_exclude: ::Array[::String]
|
1054
1060
|
attr_accessor topics_to_replicate: ::Array[::String]
|
1055
1061
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.70.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-
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|