aws-sdk-kafka 1.63.0 → 1.64.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: d061a90e3105040940d8a2c0553c5b0223547be7a56db1ff14cf4643b0ab7a73
4
- data.tar.gz: 5eb3922a803469448c23377fdafa1e922dde7869dfec9a2da0dbcef731efaa37
3
+ metadata.gz: eca3c32515abff754d369b307085f6cbb2cd8e15d335348326efd7c911d18b42
4
+ data.tar.gz: 2369b97234e903eb4084dbabdd96978a94b44ec350d539a27cb87c94dfd8eb52
5
5
  SHA512:
6
- metadata.gz: 5189500f4bd270d52d86d5f731ed673defed69ff962b45d1f4e35fb6bc134105d5b8060a3cd9291ec3633dddf08ef9d3bc9042a8bd12bd229090470554585e41
7
- data.tar.gz: 77ba601047aa1b224d3f323bb6a6c6c099ca03d578a3dd3ed4e4e6453325b1d72773eb60e5789c9487e715ab450064793fbbfec416aeb5300262ebf471369135
6
+ metadata.gz: 2cf838b5bd1fad87a5eb5b7cd724e742525f39baaa057d1216488897cee9bff8e4db7ea3d7fb179da7614ab9cc733afa4ad5dd68d00d56691f3762d50e6cc6c8
7
+ data.tar.gz: ec455d1a46d193af9dcf72a8ab5f65e05596af28990ec0bc115655ca17331068d509b066985736ea337dd64de3dd918be2cd4604d80f2ee8fcf9f5302aea8d2a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.64.0 (2023-10-17)
5
+ ------------------
6
+
7
+ * Feature - AWS Managed Streaming for Kafka is launching MSK Replicator, a new feature that enables customers to reliably replicate data across Amazon MSK clusters in same or different AWS regions. You can now use SDK to create, list, describe, delete, update, and manage tags of MSK Replicators.
8
+
4
9
  1.63.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.63.0
1
+ 1.64.0
@@ -803,6 +803,92 @@ module Aws::Kafka
803
803
  req.send_request(options)
804
804
  end
805
805
 
