aws-sdk-kafka 1.77.0 → 1.79.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: 946108781c7e8eaae6e2c686b2280a939f62d99fbf3257ffe0415fb5bb36f0a7
4
- data.tar.gz: f3d1361ed6cdb52def98244ab524d795cb1d3e7b9f847a294a4d9c0c5cd99d5c
3
+ metadata.gz: 715ec35ebf89302d7f40823d55722401f0ac8d0fc96f9ffa11895c47469e73f0
4
+ data.tar.gz: ef9d6177c65dbc4476ec701c5ec2d661cd7bc931fd51e1fbc2fbdb7659cf0d4d
5
5
  SHA512:
6
- metadata.gz: e5baa4ad411163c0f5a2946746ceb0bf8241594dd7174b80b90b9447f60899c226d01da8d1939f55988d6035ca02402f4909afea10851d92d75aade11a480cf6
7
- data.tar.gz: 91f022f5273b1440bef4c94f9baec946ecb455828fe72530f8cf2a05cfb26c35e4a0dc1070477290bc2a309e7e9092d85b4e978fc657c8dcef104ea650e1af7c
6
+ metadata.gz: d80a5ded79f5f6bedd89b6a9157dc08d2c301b6cfc5d5f3709710d8a4c1fcdf79fd949b60787577fbd6235334d46d9eee50f081cec7d4342ea27ff90e1be2bc7
7
+ data.tar.gz: 376a4377c61dc5120c4591609bf6f0ecf124e54fce547e02c8b222fa9085b85fec59f574dd21c3f7f1c5b411a861155f2b803d3c25b42fc7b5e8613934c25d36
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2024-09-09)
5
+ ------------------
6
+
7
+ * Feature - Amazon MSK Replicator can now replicate data to identically named topics between MSK clusters within the same AWS Region or across different AWS Regions.
8
+
9
+ 1.78.0 (2024-09-03)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.77.0 (2024-07-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.79.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::Kafka
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
90
  add_plugin(Aws::Kafka::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::Kafka
330
332
  # ** Please note ** When response stubbing is enabled, no HTTP
331
333
  # requests are made, and retries are disabled.
332
334
  #
335
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
336
+ # Allows you to provide a telemetry provider, which is used to
337
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
338
+ # will not record or emit any telemetry data. The SDK supports the
339
+ # following telemetry providers:
340
+ #
341
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
342
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
343
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
344
+ #
333
345
  # @option options [Aws::TokenProvider] :token_provider
334
346
  # A Bearer Token Provider. This can be an instance of any one of the
335
347
  # following classes:
@@ -902,6 +914,9 @@ module Aws::Kafka
902
914
  # starting_position: {
903
915
  # type: "LATEST", # accepts LATEST, EARLIEST
904
916
  # },
917
+ # topic_name_configuration: {
918
+ # type: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS", # accepts PREFIXED_WITH_SOURCE_CLUSTER_ALIAS, IDENTICAL
919
+ # },
905
920
  # topics_to_exclude: ["__stringMax249"],
906
921
  # topics_to_replicate: ["__stringMax249"], # required
907
922
  # },
@@ -1661,6 +1676,7 @@ module Aws::Kafka
1661
1676
  # resp.replication_info_list[0].topic_replication.copy_topic_configurations #=> Boolean
1662
1677
  # resp.replication_info_list[0].topic_replication.detect_and_copy_new_topics #=> Boolean
1663
1678
  # resp.replication_info_list[0].topic_replication.starting_position.type #=> String, one of "LATEST", "EARLIEST"
1679
+ # resp.replication_info_list[0].topic_replication.topic_name_configuration.type #=> String, one of "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS", "IDENTICAL"
1664
1680
  # resp.replication_info_list[0].topic_replication.topics_to_exclude #=> Array
1665
1681
  # resp.replication_info_list[0].topic_replication.topics_to_exclude[0] #=> String
1666
1682
  # resp.replication_info_list[0].topic_replication.topics_to_replicate #=> Array
@@ -1767,7 +1783,13 @@ module Aws::Kafka
1767
1783
  req.send_request(options)
1768
1784
  end
1769
1785
 
1770
- # A list of brokers that a client application can use to bootstrap.
1786
+ # A list of brokers that a client application can use to bootstrap. This
1787
+ # list doesn't necessarily include all of the brokers in the cluster.
1788
+ # The following Python 3.6 example shows how you can use the Amazon
1789
+ # Resource Name (ARN) of a cluster to get its bootstrap brokers. If you
1790
+ # don't know the ARN of your cluster, you can use the `ListClusters`
1791
+ # operation to get the ARNs of all the clusters in this account and
1792
+ # Region.
1771
1793
  #
1772
1794
  # @option params [required, String] :cluster_arn
1773
1795
  #
@@ -3356,14 +3378,19 @@ module Aws::Kafka
3356
3378
  # @api private
3357
3379
  def build_request(operation_name, params = {})
3358
3380
  handlers = @handlers.for(operation_name)
3381
+ tracer = config.telemetry_provider.tracer_provider.tracer(
3382
+ Aws::Telemetry.module_to_tracer_name('Aws::Kafka')
3383
+ )
3359
3384
  context = Seahorse::Client::RequestContext.new(
3360
3385
  operation_name: operation_name,
3361
3386
  operation: config.api.operation(operation_name),
3362
3387
  client: self,
3363
3388
  params: params,
3364
- config: config)
3389
+ config: config,
3390
+ tracer: tracer
3391
+ )
3365
3392
  context[:gem_name] = 'aws-sdk-kafka'
3366
- context[:gem_version] = '1.77.0'
3393
+ context[:gem_version] = '1.79.0'
3367
3394
  Seahorse::Client::Request.new(handlers, context)
3368
3395
  end
3369
3396
 
@@ -167,6 +167,8 @@ module Aws::Kafka
167
167
  ReplicationStartingPosition = Shapes::StructureShape.new(name: 'ReplicationStartingPosition')
168
168
  ReplicationStartingPositionType = Shapes::StringShape.new(name: 'ReplicationStartingPositionType')
169
169
  ReplicationStateInfo = Shapes::StructureShape.new(name: 'ReplicationStateInfo')
170
+ ReplicationTopicNameConfiguration = Shapes::StructureShape.new(name: 'ReplicationTopicNameConfiguration')
171
+ ReplicationTopicNameConfigurationType = Shapes::StringShape.new(name: 'ReplicationTopicNameConfigurationType')
170
172
  ReplicatorState = Shapes::StringShape.new(name: 'ReplicatorState')
171
173
  ReplicatorSummary = Shapes::StructureShape.new(name: 'ReplicatorSummary')
172
174
  S3 = Shapes::StructureShape.new(name: 'S3')
@@ -1001,6 +1003,9 @@ module Aws::Kafka
1001
1003
  ReplicationStateInfo.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1002
1004
  ReplicationStateInfo.struct_class = Types::ReplicationStateInfo
1003
1005
 
1006
+ ReplicationTopicNameConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: ReplicationTopicNameConfigurationType, location_name: "type"))
1007
+ ReplicationTopicNameConfiguration.struct_class = Types::ReplicationTopicNameConfiguration
1008
+
1004
1009
  ReplicatorSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
