@aws-sdk/client-kafka 3.451.0 → 3.454.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/dist-cjs/models/models_0.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClusterV2Command.d.ts +1 -0
- package/dist-types/commands/ListClustersCommand.d.ts +1 -0
- package/dist-types/commands/ListClustersV2Command.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +23 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +2 -2
|
@@ -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.
|
|
4
|
+
"version": "3.454.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,7 +21,7 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.454.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.451.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.451.0",
|