806
+ # Creates a new Kafka Replicator.
807
+ #
808
+ # @option params [String] :description
809
+ # A summary description of the replicator.
810
+ #
811
+ # @option params [required, Array<Types::KafkaCluster>] :kafka_clusters
812
+ # Kafka Clusters to use in setting up sources / targets for replication.
813
+ #
814
+ # @option params [required, Array<Types::ReplicationInfo>] :replication_info_list
815
+ # A list of replication configurations, where each configuration targets
816
+ # a given source cluster to target cluster replication flow.
817
+ #
818
+ # @option params [required, String] :replicator_name
819
+ # The name of the replicator. Alpha-numeric characters with '-' are
820
+ # allowed.
821
+ #
822
+ # @option params [required, String] :service_execution_role_arn
823
+ # The ARN of the IAM role used by the replicator to access resources in
824
+ # the customer's account (e.g source and target clusters)
825
+ #
826
+ # @option params [Hash<String,String>] :tags
827
+ # List of tags to attach to created Replicator.
828
+ #
829
+ # @return [Types::CreateReplicatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
830
+ #
831
+ # * {Types::CreateReplicatorResponse#replicator_arn #replicator_arn} => String
832
+ # * {Types::CreateReplicatorResponse#replicator_name #replicator_name} => String
833
+ # * {Types::CreateReplicatorResponse#replicator_state #replicator_state} => String
834
+ #
835
+ # @example Request syntax with placeholder values
836
+ #
837
+ # resp = client.create_replicator({
838
+ # description: "__stringMax1024",
839
+ # kafka_clusters: [ # required
840
+ # {
841
+ # amazon_msk_cluster: { # required
842
+ # msk_cluster_arn: "__string", # required
843
+ # },
844
+ # vpc_config: { # required
845
+ # security_group_ids: ["__string"],
846
+ # subnet_ids: ["__string"], # required
847
+ # },
848
+ # },
849
+ # ],
850
+ # replication_info_list: [ # required
851
+ # {
852
+ # consumer_group_replication: { # required
853
+ # consumer_groups_to_exclude: ["__stringMax256"],
854
+ # consumer_groups_to_replicate: ["__stringMax256"], # required
855
+ # detect_and_copy_new_consumer_groups: false,
856
+ # synchronise_consumer_group_offsets: false,
857
+ # },
858
+ # source_kafka_cluster_arn: "__string", # required
859
+ # target_compression_type: "NONE", # required, accepts NONE, GZIP, SNAPPY, LZ4, ZSTD
860
+ # target_kafka_cluster_arn: "__string", # required
861
+ # topic_replication: { # required
862
+ # copy_access_control_lists_for_topics: false,
863
+ # copy_topic_configurations: false,
864
+ # detect_and_copy_new_topics: false,
865
+ # topics_to_exclude: ["__stringMax249"],
866
+ # topics_to_replicate: ["__stringMax249"], # required
867
+ # },
868
+ # },
869
+ # ],
870
+ # replicator_name: "__stringMin1Max128Pattern09AZaZ09AZaZ0", # required
871
+ # service_execution_role_arn: "__string", # required
872
+ # tags: {
873
+ # "__string" => "__string",
874
+ # },
875
+ # })
876
+ #
877
+ # @example Response structure
878
+ #
879
+ # resp.replicator_arn #=> String
880
+ # resp.replicator_name #=> String
881
+ # resp.replicator_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
882
+ #
883
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateReplicator AWS API Documentation
884
+ #
885
+ # @overload create_replicator(params = {})
886
+ # @param [Hash] params ({})
887
+ def create_replicator(params = {}, options = {})
888
+ req = build_request(:create_replicator, params)
889
+ req.send_request(options)
890
+ end
891
+
806
892
  # Creates a new Amazon MSK VPC connection.
807
893
  #
808
894
  # @option params [required, String] :target_cluster_arn
@@ -933,6 +1019,38 @@ module Aws::Kafka
933
1019
  req.send_request(options)
934
1020
  end
935
1021
 
1022
+ # Deletes a replicator.
1023
+ #
1024
+ # @option params [String] :current_version
1025
+ #
1026
+ # @option params [required, String] :replicator_arn
1027
+ #
1028
+ # @return [Types::DeleteReplicatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1029
+ #
1030
+ # * {Types::DeleteReplicatorResponse#replicator_arn #replicator_arn} => String
1031
+ # * {Types::DeleteReplicatorResponse#replicator_state #replicator_state} => String
1032
+ #
1033
+ # @example Request syntax with placeholder values
1034
+ #
1035
+ # resp = client.delete_replicator({
1036
+ # current_version: "__string",
1037
+ # replicator_arn: "__string", # required
1038
+ # })
1039
+ #
1040
+ # @example Response structure
1041
+ #
1042
+ # resp.replicator_arn #=> String
1043
+ # resp.replicator_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
1044
+ #
1045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteReplicator AWS API Documentation
1046
+ #
1047
+ # @overload delete_replicator(params = {})
1048
+ # @param [Hash] params ({})
1049
+ def delete_replicator(params = {}, options = {})
1050
+ req = build_request(:delete_replicator, params)
1051
+ req.send_request(options)
1052
+ end
1053
+
936
1054
  # Deletes the Amazon MSK VPC connection specified in your request.
937
1055
  #
938
1056
  # @option params [required, String] :arn
@@ -1432,6 +1550,82 @@ module Aws::Kafka
1432
1550
  req.send_request(options)
1433
1551
  end
1434
1552
 
