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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafka/client.rb +305 -1
- data/lib/aws-sdk-kafka/client_api.rb +279 -0
- data/lib/aws-sdk-kafka/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-kafka/endpoints.rb +70 -0
- data/lib/aws-sdk-kafka/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-kafka/types.rb +701 -0
- data/lib/aws-sdk-kafka.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-kafka/types.rb
CHANGED
@@ -10,6 +10,20 @@
|
|
10
10
|
module Aws::Kafka
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Details of an Amazon MSK Cluster.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] msk_cluster_arn
|
16
|
+
# The Amazon Resource Name (ARN) of an Amazon MSK cluster.
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/AmazonMskCluster AWS API Documentation
|
20
|
+
#
|
21
|
+
class AmazonMskCluster < Struct.new(
|
22
|
+
:msk_cluster_arn)
|
23
|
+
SENSITIVE = []
|
24
|
+
include Aws::Structure
|
25
|
+
end
|
26
|
+
|
13
27
|
# Request body for BatchAssociateScramSecret.
|
14
28
|
#
|
15
29
|
# @!attribute [rw] cluster_arn
|
@@ -869,6 +883,72 @@ module Aws::Kafka
|
|
869
883
|
include Aws::Structure
|
870
884
|
end
|
871
885
|
|
886
|
+
# Details about consumer group replication.
|
887
|
+
#
|
888
|
+
# @!attribute [rw] consumer_groups_to_exclude
|
889
|
+
# List of regular expression patterns indicating the consumer groups
|
890
|
+
# that should not be replicated.
|
891
|
+
# @return [Array<String>]
|
892
|
+
#
|
893
|
+
# @!attribute [rw] consumer_groups_to_replicate
|
894
|
+
# List of regular expression patterns indicating the consumer groups
|
895
|
+
# to copy.
|
896
|
+
# @return [Array<String>]
|
897
|
+
#
|
898
|
+
# @!attribute [rw] detect_and_copy_new_consumer_groups
|
899
|
+
# Enables synchronization of consumer groups to target cluster.
|
900
|
+
# @return [Boolean]
|
901
|
+
#
|
902
|
+
# @!attribute [rw] synchronise_consumer_group_offsets
|
903
|
+
# Enables synchronization of consumer group offsets to target cluster.
|
904
|
+
# The translated offsets will be written to topic
|
905
|
+
# \_\_consumer\_offsets.
|
906
|
+
# @return [Boolean]
|
907
|
+
#
|
908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ConsumerGroupReplication AWS API Documentation
|
909
|
+
#
|
910
|
+
class ConsumerGroupReplication < Struct.new(
|
911
|
+
:consumer_groups_to_exclude,
|
912
|
+
:consumer_groups_to_replicate,
|
913
|
+
:detect_and_copy_new_consumer_groups,
|
914
|
+
:synchronise_consumer_group_offsets)
|
915
|
+
SENSITIVE = []
|
916
|
+
include Aws::Structure
|
917
|
+
end
|
918
|
+
|
919
|
+
# Details about consumer group replication.
|
920
|
+
#
|
921
|
+
# @!attribute [rw] consumer_groups_to_exclude
|
922
|
+
# List of regular expression patterns indicating the consumer groups
|
923
|
+
# that should not be replicated.
|
924
|
+
# @return [Array<String>]
|
925
|
+
#
|
926
|
+
# @!attribute [rw] consumer_groups_to_replicate
|
927
|
+
# List of regular expression patterns indicating the consumer groups
|
928
|
+
# to copy.
|
929
|
+
# @return [Array<String>]
|
930
|
+
#
|
931
|
+
# @!attribute [rw] detect_and_copy_new_consumer_groups
|
932
|
+
# Enables synchronization of consumer groups to target cluster.
|
933
|
+
# @return [Boolean]
|
934
|
+
#
|
935
|
+
# @!attribute [rw] synchronise_consumer_group_offsets
|
936
|
+
# Enables synchronization of consumer group offsets to target cluster.
|
937
|
+
# The translated offsets will be written to topic
|
938
|
+
# \_\_consumer\_offsets.
|
939
|
+
# @return [Boolean]
|
940
|
+
#
|
941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ConsumerGroupReplicationUpdate AWS API Documentation
|
942
|
+
#
|
943
|
+
class ConsumerGroupReplicationUpdate < Struct.new(
|
944
|
+
:consumer_groups_to_exclude,
|
945
|
+
:consumer_groups_to_replicate,
|
946
|
+
:detect_and_copy_new_consumer_groups,
|
947
|
+
:synchronise_consumer_group_offsets)
|
948
|
+
SENSITIVE = []
|
949
|
+
include Aws::Structure
|
950
|
+
end
|
951
|
+
|
872
952
|
# Creates a cluster.
|
873
953
|
#
|
874
954
|
# @!attribute [rw] broker_node_group_info
|
@@ -1033,6 +1113,73 @@ module Aws::Kafka
|
|
1033
1113
|
include Aws::Structure
|
1034
1114
|
end
|
1035
1115
|
|
1116
|
+
# Request body for replicator.
|
1117
|
+
#
|
1118
|
+
# @!attribute [rw] description
|
1119
|
+
# A summary description of the replicator.
|
1120
|
+
# @return [String]
|
1121
|
+
#
|
1122
|
+
# @!attribute [rw] kafka_clusters
|
1123
|
+
# Kafka Clusters to use in setting up sources / targets for
|
1124
|
+
# replication.
|
1125
|
+
# @return [Array<Types::KafkaCluster>]
|
1126
|
+
#
|
1127
|
+
# @!attribute [rw] replication_info_list
|
1128
|
+
# A list of replication configurations, where each configuration
|
1129
|
+
# targets a given source cluster to target cluster replication flow.
|
1130
|
+
# @return [Array<Types::ReplicationInfo>]
|
1131
|
+
#
|
1132
|
+
# @!attribute [rw] replicator_name
|
1133
|
+
# The name of the replicator. Alpha-numeric characters with '-' are
|
1134
|
+
# allowed.
|
1135
|
+
# @return [String]
|
1136
|
+
#
|
1137
|
+
# @!attribute [rw] service_execution_role_arn
|
1138
|
+
# The ARN of the IAM role used by the replicator to access resources
|
1139
|
+
# in the customer's account (e.g source and target clusters)
|
1140
|
+
# @return [String]
|
1141
|
+
#
|
1142
|
+
# @!attribute [rw] tags
|
1143
|
+
# List of tags to attach to created Replicator.
|
1144
|
+
# @return [Hash<String,String>]
|
1145
|
+
#
|
1146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateReplicatorRequest AWS API Documentation
|
1147
|
+
#
|
1148
|
+
class CreateReplicatorRequest < Struct.new(
|
1149
|
+
:description,
|
1150
|
+
:kafka_clusters,
|
1151
|
+
:replication_info_list,
|
1152
|
+
:replicator_name,
|
1153
|
+
:service_execution_role_arn,
|
1154
|
+
:tags)
|
1155
|
+
SENSITIVE = []
|
1156
|
+
include Aws::Structure
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
# Returns information about the created replicator.
|
1160
|
+
#
|
1161
|
+
# @!attribute [rw] replicator_arn
|
1162
|
+
# The Amazon Resource Name (ARN) of the replicator.
|
1163
|
+
# @return [String]
|
1164
|
+
#
|
1165
|
+
# @!attribute [rw] replicator_name
|
1166
|
+
# Name of the replicator provided by the customer.
|
1167
|
+
# @return [String]
|
1168
|
+
#
|
1169
|
+
# @!attribute [rw] replicator_state
|
1170
|
+
# State of the replicator.
|
1171
|
+
# @return [String]
|
1172
|
+
#
|
1173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateReplicatorResponse AWS API Documentation
|
1174
|
+
#
|
1175
|
+
class CreateReplicatorResponse < Struct.new(
|
1176
|
+
:replicator_arn,
|
1177
|
+
:replicator_name,
|
1178
|
+
:replicator_state)
|
1179
|
+
SENSITIVE = []
|
1180
|
+
include Aws::Structure
|
1181
|
+
end
|
1182
|
+
|
1036
1183
|
# Request body for CreateVpcConnection.
|
1037
1184
|
#
|
1038
1185
|
# @!attribute [rw] target_cluster_arn
|
@@ -1190,6 +1337,40 @@ module Aws::Kafka
|
|
1190
1337
|
include Aws::Structure
|
1191
1338
|
end
|
1192
1339
|
|
1340
|
+
# @!attribute [rw] current_version
|
1341
|
+
# @return [String]
|
1342
|
+
#
|
1343
|
+
# @!attribute [rw] replicator_arn
|
1344
|
+
# @return [String]
|
1345
|
+
#
|
1346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteReplicatorRequest AWS API Documentation
|
1347
|
+
#
|
1348
|
+
class DeleteReplicatorRequest < Struct.new(
|
1349
|
+
:current_version,
|
1350
|
+
:replicator_arn)
|
1351
|
+
SENSITIVE = []
|
1352
|
+
include Aws::Structure
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# Returns information about the deleted replicator.
|
1356
|
+
#
|
1357
|
+
# @!attribute [rw] replicator_arn
|
1358
|
+
# The Amazon Resource Name (ARN) of the replicator.
|
1359
|
+
# @return [String]
|
1360
|
+
#
|
1361
|
+
# @!attribute [rw] replicator_state
|
1362
|
+
# The state of the replicator.
|
1363
|
+
# @return [String]
|
1364
|
+
#
|
1365
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteReplicatorResponse AWS API Documentation
|
1366
|
+
#
|
1367
|
+
class DeleteReplicatorResponse < Struct.new(
|
1368
|
+
:replicator_arn,
|
1369
|
+
:replicator_state)
|
1370
|
+
SENSITIVE = []
|
1371
|
+
include Aws::Structure
|
1372
|
+
end
|
1373
|
+
|
1193
1374
|
# Request body for DeleteVpcConnection.
|
1194
1375
|
#
|
1195
1376
|
# @!attribute [rw] arn
|
@@ -1404,6 +1585,95 @@ module Aws::Kafka
|
|
1404
1585
|
include Aws::Structure
|
1405
1586
|
end
|
1406
1587
|
|
1588
|
+
# @!attribute [rw] replicator_arn
|
1589
|
+
# @return [String]
|
1590
|
+
#
|
1591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeReplicatorRequest AWS API Documentation
|
1592
|
+
#
|
1593
|
+
class DescribeReplicatorRequest < Struct.new(
|
1594
|
+
:replicator_arn)
|
1595
|
+
SENSITIVE = []
|
1596
|
+
include Aws::Structure
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
# Response body for DescribeReplicator.
|
1600
|
+
#
|
1601
|
+
# @!attribute [rw] creation_time
|
1602
|
+
# The time when the replicator was created.
|
1603
|
+
# @return [Time]
|
1604
|
+
#
|
1605
|
+
# @!attribute [rw] current_version
|
1606
|
+
# The current version number of the replicator.
|
1607
|
+
# @return [String]
|
1608
|
+
#
|
1609
|
+
# @!attribute [rw] is_replicator_reference
|
1610
|
+
# Whether this resource is a replicator reference.
|
1611
|
+
# @return [Boolean]
|
1612
|
+
#
|
1613
|
+
# @!attribute [rw] kafka_clusters
|
1614
|
+
# Kafka Clusters used in setting up sources / targets for replication.
|
1615
|
+
# @return [Array<Types::KafkaClusterDescription>]
|
1616
|
+
#
|
1617
|
+
# @!attribute [rw] replication_info_list
|
1618
|
+
# A list of replication configurations, where each configuration
|
1619
|
+
# targets a given source cluster to target cluster replication flow.
|
1620
|
+
# @return [Array<Types::ReplicationInfoDescription>]
|
1621
|
+
#
|
1622
|
+
# @!attribute [rw] replicator_arn
|
1623
|
+
# The Amazon Resource Name (ARN) of the replicator.
|
1624
|
+
# @return [String]
|
1625
|
+
#
|
1626
|
+
# @!attribute [rw] replicator_description
|
1627
|
+
# The description of the replicator.
|
1628
|
+
# @return [String]
|
1629
|
+
#
|
1630
|
+
# @!attribute [rw] replicator_name
|
1631
|
+
# The name of the replicator.
|
1632
|
+
# @return [String]
|
1633
|
+
#
|
1634
|
+
# @!attribute [rw] replicator_resource_arn
|
1635
|
+
# The Amazon Resource Name (ARN) of the replicator resource in the
|
1636
|
+
# region where the replicator was created.
|
1637
|
+
# @return [String]
|
1638
|
+
#
|
1639
|
+
# @!attribute [rw] replicator_state
|
1640
|
+
# State of the replicator.
|
1641
|
+
# @return [String]
|
1642
|
+
#
|
1643
|
+
# @!attribute [rw] service_execution_role_arn
|
1644
|
+
# The Amazon Resource Name (ARN) of the IAM role used by the
|
1645
|
+
# replicator to access resources in the customer's account (e.g
|
1646
|
+
# source and target clusters)
|
1647
|
+
# @return [String]
|
1648
|
+
#
|
1649
|
+
# @!attribute [rw] state_info
|
1650
|
+
# Details about the state of the replicator.
|
1651
|
+
# @return [Types::ReplicationStateInfo]
|
1652
|
+
#
|
1653
|
+
# @!attribute [rw] tags
|
1654
|
+
# List of tags attached to the Replicator.
|
1655
|
+
# @return [Hash<String,String>]
|
1656
|
+
#
|
1657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeReplicatorResponse AWS API Documentation
|
1658
|
+
#
|
1659
|
+
class DescribeReplicatorResponse < Struct.new(
|
1660
|
+
:creation_time,
|
1661
|
+
:current_version,
|
1662
|
+
:is_replicator_reference,
|
1663
|
+
:kafka_clusters,
|
1664
|
+
:replication_info_list,
|
1665
|
+
:replicator_arn,
|
1666
|
+
:replicator_description,
|
1667
|
+
:replicator_name,
|
1668
|
+
:replicator_resource_arn,
|
1669
|
+
:replicator_state,
|
1670
|
+
:service_execution_role_arn,
|
1671
|
+
:state_info,
|
1672
|
+
:tags)
|
1673
|
+
SENSITIVE = []
|
1674
|
+
include Aws::Structure
|
1675
|
+
end
|
1676
|
+
|
1407
1677
|
# @!attribute [rw] arn
|
1408
1678
|
# @return [String]
|
1409
1679
|
#
|
@@ -1808,6 +2078,94 @@ module Aws::Kafka
|
|
1808
2078
|
include Aws::Structure
|
1809
2079
|
end
|
1810
2080
|
|
2081
|
+
# Information about Kafka Cluster to be used as source / target for
|
2082
|
+
# replication.
|
2083
|
+
#
|
2084
|
+
# @!attribute [rw] amazon_msk_cluster
|
2085
|
+
# Details of an Amazon MSK Cluster.
|
2086
|
+
# @return [Types::AmazonMskCluster]
|
2087
|
+
#
|
2088
|
+
# @!attribute [rw] vpc_config
|
2089
|
+
# Details of an Amazon VPC which has network connectivity to the
|
2090
|
+
# Apache Kafka cluster.
|
2091
|
+
# @return [Types::KafkaClusterClientVpcConfig]
|
2092
|
+
#
|
2093
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/KafkaCluster AWS API Documentation
|
2094
|
+
#
|
2095
|
+
class KafkaCluster < Struct.new(
|
2096
|
+
:amazon_msk_cluster,
|
2097
|
+
:vpc_config)
|
2098
|
+
SENSITIVE = []
|
2099
|
+
include Aws::Structure
|
2100
|
+
end
|
2101
|
+
|
2102
|
+
# @!attribute [rw] security_group_ids
|
2103
|
+
# The security groups to attach to the ENIs for the broker nodes.
|
2104
|
+
# @return [Array<String>]
|
2105
|
+
#
|
2106
|
+
# @!attribute [rw] subnet_ids
|
2107
|
+
# The list of subnets in the client VPC to connect to.
|
2108
|
+
# @return [Array<String>]
|
2109
|
+
#
|
2110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/KafkaClusterClientVpcConfig AWS API Documentation
|
2111
|
+
#
|
2112
|
+
class KafkaClusterClientVpcConfig < Struct.new(
|
2113
|
+
:security_group_ids,
|
2114
|
+
:subnet_ids)
|
2115
|
+
SENSITIVE = []
|
2116
|
+
include Aws::Structure
|
2117
|
+
end
|
2118
|
+
|
2119
|
+
# Information about Kafka Cluster used as source / target for
|
2120
|
+
# replication.
|
2121
|
+
#
|
2122
|
+
# @!attribute [rw] amazon_msk_cluster
|
2123
|
+
# Details of an Amazon MSK Cluster.
|
2124
|
+
# @return [Types::AmazonMskCluster]
|
2125
|
+
#
|
2126
|
+
# @!attribute [rw] kafka_cluster_alias
|
2127
|
+
# The alias of the Kafka cluster. Used to prefix names of replicated
|
2128
|
+
# topics.
|
2129
|
+
# @return [String]
|
2130
|
+
#
|
2131
|
+
# @!attribute [rw] vpc_config
|
2132
|
+
# Details of an Amazon VPC which has network connectivity to the
|
2133
|
+
# Apache Kafka cluster.
|
2134
|
+
# @return [Types::KafkaClusterClientVpcConfig]
|
2135
|
+
#
|
2136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/KafkaClusterDescription AWS API Documentation
|
2137
|
+
#
|
2138
|
+
class KafkaClusterDescription < Struct.new(
|
2139
|
+
:amazon_msk_cluster,
|
2140
|
+
:kafka_cluster_alias,
|
2141
|
+
:vpc_config)
|
2142
|
+
SENSITIVE = []
|
2143
|
+
include Aws::Structure
|
2144
|
+
end
|
2145
|
+
|
2146
|
+
# Summarized information about Kafka Cluster used as source / target for
|
2147
|
+
# replication.
|
2148
|
+
#
|
2149
|
+
# @!attribute [rw] amazon_msk_cluster
|
2150
|
+
# Details of an Amazon MSK Cluster
|
2151
|
+
#
|
2152
|
+
# .
|
2153
|
+
# @return [Types::AmazonMskCluster]
|
2154
|
+
#
|
2155
|
+
# @!attribute [rw] kafka_cluster_alias
|
2156
|
+
# The alias of the Kafka cluster. Used to prefix names of replicated
|
2157
|
+
# topics.
|
2158
|
+
# @return [String]
|
2159
|
+
#
|
2160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/KafkaClusterSummary AWS API Documentation
|
2161
|
+
#
|
2162
|
+
class KafkaClusterSummary < Struct.new(
|
2163
|
+
:amazon_msk_cluster,
|
2164
|
+
:kafka_cluster_alias)
|
2165
|
+
SENSITIVE = []
|
2166
|
+
include Aws::Structure
|
2167
|
+
end
|
2168
|
+
|
1811
2169
|
# Information about a Apache Kafka version.
|
1812
2170
|
#
|
1813
2171
|
# @!attribute [rw] version
|
@@ -2745,6 +3103,48 @@ module Aws::Kafka
|
|
2745
3103
|
include Aws::Structure
|
2746
3104
|
end
|
2747
3105
|
|
3106
|
+
# @!attribute [rw] max_results
|
3107
|
+
# @return [Integer]
|
3108
|
+
#
|
3109
|
+
# @!attribute [rw] next_token
|
3110
|
+
# @return [String]
|
3111
|
+
#
|
3112
|
+
# @!attribute [rw] replicator_name_filter
|
3113
|
+
# @return [String]
|
3114
|
+
#
|
3115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListReplicatorsRequest AWS API Documentation
|
3116
|
+
#
|
3117
|
+
class ListReplicatorsRequest < Struct.new(
|
3118
|
+
:max_results,
|
3119
|
+
:next_token,
|
3120
|
+
:replicator_name_filter)
|
3121
|
+
SENSITIVE = []
|
3122
|
+
include Aws::Structure
|
3123
|
+
end
|
3124
|
+
|
3125
|
+
# The response contains an array containing replicator information and a
|
3126
|
+
# NextToken if the response is truncated.
|
3127
|
+
#
|
3128
|
+
# @!attribute [rw] next_token
|
3129
|
+
# If the response of ListReplicators is truncated, it returns a
|
3130
|
+
# NextToken in the response. This NextToken should be sent in the
|
3131
|
+
# subsequent request to ListReplicators.
|
3132
|
+
# @return [String]
|
3133
|
+
#
|
3134
|
+
# @!attribute [rw] replicators
|
3135
|
+
# List containing information of each of the replicators in the
|
3136
|
+
# account.
|
3137
|
+
# @return [Array<Types::ReplicatorSummary>]
|
3138
|
+
#
|
3139
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListReplicatorsResponse AWS API Documentation
|
3140
|
+
#
|
3141
|
+
class ListReplicatorsResponse < Struct.new(
|
3142
|
+
:next_token,
|
3143
|
+
:replicators)
|
3144
|
+
SENSITIVE = []
|
3145
|
+
include Aws::Structure
|
3146
|
+
end
|
3147
|
+
|
2748
3148
|
# Request body for ListVpcConnections.
|
2749
3149
|
#
|
2750
3150
|
# @!attribute [rw] max_results
|
@@ -2936,6 +3336,175 @@ module Aws::Kafka
|
|
2936
3336
|
include Aws::Structure
|
2937
3337
|
end
|
2938
3338
|
|
3339
|
+
# Specifies configuration for replication between a source and target
|
3340
|
+
# Kafka cluster.
|
3341
|
+
#
|
3342
|
+
# @!attribute [rw] consumer_group_replication
|
3343
|
+
# Configuration relating to consumer group replication.
|
3344
|
+
# @return [Types::ConsumerGroupReplication]
|
3345
|
+
#
|
3346
|
+
# @!attribute [rw] source_kafka_cluster_arn
|
3347
|
+
# The ARN of the source Kafka cluster.
|
3348
|
+
# @return [String]
|
3349
|
+
#
|
3350
|
+
# @!attribute [rw] target_compression_type
|
3351
|
+
# The compression type to use when producing records to target
|
3352
|
+
# cluster.
|
3353
|
+
# @return [String]
|
3354
|
+
#
|
3355
|
+
# @!attribute [rw] target_kafka_cluster_arn
|
3356
|
+
# The ARN of the target Kafka cluster.
|
3357
|
+
# @return [String]
|
3358
|
+
#
|
3359
|
+
# @!attribute [rw] topic_replication
|
3360
|
+
# Configuration relating to topic replication.
|
3361
|
+
# @return [Types::TopicReplication]
|
3362
|
+
#
|
3363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ReplicationInfo AWS API Documentation
|
3364
|
+
#
|
3365
|
+
class ReplicationInfo < Struct.new(
|
3366
|
+
:consumer_group_replication,
|
3367
|
+
:source_kafka_cluster_arn,
|
3368
|
+
:target_compression_type,
|
3369
|
+
:target_kafka_cluster_arn,
|
3370
|
+
:topic_replication)
|
3371
|
+
SENSITIVE = []
|
3372
|
+
include Aws::Structure
|
3373
|
+
end
|
3374
|
+
|
3375
|
+
# Specifies configuration for replication between a source and target
|
3376
|
+
# Kafka cluster (sourceKafkaClusterAlias -> targetKafkaClusterAlias)
|
3377
|
+
#
|
3378
|
+
# @!attribute [rw] consumer_group_replication
|
3379
|
+
# Configuration relating to consumer group replication
|
3380
|
+
#
|
3381
|
+
# .
|
3382
|
+
# @return [Types::ConsumerGroupReplication]
|
3383
|
+
#
|
3384
|
+
# @!attribute [rw] source_kafka_cluster_alias
|
3385
|
+
# The alias of the source Kafka cluster.
|
3386
|
+
# @return [String]
|
3387
|
+
#
|
3388
|
+
# @!attribute [rw] target_compression_type
|
3389
|
+
# The compression type to use when producing records to target
|
3390
|
+
# cluster.
|
3391
|
+
# @return [String]
|
3392
|
+
#
|
3393
|
+
# @!attribute [rw] target_kafka_cluster_alias
|
3394
|
+
# The alias of the target Kafka cluster.
|
3395
|
+
# @return [String]
|
3396
|
+
#
|
3397
|
+
# @!attribute [rw] topic_replication
|
3398
|
+
# Configuration relating to topic replication.
|
3399
|
+
# @return [Types::TopicReplication]
|
3400
|
+
#
|
3401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ReplicationInfoDescription AWS API Documentation
|
3402
|
+
#
|
3403
|
+
class ReplicationInfoDescription < Struct.new(
|
3404
|
+
:consumer_group_replication,
|
3405
|
+
:source_kafka_cluster_alias,
|
3406
|
+
:target_compression_type,
|
3407
|
+
:target_kafka_cluster_alias,
|
3408
|
+
:topic_replication)
|
3409
|
+
SENSITIVE = []
|
3410
|
+
include Aws::Structure
|
3411
|
+
end
|
3412
|
+
|
3413
|
+
# Summarized information of replication between clusters.
|
3414
|
+
#
|
3415
|
+
# @!attribute [rw] source_kafka_cluster_alias
|
3416
|
+
# The alias of the source Kafka cluster.
|
3417
|
+
# @return [String]
|
3418
|
+
#
|
3419
|
+
# @!attribute [rw] target_kafka_cluster_alias
|
3420
|
+
# The alias of the target Kafka cluster.
|
3421
|
+
# @return [String]
|
3422
|
+
#
|
3423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ReplicationInfoSummary AWS API Documentation
|
3424
|
+
#
|
3425
|
+
class ReplicationInfoSummary < Struct.new(
|
3426
|
+
:source_kafka_cluster_alias,
|
3427
|
+
:target_kafka_cluster_alias)
|
3428
|
+
SENSITIVE = []
|
3429
|
+
include Aws::Structure
|
3430
|
+
end
|
3431
|
+
|
3432
|
+
# Details about the state of a replicator
|
3433
|
+
#
|
3434
|
+
# @!attribute [rw] code
|
3435
|
+
# Code that describes the current state of the replicator.
|
3436
|
+
# @return [String]
|
3437
|
+
#
|
3438
|
+
# @!attribute [rw] message
|
3439
|
+
# Message that describes the state of the replicator.
|
3440
|
+
# @return [String]
|
3441
|
+
#
|
3442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ReplicationStateInfo AWS API Documentation
|
3443
|
+
#
|
3444
|
+
class ReplicationStateInfo < Struct.new(
|
3445
|
+
:code,
|
3446
|
+
:message)
|
3447
|
+
SENSITIVE = []
|
3448
|
+
include Aws::Structure
|
3449
|
+
end
|
3450
|
+
|
3451
|
+
# Information about a replicator.
|
3452
|
+
#
|
3453
|
+
# @!attribute [rw] creation_time
|
3454
|
+
# The time the replicator was created.
|
3455
|
+
# @return [Time]
|
3456
|
+
#
|
3457
|
+
# @!attribute [rw] current_version
|
3458
|
+
# The current version of the replicator.
|
3459
|
+
# @return [String]
|
3460
|
+
#
|
3461
|
+
# @!attribute [rw] is_replicator_reference
|
3462
|
+
# Whether this resource is a replicator reference.
|
3463
|
+
# @return [Boolean]
|
3464
|
+
#
|
3465
|
+
# @!attribute [rw] kafka_clusters_summary
|
3466
|
+
# Kafka Clusters used in setting up sources / targets for replication.
|
3467
|
+
# @return [Array<Types::KafkaClusterSummary>]
|
3468
|
+
#
|
3469
|
+
# @!attribute [rw] replication_info_summary_list
|
3470
|
+
# A list of summarized information of replications between clusters.
|
3471
|
+
# @return [Array<Types::ReplicationInfoSummary>]
|
3472
|
+
#
|
3473
|
+
# @!attribute [rw] replicator_arn
|
3474
|
+
# The Amazon Resource Name (ARN) of the replicator.
|
3475
|
+
# @return [String]
|
3476
|
+
#
|
3477
|
+
# @!attribute [rw] replicator_name
|
3478
|
+
# The name of the replicator.
|
3479
|
+
# @return [String]
|
3480
|
+
#
|
3481
|
+
# @!attribute [rw] replicator_resource_arn
|
3482
|
+
# The Amazon Resource Name (ARN) of the replicator resource in the
|
3483
|
+
# region where the replicator was created.
|
3484
|
+
#
|
3485
|
+
# </p>
|
3486
|
+
# @return [String]
|
3487
|
+
#
|
3488
|
+
# @!attribute [rw] replicator_state
|
3489
|
+
# State of the replicator.
|
3490
|
+
# @return [String]
|
3491
|
+
#
|
3492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ReplicatorSummary AWS API Documentation
|
3493
|
+
#
|
3494
|
+
class ReplicatorSummary < Struct.new(
|
3495
|
+
:creation_time,
|
3496
|
+
:current_version,
|
3497
|
+
:is_replicator_reference,
|
3498
|
+
:kafka_clusters_summary,
|
3499
|
+
:replication_info_summary_list,
|
3500
|
+
:replicator_arn,
|
3501
|
+
:replicator_name,
|
3502
|
+
:replicator_resource_arn,
|
3503
|
+
:replicator_state)
|
3504
|
+
SENSITIVE = []
|
3505
|
+
include Aws::Structure
|
3506
|
+
end
|
3507
|
+
|
2939
3508
|
# @!attribute [rw] scram
|
2940
3509
|
# @return [Types::Scram]
|
2941
3510
|
#
|
@@ -3083,6 +3652,80 @@ module Aws::Kafka
|
|
3083
3652
|
include Aws::Structure
|
3084
3653
|
end
|
3085
3654
|
|
3655
|
+
# Details about topic replication.
|
3656
|
+
#
|
3657
|
+
# @!attribute [rw] copy_access_control_lists_for_topics
|
3658
|
+
# Whether to periodically configure remote topic ACLs to match their
|
3659
|
+
# corresponding upstream topics.
|
3660
|
+
# @return [Boolean]
|
3661
|
+
#
|
3662
|
+
# @!attribute [rw] copy_topic_configurations
|
3663
|
+
# Whether to periodically configure remote topics to match their
|
3664
|
+
# corresponding upstream topics.
|
3665
|
+
# @return [Boolean]
|
3666
|
+
#
|
3667
|
+
# @!attribute [rw] detect_and_copy_new_topics
|
3668
|
+
# Whether to periodically check for new topics and partitions.
|
3669
|
+
# @return [Boolean]
|
3670
|
+
#
|
3671
|
+
# @!attribute [rw] topics_to_exclude
|
3672
|
+
# List of regular expression patterns indicating the topics that
|
3673
|
+
# should not be replicated.
|
3674
|
+
# @return [Array<String>]
|
3675
|
+
#
|
3676
|
+
# @!attribute [rw] topics_to_replicate
|
3677
|
+
# List of regular expression patterns indicating the topics to copy.
|
3678
|
+
# @return [Array<String>]
|
3679
|
+
#
|
3680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/TopicReplication AWS API Documentation
|
3681
|
+
#
|
3682
|
+
class TopicReplication < Struct.new(
|
3683
|
+
:copy_access_control_lists_for_topics,
|
3684
|
+
:copy_topic_configurations,
|
3685
|
+
:detect_and_copy_new_topics,
|
3686
|
+
:topics_to_exclude,
|
3687
|
+
:topics_to_replicate)
|
3688
|
+
SENSITIVE = []
|
3689
|
+
include Aws::Structure
|
3690
|
+
end
|
3691
|
+
|
3692
|
+
# Details for updating the topic replication of a replicator.
|
3693
|
+
#
|
3694
|
+
# @!attribute [rw] copy_access_control_lists_for_topics
|
3695
|
+
# Whether to periodically configure remote topic ACLs to match their
|
3696
|
+
# corresponding upstream topics.
|
3697
|
+
# @return [Boolean]
|
3698
|
+
#
|
3699
|
+
# @!attribute [rw] copy_topic_configurations
|
3700
|
+
# Whether to periodically configure remote topics to match their
|
3701
|
+
# corresponding upstream topics.
|
3702
|
+
# @return [Boolean]
|
3703
|
+
#
|
3704
|
+
# @!attribute [rw] detect_and_copy_new_topics
|
3705
|
+
# Whether to periodically check for new topics and partitions.
|
3706
|
+
# @return [Boolean]
|
3707
|
+
#
|
3708
|
+
# @!attribute [rw] topics_to_exclude
|
3709
|
+
# List of regular expression patterns indicating the topics that
|
3710
|
+
# should not be replicated.
|
3711
|
+
# @return [Array<String>]
|
3712
|
+
#
|
3713
|
+
# @!attribute [rw] topics_to_replicate
|
3714
|
+
# List of regular expression patterns indicating the topics to copy.
|
3715
|
+
# @return [Array<String>]
|
3716
|
+
#
|
3717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/TopicReplicationUpdate AWS API Documentation
|
3718
|
+
#
|
3719
|
+
class TopicReplicationUpdate < Struct.new(
|
3720
|
+
:copy_access_control_lists_for_topics,
|
3721
|
+
:copy_topic_configurations,
|
3722
|
+
:detect_and_copy_new_topics,
|
3723
|
+
:topics_to_exclude,
|
3724
|
+
:topics_to_replicate)
|
3725
|
+
SENSITIVE = []
|
3726
|
+
include Aws::Structure
|
3727
|
+
end
|
3728
|
+
|
3086
3729
|
# Details for client authentication using TLS.
|
3087
3730
|
#
|
3088
3731
|
# @!attribute [rw] certificate_authority_arn_list
|
@@ -3561,6 +4204,64 @@ module Aws::Kafka
|
|
3561
4204
|
include Aws::Structure
|
3562
4205
|
end
|
3563
4206
|
|
4207
|
+
# Parameters for updating replication information between source and
|
4208
|
+
# target Kafka clusters of a replicator.
|
4209
|
+
#
|
4210
|
+
# @!attribute [rw] consumer_group_replication
|
4211
|
+
# Updated consumer group replication information.
|
4212
|
+
# @return [Types::ConsumerGroupReplicationUpdate]
|
4213
|
+
#
|
4214
|
+
# @!attribute [rw] current_version
|
4215
|
+
# Current replicator version.
|
4216
|
+
# @return [String]
|
4217
|
+
#
|
4218
|
+
# @!attribute [rw] replicator_arn
|
4219
|
+
# @return [String]
|
4220
|
+
#
|
4221
|
+
# @!attribute [rw] source_kafka_cluster_arn
|
4222
|
+
# The ARN of the source Kafka cluster.
|
4223
|
+
# @return [String]
|
4224
|
+
#
|
4225
|
+
# @!attribute [rw] target_kafka_cluster_arn
|
4226
|
+
# The ARN of the target Kafka cluster.
|
4227
|
+
# @return [String]
|
4228
|
+
#
|
4229
|
+
# @!attribute [rw] topic_replication
|
4230
|
+
# Updated topic replication information.
|
4231
|
+
# @return [Types::TopicReplicationUpdate]
|
4232
|
+
#
|
4233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateReplicationInfoRequest AWS API Documentation
|
4234
|
+
#
|
4235
|
+
class UpdateReplicationInfoRequest < Struct.new(
|
4236
|
+
:consumer_group_replication,
|
4237
|
+
:current_version,
|
4238
|
+
:replicator_arn,
|
4239
|
+
:source_kafka_cluster_arn,
|
4240
|
+
:target_kafka_cluster_arn,
|
4241
|
+
:topic_replication)
|
4242
|
+
SENSITIVE = []
|
4243
|
+
include Aws::Structure
|
4244
|
+
end
|
4245
|
+
|
4246
|
+
# Updated Replication information of a replicator.
|
4247
|
+
#
|
4248
|
+
# @!attribute [rw] replicator_arn
|
4249
|
+
# The Amazon Resource Name (ARN) of the replicator.
|
4250
|
+
# @return [String]
|
4251
|
+
#
|
4252
|
+
# @!attribute [rw] replicator_state
|
4253
|
+
# State of the replicator.
|
4254
|
+
# @return [String]
|
4255
|
+
#
|
4256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateReplicationInfoResponse AWS API Documentation
|
4257
|
+
#
|
4258
|
+
class UpdateReplicationInfoResponse < Struct.new(
|
4259
|
+
:replicator_arn,
|
4260
|
+
:replicator_state)
|
4261
|
+
SENSITIVE = []
|
4262
|
+
include Aws::Structure
|
4263
|
+
end
|
4264
|
+
|
3564
4265
|
# Request body for UpdateSecurity.
|
3565
4266
|
#
|
3566
4267
|
# @!attribute [rw] client_authentication
|