1005
1010
  ReplicatorSummary.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
1006
1011
  ReplicatorSummary.add_member(:is_replicator_reference, Shapes::ShapeRef.new(shape: __boolean, location_name: "isReplicatorReference"))
@@ -1065,6 +1070,7 @@ module Aws::Kafka
1065
1070
  TopicReplication.add_member(:copy_topic_configurations, Shapes::ShapeRef.new(shape: __boolean, location_name: "copyTopicConfigurations"))
1066
1071
  TopicReplication.add_member(:detect_and_copy_new_topics, Shapes::ShapeRef.new(shape: __boolean, location_name: "detectAndCopyNewTopics"))
1067
1072
  TopicReplication.add_member(:starting_position, Shapes::ShapeRef.new(shape: ReplicationStartingPosition, location_name: "startingPosition"))
1073
+ TopicReplication.add_member(:topic_name_configuration, Shapes::ShapeRef.new(shape: ReplicationTopicNameConfiguration, location_name: "topicNameConfiguration"))
1068
1074
  TopicReplication.add_member(:topics_to_exclude, Shapes::ShapeRef.new(shape: __listOf__stringMax249, location_name: "topicsToExclude"))
1069
1075
  TopicReplication.add_member(:topics_to_replicate, Shapes::ShapeRef.new(shape: __listOf__stringMax249, required: true, location_name: "topicsToReplicate"))
1070
1076
  TopicReplication.struct_class = Types::TopicReplication
@@ -1318,6 +1324,7 @@ module Aws::Kafka
1318
1324
 