1553
+ # Returns a description of the Kafka Replicator whose Amazon Resource
1554
+ # Name (ARN) is specified in the request.
1555
+ #
1556
+ # @option params [required, String] :replicator_arn
1557
+ #
1558
+ # @return [Types::DescribeReplicatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1559
+ #
1560
+ # * {Types::DescribeReplicatorResponse#creation_time #creation_time} => Time
1561
+ # * {Types::DescribeReplicatorResponse#current_version #current_version} => String
1562
+ # * {Types::DescribeReplicatorResponse#is_replicator_reference #is_replicator_reference} => Boolean
1563
+ # * {Types::DescribeReplicatorResponse#kafka_clusters #kafka_clusters} => Array&lt;Types::KafkaClusterDescription&gt;
1564
+ # * {Types::DescribeReplicatorResponse#replication_info_list #replication_info_list} => Array&lt;Types::ReplicationInfoDescription&gt;
1565
+ # * {Types::DescribeReplicatorResponse#replicator_arn #replicator_arn} => String
1566
+ # * {Types::DescribeReplicatorResponse#replicator_description #replicator_description} => String
1567
+ # * {Types::DescribeReplicatorResponse#replicator_name #replicator_name} => String
1568
+ # * {Types::DescribeReplicatorResponse#replicator_resource_arn #replicator_resource_arn} => String
1569
+ # * {Types::DescribeReplicatorResponse#replicator_state #replicator_state} => String
1570
+ # * {Types::DescribeReplicatorResponse#service_execution_role_arn #service_execution_role_arn} => String
1571
+ # * {Types::DescribeReplicatorResponse#state_info #state_info} => Types::ReplicationStateInfo
1572
+ # * {Types::DescribeReplicatorResponse#tags #tags} => Hash&lt;String,String&gt;
1573
+ #
1574
+ # @example Request syntax with placeholder values
1575
+ #
1576
+ # resp = client.describe_replicator({
1577
+ # replicator_arn: "__string", # required
1578
+ # })
1579
+ #
1580
+ # @example Response structure
1581
+ #
1582
+ # resp.creation_time #=> Time
1583
+ # resp.current_version #=> String
1584
+ # resp.is_replicator_reference #=> Boolean
1585
+ # resp.kafka_clusters #=> Array
1586
+ # resp.kafka_clusters[0].amazon_msk_cluster.msk_cluster_arn #=> String
1587
+ # resp.kafka_clusters[0].kafka_cluster_alias #=> String
1588
+ # resp.kafka_clusters[0].vpc_config.security_group_ids #=> Array
1589
+ # resp.kafka_clusters[0].vpc_config.security_group_ids[0] #=> String
1590
+ # resp.kafka_clusters[0].vpc_config.subnet_ids #=> Array
1591
+ # resp.kafka_clusters[0].vpc_config.subnet_ids[0] #=> String
1592
+ # resp.replication_info_list #=> Array
1593
+ # resp.replication_info_list[0].consumer_group_replication.consumer_groups_to_exclude #=> Array
1594
+ # resp.replication_info_list[0].consumer_group_replication.consumer_groups_to_exclude[0] #=> String
1595
+ # resp.replication_info_list[0].consumer_group_replication.consumer_groups_to_replicate #=> Array
1596
+ # resp.replication_info_list[0].consumer_group_replication.consumer_groups_to_replicate[0] #=> String
1597
+ # resp.replication_info_list[0].consumer_group_replication.detect_and_copy_new_consumer_groups #=> Boolean
1598
+ # resp.replication_info_list[0].consumer_group_replication.synchronise_consumer_group_offsets #=> Boolean
1599
+ # resp.replication_info_list[0].source_kafka_cluster_alias #=> String
1600
+ # resp.replication_info_list[0].target_compression_type #=> String, one of "NONE", "GZIP", "SNAPPY", "LZ4", "ZSTD"
1601
+ # resp.replication_info_list[0].target_kafka_cluster_alias #=> String
1602
+ # resp.replication_info_list[0].topic_replication.copy_access_control_lists_for_topics #=> Boolean
1603
+ # resp.replication_info_list[0].topic_replication.copy_topic_configurations #=> Boolean
1604
+ # resp.replication_info_list[0].topic_replication.detect_and_copy_new_topics #=> Boolean
1605
+ # resp.replication_info_list[0].topic_replication.topics_to_exclude #=> Array
1606
+ # resp.replication_info_list[0].topic_replication.topics_to_exclude[0] #=> String
1607
+ # resp.replication_info_list[0].topic_replication.topics_to_replicate #=> Array
1608
+ # resp.replication_info_list[0].topic_replication.topics_to_replicate[0] #=> String
1609
+ # resp.replicator_arn #=> String
1610
+ # resp.replicator_description #=> String
1611
+ # resp.replicator_name #=> String
1612
+ # resp.replicator_resource_arn #=> String
1613
+ # resp.replicator_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
1614
+ # resp.service_execution_role_arn #=> String
1615
+ # resp.state_info.code #=> String
1616
+ # resp.state_info.message #=> String
1617
+ # resp.tags #=> Hash
1618
+ # resp.tags["__string"] #=> String
1619
+ #
1620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeReplicator AWS API Documentation
1621
+ #
1622
+ # @overload describe_replicator(params = {})
1623
+ # @param [Hash] params ({})
1624
+ def describe_replicator(params = {}, options = {})
1625
+ req = build_request(:describe_replicator, params)
1626
+ req.send_request(options)
1627
+ end
1628
+
1435
1629
  # Displays information about the specified Amazon MSK VPC connection.
