@aws-sdk/client-kafka 3.300.0 → 3.303.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.
Files changed (41) hide show
  1. package/dist-cjs/models/models_0.js +44 -53
  2. package/dist-es/models/models_0.js +44 -53
  3. package/dist-types/commands/BatchAssociateScramSecretCommand.d.ts +2 -2
  4. package/dist-types/commands/BatchDisassociateScramSecretCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateClusterCommand.d.ts +28 -28
  6. package/dist-types/commands/CreateClusterV2Command.d.ts +34 -34
  7. package/dist-types/commands/CreateConfigurationCommand.d.ts +2 -2
  8. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteConfigurationCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeClusterOperationCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeClusterV2Command.d.ts +1 -1
  13. package/dist-types/commands/DescribeConfigurationCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +1 -1
  15. package/dist-types/commands/GetBootstrapBrokersCommand.d.ts +1 -1
  16. package/dist-types/commands/GetCompatibleKafkaVersionsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListClusterOperationsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListClustersCommand.d.ts +1 -1
  19. package/dist-types/commands/ListClustersV2Command.d.ts +1 -1
  20. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListConfigurationsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListKafkaVersionsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListNodesCommand.d.ts +1 -1
  24. package/dist-types/commands/ListScramSecretsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/RebootBrokerCommand.d.ts +2 -2
  27. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  28. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  29. package/dist-types/commands/UpdateBrokerCountCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateBrokerStorageCommand.d.ts +4 -4
  31. package/dist-types/commands/UpdateBrokerTypeCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateClusterConfigurationCommand.d.ts +2 -2
  33. package/dist-types/commands/UpdateClusterKafkaVersionCommand.d.ts +2 -2
  34. package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateConnectivityCommand.d.ts +3 -3
  36. package/dist-types/commands/UpdateMonitoringCommand.d.ts +10 -10
  37. package/dist-types/commands/UpdateSecurityCommand.d.ts +11 -11
  38. package/dist-types/commands/UpdateStorageCommand.d.ts +2 -2
  39. package/dist-types/models/models_0.d.ts +89 -44
  40. package/dist-types/ts3.4/models/models_0.d.ts +57 -44
  41. package/package.json +34 -34
