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
@@ -13,6 +13,7 @@ module Aws::Kafka
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AmazonMskCluster = Shapes::StructureShape.new(name: 'AmazonMskCluster')
|
16
17
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
17
18
|
BatchAssociateScramSecretRequest = Shapes::StructureShape.new(name: 'BatchAssociateScramSecretRequest')
|
18
19
|
BatchAssociateScramSecretResponse = Shapes::StructureShape.new(name: 'BatchAssociateScramSecretResponse')
|
@@ -46,12 +47,16 @@ module Aws::Kafka
|
|
46
47
|
ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
|
47
48
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
48
49
|
ConnectivityInfo = Shapes::StructureShape.new(name: 'ConnectivityInfo')
|
50
|
+
ConsumerGroupReplication = Shapes::StructureShape.new(name: 'ConsumerGroupReplication')
|
51
|
+
ConsumerGroupReplicationUpdate = Shapes::StructureShape.new(name: 'ConsumerGroupReplicationUpdate')
|
49
52
|
CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
|
50
53
|
CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
|
51
54
|
CreateClusterV2Request = Shapes::StructureShape.new(name: 'CreateClusterV2Request')
|
52
55
|
CreateClusterV2Response = Shapes::StructureShape.new(name: 'CreateClusterV2Response')
|
53
56
|
CreateConfigurationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationRequest')
|
54
57
|
CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
|
58
|
+
CreateReplicatorRequest = Shapes::StructureShape.new(name: 'CreateReplicatorRequest')
|
59
|
+
CreateReplicatorResponse = Shapes::StructureShape.new(name: 'CreateReplicatorResponse')
|
55
60
|
CreateVpcConnectionRequest = Shapes::StructureShape.new(name: 'CreateVpcConnectionRequest')
|
56
61
|
CreateVpcConnectionResponse = Shapes::StructureShape.new(name: 'CreateVpcConnectionResponse')
|
57
62
|
DeleteClusterPolicyRequest = Shapes::StructureShape.new(name: 'DeleteClusterPolicyRequest')
|
@@ -60,6 +65,8 @@ module Aws::Kafka
|
|
60
65
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
61
66
|
DeleteConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationRequest')
|
62
67
|
DeleteConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteConfigurationResponse')
|
68
|
+
DeleteReplicatorRequest = Shapes::StructureShape.new(name: 'DeleteReplicatorRequest')
|
69
|
+
DeleteReplicatorResponse = Shapes::StructureShape.new(name: 'DeleteReplicatorResponse')
|
63
70
|
DeleteVpcConnectionRequest = Shapes::StructureShape.new(name: 'DeleteVpcConnectionRequest')
|
64
71
|
DeleteVpcConnectionResponse = Shapes::StructureShape.new(name: 'DeleteVpcConnectionResponse')
|
65
72
|
DescribeClusterOperationRequest = Shapes::StructureShape.new(name: 'DescribeClusterOperationRequest')
|
@@ -74,6 +81,8 @@ module Aws::Kafka
|
|
74
81
|
DescribeConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationResponse')
|
75
82
|
DescribeConfigurationRevisionRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionRequest')
|
76
83
|
DescribeConfigurationRevisionResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionResponse')
|
84
|
+
DescribeReplicatorRequest = Shapes::StructureShape.new(name: 'DescribeReplicatorRequest')
|
85
|
+
DescribeReplicatorResponse = Shapes::StructureShape.new(name: 'DescribeReplicatorResponse')
|
77
86
|
DescribeVpcConnectionRequest = Shapes::StructureShape.new(name: 'DescribeVpcConnectionRequest')
|
78
87
|
DescribeVpcConnectionResponse = Shapes::StructureShape.new(name: 'DescribeVpcConnectionResponse')
|
79
88
|
EBSStorageInfo = Shapes::StructureShape.new(name: 'EBSStorageInfo')
|
@@ -95,6 +104,10 @@ module Aws::Kafka
|
|
95
104
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
96
105
|
JmxExporter = Shapes::StructureShape.new(name: 'JmxExporter')
|
97
106
|
JmxExporterInfo = Shapes::StructureShape.new(name: 'JmxExporterInfo')
|
107
|
+
KafkaCluster = Shapes::StructureShape.new(name: 'KafkaCluster')
|
108
|
+
KafkaClusterClientVpcConfig = Shapes::StructureShape.new(name: 'KafkaClusterClientVpcConfig')
|
109
|
+
KafkaClusterDescription = Shapes::StructureShape.new(name: 'KafkaClusterDescription')
|
110
|
+
KafkaClusterSummary = Shapes::StructureShape.new(name: 'KafkaClusterSummary')
|
98
111
|
KafkaVersion = Shapes::StructureShape.new(name: 'KafkaVersion')
|
99
112
|
KafkaVersionStatus = Shapes::StringShape.new(name: 'KafkaVersionStatus')
|
100
113
|
ListClientVpcConnectionsRequest = Shapes::StructureShape.new(name: 'ListClientVpcConnectionsRequest')
|
@@ -115,6 +128,8 @@ module Aws::Kafka
|
|
115
128
|
ListKafkaVersionsResponse = Shapes::StructureShape.new(name: 'ListKafkaVersionsResponse')
|
116
129
|
ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
|
117
130
|
ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
|
131
|
+
ListReplicatorsRequest = Shapes::StructureShape.new(name: 'ListReplicatorsRequest')
|
132
|
+
ListReplicatorsResponse = Shapes::StructureShape.new(name: 'ListReplicatorsResponse')
|
118
133
|
ListScramSecretsRequest = Shapes::StructureShape.new(name: 'ListScramSecretsRequest')
|
119
134
|
ListScramSecretsResponse = Shapes::StructureShape.new(name: 'ListScramSecretsResponse')
|
120
135
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -143,6 +158,12 @@ module Aws::Kafka
|
|
143
158
|
RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
|
144
159
|
RejectClientVpcConnectionRequest = Shapes::StructureShape.new(name: 'RejectClientVpcConnectionRequest')
|
145
160
|
RejectClientVpcConnectionResponse = Shapes::StructureShape.new(name: 'RejectClientVpcConnectionResponse')
|
161
|
+
ReplicationInfo = Shapes::StructureShape.new(name: 'ReplicationInfo')
|
162
|
+
ReplicationInfoDescription = Shapes::StructureShape.new(name: 'ReplicationInfoDescription')
|
163
|
+
ReplicationInfoSummary = Shapes::StructureShape.new(name: 'ReplicationInfoSummary')
|
164
|
+
ReplicationStateInfo = Shapes::StructureShape.new(name: 'ReplicationStateInfo')
|
165
|
+
ReplicatorState = Shapes::StringShape.new(name: 'ReplicatorState')
|
166
|
+
ReplicatorSummary = Shapes::StructureShape.new(name: 'ReplicatorSummary')
|
146
167
|
S3 = Shapes::StructureShape.new(name: 'S3')
|
147
168
|
Sasl = Shapes::StructureShape.new(name: 'Sasl')
|
148
169
|
Scram = Shapes::StructureShape.new(name: 'Scram')
|
@@ -155,8 +176,11 @@ module Aws::Kafka
|
|
155
176
|
StorageInfo = Shapes::StructureShape.new(name: 'StorageInfo')
|
156
177
|
StorageMode = Shapes::StringShape.new(name: 'StorageMode')
|
157
178
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
179
|
+
TargetCompressionType = Shapes::StringShape.new(name: 'TargetCompressionType')
|
158
180
|
Tls = Shapes::StructureShape.new(name: 'Tls')
|
159
181
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
182
|
+
TopicReplication = Shapes::StructureShape.new(name: 'TopicReplication')
|
183
|
+
TopicReplicationUpdate = Shapes::StructureShape.new(name: 'TopicReplicationUpdate')
|
160
184
|
Unauthenticated = Shapes::StructureShape.new(name: 'Unauthenticated')
|
161
185
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
162
186
|
UnprocessedScramSecret = Shapes::StructureShape.new(name: 'UnprocessedScramSecret')
|
@@ -177,6 +201,8 @@ module Aws::Kafka
|
|
177
201
|
UpdateConnectivityResponse = Shapes::StructureShape.new(name: 'UpdateConnectivityResponse')
|
178
202
|
UpdateMonitoringRequest = Shapes::StructureShape.new(name: 'UpdateMonitoringRequest')
|
179
203
|
UpdateMonitoringResponse = Shapes::StructureShape.new(name: 'UpdateMonitoringResponse')
|
204
|
+
UpdateReplicationInfoRequest = Shapes::StructureShape.new(name: 'UpdateReplicationInfoRequest')
|
205
|
+
UpdateReplicationInfoResponse = Shapes::StructureShape.new(name: 'UpdateReplicationInfoResponse')
|
180
206
|
UpdateSecurityRequest = Shapes::StructureShape.new(name: 'UpdateSecurityRequest')
|
181
207
|
UpdateSecurityResponse = Shapes::StructureShape.new(name: 'UpdateSecurityResponse')
|
182
208
|
UpdateStorageRequest = Shapes::StructureShape.new(name: 'UpdateStorageRequest')
|
@@ -211,19 +237,36 @@ module Aws::Kafka
|
|
211
237
|
__listOfCompatibleKafkaVersion = Shapes::ListShape.new(name: '__listOfCompatibleKafkaVersion')
|
212
238
|
__listOfConfiguration = Shapes::ListShape.new(name: '__listOfConfiguration')
|
213
239
|
__listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
|
240
|
+
__listOfKafkaCluster = Shapes::ListShape.new(name: '__listOfKafkaCluster')
|
241
|
+
__listOfKafkaClusterDescription = Shapes::ListShape.new(name: '__listOfKafkaClusterDescription')
|
242
|
+
__listOfKafkaClusterSummary = Shapes::ListShape.new(name: '__listOfKafkaClusterSummary')
|
214
243
|
__listOfKafkaVersion = Shapes::ListShape.new(name: '__listOfKafkaVersion')
|
215
244
|
__listOfNodeInfo = Shapes::ListShape.new(name: '__listOfNodeInfo')
|
245
|
+
__listOfReplicationInfo = Shapes::ListShape.new(name: '__listOfReplicationInfo')
|
246
|
+
__listOfReplicationInfoDescription = Shapes::ListShape.new(name: '__listOfReplicationInfoDescription')
|
247
|
+
__listOfReplicationInfoSummary = Shapes::ListShape.new(name: '__listOfReplicationInfoSummary')
|
248
|
+
__listOfReplicatorSummary = Shapes::ListShape.new(name: '__listOfReplicatorSummary')
|
216
249
|
__listOfUnprocessedScramSecret = Shapes::ListShape.new(name: '__listOfUnprocessedScramSecret')
|
217
250
|
__listOfVpcConfig = Shapes::ListShape.new(name: '__listOfVpcConfig')
|
218
251
|
__listOfVpcConnection = Shapes::ListShape.new(name: '__listOfVpcConnection')
|
219
252
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
253
|
+
__listOf__stringMax249 = Shapes::ListShape.new(name: '__listOf__stringMax249')
|
254
|
+
__listOf__stringMax256 = Shapes::ListShape.new(name: '__listOf__stringMax256')
|
220
255
|
__long = Shapes::IntegerShape.new(name: '__long')
|
221
256
|
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
222
257
|
__string = Shapes::StringShape.new(name: '__string')
|
258
|
+
__stringMax1024 = Shapes::StringShape.new(name: '__stringMax1024')
|
259
|
+
__stringMax249 = Shapes::StringShape.new(name: '__stringMax249')
|
260
|
+
__stringMax256 = Shapes::StringShape.new(name: '__stringMax256')
|
223
261
|
__stringMin1Max128 = Shapes::StringShape.new(name: '__stringMin1Max128')
|
262
|
+
__stringMin1Max128Pattern09AZaZ09AZaZ0 = Shapes::StringShape.new(name: '__stringMin1Max128Pattern09AZaZ09AZaZ0')
|
224
263
|
__stringMin1Max64 = Shapes::StringShape.new(name: '__stringMin1Max64')
|
225
264
|
__stringMin5Max32 = Shapes::StringShape.new(name: '__stringMin5Max32')
|
226
265
|
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
266
|
+
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
267
|
+
|
268
|
+
AmazonMskCluster.add_member(:msk_cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "mskClusterArn"))
|
269
|
+
AmazonMskCluster.struct_class = Types::AmazonMskCluster
|
227
270
|
|
228
271
|
BadRequestException.add_member(:invalid_parameter, Shapes::ShapeRef.new(shape: __string, location_name: "invalidParameter"))
|
229
272
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
@@ -407,6 +450,18 @@ module Aws::Kafka
|
|
407
450
|
ConnectivityInfo.add_member(:vpc_connectivity, Shapes::ShapeRef.new(shape: VpcConnectivity, location_name: "vpcConnectivity"))
|
408
451
|
ConnectivityInfo.struct_class = Types::ConnectivityInfo
|
409
452
|
|
453
|
+
ConsumerGroupReplication.add_member(:consumer_groups_to_exclude, Shapes::ShapeRef.new(shape: __listOf__stringMax256, location_name: "consumerGroupsToExclude"))
|
454
|
+
ConsumerGroupReplication.add_member(:consumer_groups_to_replicate, Shapes::ShapeRef.new(shape: __listOf__stringMax256, required: true, location_name: "consumerGroupsToReplicate"))
|
455
|
+
ConsumerGroupReplication.add_member(:detect_and_copy_new_consumer_groups, Shapes::ShapeRef.new(shape: __boolean, location_name: "detectAndCopyNewConsumerGroups"))
|
456
|
+
ConsumerGroupReplication.add_member(:synchronise_consumer_group_offsets, Shapes::ShapeRef.new(shape: __boolean, location_name: "synchroniseConsumerGroupOffsets"))
|
457
|
+
ConsumerGroupReplication.struct_class = Types::ConsumerGroupReplication
|
458
|
+
|
459
|
+
ConsumerGroupReplicationUpdate.add_member(:consumer_groups_to_exclude, Shapes::ShapeRef.new(shape: __listOf__stringMax256, required: true, location_name: "consumerGroupsToExclude"))
|
460
|
+
ConsumerGroupReplicationUpdate.add_member(:consumer_groups_to_replicate, Shapes::ShapeRef.new(shape: __listOf__stringMax256, required: true, location_name: "consumerGroupsToReplicate"))
|
461
|
+
ConsumerGroupReplicationUpdate.add_member(:detect_and_copy_new_consumer_groups, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "detectAndCopyNewConsumerGroups"))
|
462
|
+
ConsumerGroupReplicationUpdate.add_member(:synchronise_consumer_group_offsets, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "synchroniseConsumerGroupOffsets"))
|
463
|
+
ConsumerGroupReplicationUpdate.struct_class = Types::ConsumerGroupReplicationUpdate
|
464
|
+
|
410
465
|
CreateClusterRequest.add_member(:broker_node_group_info, Shapes::ShapeRef.new(shape: BrokerNodeGroupInfo, required: true, location_name: "brokerNodeGroupInfo"))
|
411
466
|
CreateClusterRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
412
467
|
CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64, required: true, location_name: "clusterName"))
|
@@ -451,6 +506,19 @@ module Aws::Kafka
|
|
451
506
|
CreateConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
452
507
|
CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
|
453
508
|
|
509
|
+
CreateReplicatorRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMax1024, location_name: "description"))
|
510
|
+
CreateReplicatorRequest.add_member(:kafka_clusters, Shapes::ShapeRef.new(shape: __listOfKafkaCluster, required: true, location_name: "kafkaClusters"))
|
511
|
+
CreateReplicatorRequest.add_member(:replication_info_list, Shapes::ShapeRef.new(shape: __listOfReplicationInfo, required: true, location_name: "replicationInfoList"))
|
512
|
+
CreateReplicatorRequest.add_member(:replicator_name, Shapes::ShapeRef.new(shape: __stringMin1Max128Pattern09AZaZ09AZaZ0, required: true, location_name: "replicatorName"))
|
513
|
+
CreateReplicatorRequest.add_member(:service_execution_role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "serviceExecutionRoleArn"))
|
514
|
+
CreateReplicatorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
515
|
+
CreateReplicatorRequest.struct_class = Types::CreateReplicatorRequest
|
516
|
+
|
517
|
+
CreateReplicatorResponse.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorArn"))
|
518
|
+
CreateReplicatorResponse.add_member(:replicator_name, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorName"))
|
519
|
+
CreateReplicatorResponse.add_member(:replicator_state, Shapes::ShapeRef.new(shape: ReplicatorState, location_name: "replicatorState"))
|
520
|
+
CreateReplicatorResponse.struct_class = Types::CreateReplicatorResponse
|
521
|
+
|
454
522
|
CreateVpcConnectionRequest.add_member(:target_cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "targetClusterArn"))
|
455
523
|
CreateVpcConnectionRequest.add_member(:authentication, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "authentication"))
|
456
524
|
CreateVpcConnectionRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "vpcId"))
|
@@ -489,6 +557,14 @@ module Aws::Kafka
|
|
489
557
|
DeleteConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, location_name: "state"))
|
490
558
|
DeleteConfigurationResponse.struct_class = Types::DeleteConfigurationResponse
|
491
559
|
|
560
|
+
DeleteReplicatorRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "currentVersion"))
|
561
|
+
DeleteReplicatorRequest.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "replicatorArn"))
|
562
|
+
DeleteReplicatorRequest.struct_class = Types::DeleteReplicatorRequest
|
563
|
+
|
564
|
+
DeleteReplicatorResponse.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorArn"))
|
565
|
+
DeleteReplicatorResponse.add_member(:replicator_state, Shapes::ShapeRef.new(shape: ReplicatorState, location_name: "replicatorState"))
|
566
|
+
DeleteReplicatorResponse.struct_class = Types::DeleteReplicatorResponse
|
567
|
+
|
492
568
|
DeleteVpcConnectionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
493
569
|
DeleteVpcConnectionRequest.struct_class = Types::DeleteVpcConnectionRequest
|
494
570
|
|
@@ -543,6 +619,24 @@ module Aws::Kafka
|
|
543
619
|
DescribeConfigurationRevisionResponse.add_member(:server_properties, Shapes::ShapeRef.new(shape: __blob, location_name: "serverProperties"))
|
544
620
|
DescribeConfigurationRevisionResponse.struct_class = Types::DescribeConfigurationRevisionResponse
|
545
621
|
|
622
|
+
DescribeReplicatorRequest.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "replicatorArn"))
|
623
|
+
DescribeReplicatorRequest.struct_class = Types::DescribeReplicatorRequest
|
624
|
+
|
625
|
+
DescribeReplicatorResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
626
|
+
DescribeReplicatorResponse.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
|
627
|
+
DescribeReplicatorResponse.add_member(:is_replicator_reference, Shapes::ShapeRef.new(shape: __boolean, location_name: "isReplicatorReference"))
|
628
|
+
DescribeReplicatorResponse.add_member(:kafka_clusters, Shapes::ShapeRef.new(shape: __listOfKafkaClusterDescription, location_name: "kafkaClusters"))
|
629
|
+
DescribeReplicatorResponse.add_member(:replication_info_list, Shapes::ShapeRef.new(shape: __listOfReplicationInfoDescription, location_name: "replicationInfoList"))
|
630
|
+
DescribeReplicatorResponse.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorArn"))
|
631
|
+
DescribeReplicatorResponse.add_member(:replicator_description, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorDescription"))
|
632
|
+
DescribeReplicatorResponse.add_member(:replicator_name, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorName"))
|
633
|
+
DescribeReplicatorResponse.add_member(:replicator_resource_arn, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorResourceArn"))
|
634
|
+
DescribeReplicatorResponse.add_member(:replicator_state, Shapes::ShapeRef.new(shape: ReplicatorState, location_name: "replicatorState"))
|
635
|
+
DescribeReplicatorResponse.add_member(:service_execution_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "serviceExecutionRoleArn"))
|
636
|
+
DescribeReplicatorResponse.add_member(:state_info, Shapes::ShapeRef.new(shape: ReplicationStateInfo, location_name: "stateInfo"))
|
637
|
+
DescribeReplicatorResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
638
|
+
DescribeReplicatorResponse.struct_class = Types::DescribeReplicatorResponse
|
639
|
+
|
546
640
|
DescribeVpcConnectionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "arn"))
|
547
641
|
DescribeVpcConnectionRequest.struct_class = Types::DescribeVpcConnectionRequest
|
548
642
|
|
@@ -629,6 +723,23 @@ module Aws::Kafka
|
|
629
723
|
JmxExporterInfo.add_member(:enabled_in_broker, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabledInBroker"))
|
630
724
|
JmxExporterInfo.struct_class = Types::JmxExporterInfo
|
631
725
|
|
726
|
+
KafkaCluster.add_member(:amazon_msk_cluster, Shapes::ShapeRef.new(shape: AmazonMskCluster, required: true, location_name: "amazonMskCluster"))
|
727
|
+
KafkaCluster.add_member(:vpc_config, Shapes::ShapeRef.new(shape: KafkaClusterClientVpcConfig, required: true, location_name: "vpcConfig"))
|
728
|
+
KafkaCluster.struct_class = Types::KafkaCluster
|
729
|
+
|
730
|
+
KafkaClusterClientVpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroupIds"))
|
731
|
+
KafkaClusterClientVpcConfig.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subnetIds"))
|
732
|
+
KafkaClusterClientVpcConfig.struct_class = Types::KafkaClusterClientVpcConfig
|
733
|
+
|
734
|
+
KafkaClusterDescription.add_member(:amazon_msk_cluster, Shapes::ShapeRef.new(shape: AmazonMskCluster, location_name: "amazonMskCluster"))
|
735
|
+
KafkaClusterDescription.add_member(:kafka_cluster_alias, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaClusterAlias"))
|
736
|
+
KafkaClusterDescription.add_member(:vpc_config, Shapes::ShapeRef.new(shape: KafkaClusterClientVpcConfig, location_name: "vpcConfig"))
|
737
|
+
KafkaClusterDescription.struct_class = Types::KafkaClusterDescription
|
738
|
+
|
739
|
+
KafkaClusterSummary.add_member(:amazon_msk_cluster, Shapes::ShapeRef.new(shape: AmazonMskCluster, location_name: "amazonMskCluster"))
|
740
|
+
KafkaClusterSummary.add_member(:kafka_cluster_alias, Shapes::ShapeRef.new(shape: __string, location_name: "kafkaClusterAlias"))
|
741
|
+
KafkaClusterSummary.struct_class = Types::KafkaClusterSummary
|
742
|
+
|
632
743
|
KafkaVersion.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "version"))
|
633
744
|
KafkaVersion.add_member(:status, Shapes::ShapeRef.new(shape: KafkaVersionStatus, location_name: "status"))
|
634
745
|
KafkaVersion.struct_class = Types::KafkaVersion
|
@@ -713,6 +824,15 @@ module Aws::Kafka
|
|
713
824
|
ListNodesResponse.add_member(:node_info_list, Shapes::ShapeRef.new(shape: __listOfNodeInfo, location_name: "nodeInfoList"))
|
714
825
|
ListNodesResponse.struct_class = Types::ListNodesResponse
|
715
826
|
|
827
|
+
ListReplicatorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
828
|
+
ListReplicatorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
829
|
+
ListReplicatorsRequest.add_member(:replicator_name_filter, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "replicatorNameFilter"))
|
830
|
+
ListReplicatorsRequest.struct_class = Types::ListReplicatorsRequest
|
831
|
+
|
832
|
+
ListReplicatorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
833
|
+
ListReplicatorsResponse.add_member(:replicators, Shapes::ShapeRef.new(shape: __listOfReplicatorSummary, location_name: "replicators"))
|
834
|
+
ListReplicatorsResponse.struct_class = Types::ListReplicatorsResponse
|
835
|
+
|
716
836
|
ListScramSecretsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
717
837
|
ListScramSecretsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
718
838
|
ListScramSecretsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -839,6 +959,39 @@ module Aws::Kafka
|
|
839
959
|
|
840
960
|
RejectClientVpcConnectionResponse.struct_class = Types::RejectClientVpcConnectionResponse
|
841
961
|
|
962
|
+
ReplicationInfo.add_member(:consumer_group_replication, Shapes::ShapeRef.new(shape: ConsumerGroupReplication, required: true, location_name: "consumerGroupReplication"))
|
963
|
+
ReplicationInfo.add_member(:source_kafka_cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceKafkaClusterArn"))
|
964
|
+
ReplicationInfo.add_member(:target_compression_type, Shapes::ShapeRef.new(shape: TargetCompressionType, required: true, location_name: "targetCompressionType"))
|
965
|
+
ReplicationInfo.add_member(:target_kafka_cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "targetKafkaClusterArn"))
|
966
|
+
ReplicationInfo.add_member(:topic_replication, Shapes::ShapeRef.new(shape: TopicReplication, required: true, location_name: "topicReplication"))
|
967
|
+
ReplicationInfo.struct_class = Types::ReplicationInfo
|
968
|
+
|
969
|
+
ReplicationInfoDescription.add_member(:consumer_group_replication, Shapes::ShapeRef.new(shape: ConsumerGroupReplication, location_name: "consumerGroupReplication"))
|
970
|
+
ReplicationInfoDescription.add_member(:source_kafka_cluster_alias, Shapes::ShapeRef.new(shape: __string, location_name: "sourceKafkaClusterAlias"))
|
971
|
+
ReplicationInfoDescription.add_member(:target_compression_type, Shapes::ShapeRef.new(shape: TargetCompressionType, location_name: "targetCompressionType"))
|
972
|
+
ReplicationInfoDescription.add_member(:target_kafka_cluster_alias, Shapes::ShapeRef.new(shape: __string, location_name: "targetKafkaClusterAlias"))
|
973
|
+
ReplicationInfoDescription.add_member(:topic_replication, Shapes::ShapeRef.new(shape: TopicReplication, location_name: "topicReplication"))
|
974
|
+
ReplicationInfoDescription.struct_class = Types::ReplicationInfoDescription
|
975
|
+
|
976
|
+
ReplicationInfoSummary.add_member(:source_kafka_cluster_alias, Shapes::ShapeRef.new(shape: __string, location_name: "sourceKafkaClusterAlias"))
|
977
|
+
ReplicationInfoSummary.add_member(:target_kafka_cluster_alias, Shapes::ShapeRef.new(shape: __string, location_name: "targetKafkaClusterAlias"))
|
978
|
+
ReplicationInfoSummary.struct_class = Types::ReplicationInfoSummary
|
979
|
+
|
980
|
+
ReplicationStateInfo.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
981
|
+
ReplicationStateInfo.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
982
|
+
ReplicationStateInfo.struct_class = Types::ReplicationStateInfo
|
983
|
+
|
984
|
+
ReplicatorSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
985
|
+
ReplicatorSummary.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location_name: "currentVersion"))
|
986
|
+
ReplicatorSummary.add_member(:is_replicator_reference, Shapes::ShapeRef.new(shape: __boolean, location_name: "isReplicatorReference"))
|
987
|
+
ReplicatorSummary.add_member(:kafka_clusters_summary, Shapes::ShapeRef.new(shape: __listOfKafkaClusterSummary, location_name: "kafkaClustersSummary"))
|
988
|
+
ReplicatorSummary.add_member(:replication_info_summary_list, Shapes::ShapeRef.new(shape: __listOfReplicationInfoSummary, location_name: "replicationInfoSummaryList"))
|
989
|
+
ReplicatorSummary.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorArn"))
|
990
|
+
ReplicatorSummary.add_member(:replicator_name, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorName"))
|
991
|
+
ReplicatorSummary.add_member(:replicator_resource_arn, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorResourceArn"))
|
992
|
+
ReplicatorSummary.add_member(:replicator_state, Shapes::ShapeRef.new(shape: ReplicatorState, location_name: "replicatorState"))
|
993
|
+
ReplicatorSummary.struct_class = Types::ReplicatorSummary
|
994
|
+
|
842
995
|
S3.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, location_name: "bucket"))
|
843
996
|
S3.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "enabled"))
|
844
997
|
S3.add_member(:prefix, Shapes::ShapeRef.new(shape: __string, location_name: "prefix"))
|
@@ -888,6 +1041,20 @@ module Aws::Kafka
|
|
888
1041
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
889
1042
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
890
1043
|
|
1044
|
+
TopicReplication.add_member(:copy_access_control_lists_for_topics, Shapes::ShapeRef.new(shape: __boolean, location_name: "copyAccessControlListsForTopics"))
|
1045
|
+
TopicReplication.add_member(:copy_topic_configurations, Shapes::ShapeRef.new(shape: __boolean, location_name: "copyTopicConfigurations"))
|
1046
|
+
TopicReplication.add_member(:detect_and_copy_new_topics, Shapes::ShapeRef.new(shape: __boolean, location_name: "detectAndCopyNewTopics"))
|
1047
|
+
TopicReplication.add_member(:topics_to_exclude, Shapes::ShapeRef.new(shape: __listOf__stringMax249, location_name: "topicsToExclude"))
|
1048
|
+
TopicReplication.add_member(:topics_to_replicate, Shapes::ShapeRef.new(shape: __listOf__stringMax249, required: true, location_name: "topicsToReplicate"))
|
1049
|
+
TopicReplication.struct_class = Types::TopicReplication
|
1050
|
+
|
1051
|
+
TopicReplicationUpdate.add_member(:copy_access_control_lists_for_topics, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "copyAccessControlListsForTopics"))
|
1052
|
+
TopicReplicationUpdate.add_member(:copy_topic_configurations, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "copyTopicConfigurations"))
|
1053
|
+
TopicReplicationUpdate.add_member(:detect_and_copy_new_topics, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "detectAndCopyNewTopics"))
|
1054
|
+
TopicReplicationUpdate.add_member(:topics_to_exclude, Shapes::ShapeRef.new(shape: __listOf__stringMax249, required: true, location_name: "topicsToExclude"))
|
1055
|
+
TopicReplicationUpdate.add_member(:topics_to_replicate, Shapes::ShapeRef.new(shape: __listOf__stringMax249, required: true, location_name: "topicsToReplicate"))
|
1056
|
+
TopicReplicationUpdate.struct_class = Types::TopicReplicationUpdate
|
1057
|
+
|
891
1058
|
Unauthenticated.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "enabled"))
|
892
1059
|
Unauthenticated.struct_class = Types::Unauthenticated
|
893
1060
|
|
@@ -979,6 +1146,18 @@ module Aws::Kafka
|
|
979
1146
|
UpdateMonitoringResponse.add_member(:cluster_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "clusterOperationArn"))
|
980
1147
|
UpdateMonitoringResponse.struct_class = Types::UpdateMonitoringResponse
|
981
1148
|
|
1149
|
+
UpdateReplicationInfoRequest.add_member(:consumer_group_replication, Shapes::ShapeRef.new(shape: ConsumerGroupReplicationUpdate, location_name: "consumerGroupReplication"))
|
1150
|
+
UpdateReplicationInfoRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
1151
|
+
UpdateReplicationInfoRequest.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "replicatorArn"))
|
1152
|
+
UpdateReplicationInfoRequest.add_member(:source_kafka_cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceKafkaClusterArn"))
|
1153
|
+
UpdateReplicationInfoRequest.add_member(:target_kafka_cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "targetKafkaClusterArn"))
|
1154
|
+
UpdateReplicationInfoRequest.add_member(:topic_replication, Shapes::ShapeRef.new(shape: TopicReplicationUpdate, location_name: "topicReplication"))
|
1155
|
+
UpdateReplicationInfoRequest.struct_class = Types::UpdateReplicationInfoRequest
|
1156
|
+
|
1157
|
+
UpdateReplicationInfoResponse.add_member(:replicator_arn, Shapes::ShapeRef.new(shape: __string, location_name: "replicatorArn"))
|
1158
|
+
UpdateReplicationInfoResponse.add_member(:replicator_state, Shapes::ShapeRef.new(shape: ReplicatorState, location_name: "replicatorState"))
|
1159
|
+
UpdateReplicationInfoResponse.struct_class = Types::UpdateReplicationInfoResponse
|
1160
|
+
|
982
1161
|
UpdateSecurityRequest.add_member(:client_authentication, Shapes::ShapeRef.new(shape: ClientAuthentication, location_name: "clientAuthentication"))
|
983
1162
|
UpdateSecurityRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterArn"))
|
984
1163
|
UpdateSecurityRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "currentVersion"))
|
@@ -1075,10 +1254,24 @@ module Aws::Kafka
|
|
1075
1254
|
|
1076
1255
|
__listOfConfigurationRevision.member = Shapes::ShapeRef.new(shape: ConfigurationRevision)
|
1077
1256
|
|
1257
|
+
__listOfKafkaCluster.member = Shapes::ShapeRef.new(shape: KafkaCluster)
|
1258
|
+
|
1259
|
+
__listOfKafkaClusterDescription.member = Shapes::ShapeRef.new(shape: KafkaClusterDescription)
|
1260
|
+
|
1261
|
+
__listOfKafkaClusterSummary.member = Shapes::ShapeRef.new(shape: KafkaClusterSummary)
|
1262
|
+
|
1078
1263
|
__listOfKafkaVersion.member = Shapes::ShapeRef.new(shape: KafkaVersion)
|
1079
1264
|
|
1080
1265
|
__listOfNodeInfo.member = Shapes::ShapeRef.new(shape: NodeInfo)
|
1081
1266
|
|
1267
|
+
__listOfReplicationInfo.member = Shapes::ShapeRef.new(shape: ReplicationInfo)
|
1268
|
+
|
1269
|
+
__listOfReplicationInfoDescription.member = Shapes::ShapeRef.new(shape: ReplicationInfoDescription)
|
1270
|
+
|
1271
|
+
__listOfReplicationInfoSummary.member = Shapes::ShapeRef.new(shape: ReplicationInfoSummary)
|
1272
|
+
|
1273
|
+
__listOfReplicatorSummary.member = Shapes::ShapeRef.new(shape: ReplicatorSummary)
|
1274
|
+
|
1082
1275
|
__listOfUnprocessedScramSecret.member = Shapes::ShapeRef.new(shape: UnprocessedScramSecret)
|
1083
1276
|
|
1084
1277
|
__listOfVpcConfig.member = Shapes::ShapeRef.new(shape: VpcConfig)
|
@@ -1087,6 +1280,10 @@ module Aws::Kafka
|
|
1087
1280
|
|
1088
1281
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
1089
1282
|
|
1283
|
+
__listOf__stringMax249.member = Shapes::ShapeRef.new(shape: __stringMax249)
|
1284
|
+
|
1285
|
+
__listOf__stringMax256.member = Shapes::ShapeRef.new(shape: __stringMax256)
|
1286
|
+
|
1090
1287
|
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
1091
1288
|
__mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
1092
1289
|
|
@@ -1169,6 +1366,22 @@ module Aws::Kafka
|
|
1169
1366
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1170
1367
|
end)
|
1171
1368
|
|
1369
|
+
api.add_operation(:create_replicator, Seahorse::Model::Operation.new.tap do |o|
|
1370
|
+
o.name = "CreateReplicator"
|
1371
|
+
o.http_method = "POST"
|
1372
|
+
o.http_request_uri = "/replication/v1/replicators"
|
1373
|
+
o.input = Shapes::ShapeRef.new(shape: CreateReplicatorRequest)
|
1374
|
+
o.output = Shapes::ShapeRef.new(shape: CreateReplicatorResponse)
|
1375
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1376
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1377
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1378
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1379
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1380
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1381
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1382
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1383
|
+
end)
|
1384
|
+
|
1172
1385
|
api.add_operation(:create_vpc_connection, Seahorse::Model::Operation.new.tap do |o|
|
1173
1386
|
o.name = "CreateVpcConnection"
|
1174
1387
|
o.http_method = "POST"
|
@@ -1208,6 +1421,21 @@ module Aws::Kafka
|
|
1208
1421
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1209
1422
|
end)
|
1210
1423
|
|
1424
|
+
api.add_operation(:delete_replicator, Seahorse::Model::Operation.new.tap do |o|
|
1425
|
+
o.name = "DeleteReplicator"
|
1426
|
+
o.http_method = "DELETE"
|
1427
|
+
o.http_request_uri = "/replication/v1/replicators/{replicatorArn}"
|
1428
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteReplicatorRequest)
|
1429
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteReplicatorResponse)
|
1430
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1431
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1432
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1433
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1434
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1435
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1436
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1437
|
+
end)
|
1438
|
+
|
1211
1439
|
api.add_operation(:delete_vpc_connection, Seahorse::Model::Operation.new.tap do |o|
|
1212
1440
|
o.name = "DeleteVpcConnection"
|
1213
1441
|
o.http_method = "DELETE"
|
@@ -1302,6 +1530,21 @@ module Aws::Kafka
|
|
1302
1530
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1303
1531
|
end)
|
1304
1532
|
|
1533
|
+
api.add_operation(:describe_replicator, Seahorse::Model::Operation.new.tap do |o|
|
1534
|
+
o.name = "DescribeReplicator"
|
1535
|
+
o.http_method = "GET"
|
1536
|
+
o.http_request_uri = "/replication/v1/replicators/{replicatorArn}"
|
1537
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReplicatorRequest)
|
1538
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReplicatorResponse)
|
1539
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1540
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1541
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1542
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1543
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1544
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1545
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1546
|
+
end)
|
1547
|
+
|
1305
1548
|
api.add_operation(:describe_vpc_connection, Seahorse::Model::Operation.new.tap do |o|
|
1306
1549
|
o.name = "DescribeVpcConnection"
|
1307
1550
|
o.http_method = "GET"
|
@@ -1509,6 +1752,27 @@ module Aws::Kafka
|
|
1509
1752
|
)
|
1510
1753
|
end)
|
1511
1754
|
|
1755
|
+
api.add_operation(:list_replicators, Seahorse::Model::Operation.new.tap do |o|
|
1756
|
+
o.name = "ListReplicators"
|
1757
|
+
o.http_method = "GET"
|
1758
|
+
o.http_request_uri = "/replication/v1/replicators"
|
1759
|
+
o.input = Shapes::ShapeRef.new(shape: ListReplicatorsRequest)
|
1760
|
+
o.output = Shapes::ShapeRef.new(shape: ListReplicatorsResponse)
|
1761
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1762
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1763
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1764
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1765
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1766
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1767
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1768
|
+
o[:pager] = Aws::Pager.new(
|
1769
|
+
limit_key: "max_results",
|
1770
|
+
tokens: {
|
1771
|
+
"next_token" => "next_token"
|
1772
|
+
}
|
1773
|
+
)
|
1774
|
+
end)
|
1775
|
+
|
1512
1776
|
api.add_operation(:list_scram_secrets, Seahorse::Model::Operation.new.tap do |o|
|
1513
1777
|
o.name = "ListScramSecrets"
|
1514
1778
|
o.http_method = "GET"
|
@@ -1779,6 +2043,21 @@ module Aws::Kafka
|
|
1779
2043
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1780
2044
|
end)
|
1781
2045
|
|
2046
|
+
api.add_operation(:update_replication_info, Seahorse::Model::Operation.new.tap do |o|
|
2047
|
+
o.name = "UpdateReplicationInfo"
|
2048
|
+
o.http_method = "PUT"
|
2049
|
+
o.http_request_uri = "/replication/v1/replicators/{replicatorArn}/replication-info"
|
2050
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateReplicationInfoRequest)
|
2051
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateReplicationInfoResponse)
|
2052
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2053
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2054
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2055
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2056
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2057
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2058
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2059
|
+
end)
|
2060
|
+
|
1782
2061
|
api.add_operation(:update_security, Seahorse::Model::Operation.new.tap do |o|
|
1783
2062
|
o.name = "UpdateSecurity"
|
1784
2063
|
o.http_method = "PATCH"
|
@@ -32,8 +32,8 @@ module Aws::Kafka
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://kafka.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://kafka-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -68,6 +68,20 @@ module Aws::Kafka
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
class CreateReplicator
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::Kafka::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
71
85
|
class CreateVpcConnection
|
72
86
|
def self.build(context)
|
73
87
|
unless context.config.regional_endpoint
|
@@ -110,6 +124,20 @@ module Aws::Kafka
|
|
110
124
|
end
|
111
125
|
end
|
112
126
|
|
127
|
+
class DeleteReplicator
|
128
|
+
def self.build(context)
|
129
|
+
unless context.config.regional_endpoint
|
130
|
+
endpoint = context.config.endpoint.to_s
|
131
|
+
end
|
132
|
+
Aws::Kafka::EndpointParameters.new(
|
133
|
+
region: context.config.region,
|
134
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
135
|
+
use_fips: context.config.use_fips_endpoint,
|
136
|
+
endpoint: endpoint,
|
137
|
+
)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
113
141
|
class DeleteVpcConnection
|
114
142
|
def self.build(context)
|
115
143
|
unless context.config.regional_endpoint
|
@@ -208,6 +236,20 @@ module Aws::Kafka
|
|
208
236
|
end
|
209
237
|
end
|
210
238
|
|
239
|
+
class DescribeReplicator
|
240
|
+
def self.build(context)
|
241
|
+
unless context.config.regional_endpoint
|
242
|
+
endpoint = context.config.endpoint.to_s
|
243
|
+
end
|
244
|
+
Aws::Kafka::EndpointParameters.new(
|
245
|
+
region: context.config.region,
|
246
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
247
|
+
use_fips: context.config.use_fips_endpoint,
|
248
|
+
endpoint: endpoint,
|
249
|
+
)
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
211
253
|
class DescribeVpcConnection
|
212
254
|
def self.build(context)
|
213
255
|
unless context.config.regional_endpoint
|
@@ -376,6 +418,20 @@ module Aws::Kafka
|
|
376
418
|
end
|
377
419
|
end
|
378
420
|
|
421
|
+
class ListReplicators
|
422
|
+
def self.build(context)
|
423
|
+
unless context.config.regional_endpoint
|
424
|
+
endpoint = context.config.endpoint.to_s
|
425
|
+
end
|
426
|
+
Aws::Kafka::EndpointParameters.new(
|
427
|
+
region: context.config.region,
|
428
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
429
|
+
use_fips: context.config.use_fips_endpoint,
|
430
|
+
endpoint: endpoint,
|
431
|
+
)
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
379
435
|
class ListScramSecrets
|
380
436
|
def self.build(context)
|
381
437
|
unless context.config.regional_endpoint
|
@@ -642,6 +698,20 @@ module Aws::Kafka
|
|
642
698
|
end
|
643
699
|
end
|
644
700
|
|
701
|
+
class UpdateReplicationInfo
|
702
|
+
def self.build(context)
|
703
|
+
unless context.config.regional_endpoint
|
704
|
+
endpoint = context.config.endpoint.to_s
|
705
|
+
end
|
706
|
+
Aws::Kafka::EndpointParameters.new(
|
707
|
+
region: context.config.region,
|
708
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
709
|
+
use_fips: context.config.use_fips_endpoint,
|
710
|
+
endpoint: endpoint,
|
711
|
+
)
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
645
715
|
class UpdateSecurity
|
646
716
|
def self.build(context)
|
647
717
|
unless context.config.regional_endpoint
|
@@ -64,12 +64,16 @@ module Aws::Kafka
|
|
64
64
|
Aws::Kafka::Endpoints::CreateClusterV2.build(context)
|
65
65
|
when :create_configuration
|
66
66
|
Aws::Kafka::Endpoints::CreateConfiguration.build(context)
|
67
|
+
when :create_replicator
|
68
|
+
Aws::Kafka::Endpoints::CreateReplicator.build(context)
|
67
69
|
when :create_vpc_connection
|
68
70
|
Aws::Kafka::Endpoints::CreateVpcConnection.build(context)
|
69
71
|
when :delete_cluster
|
70
72
|
Aws::Kafka::Endpoints::DeleteCluster.build(context)
|
71
73
|
when :delete_configuration
|
72
74
|
Aws::Kafka::Endpoints::DeleteConfiguration.build(context)
|
75
|
+
when :delete_replicator
|
76
|
+
Aws::Kafka::Endpoints::DeleteReplicator.build(context)
|
73
77
|
when :delete_vpc_connection
|
74
78
|
Aws::Kafka::Endpoints::DeleteVpcConnection.build(context)
|
75
79
|
when :describe_cluster
|
@@ -84,6 +88,8 @@ module Aws::Kafka
|
|
84
88
|
Aws::Kafka::Endpoints::DescribeConfiguration.build(context)
|
85
89
|
when :describe_configuration_revision
|
86
90
|
Aws::Kafka::Endpoints::DescribeConfigurationRevision.build(context)
|
91
|
+
when :describe_replicator
|
92
|
+
Aws::Kafka::Endpoints::DescribeReplicator.build(context)
|
87
93
|
when :describe_vpc_connection
|
88
94
|
Aws::Kafka::Endpoints::DescribeVpcConnection.build(context)
|
89
95
|
when :batch_disassociate_scram_secret
|
@@ -108,6 +114,8 @@ module Aws::Kafka
|
|
108
114
|
Aws::Kafka::Endpoints::ListKafkaVersions.build(context)
|
109
115
|
when :list_nodes
|
110
116
|
Aws::Kafka::Endpoints::ListNodes.build(context)
|
117
|
+
when :list_replicators
|
118
|
+
Aws::Kafka::Endpoints::ListReplicators.build(context)
|
111
119
|
when :list_scram_secrets
|
112
120
|
Aws::Kafka::Endpoints::ListScramSecrets.build(context)
|
113
121
|
when :list_tags_for_resource
|
@@ -146,6 +154,8 @@ module Aws::Kafka
|
|
146
154
|
Aws::Kafka::Endpoints::UpdateConnectivity.build(context)
|
147
155
|
when :update_monitoring
|
148
156
|
Aws::Kafka::Endpoints::UpdateMonitoring.build(context)
|
157
|
+
when :update_replication_info
|
158
|
+
Aws::Kafka::Endpoints::UpdateReplicationInfo.build(context)
|
149
159
|
when :update_security
|
150
160
|
Aws::Kafka::Endpoints::UpdateSecurity.build(context)
|
151
161
|
when :update_storage
|