1436
1630
  #
1437
1631
  # @option params [required, String] :arn
@@ -2128,6 +2322,56 @@ module Aws::Kafka
2128
2322
  req.send_request(options)
2129
2323
  end
2130
2324
 
2325
+ # Lists the replicators.
2326
+ #
2327
+ # @option params [Integer] :max_results
2328
+ #
2329
+ # @option params [String] :next_token
2330
+ #
2331
+ # @option params [String] :replicator_name_filter
2332
+ #
2333
+ # @return [Types::ListReplicatorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2334
+ #
2335
+ # * {Types::ListReplicatorsResponse#next_token #next_token} => String
2336
+ # * {Types::ListReplicatorsResponse#replicators #replicators} => Array&lt;Types::ReplicatorSummary&gt;
2337
+ #
2338
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2339
+ #
2340
+ # @example Request syntax with placeholder values
2341
+ #
2342
+ # resp = client.list_replicators({
2343
+ # max_results: 1,
2344
+ # next_token: "__string",
2345
+ # replicator_name_filter: "__string",
2346
+ # })
2347
+ #
2348
+ # @example Response structure
2349
+ #
2350
+ # resp.next_token #=> String
2351
+ # resp.replicators #=> Array
2352
+ # resp.replicators[0].creation_time #=> Time
2353
+ # resp.replicators[0].current_version #=> String
2354
+ # resp.replicators[0].is_replicator_reference #=> Boolean
2355
+ # resp.replicators[0].kafka_clusters_summary #=> Array
2356
+ # resp.replicators[0].kafka_clusters_summary[0].amazon_msk_cluster.msk_cluster_arn #=> String
2357
+ # resp.replicators[0].kafka_clusters_summary[0].kafka_cluster_alias #=> String
2358
+ # resp.replicators[0].replication_info_summary_list #=> Array
2359
+ # resp.replicators[0].replication_info_summary_list[0].source_kafka_cluster_alias #=> String
2360
+ # resp.replicators[0].replication_info_summary_list[0].target_kafka_cluster_alias #=> String
2361
+ # resp.replicators[0].replicator_arn #=> String
2362
+ # resp.replicators[0].replicator_name #=> String
2363
+ # resp.replicators[0].replicator_resource_arn #=> String
2364
+ # resp.replicators[0].replicator_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
2365
+ #
2366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListReplicators AWS API Documentation
2367
+ #
2368
+ # @overload list_replicators(params = {})
2369
+ # @param [Hash] params ({})
2370
+ def list_replicators(params = {}, options = {})
2371
+ req = build_request(:list_replicators, params)
2372
+ req.send_request(options)
2373
+ end
2374
+
2131
2375
  # Returns a list of the Scram Secrets associated with an Amazon MSK
2132
2376
  # cluster.
2133
2377
  #
@@ -2857,6 +3101,66 @@ module Aws::Kafka
2857
3101
  req.send_request(options)
2858
3102
  end
2859
3103
 
3104
+ # Updates replication info of a replicator.
3105
+ #
3106
+ # @option params [Types::ConsumerGroupReplicationUpdate] :consumer_group_replication
3107
+ # Updated consumer group replication information.
3108
+ #
3109
+ # @option params [required, String] :current_version
3110
+ # Current replicator version.
3111
+ #
3112
+ # @option params [required, String] :replicator_arn
3113
+ #
3114
+ # @option params [required, String] :source_kafka_cluster_arn
3115
+ # The ARN of the source Kafka cluster.
3116
+ #
3117
+ # @option params [required, String] :target_kafka_cluster_arn
3118
+ # The ARN of the target Kafka cluster.
3119
+ #
3120
+ # @option params [Types::TopicReplicationUpdate] :topic_replication
3121
+ # Updated topic replication information.
3122
+ #
3123
+ # @return [Types::UpdateReplicationInfoResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3124
+ #
3125
+ # * {Types::UpdateReplicationInfoResponse#replicator_arn #replicator_arn} => String
3126
+ # * {Types::UpdateReplicationInfoResponse#replicator_state #replicator_state} => String
3127
+ #
3128
+ # @example Request syntax with placeholder values
3129
+ #
3130
+ # resp = client.update_replication_info({
3131
+ # consumer_group_replication: {
3132
+ # consumer_groups_to_exclude: ["__stringMax256"], # required
3133
+ # consumer_groups_to_replicate: ["__stringMax256"], # required
3134
+ # detect_and_copy_new_consumer_groups: false, # required
3135
+ # synchronise_consumer_group_offsets: false, # required
3136
+ # },
3137
+ # current_version: "__string", # required
3138
+ # replicator_arn: "__string", # required
3139
+ # source_kafka_cluster_arn: "__string", # required
3140
+ # target_kafka_cluster_arn: "__string", # required
3141
+ # topic_replication: {
3142
+ # copy_access_control_lists_for_topics: false, # required
3143
+ # copy_topic_configurations: false, # required
3144
+ # detect_and_copy_new_topics: false, # required
3145
+ # topics_to_exclude: ["__stringMax249"], # required
3146
+ # topics_to_replicate: ["__stringMax249"], # required
3147
+ # },
3148
+ # })
3149
+ #
3150
+ # @example Response structure
3151
+ #
3152
+ # resp.replicator_arn #=> String
3153
+ # resp.replicator_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
3154
+ #
3155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateReplicationInfo AWS API Documentation
3156
+ #
3157
+ # @overload update_replication_info(params = {})
3158
+ # @param [Hash] params ({})
3159
+ def update_replication_info(params = {}, options = {})
3160
+ req = build_request(:update_replication_info, params)
3161
+ req.send_request(options)
3162
+ end
3163
+
2860
3164
  # You can use this operation to update the encrypting and authentication
2861
3165
  # settings for an existing cluster.
2862
3166
  #
@@ -2988,7 +3292,7 @@ module Aws::Kafka
2988
3292
  params: params,
2989
3293
  config: config)
2990
3294
  context[:gem_name] = 'aws-sdk-kafka'
2991
- context[:gem_version] = '1.63.0'
3295
+ context[:gem_version] = '1.64.0'
2992
3296
  Seahorse::Client::Request.new(handlers, context)
2993
3297
  end
2994
3298