@aws-sdk/client-kafka 3.450.0 → 3.453.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConflictException = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.BadRequestException = exports.ReplicatorState = exports.TargetCompressionType = exports.NodeType = exports.KafkaVersionStatus = exports.ConfigurationState = exports.UserIdentityType = exports.ClusterState = exports.StorageMode = exports.EnhancedMonitoring = exports.ClientBroker = exports.BrokerAZDistribution = exports.ClusterType = exports.VpcConnectionState = void 0;
3
+ exports.ConflictException = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.BadRequestException = exports.ReplicatorState = exports.TargetCompressionType = exports.NodeType = exports.KafkaVersionStatus = exports.ConfigurationState = exports.UserIdentityType = exports.ClusterState = exports.StorageMode = exports.EnhancedMonitoring = exports.ClientBroker = exports.CustomerActionStatus = exports.BrokerAZDistribution = exports.ClusterType = exports.VpcConnectionState = void 0;
4
4
  const KafkaServiceException_1 = require("./KafkaServiceException");
5
5
  exports.VpcConnectionState = {
6
6
  AVAILABLE: "AVAILABLE",
@@ -19,6 +19,11 @@ exports.ClusterType = {
19
19
  exports.BrokerAZDistribution = {
20
20
  DEFAULT: "DEFAULT",
21
21
  };
22
+ exports.CustomerActionStatus = {
23
+ ACTION_RECOMMENDED: "ACTION_RECOMMENDED",
24
+ CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
25
+ NONE: "NONE",
26
+ };
22
27
  exports.ClientBroker = {
23
28
  PLAINTEXT: "PLAINTEXT",
24
29
  TLS: "TLS",
@@ -4357,6 +4357,7 @@ const de_ClusterInfo = (output, context) => {
4357
4357
  CreationTime: [, (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)), `creationTime`],
4358
4358
  CurrentBrokerSoftwareInfo: [, (_) => de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
4359
4359
  CurrentVersion: [, smithy_client_1.expectString, `currentVersion`],
4360
+ CustomerActionStatus: [, smithy_client_1.expectString, `customerActionStatus`],
4360
4361
  EncryptionInfo: [, (_) => de_EncryptionInfo(_, context), `encryptionInfo`],
4361
4362
  EnhancedMonitoring: [, smithy_client_1.expectString, `enhancedMonitoring`],
4362
4363
  LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
@@ -4622,6 +4623,7 @@ const de_Provisioned = (output, context) => {
4622
4623
  BrokerNodeGroupInfo: [, (_) => de_BrokerNodeGroupInfo(_, context), `brokerNodeGroupInfo`],
4623
4624
  ClientAuthentication: [, (_) => de_ClientAuthentication(_, context), `clientAuthentication`],
4624
4625
  CurrentBrokerSoftwareInfo: [, (_) => de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
4626
+ CustomerActionStatus: [, smithy_client_1.expectString, `customerActionStatus`],
4625
4627
  EncryptionInfo: [, (_) => de_EncryptionInfo(_, context), `encryptionInfo`],
4626
4628
  EnhancedMonitoring: [, smithy_client_1.expectString, `enhancedMonitoring`],
4627
4629
  LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
@@ -16,6 +16,11 @@ export const ClusterType = {
16
16
  export const BrokerAZDistribution = {
17
17
  DEFAULT: "DEFAULT",
18
18
  };
19
+ export const CustomerActionStatus = {
20
+ ACTION_RECOMMENDED: "ACTION_RECOMMENDED",
21
+ CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
22
+ NONE: "NONE",
23
+ };
19
24
  export const ClientBroker = {
20
25
  PLAINTEXT: "PLAINTEXT",
21
26
  TLS: "TLS",
@@ -4248,6 +4248,7 @@ const de_ClusterInfo = (output, context) => {
4248
4248
  CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
4249
4249
  CurrentBrokerSoftwareInfo: [, (_) => de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
4250
4250
  CurrentVersion: [, __expectString, `currentVersion`],
4251
+ CustomerActionStatus: [, __expectString, `customerActionStatus`],
4251
4252
  EncryptionInfo: [, (_) => de_EncryptionInfo(_, context), `encryptionInfo`],
4252
4253
  EnhancedMonitoring: [, __expectString, `enhancedMonitoring`],
4253
4254
  LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
@@ -4513,6 +4514,7 @@ const de_Provisioned = (output, context) => {
4513
4514
  BrokerNodeGroupInfo: [, (_) => de_BrokerNodeGroupInfo(_, context), `brokerNodeGroupInfo`],
4514
4515
  ClientAuthentication: [, (_) => de_ClientAuthentication(_, context), `clientAuthentication`],
4515
4516
  CurrentBrokerSoftwareInfo: [, (_) => de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
4517
+ CustomerActionStatus: [, __expectString, `customerActionStatus`],
4516
4518
  EncryptionInfo: [, (_) => de_EncryptionInfo(_, context), `encryptionInfo`],
4517
4519
  EnhancedMonitoring: [, __expectString, `enhancedMonitoring`],
4518
4520
  LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
@@ -157,6 +157,7 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
157
157
  * // ZookeeperConnectString: "STRING_VALUE",
158
158
  * // ZookeeperConnectStringTls: "STRING_VALUE",
159
159
  * // StorageMode: "LOCAL" || "TIERED",
160
+ * // CustomerActionStatus: "CRITICAL_ACTION_REQUIRED" || "ACTION_RECOMMENDED" || "NONE",
160
161
  * // },
161
162
  * // };
162
163
  *
@@ -159,6 +159,7 @@ export interface DescribeClusterV2CommandOutput extends DescribeClusterV2Respons
159
159
  * // ZookeeperConnectString: "STRING_VALUE",
160
160
  * // ZookeeperConnectStringTls: "STRING_VALUE",
161
161
  * // StorageMode: "LOCAL" || "TIERED",
162
+ * // CustomerActionStatus: "CRITICAL_ACTION_REQUIRED" || "ACTION_RECOMMENDED" || "NONE",
162
163
  * // },
163
164
  * // Serverless: { // Serverless
164
165
  * // VpcConfigs: [ // __listOfVpcConfig // required
@@ -160,6 +160,7 @@ export interface ListClustersCommandOutput extends ListClustersResponse, __Metad
160
160
  * // ZookeeperConnectString: "STRING_VALUE",
161
161
  * // ZookeeperConnectStringTls: "STRING_VALUE",
162
162
  * // StorageMode: "LOCAL" || "TIERED",
163
+ * // CustomerActionStatus: "CRITICAL_ACTION_REQUIRED" || "ACTION_RECOMMENDED" || "NONE",
163
164
  * // },
164
165
  * // ],
165
166
  * // NextToken: "STRING_VALUE",
@@ -163,6 +163,7 @@ export interface ListClustersV2CommandOutput extends ListClustersV2Response, __M
163
163
  * // ZookeeperConnectString: "STRING_VALUE",
164
164
  * // ZookeeperConnectStringTls: "STRING_VALUE",
165
165
  * // StorageMode: "LOCAL" || "TIERED",
166
+ * // CustomerActionStatus: "CRITICAL_ACTION_REQUIRED" || "ACTION_RECOMMENDED" || "NONE",
166
167
  * // },
167
168
  * // Serverless: { // Serverless
168
169
  * // VpcConfigs: [ // __listOfVpcConfig // required
@@ -388,6 +388,19 @@ export interface BrokerSoftwareInfo {
388
388
  */
389
389
  KafkaVersion?: string;
390
390
  }
391
+ /**
392
+ * @public
393
+ * @enum
394
+ */
395
+ export declare const CustomerActionStatus: {
396
+ readonly ACTION_RECOMMENDED: "ACTION_RECOMMENDED";
397
+ readonly CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED";
398
+ readonly NONE: "NONE";
399
+ };
400
+ /**
401
+ * @public
402
+ */
403
+ export type CustomerActionStatus = (typeof CustomerActionStatus)[keyof typeof CustomerActionStatus];
391
404
  /**
392
405
  * @public
393
406
  * <p>The data-volume encryption details.</p>
@@ -623,6 +636,11 @@ export interface Provisioned {
623
636
  * <p>This controls storage mode for supported storage tiers.</p>
624
637
  */
625
638
  StorageMode?: StorageMode;
639
+ /**
640
+ * @public
641
+ * <p>Determines if there is an action required from the customer.</p>
642
+ */
643
+ CustomerActionStatus?: CustomerActionStatus;
626
644
  }
627
645
  /**
628
646
  * @public
@@ -905,6 +923,11 @@ export interface ClusterInfo {
905
923
  * <p>This controls storage mode for supported storage tiers.</p>
906
924
  */
907
925
  StorageMode?: StorageMode;
926
+ /**
927
+ * @public
928
+ * <p>Determines if there is an action required from the customer.</p>
929
+ */
930
+ CustomerActionStatus?: CustomerActionStatus;
908
931
  }
909
932
  /**
910
933
  * @public
@@ -108,6 +108,13 @@ export interface BrokerSoftwareInfo {
108
108
  ConfigurationRevision?: number;
109
109
  KafkaVersion?: string;
110
110
  }
111
+ export declare const CustomerActionStatus: {
112
+ readonly ACTION_RECOMMENDED: "ACTION_RECOMMENDED";
113
+ readonly CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED";
114
+ readonly NONE: "NONE";
115
+ };
116
+ export type CustomerActionStatus =
117
+ (typeof CustomerActionStatus)[keyof typeof CustomerActionStatus];
111
118
  export interface EncryptionAtRest {
112
119
  DataVolumeKMSKeyId: string | undefined;
113
120
  }
@@ -184,6 +191,7 @@ export interface Provisioned {
184
191
  ZookeeperConnectString?: string;
185
192
  ZookeeperConnectStringTls?: string;
186
193
  StorageMode?: StorageMode;
194
+ CustomerActionStatus?: CustomerActionStatus;
187
195
  }
188
196
  export interface ServerlessSasl {
189
197
  Iam?: Iam;
@@ -260,6 +268,7 @@ export interface ClusterInfo {
260
268
  ZookeeperConnectString?: string;
261
269
  ZookeeperConnectStringTls?: string;
262
270
  StorageMode?: StorageMode;
271
+ CustomerActionStatus?: CustomerActionStatus;
263
272
  }
264
273
  export interface ErrorInfo {
265
274
  ErrorCode?: 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.450.0",
4
+ "version": "3.453.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.450.0",
25
- "@aws-sdk/core": "3.445.0",
26
- "@aws-sdk/credential-provider-node": "3.450.0",
27
- "@aws-sdk/middleware-host-header": "3.449.0",
28
- "@aws-sdk/middleware-logger": "3.449.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.449.0",
30
- "@aws-sdk/middleware-signing": "3.449.0",
31
- "@aws-sdk/middleware-user-agent": "3.449.0",
32
- "@aws-sdk/region-config-resolver": "3.433.0",
33
- "@aws-sdk/types": "3.449.0",
34
- "@aws-sdk/util-endpoints": "3.449.0",
35
- "@aws-sdk/util-user-agent-browser": "3.449.0",
36
- "@aws-sdk/util-user-agent-node": "3.449.0",
37
- "@smithy/config-resolver": "^2.0.16",
38
- "@smithy/fetch-http-handler": "^2.2.4",
39
- "@smithy/hash-node": "^2.0.12",
40
- "@smithy/invalid-dependency": "^2.0.12",
41
- "@smithy/middleware-content-length": "^2.0.14",
42
- "@smithy/middleware-endpoint": "^2.1.3",
43
- "@smithy/middleware-retry": "^2.0.18",
44
- "@smithy/middleware-serde": "^2.0.12",
45
- "@smithy/middleware-stack": "^2.0.6",
46
- "@smithy/node-config-provider": "^2.1.3",
47
- "@smithy/node-http-handler": "^2.1.8",
48
- "@smithy/protocol-http": "^3.0.8",
49
- "@smithy/smithy-client": "^2.1.12",
50
- "@smithy/types": "^2.4.0",
51
- "@smithy/url-parser": "^2.0.12",
52
- "@smithy/util-base64": "^2.0.0",
24
+ "@aws-sdk/client-sts": "3.451.0",
25
+ "@aws-sdk/core": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.451.0",
27
+ "@aws-sdk/middleware-host-header": "3.451.0",
28
+ "@aws-sdk/middleware-logger": "3.451.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.451.0",
30
+ "@aws-sdk/middleware-signing": "3.451.0",
31
+ "@aws-sdk/middleware-user-agent": "3.451.0",
32
+ "@aws-sdk/region-config-resolver": "3.451.0",
33
+ "@aws-sdk/types": "3.451.0",
34
+ "@aws-sdk/util-endpoints": "3.451.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.451.0",
36
+ "@aws-sdk/util-user-agent-node": "3.451.0",
37
+ "@smithy/config-resolver": "^2.0.18",
38
+ "@smithy/fetch-http-handler": "^2.2.6",
39
+ "@smithy/hash-node": "^2.0.15",
40
+ "@smithy/invalid-dependency": "^2.0.13",
41
+ "@smithy/middleware-content-length": "^2.0.15",
42
+ "@smithy/middleware-endpoint": "^2.2.0",
43
+ "@smithy/middleware-retry": "^2.0.20",
44
+ "@smithy/middleware-serde": "^2.0.13",
45
+ "@smithy/middleware-stack": "^2.0.7",
46
+ "@smithy/node-config-provider": "^2.1.5",
47
+ "@smithy/node-http-handler": "^2.1.9",
48
+ "@smithy/protocol-http": "^3.0.9",
49
+ "@smithy/smithy-client": "^2.1.15",
50
+ "@smithy/types": "^2.5.0",
51
+ "@smithy/url-parser": "^2.0.13",
52
+ "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.16",
56
- "@smithy/util-defaults-mode-node": "^2.0.21",
57
- "@smithy/util-endpoints": "^1.0.2",
58
- "@smithy/util-retry": "^2.0.5",
59
- "@smithy/util-utf8": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.19",
56
+ "@smithy/util-defaults-mode-node": "^2.0.25",
57
+ "@smithy/util-endpoints": "^1.0.4",
58
+ "@smithy/util-retry": "^2.0.6",
59
+ "@smithy/util-utf8": "^2.0.2",
60
60
  "tslib": "^2.5.0"
61
61
  },
62
62
  "devDependencies": {