@@ -26,7 +26,7 @@ export interface ListConfigurationRevisionsCommandOutput extends ListConfigurati
26
26
  * import { KafkaClient, ListConfigurationRevisionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListConfigurationRevisionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // ListConfigurationRevisionsRequest
30
30
  * Arn: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListConfigurationsCommandOutput extends ListConfigurationsRespo
26
26
  * import { KafkaClient, ListConfigurationsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListConfigurationsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // ListConfigurationsRequest
30
30
  * MaxResults: Number("int"),
31
31
  * NextToken: "STRING_VALUE",
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListKafkaVersionsCommandOutput extends ListKafkaVersionsRespons
26
26
  * import { KafkaClient, ListKafkaVersionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListKafkaVersionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // ListKafkaVersionsRequest
30
30
  * MaxResults: Number("int"),
31
31
  * NextToken: "STRING_VALUE",
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListNodesCommandOutput extends ListNodesResponse, __MetadataBea
26
26
  * import { KafkaClient, ListNodesCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListNodesCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // ListNodesRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListScramSecretsCommandOutput extends ListScramSecretsResponse,
26
26
  * import { KafkaClient, ListScramSecretsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListScramSecretsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // ListScramSecretsRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { KafkaClient, ListTagsForResourceCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListTagsForResourceCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -26,8 +26,8 @@ export interface RebootBrokerCommandOutput extends RebootBrokerResponse, __Metad
26
26
  * import { KafkaClient, RebootBrokerCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, RebootBrokerCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
30
- * BrokerIds: [ // required
29
+ * const input = { // RebootBrokerRequest
30
+ * BrokerIds: [ // __listOf__string // required
31
31
  * "STRING_VALUE",
32
32
  * ],
33
33
  * ClusterArn: "STRING_VALUE", // required
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { KafkaClient, TagResourceCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, TagResourceCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * Tags: { // required
31
+ * Tags: { // __mapOf__string // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { KafkaClient, UntagResourceCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UntagResourceCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // __listOf__string // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,7 +26,7 @@ export interface UpdateBrokerCountCommandOutput extends UpdateBrokerCountRespons
26
26
  * import { KafkaClient, UpdateBrokerCountCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateBrokerCountCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UpdateBrokerCountRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
31
  * CurrentVersion: "STRING_VALUE", // required
32
32
  * TargetNumberOfBrokerNodes: Number("int"), // required
@@ -26,13 +26,13 @@ export interface UpdateBrokerStorageCommandOutput extends UpdateBrokerStorageRes
26
26
  * import { KafkaClient, UpdateBrokerStorageCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateBrokerStorageCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UpdateBrokerStorageRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
31
  * CurrentVersion: "STRING_VALUE", // required
32
- * TargetBrokerEBSVolumeInfo: [ // required
33
- * {
32
+ * TargetBrokerEBSVolumeInfo: [ // __listOfBrokerEBSVolumeInfo // required
33
+ * { // BrokerEBSVolumeInfo
34
34
  * KafkaBrokerNodeId: "STRING_VALUE", // required
35
- * ProvisionedThroughput: {
35
+ * ProvisionedThroughput: { // ProvisionedThroughput
36
36
  * Enabled: true || false,
37
37
  * VolumeThroughput: Number("int"),
38
38
  * },
@@ -26,7 +26,7 @@ export interface UpdateBrokerTypeCommandOutput extends UpdateBrokerTypeResponse,
26
26
  * import { KafkaClient, UpdateBrokerTypeCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateBrokerTypeCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UpdateBrokerTypeRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
31
  * CurrentVersion: "STRING_VALUE", // required
32
32
  * TargetInstanceType: "STRING_VALUE", // required
@@ -26,9 +26,9 @@ export interface UpdateClusterConfigurationCommandOutput extends UpdateClusterCo
26
26
  * import { KafkaClient, UpdateClusterConfigurationCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateClusterConfigurationCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UpdateClusterConfigurationRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
- * ConfigurationInfo: {
31
+ * ConfigurationInfo: { // ConfigurationInfo
32
32
  * Arn: "STRING_VALUE", // required
33
33
  * Revision: Number("long"), // required
34
34
  * },
@@ -26,9 +26,9 @@ export interface UpdateClusterKafkaVersionCommandOutput extends UpdateClusterKaf
26
26
  * import { KafkaClient, UpdateClusterKafkaVersionCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateClusterKafkaVersionCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UpdateClusterKafkaVersionRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
- * ConfigurationInfo: {
31
+ * ConfigurationInfo: { // ConfigurationInfo
32
32
  * Arn: "STRING_VALUE", // required
33
33
  * Revision: Number("long"), // required
34
34
  * },
@@ -26,7 +26,7 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
26
26
  * import { KafkaClient, UpdateConfigurationCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateConfigurationCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UpdateConfigurationRequest
30
30
  * Arn: "STRING_VALUE", // required
31
31
  * Description: "STRING_VALUE",
32
32
  * ServerProperties: "BLOB_VALUE", // required
@@ -26,10 +26,10 @@ export interface UpdateConnectivityCommandOutput extends UpdateConnectivityRespo
26
26
  * import { KafkaClient, UpdateConnectivityCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateConnectivityCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UpdateConnectivityRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
- * ConnectivityInfo: {
32
- * PublicAccess: {
31
+ * ConnectivityInfo: { // ConnectivityInfo
32
+ * PublicAccess: { // PublicAccess
33
33
  * Type: "STRING_VALUE",
34
34
  * },
35
35
  * },
@@ -26,31 +26,31 @@ export interface UpdateMonitoringCommandOutput extends UpdateMonitoringResponse,
26
26
  * import { KafkaClient, UpdateMonitoringCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateMonitoringCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UpdateMonitoringRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
31
  * CurrentVersion: "STRING_VALUE", // required
32
32
  * EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
33
- * OpenMonitoring: {
34
- * Prometheus: {
35
- * JmxExporter: {
33
+ * OpenMonitoring: { // OpenMonitoringInfo
34
+ * Prometheus: { // PrometheusInfo
35
+ * JmxExporter: { // JmxExporterInfo
36
36
  * EnabledInBroker: true || false, // required
37
37
  * },
38
- * NodeExporter: {
38
+ * NodeExporter: { // NodeExporterInfo
39
39
  * EnabledInBroker: true || false, // required
40
40
  * },
41
41
  * },
42
42
  * },
43
- * LoggingInfo: {
44
- * BrokerLogs: {
45
- * CloudWatchLogs: {
43
+ * LoggingInfo: { // LoggingInfo
44
+ * BrokerLogs: { // BrokerLogs
45
+ * CloudWatchLogs: { // CloudWatchLogs
46
46
  * Enabled: true || false, // required
47
47
  * LogGroup: "STRING_VALUE",
48
48
  * },
49
- * Firehose: {
49
+ * Firehose: { // Firehose
50
50
  * DeliveryStream: "STRING_VALUE",
51
51
  * Enabled: true || false, // required
52
52
  * },
53
- * S3: {
53
+ * S3: { // S3
54
54
  * Bucket: "STRING_VALUE",
55
55
  * Enabled: true || false, // required
56
56
  * Prefix: "STRING_VALUE",
@@ -26,33 +26,33 @@ export interface UpdateSecurityCommandOutput extends UpdateSecurityResponse, __M
26
26
  * import { KafkaClient, UpdateSecurityCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateSecurityCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
30
- * ClientAuthentication: {
31
- * Sasl: {
32
- * Scram: {
29
+ * const input = { // UpdateSecurityRequest
30
+ * ClientAuthentication: { // ClientAuthentication
31
+ * Sasl: { // Sasl
32
+ * Scram: { // Scram
33
33
  * Enabled: true || false,
34
34
  * },
35
- * Iam: {
35
+ * Iam: { // Iam
36
36
  * Enabled: true || false,
37
37
  * },
38
38
  * },
39
- * Tls: {
40
- * CertificateAuthorityArnList: [
39
+ * Tls: { // Tls
40
+ * CertificateAuthorityArnList: [ // __listOf__string
41
41
  * "STRING_VALUE",
42
42
  * ],
43
43
  * Enabled: true || false,
44
44
  * },
45
- * Unauthenticated: {
45
+ * Unauthenticated: { // Unauthenticated
46
46
  * Enabled: true || false,
47
47
  * },
48
48
  * },
49
49
  * ClusterArn: "STRING_VALUE", // required
50
50
  * CurrentVersion: "STRING_VALUE", // required
51
- * EncryptionInfo: {
52
- * EncryptionAtRest: {
51
+ * EncryptionInfo: { // EncryptionInfo
52
+ * EncryptionAtRest: { // EncryptionAtRest
53
53
  * DataVolumeKMSKeyId: "STRING_VALUE", // required
54
54
  * },
55
- * EncryptionInTransit: {
55
+ * EncryptionInTransit: { // EncryptionInTransit
56
56
  * ClientBroker: "TLS" || "TLS_PLAINTEXT" || "PLAINTEXT",
57
57
  * InCluster: true || false,
58
58
  * },
@@ -26,10 +26,10 @@ export interface UpdateStorageCommandOutput extends UpdateStorageResponse, __Met
26
26
  * import { KafkaClient, UpdateStorageCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateStorageCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
- * const input = {
29
+ * const input = { // UpdateStorageRequest
30
30
  * ClusterArn: "STRING_VALUE", // required
31
31
  * CurrentVersion: "STRING_VALUE", // required
32
- * ProvisionedThroughput: {
32
+ * ProvisionedThroughput: { // ProvisionedThroughput
33
33
  * Enabled: true || false,
34
34
  * VolumeThroughput: Number("int"),
35
35
  * },
@@ -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;