1319
1325
  api.metadata = {
1320
1326
  "apiVersion" => "2018-11-14",
1327
+ "auth" => ["aws.auth#sigv4"],
1321
1328
  "endpointPrefix" => "kafka",
1322
1329
  "jsonVersion" => "1.1",
1323
1330
  "protocol" => "rest-json",
@@ -3483,6 +3483,22 @@ module Aws::Kafka
3483
3483
  include Aws::Structure
3484
3484
  end
3485
3485
 
3486
+ # Configuration for specifying replicated topic names should be the same
3487
+ # as their corresponding upstream topics or prefixed with source cluster
3488
+ # alias.
3489
+ #
3490
+ # @!attribute [rw] type
3491
+ # The type of replicated topic name.
3492
+ # @return [String]
3493
+ #
3494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ReplicationTopicNameConfiguration AWS API Documentation
3495
+ #
3496
+ class ReplicationTopicNameConfiguration < Struct.new(
3497
+ :type)
3498
+ SENSITIVE = []
3499
+ include Aws::Structure
3500
+ end
3501
+
3486
3502
  # Details about the state of a replicator
3487
3503
  #
3488
3504
  # @!attribute [rw] code
@@ -3727,6 +3743,11 @@ module Aws::Kafka
3727
3743
  # replicating from.
3728
3744
  # @return [Types::ReplicationStartingPosition]
3729
3745
  #
3746
+ # @!attribute [rw] topic_name_configuration
3747
+ # Configuration for specifying replicated topic names same as their
3748
+ # corresponding upstream topics or prefixed with source cluster alias.
3749
+ # @return [Types::ReplicationTopicNameConfiguration]
3750
+ #
3730
3751
  # @!attribute [rw] topics_to_exclude
3731
3752
  # List of regular expression patterns indicating the topics that
3732
3753
  # should not be replicated.
@@ -3743,6 +3764,7 @@ module Aws::Kafka
3743
3764
  :copy_topic_configurations,
3744
3765
  :detect_and_copy_new_topics,
3745
3766
  :starting_position,
3767
+ :topic_name_configuration,
3746
3768
  :topics_to_exclude,
3747
3769
  :topics_to_replicate)
3748
3770
  SENSITIVE = []
data/lib/aws-sdk-kafka.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-kafka/customizations'
52
52
  # @!group service
53
53
  module Aws::Kafka
54
54
 
55
- GEM_VERSION = '1.77.0'
55
+ GEM_VERSION = '1.79.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
@@ -378,6 +379,9 @@ module Aws
378
379
  starting_position: {
379
380
  type: ("LATEST" | "EARLIEST")?
380
381
  }?,
382
+ topic_name_configuration: {
383
+ type: ("PREFIXED_WITH_SOURCE_CLUSTER_ALIAS" | "IDENTICAL")?
384
+ }?,
381
385
  topics_to_exclude: Array[::String]?,
382
386
  topics_to_replicate: Array[::String]
383
387
  }
data/sig/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
data/sig/types.rbs CHANGED
@@ -985,6 +985,11 @@ module Aws::Kafka
985
985
  SENSITIVE: []
986
986
  end
987
987
 
988
+ class ReplicationTopicNameConfiguration
989
+ attr_accessor type: ("PREFIXED_WITH_SOURCE_CLUSTER_ALIAS" | "IDENTICAL")
990
+ SENSITIVE: []
991
+ end
992
+
988
993
  class ReplicationStateInfo
989
994
  attr_accessor code: ::String
990
995
  attr_accessor message: ::String
@@ -1064,6 +1069,7 @@ module Aws::Kafka
1064
1069
  attr_accessor copy_topic_configurations: bool
1065
1070
  attr_accessor detect_and_copy_new_topics: bool
1066
1071
  attr_accessor starting_position: Types::ReplicationStartingPosition
1072
+ attr_accessor topic_name_configuration: Types::ReplicationTopicNameConfiguration
1067
1073
  attr_accessor topics_to_exclude: ::Array[::String]
1068
1074
  attr_accessor topics_to_replicate: ::Array[::String]
1069
1075
  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.77.0
4
+ version: 1.79.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-07-02 00:00:00.000000000 Z
11
+ date: 2024-09-09 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.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for Managed Streaming for Kafka (Kafka). This gem
48
48
  is part of the AWS SDK for Ruby.
49
49
  email: