@aws-sdk/client-kafka 3.301.0 → 3.306.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.
@@ -2,59 +2,50 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConflictException = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.BadRequestException = exports.NodeType = exports.KafkaVersionStatus = exports.ConfigurationState = exports.ClusterState = exports.StorageMode = exports.EnhancedMonitoring = exports.ClientBroker = exports.BrokerAZDistribution = exports.ClusterType = void 0;
4
4
  const KafkaServiceException_1 = require("./KafkaServiceException");
5
- var ClusterType;
6
- (function (ClusterType) {
7
- ClusterType["PROVISIONED"] = "PROVISIONED";
8
- ClusterType["SERVERLESS"] = "SERVERLESS";
9
- })(ClusterType = exports.ClusterType || (exports.ClusterType = {}));
10
- var BrokerAZDistribution;
11
- (function (BrokerAZDistribution) {
12
- BrokerAZDistribution["DEFAULT"] = "DEFAULT";
13
- })(BrokerAZDistribution = exports.BrokerAZDistribution || (exports.BrokerAZDistribution = {}));
14
- var ClientBroker;
15
- (function (ClientBroker) {
16
- ClientBroker["PLAINTEXT"] = "PLAINTEXT";
17
- ClientBroker["TLS"] = "TLS";
18
- ClientBroker["TLS_PLAINTEXT"] = "TLS_PLAINTEXT";
19
- })(ClientBroker = exports.ClientBroker || (exports.ClientBroker = {}));
20
- var EnhancedMonitoring;
21
- (function (EnhancedMonitoring) {
22
- EnhancedMonitoring["DEFAULT"] = "DEFAULT";
23
- EnhancedMonitoring["PER_BROKER"] = "PER_BROKER";
24
- EnhancedMonitoring["PER_TOPIC_PER_BROKER"] = "PER_TOPIC_PER_BROKER";
25
- EnhancedMonitoring["PER_TOPIC_PER_PARTITION"] = "PER_TOPIC_PER_PARTITION";
26
- })(EnhancedMonitoring = exports.EnhancedMonitoring || (exports.EnhancedMonitoring = {}));
27
- var StorageMode;
28
- (function (StorageMode) {
29
- StorageMode["LOCAL"] = "LOCAL";
30
- StorageMode["TIERED"] = "TIERED";
31
- })(StorageMode = exports.StorageMode || (exports.StorageMode = {}));
32
- var ClusterState;
33
- (function (ClusterState) {
34
- ClusterState["ACTIVE"] = "ACTIVE";
35
- ClusterState["CREATING"] = "CREATING";
36
- ClusterState["DELETING"] = "DELETING";
37
- ClusterState["FAILED"] = "FAILED";
38
- ClusterState["HEALING"] = "HEALING";
39
- ClusterState["MAINTENANCE"] = "MAINTENANCE";
40
- ClusterState["REBOOTING_BROKER"] = "REBOOTING_BROKER";
41
- ClusterState["UPDATING"] = "UPDATING";
42
- })(ClusterState = exports.ClusterState || (exports.ClusterState = {}));
43
- var ConfigurationState;
44
- (function (ConfigurationState) {
45
- ConfigurationState["ACTIVE"] = "ACTIVE";
46
- ConfigurationState["DELETE_FAILED"] = "DELETE_FAILED";
47
- ConfigurationState["DELETING"] = "DELETING";
48
- })(ConfigurationState = exports.ConfigurationState || (exports.ConfigurationState = {}));
49
- var KafkaVersionStatus;
50
- (function (KafkaVersionStatus) {
51
- KafkaVersionStatus["ACTIVE"] = "ACTIVE";
52
- KafkaVersionStatus["DEPRECATED"] = "DEPRECATED";
53
- })(KafkaVersionStatus = exports.KafkaVersionStatus || (exports.KafkaVersionStatus = {}));
54
- var NodeType;
55
- (function (NodeType) {
56
- NodeType["BROKER"] = "BROKER";
57
- })(NodeType = exports.NodeType || (exports.NodeType = {}));
5
+ exports.ClusterType = {
6
+ PROVISIONED: "PROVISIONED",
7
+ SERVERLESS: "SERVERLESS",
8
+ };
9
+ exports.BrokerAZDistribution = {
10
+ DEFAULT: "DEFAULT",
11
+ };
12
+ exports.ClientBroker = {
13
+ PLAINTEXT: "PLAINTEXT",
14
+ TLS: "TLS",
15
+ TLS_PLAINTEXT: "TLS_PLAINTEXT",
16
+ };
17
+ exports.EnhancedMonitoring = {
18
+ DEFAULT: "DEFAULT",
19
+ PER_BROKER: "PER_BROKER",
20
+ PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER",
21
+ PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION",
22
+ };
23
+ exports.StorageMode = {
24
+ LOCAL: "LOCAL",
25
+ TIERED: "TIERED",
26
+ };
27
+ exports.ClusterState = {
28
+ ACTIVE: "ACTIVE",
29
+ CREATING: "CREATING",
30
+ DELETING: "DELETING",
31
+ FAILED: "FAILED",
32
+ HEALING: "HEALING",
33
+ MAINTENANCE: "MAINTENANCE",
34
+ REBOOTING_BROKER: "REBOOTING_BROKER",
35
+ UPDATING: "UPDATING",
36
+ };
37
+ exports.ConfigurationState = {
38
+ ACTIVE: "ACTIVE",
39
+ DELETE_FAILED: "DELETE_FAILED",
40
+ DELETING: "DELETING",
41
+ };
42
+ exports.KafkaVersionStatus = {
43
+ ACTIVE: "ACTIVE",
44
+ DEPRECATED: "DEPRECATED",
45
+ };
46
+ exports.NodeType = {
47
+ BROKER: "BROKER",
48
+ };
58
49
  class BadRequestException extends KafkaServiceException_1.KafkaServiceException {
59
50
  constructor(opts) {
60
51
  super({
@@ -1,57 +1,48 @@
1
1
  import { KafkaServiceException as __BaseException } from "./KafkaServiceException";
2
- export var ClusterType;
3
- (function (ClusterType) {
4
- ClusterType["PROVISIONED"] = "PROVISIONED";
5
- ClusterType["SERVERLESS"] = "SERVERLESS";
6
- })(ClusterType || (ClusterType = {}));
7
- export var BrokerAZDistribution;
8
- (function (BrokerAZDistribution) {
9
- BrokerAZDistribution["DEFAULT"] = "DEFAULT";
10
- })(BrokerAZDistribution || (BrokerAZDistribution = {}));
11
- export var ClientBroker;
12
- (function (ClientBroker) {
13
- ClientBroker["PLAINTEXT"] = "PLAINTEXT";
14
- ClientBroker["TLS"] = "TLS";
15
- ClientBroker["TLS_PLAINTEXT"] = "TLS_PLAINTEXT";
16
- })(ClientBroker || (ClientBroker = {}));
17
- export var EnhancedMonitoring;
18
- (function (EnhancedMonitoring) {
19
- EnhancedMonitoring["DEFAULT"] = "DEFAULT";
20
- EnhancedMonitoring["PER_BROKER"] = "PER_BROKER";
21
- EnhancedMonitoring["PER_TOPIC_PER_BROKER"] = "PER_TOPIC_PER_BROKER";
22
- EnhancedMonitoring["PER_TOPIC_PER_PARTITION"] = "PER_TOPIC_PER_PARTITION";
23
- })(EnhancedMonitoring || (EnhancedMonitoring = {}));
24
- export var StorageMode;
25
- (function (StorageMode) {
26
- StorageMode["LOCAL"] = "LOCAL";
27
- StorageMode["TIERED"] = "TIERED";
28
- })(StorageMode || (StorageMode = {}));
29
- export var ClusterState;
30
- (function (ClusterState) {
31
- ClusterState["ACTIVE"] = "ACTIVE";
32
- ClusterState["CREATING"] = "CREATING";
33
- ClusterState["DELETING"] = "DELETING";
34
- ClusterState["FAILED"] = "FAILED";
35
- ClusterState["HEALING"] = "HEALING";
36
- ClusterState["MAINTENANCE"] = "MAINTENANCE";
37
- ClusterState["REBOOTING_BROKER"] = "REBOOTING_BROKER";
38
- ClusterState["UPDATING"] = "UPDATING";
39
- })(ClusterState || (ClusterState = {}));
40
- export var ConfigurationState;
41
- (function (ConfigurationState) {
42
- ConfigurationState["ACTIVE"] = "ACTIVE";
43
- ConfigurationState["DELETE_FAILED"] = "DELETE_FAILED";
44
- ConfigurationState["DELETING"] = "DELETING";
45
- })(ConfigurationState || (ConfigurationState = {}));
46
- export var KafkaVersionStatus;
47
- (function (KafkaVersionStatus) {
48
- KafkaVersionStatus["ACTIVE"] = "ACTIVE";
49
- KafkaVersionStatus["DEPRECATED"] = "DEPRECATED";
50
- })(KafkaVersionStatus || (KafkaVersionStatus = {}));
51
- export var NodeType;
52
- (function (NodeType) {
53
- NodeType["BROKER"] = "BROKER";
54
- })(NodeType || (NodeType = {}));
2
+ export const ClusterType = {
3
+ PROVISIONED: "PROVISIONED",
4
+ SERVERLESS: "SERVERLESS",
5
+ };
6
+ export const BrokerAZDistribution = {
7
+ DEFAULT: "DEFAULT",
8
+ };
9
+ export const ClientBroker = {
10
+ PLAINTEXT: "PLAINTEXT",
11
+ TLS: "TLS",
12
+ TLS_PLAINTEXT: "TLS_PLAINTEXT",
13
+ };
14
+ export const EnhancedMonitoring = {
15
+ DEFAULT: "DEFAULT",
16
+ PER_BROKER: "PER_BROKER",
17
+ PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER",
18
+ PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION",
19
+ };
20
+ export const StorageMode = {
21
+ LOCAL: "LOCAL",
22
+ TIERED: "TIERED",
23
+ };
24
+ export const ClusterState = {
25
+ ACTIVE: "ACTIVE",
26
+ CREATING: "CREATING",
27
+ DELETING: "DELETING",
28
+ FAILED: "FAILED",
29
+ HEALING: "HEALING",
30
+ MAINTENANCE: "MAINTENANCE",
31
+ REBOOTING_BROKER: "REBOOTING_BROKER",
32
+ UPDATING: "UPDATING",
33
+ };
34
+ export const ConfigurationState = {
35
+ ACTIVE: "ACTIVE",
36
+ DELETE_FAILED: "DELETE_FAILED",
37
+ DELETING: "DELETING",
38
+ };
39
+ export const KafkaVersionStatus = {
40
+ ACTIVE: "ACTIVE",
41
+ DEPRECATED: "DEPRECATED",
42
+ };
43
+ export const NodeType = {
44
+ BROKER: "BROKER",
45
+ };
55
46
  export class BadRequestException extends __BaseException {
56
47
  constructor(opts) {
57
48
  super({
@@ -34,17 +34,27 @@ export interface BrokerEBSVolumeInfo {
34
34
  }
35
35
  /**
36
36
  * @public
37
+ * @enum
37
38
  */
38
- export declare enum ClusterType {
39
- PROVISIONED = "PROVISIONED",
40
- SERVERLESS = "SERVERLESS"
41
- }
39
+ export declare const ClusterType: {
40
+ readonly PROVISIONED: "PROVISIONED";
41
+ readonly SERVERLESS: "SERVERLESS";
42
+ };
42
43
  /**
43
44
  * @public
44
45
  */
45
- export declare enum BrokerAZDistribution {
46
- DEFAULT = "DEFAULT"
47
- }
46
+ export type ClusterType = (typeof ClusterType)[keyof typeof ClusterType];
47
+ /**
48
+ * @public
49
+ * @enum
50
+ */
51
+ export declare const BrokerAZDistribution: {
52
+ readonly DEFAULT: "DEFAULT";
53
+ };
54
+ /**
55
+ * @public
56
+ */
57
+ export type BrokerAZDistribution = (typeof BrokerAZDistribution)[keyof typeof BrokerAZDistribution];
48
58
  /**
49
59
  * @public
50
60
  * Public access control for brokers.
@@ -226,12 +236,17 @@ export interface EncryptionAtRest {
226
236
  }
227
237
  /**
228
238
  * @public
239
+ * @enum
229
240
  */
230
- export declare enum ClientBroker {
231
- PLAINTEXT = "PLAINTEXT",
232
- TLS = "TLS",
233
- TLS_PLAINTEXT = "TLS_PLAINTEXT"
234
- }
241
+ export declare const ClientBroker: {
242
+ readonly PLAINTEXT: "PLAINTEXT";
243
+ readonly TLS: "TLS";
244
+ readonly TLS_PLAINTEXT: "TLS_PLAINTEXT";
245
+ };
246
+ /**
247
+ * @public
248
+ */
249
+ export type ClientBroker = (typeof ClientBroker)[keyof typeof ClientBroker];
235
250
  /**
236
251
  * @public
237
252
  * <p>The settings for encrypting data in transit.</p>
@@ -270,13 +285,18 @@ export interface EncryptionInfo {
270
285
  }
271
286
  /**
272
287
  * @public
288
+ * @enum
273
289
  */
274
- export declare enum EnhancedMonitoring {
275
- DEFAULT = "DEFAULT",
276
- PER_BROKER = "PER_BROKER",
277
- PER_TOPIC_PER_BROKER = "PER_TOPIC_PER_BROKER",
278
- PER_TOPIC_PER_PARTITION = "PER_TOPIC_PER_PARTITION"
279
- }
290
+ export declare const EnhancedMonitoring: {
291
+ readonly DEFAULT: "DEFAULT";
292
+ readonly PER_BROKER: "PER_BROKER";
293
+ readonly PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER";
294
+ readonly PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION";
295
+ };
296
+ /**
297
+ * @public
298
+ */
299
+ export type EnhancedMonitoring = (typeof EnhancedMonitoring)[keyof typeof EnhancedMonitoring];
280
300
  /**
281
301
  * @public
282
302
  */
@@ -359,11 +379,16 @@ export interface OpenMonitoringInfo {
359
379
  }
360
380
  /**
361
381
  * @public
382
+ * @enum
362
383
  */
363
- export declare enum StorageMode {
364
- LOCAL = "LOCAL",
365
- TIERED = "TIERED"
366
- }
384
+ export declare const StorageMode: {
385
+ readonly LOCAL: "LOCAL";
386
+ readonly TIERED: "TIERED";
387
+ };
388
+ /**
389
+ * @public
390
+ */
391
+ export type StorageMode = (typeof StorageMode)[keyof typeof StorageMode];
367
392
  /**
368
393
  * @public
369
394
  * <p>Provisioned cluster.</p>
@@ -464,17 +489,22 @@ export interface Serverless {
464
489
  }
465
490
  /**
466
491
  * @public
492
+ * @enum
467
493
  */
468
- export declare enum ClusterState {
469
- ACTIVE = "ACTIVE",
470
- CREATING = "CREATING",
471
- DELETING = "DELETING",
472
- FAILED = "FAILED",
473
- HEALING = "HEALING",
474
- MAINTENANCE = "MAINTENANCE",
475
- REBOOTING_BROKER = "REBOOTING_BROKER",
476
- UPDATING = "UPDATING"
477
- }
494
+ export declare const ClusterState: {
495
+ readonly ACTIVE: "ACTIVE";
496
+ readonly CREATING: "CREATING";
497
+ readonly DELETING: "DELETING";
498
+ readonly FAILED: "FAILED";
499
+ readonly HEALING: "HEALING";
500
+ readonly MAINTENANCE: "MAINTENANCE";
501
+ readonly REBOOTING_BROKER: "REBOOTING_BROKER";
502
+ readonly UPDATING: "UPDATING";
503
+ };
504
+ /**
505
+ * @public
506
+ */
507
+ export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
478
508
  /**
479
509
  * @public
480
510
  */
@@ -842,12 +872,17 @@ export interface ConfigurationRevision {
842
872
  }
843
873
  /**
844
874
  * @public
875
+ * @enum
845
876
  */
846
- export declare enum ConfigurationState {
847
- ACTIVE = "ACTIVE",
848
- DELETE_FAILED = "DELETE_FAILED",
849
- DELETING = "DELETING"
850
- }
877
+ export declare const ConfigurationState: {
878
+ readonly ACTIVE: "ACTIVE";
879
+ readonly DELETE_FAILED: "DELETE_FAILED";
880
+ readonly DELETING: "DELETING";
881
+ };
882
+ /**
883
+ * @public
884
+ */
885
+ export type ConfigurationState = (typeof ConfigurationState)[keyof typeof ConfigurationState];
851
886
  /**
852
887
  * @public
853
888
  * <p>Represents an MSK Configuration.</p>
@@ -884,11 +919,16 @@ export interface Configuration {
884
919
  }
885
920
  /**
886
921
  * @public
922
+ * @enum
887
923
  */
888
- export declare enum KafkaVersionStatus {
889
- ACTIVE = "ACTIVE",
890
- DEPRECATED = "DEPRECATED"
891
- }
924
+ export declare const KafkaVersionStatus: {
925
+ readonly ACTIVE: "ACTIVE";
926
+ readonly DEPRECATED: "DEPRECATED";
927
+ };
928
+ /**
929
+ * @public
930
+ */
931
+ export type KafkaVersionStatus = (typeof KafkaVersionStatus)[keyof typeof KafkaVersionStatus];
892
932
  /**
893
933
  * @public
894
934
  */
@@ -928,10 +968,15 @@ export interface BrokerNodeInfo {
928
968
  }
929
969
  /**
930
970
  * @public
971
+ * @enum
931
972
  */
932
- export declare enum NodeType {
933
- BROKER = "BROKER"
934
- }
973
+ export declare const NodeType: {
974
+ readonly BROKER: "BROKER";
975
+ };
976
+ /**
977
+ * @public
978
+ */
979
+ export type NodeType = (typeof NodeType)[keyof typeof NodeType];
935
980
  /**
936
981
  * @public
937
982
  * <p>Zookeeper node information.</p>
@@ -9,13 +9,16 @@ export interface BrokerEBSVolumeInfo {
9
9
  ProvisionedThroughput?: ProvisionedThroughput;
10
10
  VolumeSizeGB?: number;
11
11
  }
12
- export declare enum ClusterType {
13
- PROVISIONED = "PROVISIONED",
14
- SERVERLESS = "SERVERLESS",
15
- }
16
- export declare enum BrokerAZDistribution {
17
- DEFAULT = "DEFAULT",
18
- }
12
+ export declare const ClusterType: {
13
+ readonly PROVISIONED: "PROVISIONED";
14
+ readonly SERVERLESS: "SERVERLESS";
15
+ };
16
+ export type ClusterType = (typeof ClusterType)[keyof typeof ClusterType];
17
+ export declare const BrokerAZDistribution: {
18
+ readonly DEFAULT: "DEFAULT";
19
+ };
20
+ export type BrokerAZDistribution =
21
+ (typeof BrokerAZDistribution)[keyof typeof BrokerAZDistribution];
19
22
  export interface PublicAccess {
20
23
  Type?: string;
21
24
  }
@@ -67,11 +70,12 @@ export interface BrokerSoftwareInfo {
67
70
  export interface EncryptionAtRest {
68
71
  DataVolumeKMSKeyId: string | undefined;
69
72
  }
70
- export declare enum ClientBroker {
71
- PLAINTEXT = "PLAINTEXT",
72
- TLS = "TLS",
73
- TLS_PLAINTEXT = "TLS_PLAINTEXT",
74
- }
73
+ export declare const ClientBroker: {
74
+ readonly PLAINTEXT: "PLAINTEXT";
75
+ readonly TLS: "TLS";
76
+ readonly TLS_PLAINTEXT: "TLS_PLAINTEXT";
77
+ };
78
+ export type ClientBroker = (typeof ClientBroker)[keyof typeof ClientBroker];
75
79
  export interface EncryptionInTransit {
76
80
  ClientBroker?: ClientBroker | string;
77
81
  InCluster?: boolean;
@@ -80,12 +84,14 @@ export interface EncryptionInfo {
80
84
  EncryptionAtRest?: EncryptionAtRest;
81
85
  EncryptionInTransit?: EncryptionInTransit;
82
86
  }
83
- export declare enum EnhancedMonitoring {
84
- DEFAULT = "DEFAULT",
85
- PER_BROKER = "PER_BROKER",
86
- PER_TOPIC_PER_BROKER = "PER_TOPIC_PER_BROKER",
87
- PER_TOPIC_PER_PARTITION = "PER_TOPIC_PER_PARTITION",
88
- }
87
+ export declare const EnhancedMonitoring: {
88
+ readonly DEFAULT: "DEFAULT";
89
+ readonly PER_BROKER: "PER_BROKER";
90
+ readonly PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER";
91
+ readonly PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION";
92
+ };
93
+ export type EnhancedMonitoring =
94
+ (typeof EnhancedMonitoring)[keyof typeof EnhancedMonitoring];
89
95
  export interface CloudWatchLogs {
90
96
  Enabled: boolean | undefined;
91
97
  LogGroup?: string;
@@ -120,10 +126,11 @@ export interface PrometheusInfo {
120
126
  export interface OpenMonitoringInfo {
121
127
  Prometheus: PrometheusInfo | undefined;
122
128
  }
123
- export declare enum StorageMode {
124
- LOCAL = "LOCAL",
125
- TIERED = "TIERED",
126
- }
129
+ export declare const StorageMode: {
130
+ readonly LOCAL: "LOCAL";
131
+ readonly TIERED: "TIERED";
132
+ };
133
+ export type StorageMode = (typeof StorageMode)[keyof typeof StorageMode];
127
134
  export interface Provisioned {
128
135
  BrokerNodeGroupInfo: BrokerNodeGroupInfo | undefined;
129
136
  CurrentBrokerSoftwareInfo?: BrokerSoftwareInfo;
@@ -151,16 +158,17 @@ export interface Serverless {
151
158
  VpcConfigs: VpcConfig[] | undefined;
152
159
  ClientAuthentication?: ServerlessClientAuthentication;
153
160
  }
154
- export declare enum ClusterState {
155
- ACTIVE = "ACTIVE",
156
- CREATING = "CREATING",
157
- DELETING = "DELETING",
158
- FAILED = "FAILED",
159
- HEALING = "HEALING",
160
- MAINTENANCE = "MAINTENANCE",
161
- REBOOTING_BROKER = "REBOOTING_BROKER",
162
- UPDATING = "UPDATING",
163
- }
161
+ export declare const ClusterState: {
162
+ readonly ACTIVE: "ACTIVE";
163
+ readonly CREATING: "CREATING";
164
+ readonly DELETING: "DELETING";
165
+ readonly FAILED: "FAILED";
166
+ readonly HEALING: "HEALING";
167
+ readonly MAINTENANCE: "MAINTENANCE";
168
+ readonly REBOOTING_BROKER: "REBOOTING_BROKER";
169
+ readonly UPDATING: "UPDATING";
170
+ };
171
+ export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
164
172
  export interface StateInfo {
165
173
  Code?: string;
166
174
  Message?: string;
@@ -263,11 +271,13 @@ export interface ConfigurationRevision {
263
271
  Description?: string;
264
272
  Revision: number | undefined;
265
273
  }
266
- export declare enum ConfigurationState {
267
- ACTIVE = "ACTIVE",
268
- DELETE_FAILED = "DELETE_FAILED",
269
- DELETING = "DELETING",
270
- }
274
+ export declare const ConfigurationState: {
275
+ readonly ACTIVE: "ACTIVE";
276
+ readonly DELETE_FAILED: "DELETE_FAILED";
277
+ readonly DELETING: "DELETING";
278
+ };
279
+ export type ConfigurationState =
280
+ (typeof ConfigurationState)[keyof typeof ConfigurationState];
271
281
  export interface Configuration {
272
282
  Arn: string | undefined;
273
283
  CreationTime: Date | undefined;
@@ -277,10 +287,12 @@ export interface Configuration {
277
287
  Name: string | undefined;
278
288
  State: ConfigurationState | string | undefined;
279
289
  }
280
- export declare enum KafkaVersionStatus {
281
- ACTIVE = "ACTIVE",
282
- DEPRECATED = "DEPRECATED",
283
- }
290
+ export declare const KafkaVersionStatus: {
291
+ readonly ACTIVE: "ACTIVE";
292
+ readonly DEPRECATED: "DEPRECATED";
293
+ };
294
+ export type KafkaVersionStatus =
295
+ (typeof KafkaVersionStatus)[keyof typeof KafkaVersionStatus];
284
296
  export interface KafkaVersion {
285
297
  Version?: string;
286
298
  Status?: KafkaVersionStatus | string;
@@ -293,9 +305,10 @@ export interface BrokerNodeInfo {
293
305
  CurrentBrokerSoftwareInfo?: BrokerSoftwareInfo;
294
306
  Endpoints?: string[];
295
307
  }
296
- export declare enum NodeType {
297
- BROKER = "BROKER",
298
- }
308
+ export declare const NodeType: {
309
+ readonly BROKER: "BROKER";
310
+ };
311
+ export type NodeType = (typeof NodeType)[keyof typeof NodeType];
299
312
  export interface ZookeeperNodeInfo {
300
313
  AttachedENIId?: string;
301
314
  ClientVpcIpAddress?: string;
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.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",