@aws-sdk/client-kafka 3.985.0 → 3.987.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist-cjs/index.js +330 -6
- package/dist-es/Kafka.js +6 -0
- package/dist-es/commands/CreateTopicCommand.js +16 -0
- package/dist-es/commands/DeleteTopicCommand.js +16 -0
- package/dist-es/commands/UpdateTopicCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/errors.js +144 -0
- package/dist-es/schemas/schemas_0.js +118 -7
- package/dist-types/Kafka.d.ts +21 -0
- package/dist-types/KafkaClient.d.ts +5 -2
- package/dist-types/commands/CreateTopicCommand.d.ts +128 -0
- package/dist-types/commands/DeleteTopicCommand.d.ts +113 -0
- package/dist-types/commands/UpdateTopicCommand.d.ts +121 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/errors.d.ts +198 -0
- package/dist-types/models/models_0.d.ts +130 -0
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/Kafka.d.ts +51 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +20 -2
- package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateTopicCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/errors.d.ts +90 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +2 -2
|
@@ -571,6 +571,18 @@ export interface CreateReplicatorResponse {
|
|
|
571
571
|
ReplicatorName?: string | undefined;
|
|
572
572
|
ReplicatorState?: ReplicatorState | undefined;
|
|
573
573
|
}
|
|
574
|
+
export interface CreateTopicRequest {
|
|
575
|
+
ClusterArn: string | undefined;
|
|
576
|
+
TopicName: string | undefined;
|
|
577
|
+
PartitionCount: number | undefined;
|
|
578
|
+
ReplicationFactor: number | undefined;
|
|
579
|
+
Configs?: string | undefined;
|
|
580
|
+
}
|
|
581
|
+
export interface CreateTopicResponse {
|
|
582
|
+
TopicArn?: string | undefined;
|
|
583
|
+
TopicName?: string | undefined;
|
|
584
|
+
Status?: TopicState | undefined;
|
|
585
|
+
}
|
|
574
586
|
export interface CreateVpcConnectionRequest {
|
|
575
587
|
TargetClusterArn: string | undefined;
|
|
576
588
|
Authentication: string | undefined;
|
|
@@ -616,6 +628,15 @@ export interface DeleteReplicatorResponse {
|
|
|
616
628
|
ReplicatorArn?: string | undefined;
|
|
617
629
|
ReplicatorState?: ReplicatorState | undefined;
|
|
618
630
|
}
|
|
631
|
+
export interface DeleteTopicRequest {
|
|
632
|
+
ClusterArn: string | undefined;
|
|
633
|
+
TopicName: string | undefined;
|
|
634
|
+
}
|
|
635
|
+
export interface DeleteTopicResponse {
|
|
636
|
+
TopicArn?: string | undefined;
|
|
637
|
+
TopicName?: string | undefined;
|
|
638
|
+
Status?: TopicState | undefined;
|
|
639
|
+
}
|
|
619
640
|
export interface DeleteVpcConnectionRequest {
|
|
620
641
|
Arn: string | undefined;
|
|
621
642
|
}
|
|
@@ -1031,3 +1052,14 @@ export interface UpdateStorageResponse {
|
|
|
1031
1052
|
ClusterArn?: string | undefined;
|
|
1032
1053
|
ClusterOperationArn?: string | undefined;
|
|
1033
1054
|
}
|
|
1055
|
+
export interface UpdateTopicRequest {
|
|
1056
|
+
ClusterArn: string | undefined;
|
|
1057
|
+
TopicName: string | undefined;
|
|
1058
|
+
Configs?: string | undefined;
|
|
1059
|
+
PartitionCount?: number | undefined;
|
|
1060
|
+
}
|
|
1061
|
+
export interface UpdateTopicResponse {
|
|
1062
|
+
TopicArn?: string | undefined;
|
|
1063
|
+
TopicName?: string | undefined;
|
|
1064
|
+
Status?: TopicState | undefined;
|
|
1065
|
+
}
|
|
@@ -19,6 +19,7 @@ export declare var ClientAuthentication$: StaticStructureSchema;
|
|
|
19
19
|
export declare var ClientVpcConnection$: StaticStructureSchema;
|
|
20
20
|
export declare var CloudWatchLogs$: StaticStructureSchema;
|
|
21
21
|
export declare var Cluster$: StaticStructureSchema;
|
|
22
|
+
export declare var ClusterConnectivityException$: StaticErrorSchema;
|
|
22
23
|
export declare var ClusterInfo$: StaticStructureSchema;
|
|
23
24
|
export declare var ClusterOperationInfo$: StaticStructureSchema;
|
|
24
25
|
export declare var ClusterOperationStep$: StaticStructureSchema;
|
|
@@ -35,6 +36,7 @@ export declare var ConflictException$: StaticErrorSchema;
|
|
|
35
36
|
export declare var ConnectivityInfo$: StaticStructureSchema;
|
|
36
37
|
export declare var ConsumerGroupReplication$: StaticStructureSchema;
|
|
37
38
|
export declare var ConsumerGroupReplicationUpdate$: StaticStructureSchema;
|
|
39
|
+
export declare var ControllerMovedException$: StaticErrorSchema;
|
|
38
40
|
export declare var ControllerNodeInfo$: StaticStructureSchema;
|
|
39
41
|
export declare var CreateClusterRequest$: StaticStructureSchema;
|
|
40
42
|
export declare var CreateClusterResponse$: StaticStructureSchema;
|
|
@@ -44,6 +46,8 @@ export declare var CreateConfigurationRequest$: StaticStructureSchema;
|
|
|
44
46
|
export declare var CreateConfigurationResponse$: StaticStructureSchema;
|
|
45
47
|
export declare var CreateReplicatorRequest$: StaticStructureSchema;
|
|
46
48
|
export declare var CreateReplicatorResponse$: StaticStructureSchema;
|
|
49
|
+
export declare var CreateTopicRequest$: StaticStructureSchema;
|
|
50
|
+
export declare var CreateTopicResponse$: StaticStructureSchema;
|
|
47
51
|
export declare var CreateVpcConnectionRequest$: StaticStructureSchema;
|
|
48
52
|
export declare var CreateVpcConnectionResponse$: StaticStructureSchema;
|
|
49
53
|
export declare var DeleteClusterPolicyRequest$: StaticStructureSchema;
|
|
@@ -54,6 +58,8 @@ export declare var DeleteConfigurationRequest$: StaticStructureSchema;
|
|
|
54
58
|
export declare var DeleteConfigurationResponse$: StaticStructureSchema;
|
|
55
59
|
export declare var DeleteReplicatorRequest$: StaticStructureSchema;
|
|
56
60
|
export declare var DeleteReplicatorResponse$: StaticStructureSchema;
|
|
61
|
+
export declare var DeleteTopicRequest$: StaticStructureSchema;
|
|
62
|
+
export declare var DeleteTopicResponse$: StaticStructureSchema;
|
|
57
63
|
export declare var DeleteVpcConnectionRequest$: StaticStructureSchema;
|
|
58
64
|
export declare var DeleteVpcConnectionResponse$: StaticStructureSchema;
|
|
59
65
|
export declare var DescribeClusterOperationRequest$: StaticStructureSchema;
|
|
@@ -89,6 +95,7 @@ export declare var GetClusterPolicyRequest$: StaticStructureSchema;
|
|
|
89
95
|
export declare var GetClusterPolicyResponse$: StaticStructureSchema;
|
|
90
96
|
export declare var GetCompatibleKafkaVersionsRequest$: StaticStructureSchema;
|
|
91
97
|
export declare var GetCompatibleKafkaVersionsResponse$: StaticStructureSchema;
|
|
98
|
+
export declare var GroupSubscribedToTopicException$: StaticErrorSchema;
|
|
92
99
|
export declare var Iam$: StaticStructureSchema;
|
|
93
100
|
export declare var InternalServerErrorException$: StaticErrorSchema;
|
|
94
101
|
export declare var JmxExporter$: StaticStructureSchema;
|
|
@@ -97,6 +104,8 @@ export declare var KafkaCluster$: StaticStructureSchema;
|
|
|
97
104
|
export declare var KafkaClusterClientVpcConfig$: StaticStructureSchema;
|
|
98
105
|
export declare var KafkaClusterDescription$: StaticStructureSchema;
|
|
99
106
|
export declare var KafkaClusterSummary$: StaticStructureSchema;
|
|
107
|
+
export declare var KafkaRequestException$: StaticErrorSchema;
|
|
108
|
+
export declare var KafkaTimeoutException$: StaticErrorSchema;
|
|
100
109
|
export declare var KafkaVersion$: StaticStructureSchema;
|
|
101
110
|
export declare var ListClientVpcConnectionsRequest$: StaticStructureSchema;
|
|
102
111
|
export declare var ListClientVpcConnectionsResponse$: StaticStructureSchema;
|
|
@@ -131,6 +140,7 @@ export declare var MutableClusterInfo$: StaticStructureSchema;
|
|
|
131
140
|
export declare var NodeExporter$: StaticStructureSchema;
|
|
132
141
|
export declare var NodeExporterInfo$: StaticStructureSchema;
|
|
133
142
|
export declare var NodeInfo$: StaticStructureSchema;
|
|
143
|
+
export declare var NotControllerException$: StaticErrorSchema;
|
|
134
144
|
export declare var NotFoundException$: StaticErrorSchema;
|
|
135
145
|
export declare var OpenMonitoring$: StaticStructureSchema;
|
|
136
146
|
export declare var OpenMonitoringInfo$: StaticStructureSchema;
|
|
@@ -142,6 +152,7 @@ export declare var ProvisionedThroughput$: StaticStructureSchema;
|
|
|
142
152
|
export declare var PublicAccess$: StaticStructureSchema;
|
|
143
153
|
export declare var PutClusterPolicyRequest$: StaticStructureSchema;
|
|
144
154
|
export declare var PutClusterPolicyResponse$: StaticStructureSchema;
|
|
155
|
+
export declare var ReassignmentInProgressException$: StaticErrorSchema;
|
|
145
156
|
export declare var Rebalancing$: StaticStructureSchema;
|
|
146
157
|
export declare var RebootBrokerRequest$: StaticStructureSchema;
|
|
147
158
|
export declare var RebootBrokerResponse$: StaticStructureSchema;
|
|
@@ -167,12 +178,14 @@ export declare var StorageInfo$: StaticStructureSchema;
|
|
|
167
178
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
168
179
|
export declare var Tls$: StaticStructureSchema;
|
|
169
180
|
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
181
|
+
export declare var TopicExistsException$: StaticErrorSchema;
|
|
170
182
|
export declare var TopicInfo$: StaticStructureSchema;
|
|
171
183
|
export declare var TopicPartitionInfo$: StaticStructureSchema;
|
|
172
184
|
export declare var TopicReplication$: StaticStructureSchema;
|
|
173
185
|
export declare var TopicReplicationUpdate$: StaticStructureSchema;
|
|
174
186
|
export declare var Unauthenticated$: StaticStructureSchema;
|
|
175
187
|
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
188
|
+
export declare var UnknownTopicOrPartitionException$: StaticErrorSchema;
|
|
176
189
|
export declare var UnprocessedScramSecret$: StaticStructureSchema;
|
|
177
190
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
178
191
|
export declare var UpdateBrokerCountRequest$: StaticStructureSchema;
|
|
@@ -199,6 +212,8 @@ export declare var UpdateSecurityRequest$: StaticStructureSchema;
|
|
|
199
212
|
export declare var UpdateSecurityResponse$: StaticStructureSchema;
|
|
200
213
|
export declare var UpdateStorageRequest$: StaticStructureSchema;
|
|
201
214
|
export declare var UpdateStorageResponse$: StaticStructureSchema;
|
|
215
|
+
export declare var UpdateTopicRequest$: StaticStructureSchema;
|
|
216
|
+
export declare var UpdateTopicResponse$: StaticStructureSchema;
|
|
202
217
|
export declare var UserIdentity$: StaticStructureSchema;
|
|
203
218
|
export declare var VpcConfig$: StaticStructureSchema;
|
|
204
219
|
export declare var VpcConnection$: StaticStructureSchema;
|
|
@@ -218,11 +233,13 @@ export declare var CreateCluster$: StaticOperationSchema;
|
|
|
218
233
|
export declare var CreateClusterV2$: StaticOperationSchema;
|
|
219
234
|
export declare var CreateConfiguration$: StaticOperationSchema;
|
|
220
235
|
export declare var CreateReplicator$: StaticOperationSchema;
|
|
236
|
+
export declare var CreateTopic$: StaticOperationSchema;
|
|
221
237
|
export declare var CreateVpcConnection$: StaticOperationSchema;
|
|
222
238
|
export declare var DeleteCluster$: StaticOperationSchema;
|
|
223
239
|
export declare var DeleteClusterPolicy$: StaticOperationSchema;
|
|
224
240
|
export declare var DeleteConfiguration$: StaticOperationSchema;
|
|
225
241
|
export declare var DeleteReplicator$: StaticOperationSchema;
|
|
242
|
+
export declare var DeleteTopic$: StaticOperationSchema;
|
|
226
243
|
export declare var DeleteVpcConnection$: StaticOperationSchema;
|
|
227
244
|
export declare var DescribeCluster$: StaticOperationSchema;
|
|
228
245
|
export declare var DescribeClusterOperation$: StaticOperationSchema;
|
|
@@ -268,3 +285,4 @@ export declare var UpdateRebalancing$: StaticOperationSchema;
|
|
|
268
285
|
export declare var UpdateReplicationInfo$: StaticOperationSchema;
|
|
269
286
|
export declare var UpdateSecurity$: StaticOperationSchema;
|
|
270
287
|
export declare var UpdateStorage$: StaticOperationSchema;
|
|
288
|
+
export declare var UpdateTopic$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafka",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafka Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.987.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kafka",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@aws-sdk/middleware-user-agent": "^3.972.7",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.987.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "^3.972.5",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|