@aws-sdk/client-kafka 3.1098.0 → 3.1100.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 +35 -0
- package/dist-cjs/index.js +535 -151
- package/dist-es/Kafka.js +10 -0
- package/dist-es/commands/CreateChannelCommand.js +4 -0
- package/dist-es/commands/DeleteChannelCommand.js +4 -0
- package/dist-es/commands/DescribeChannelCommand.js +4 -0
- package/dist-es/commands/ListChannelsCommand.js +4 -0
- package/dist-es/commands/UpdateChannelCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +36 -0
- package/dist-es/schemas/schemas_0.js +432 -150
- package/dist-types/Kafka.d.ts +35 -0
- package/dist-types/KafkaClient.d.ts +7 -2
- package/dist-types/commands/CreateChannelCommand.d.ts +181 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +94 -0
- package/dist-types/commands/DescribeChannelCommand.d.ts +186 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +105 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +92 -0
- package/dist-types/models/models_0.d.ts +632 -1
- package/dist-types/schemas/schemas_0.d.ts +34 -0
- package/dist-types/ts3.4/Kafka.d.ts +85 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +45 -0
- package/dist-types/ts3.4/models/models_0.d.ts +157 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +34 -0
- package/package.json +3 -3
package/dist-es/Kafka.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { BatchAssociateScramSecretCommand, } from "./commands/BatchAssociateScramSecretCommand";
|
|
3
3
|
import { BatchDisassociateScramSecretCommand, } from "./commands/BatchDisassociateScramSecretCommand";
|
|
4
|
+
import { CreateChannelCommand, } from "./commands/CreateChannelCommand";
|
|
4
5
|
import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
|
|
5
6
|
import { CreateClusterV2Command, } from "./commands/CreateClusterV2Command";
|
|
6
7
|
import { CreateConfigurationCommand, } from "./commands/CreateConfigurationCommand";
|
|
7
8
|
import { CreateReplicatorCommand, } from "./commands/CreateReplicatorCommand";
|
|
8
9
|
import { CreateTopicCommand, } from "./commands/CreateTopicCommand";
|
|
9
10
|
import { CreateVpcConnectionCommand, } from "./commands/CreateVpcConnectionCommand";
|
|
11
|
+
import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
|
|
10
12
|
import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
|
|
11
13
|
import { DeleteClusterPolicyCommand, } from "./commands/DeleteClusterPolicyCommand";
|
|
12
14
|
import { DeleteConfigurationCommand, } from "./commands/DeleteConfigurationCommand";
|
|
13
15
|
import { DeleteReplicatorCommand, } from "./commands/DeleteReplicatorCommand";
|
|
14
16
|
import { DeleteTopicCommand, } from "./commands/DeleteTopicCommand";
|
|
15
17
|
import { DeleteVpcConnectionCommand, } from "./commands/DeleteVpcConnectionCommand";
|
|
18
|
+
import { DescribeChannelCommand, } from "./commands/DescribeChannelCommand";
|
|
16
19
|
import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
|
|
17
20
|
import { DescribeClusterOperationCommand, } from "./commands/DescribeClusterOperationCommand";
|
|
18
21
|
import { DescribeClusterOperationV2Command, } from "./commands/DescribeClusterOperationV2Command";
|
|
@@ -26,6 +29,7 @@ import { DescribeVpcConnectionCommand, } from "./commands/DescribeVpcConnectionC
|
|
|
26
29
|
import { GetBootstrapBrokersCommand, } from "./commands/GetBootstrapBrokersCommand";
|
|
27
30
|
import { GetClusterPolicyCommand, } from "./commands/GetClusterPolicyCommand";
|
|
28
31
|
import { GetCompatibleKafkaVersionsCommand, } from "./commands/GetCompatibleKafkaVersionsCommand";
|
|
32
|
+
import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
|
|
29
33
|
import { ListClientVpcConnectionsCommand, } from "./commands/ListClientVpcConnectionsCommand";
|
|
30
34
|
import { ListClusterOperationsCommand, } from "./commands/ListClusterOperationsCommand";
|
|
31
35
|
import { ListClusterOperationsV2Command, } from "./commands/ListClusterOperationsV2Command";
|
|
@@ -48,6 +52,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
48
52
|
import { UpdateBrokerCountCommand, } from "./commands/UpdateBrokerCountCommand";
|
|
49
53
|
import { UpdateBrokerStorageCommand, } from "./commands/UpdateBrokerStorageCommand";
|
|
50
54
|
import { UpdateBrokerTypeCommand, } from "./commands/UpdateBrokerTypeCommand";
|
|
55
|
+
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
51
56
|
import { UpdateClusterConfigurationCommand, } from "./commands/UpdateClusterConfigurationCommand";
|
|
52
57
|
import { UpdateClusterKafkaVersionCommand, } from "./commands/UpdateClusterKafkaVersionCommand";
|
|
53
58
|
import { UpdateConfigurationCommand, } from "./commands/UpdateConfigurationCommand";
|
|
@@ -76,18 +81,21 @@ import { paginateListVpcConnections } from "./pagination/ListVpcConnectionsPagin
|
|
|
76
81
|
const commands = {
|
|
77
82
|
BatchAssociateScramSecretCommand,
|
|
78
83
|
BatchDisassociateScramSecretCommand,
|
|
84
|
+
CreateChannelCommand,
|
|
79
85
|
CreateClusterCommand,
|
|
80
86
|
CreateClusterV2Command,
|
|
81
87
|
CreateConfigurationCommand,
|
|
82
88
|
CreateReplicatorCommand,
|
|
83
89
|
CreateTopicCommand,
|
|
84
90
|
CreateVpcConnectionCommand,
|
|
91
|
+
DeleteChannelCommand,
|
|
85
92
|
DeleteClusterCommand,
|
|
86
93
|
DeleteClusterPolicyCommand,
|
|
87
94
|
DeleteConfigurationCommand,
|
|
88
95
|
DeleteReplicatorCommand,
|
|
89
96
|
DeleteTopicCommand,
|
|
90
97
|
DeleteVpcConnectionCommand,
|
|
98
|
+
DescribeChannelCommand,
|
|
91
99
|
DescribeClusterCommand,
|
|
92
100
|
DescribeClusterOperationCommand,
|
|
93
101
|
DescribeClusterOperationV2Command,
|
|
@@ -101,6 +109,7 @@ const commands = {
|
|
|
101
109
|
GetBootstrapBrokersCommand,
|
|
102
110
|
GetClusterPolicyCommand,
|
|
103
111
|
GetCompatibleKafkaVersionsCommand,
|
|
112
|
+
ListChannelsCommand,
|
|
104
113
|
ListClientVpcConnectionsCommand,
|
|
105
114
|
ListClusterOperationsCommand,
|
|
106
115
|
ListClusterOperationsV2Command,
|
|
@@ -123,6 +132,7 @@ const commands = {
|
|
|
123
132
|
UpdateBrokerCountCommand,
|
|
124
133
|
UpdateBrokerStorageCommand,
|
|
125
134
|
UpdateBrokerTypeCommand,
|
|
135
|
+
UpdateChannelCommand,
|
|
126
136
|
UpdateClusterConfigurationCommand,
|
|
127
137
|
UpdateClusterKafkaVersionCommand,
|
|
128
138
|
UpdateConfigurationCommand,
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
export * from "./BatchAssociateScramSecretCommand";
|
|
2
2
|
export * from "./BatchDisassociateScramSecretCommand";
|
|
3
|
+
export * from "./CreateChannelCommand";
|
|
3
4
|
export * from "./CreateClusterCommand";
|
|
4
5
|
export * from "./CreateClusterV2Command";
|
|
5
6
|
export * from "./CreateConfigurationCommand";
|
|
6
7
|
export * from "./CreateReplicatorCommand";
|
|
7
8
|
export * from "./CreateTopicCommand";
|
|
8
9
|
export * from "./CreateVpcConnectionCommand";
|
|
10
|
+
export * from "./DeleteChannelCommand";
|
|
9
11
|
export * from "./DeleteClusterCommand";
|
|
10
12
|
export * from "./DeleteClusterPolicyCommand";
|
|
11
13
|
export * from "./DeleteConfigurationCommand";
|
|
12
14
|
export * from "./DeleteReplicatorCommand";
|
|
13
15
|
export * from "./DeleteTopicCommand";
|
|
14
16
|
export * from "./DeleteVpcConnectionCommand";
|
|
17
|
+
export * from "./DescribeChannelCommand";
|
|
15
18
|
export * from "./DescribeClusterCommand";
|
|
16
19
|
export * from "./DescribeClusterOperationCommand";
|
|
17
20
|
export * from "./DescribeClusterOperationV2Command";
|
|
@@ -25,6 +28,7 @@ export * from "./DescribeVpcConnectionCommand";
|
|
|
25
28
|
export * from "./GetBootstrapBrokersCommand";
|
|
26
29
|
export * from "./GetClusterPolicyCommand";
|
|
27
30
|
export * from "./GetCompatibleKafkaVersionsCommand";
|
|
31
|
+
export * from "./ListChannelsCommand";
|
|
28
32
|
export * from "./ListClientVpcConnectionsCommand";
|
|
29
33
|
export * from "./ListClusterOperationsCommand";
|
|
30
34
|
export * from "./ListClusterOperationsV2Command";
|
|
@@ -47,6 +51,7 @@ export * from "./UntagResourceCommand";
|
|
|
47
51
|
export * from "./UpdateBrokerCountCommand";
|
|
48
52
|
export * from "./UpdateBrokerStorageCommand";
|
|
49
53
|
export * from "./UpdateBrokerTypeCommand";
|
|
54
|
+
export * from "./UpdateChannelCommand";
|
|
50
55
|
export * from "./UpdateClusterConfigurationCommand";
|
|
51
56
|
export * from "./UpdateClusterKafkaVersionCommand";
|
|
52
57
|
export * from "./UpdateConfigurationCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
export const ChannelDestinationType = {
|
|
2
|
+
ICEBERG: "ICEBERG",
|
|
3
|
+
S3: "S3",
|
|
4
|
+
};
|
|
5
|
+
export const ChannelStatus = {
|
|
6
|
+
ACTIVE: "ACTIVE",
|
|
7
|
+
CREATING: "CREATING",
|
|
8
|
+
DELETING: "DELETING",
|
|
9
|
+
FAILED: "FAILED",
|
|
10
|
+
SUSPENDED: "SUSPENDED",
|
|
11
|
+
SUSPENDING: "SUSPENDING",
|
|
12
|
+
UPDATING: "UPDATING",
|
|
13
|
+
};
|
|
1
14
|
export const VpcConnectionState = {
|
|
2
15
|
AVAILABLE: "AVAILABLE",
|
|
3
16
|
CREATING: "CREATING",
|
|
@@ -62,6 +75,9 @@ export const ConfigurationState = {
|
|
|
62
75
|
DELETE_FAILED: "DELETE_FAILED",
|
|
63
76
|
DELETING: "DELETING",
|
|
64
77
|
};
|
|
78
|
+
export const PartitionStrategy = {
|
|
79
|
+
TIME_HOUR: "TIME_HOUR",
|
|
80
|
+
};
|
|
65
81
|
export const KafkaClusterSaslScramMechanism = {
|
|
66
82
|
SHA256: "SHA256",
|
|
67
83
|
SHA512: "SHA512",
|
|
@@ -102,6 +118,26 @@ export const ReplicatorState = {
|
|
|
102
118
|
RUNNING: "RUNNING",
|
|
103
119
|
UPDATING: "UPDATING",
|
|
104
120
|
};
|
|
121
|
+
export const ValueConverter = {
|
|
122
|
+
BYTE_ARRAY: "BYTE_ARRAY",
|
|
123
|
+
JSON: "JSON",
|
|
124
|
+
JSON_SCHEMA_GSR: "JSON_SCHEMA_GSR",
|
|
125
|
+
STRING: "STRING",
|
|
126
|
+
};
|
|
127
|
+
export const IcebergCompressionType = {
|
|
128
|
+
SNAPPY: "SNAPPY",
|
|
129
|
+
ZSTD: "ZSTD",
|
|
130
|
+
};
|
|
131
|
+
export const S3CompressionType = {
|
|
132
|
+
GZIP: "GZIP",
|
|
133
|
+
NONE: "NONE",
|
|
134
|
+
ZSTD: "ZSTD",
|
|
135
|
+
};
|
|
136
|
+
export const S3StorageClass = {
|
|
137
|
+
GLACIER_IR: "GLACIER_IR",
|
|
138
|
+
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
139
|
+
STANDARD: "STANDARD",
|
|
140
|
+
};
|
|
105
141
|
export const TopicState = {
|
|
106
142
|
ACTIVE: "ACTIVE",
|
|
107
143
|
CREATING: "CREATING",
|