@aws-sdk/client-kafka 3.51.0 → 3.54.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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { BatchAssociateScramSecretCommandInput, BatchAssociateScramSecretCommandOutput } from "./commands/BatchAssociateScramSecretCommand";
10
10
  import { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretCommandOutput } from "./commands/BatchDisassociateScramSecretCommand";
11
11
  import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
@@ -63,7 +63,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
63
63
  * A function that can calculate the length of a request body.
64
64
  * @internal
65
65
  */
66
- bodyLengthChecker?: (body: any) => number | undefined;
66
+ bodyLengthChecker?: __BodyLengthCalculator;
67
67
  /**
68
68
  * A function that converts a stream into an array of bytes.
69
69
  * @internal
@@ -3,3 +3,4 @@ export * from "./KafkaClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { KafkaServiceException } from "./models/KafkaServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Kafka service.
4
+ */
5
+ export declare class KafkaServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { KafkaServiceException as __BaseException } from "./KafkaServiceException";
2
3
  /**
3
4
  * Contains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes.
4
5
  */
@@ -1213,9 +1214,9 @@ export declare namespace UnprocessedScramSecret {
1213
1214
  /**
1214
1215
  * <p>Returns information about an error.</p>
1215
1216
  */
1216
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
1217
- name: "BadRequestException";
1218
- $fault: "client";
1217
+ export declare class BadRequestException extends __BaseException {
1218
+ readonly name: "BadRequestException";
1219
+ readonly $fault: "client";
1219
1220
  /**
1220
1221
  * <p>The parameter that caused the error.</p>
1221
1222
  */
@@ -1224,6 +1225,10 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
1224
1225
  * <p>The description of the error.</p>
1225
1226
  */
1226
1227
  Message?: string;
1228
+ /**
1229
+ * @internal
1230
+ */
1231
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
1227
1232
  }
1228
1233
  /**
1229
1234
  * <p>Associates sasl scram secrets to cluster.</p>
@@ -1263,9 +1268,9 @@ export declare namespace BatchAssociateScramSecretResponse {
1263
1268
  /**
1264
1269
  * <p>Returns information about an error.</p>
1265
1270
  */
1266
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
1267
- name: "ForbiddenException";
1268
- $fault: "client";
1271
+ export declare class ForbiddenException extends __BaseException {
1272
+ readonly name: "ForbiddenException";
1273
+ readonly $fault: "client";
1269
1274
  /**
1270
1275
  * <p>The parameter that caused the error.</p>
1271
1276
  */
@@ -1274,13 +1279,17 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
1274
1279
  * <p>The description of the error.</p>
1275
1280
  */
1276
1281
  Message?: string;
1282
+ /**
1283
+ * @internal
1284
+ */
1285
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
1277
1286
  }
1278
1287
  /**
1279
1288
  * <p>Returns information about an error.</p>
1280
1289
  */
1281
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
1282
- name: "InternalServerErrorException";
1283
- $fault: "server";
1290
+ export declare class InternalServerErrorException extends __BaseException {
1291
+ readonly name: "InternalServerErrorException";
1292
+ readonly $fault: "server";
1284
1293
  /**
1285
1294
  * <p>The parameter that caused the error.</p>
1286
1295
  */
@@ -1289,13 +1298,17 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
1289
1298
  * <p>The description of the error.</p>
1290
1299
  */
1291
1300
  Message?: string;
1301
+ /**
1302
+ * @internal
1303
+ */
1304
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
1292
1305
  }
1293
1306
  /**
1294
1307
  * <p>Returns information about an error.</p>
1295
1308
  */
1296
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
1297
- name: "NotFoundException";
1298
- $fault: "client";
1309
+ export declare class NotFoundException extends __BaseException {
1310
+ readonly name: "NotFoundException";
1311
+ readonly $fault: "client";
1299
1312
  /**
1300
1313
  * <p>The parameter that caused the error.</p>
1301
1314
  */
@@ -1304,13 +1317,17 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
1304
1317
  * <p>The description of the error.</p>
1305
1318
  */
1306
1319
  Message?: string;
1320
+ /**
1321
+ * @internal
1322
+ */
1323
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1307
1324
  }
1308
1325
  /**
1309
1326
  * <p>Returns information about an error.</p>
1310
1327
  */
1311
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
1312
- name: "ServiceUnavailableException";
1313
- $fault: "server";
1328
+ export declare class ServiceUnavailableException extends __BaseException {
1329
+ readonly name: "ServiceUnavailableException";
1330
+ readonly $fault: "server";
1314
1331
  /**
1315
1332
  * <p>The parameter that caused the error.</p>
1316
1333
  */
@@ -1319,13 +1336,17 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
1319
1336
  * <p>The description of the error.</p>
1320
1337
  */
1321
1338
  Message?: string;
1339
+ /**
1340
+ * @internal
1341
+ */
1342
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
1322
1343
  }
1323
1344
  /**
1324
1345
  * <p>Returns information about an error.</p>
1325
1346
  */
1326
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
1327
- name: "TooManyRequestsException";
1328
- $fault: "client";
1347
+ export declare class TooManyRequestsException extends __BaseException {
1348
+ readonly name: "TooManyRequestsException";
1349
+ readonly $fault: "client";
1329
1350
  /**
1330
1351
  * <p>The parameter that caused the error.</p>
1331
1352
  */
@@ -1334,13 +1355,17 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
1334
1355
  * <p>The description of the error.</p>
1335
1356
  */
1336
1357
  Message?: string;
1358
+ /**
1359
+ * @internal
1360
+ */
1361
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
1337
1362
  }
1338
1363
  /**
1339
1364
  * <p>Returns information about an error.</p>
1340
1365
  */
1341
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
1342
- name: "UnauthorizedException";
1343
- $fault: "client";
1366
+ export declare class UnauthorizedException extends __BaseException {
1367
+ readonly name: "UnauthorizedException";
1368
+ readonly $fault: "client";
1344
1369
  /**
1345
1370
  * <p>The parameter that caused the error.</p>
1346
1371
  */
@@ -1349,6 +1374,10 @@ export interface UnauthorizedException extends __SmithyException, $MetadataBeare
1349
1374
  * <p>The description of the error.</p>
1350
1375
  */
1351
1376
  Message?: string;
1377
+ /**
1378
+ * @internal
1379
+ */
1380
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
1352
1381
  }
1353
1382
  /**
1354
1383
  * <p>Disassociates sasl scram secrets to cluster.</p>
@@ -1388,9 +1417,9 @@ export declare namespace BatchDisassociateScramSecretResponse {
1388
1417
  /**
1389
1418
  * <p>Returns information about an error.</p>
1390
1419
  */
1391
- export interface ConflictException extends __SmithyException, $MetadataBearer {
1392
- name: "ConflictException";
1393
- $fault: "client";
1420
+ export declare class ConflictException extends __BaseException {
1421
+ readonly name: "ConflictException";
1422
+ readonly $fault: "client";
1394
1423
  /**
1395
1424
  * <p>The parameter that caused the error.</p>
1396
1425
  */
@@ -1399,6 +1428,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
1399
1428
  * <p>The description of the error.</p>
1400
1429
  */
1401
1430
  Message?: string;
1431
+ /**
1432
+ * @internal
1433
+ */
1434
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1402
1435
  }
1403
1436
  export interface CreateClusterRequest {
1404
1437
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { BatchAssociateScramSecretCommandInput, BatchAssociateScramSecretCommandOutput } from "./commands/BatchAssociateScramSecretCommand";
10
10
  import { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretCommandOutput } from "./commands/BatchDisassociateScramSecretCommand";
11
11
  import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
@@ -51,7 +51,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
51
51
 
52
52
  urlParser?: __UrlParser;
53
53
 
54
- bodyLengthChecker?: (body: any) => number | undefined;
54
+ bodyLengthChecker?: __BodyLengthCalculator;
55
55
 
56
56
  streamCollector?: __StreamCollector;
57
57
 
@@ -3,3 +3,4 @@ export * from "./KafkaClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { KafkaServiceException } from "./models/KafkaServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class KafkaServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { KafkaServiceException as __BaseException } from "./KafkaServiceException";
2
3
 
3
4
  export interface ProvisionedThroughput {
4
5
 
@@ -713,13 +714,15 @@ export declare namespace UnprocessedScramSecret {
713
714
  const filterSensitiveLog: (obj: UnprocessedScramSecret) => any;
714
715
  }
715
716
 
716
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
717
- name: "BadRequestException";
718
- $fault: "client";
717
+ export declare class BadRequestException extends __BaseException {
718
+ readonly name: "BadRequestException";
719
+ readonly $fault: "client";
719
720
 
720
721
  InvalidParameter?: string;
721
722
 
722
723
  Message?: string;
724
+
725
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
723
726
  }
724
727
 
725
728
  export interface BatchAssociateScramSecretRequest {
@@ -743,58 +746,70 @@ export declare namespace BatchAssociateScramSecretResponse {
743
746
  const filterSensitiveLog: (obj: BatchAssociateScramSecretResponse) => any;
744
747
  }
745
748
 
746
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
747
- name: "ForbiddenException";
748
- $fault: "client";
749
+ export declare class ForbiddenException extends __BaseException {
750
+ readonly name: "ForbiddenException";
751
+ readonly $fault: "client";
749
752
 
750
753
  InvalidParameter?: string;
751
754
 
752
755
  Message?: string;
756
+
757
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
753
758
  }
754
759
 
755
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
756
- name: "InternalServerErrorException";
757
- $fault: "server";
760
+ export declare class InternalServerErrorException extends __BaseException {
761
+ readonly name: "InternalServerErrorException";
762
+ readonly $fault: "server";
758
763
 
759
764
  InvalidParameter?: string;
760
765
 
761
766
  Message?: string;
767
+
768
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
762
769
  }
763
770
 
764
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
765
- name: "NotFoundException";
766
- $fault: "client";
771
+ export declare class NotFoundException extends __BaseException {
772
+ readonly name: "NotFoundException";
773
+ readonly $fault: "client";
767
774
 
768
775
  InvalidParameter?: string;
769
776
 
770
777
  Message?: string;
778
+
779
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
771
780
  }
772
781
 
773
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
774
- name: "ServiceUnavailableException";
775
- $fault: "server";
782
+ export declare class ServiceUnavailableException extends __BaseException {
783
+ readonly name: "ServiceUnavailableException";
784
+ readonly $fault: "server";
776
785
 
777
786
  InvalidParameter?: string;
778
787
 
779
788
  Message?: string;
789
+
790
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
780
791
  }
781
792
 
782
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
783
- name: "TooManyRequestsException";
784
- $fault: "client";
793
+ export declare class TooManyRequestsException extends __BaseException {
794
+ readonly name: "TooManyRequestsException";
795
+ readonly $fault: "client";
785
796
 
786
797
  InvalidParameter?: string;
787
798
 
788
799
  Message?: string;
800
+
801
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
789
802
  }
790
803
 
791
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
792
- name: "UnauthorizedException";
793
- $fault: "client";
804
+ export declare class UnauthorizedException extends __BaseException {
805
+ readonly name: "UnauthorizedException";
806
+ readonly $fault: "client";
794
807
 
795
808
  InvalidParameter?: string;
796
809
 
797
810
  Message?: string;
811
+
812
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
798
813
  }
799
814
 
800
815
  export interface BatchDisassociateScramSecretRequest {
@@ -818,13 +833,15 @@ export declare namespace BatchDisassociateScramSecretResponse {
818
833
  const filterSensitiveLog: (obj: BatchDisassociateScramSecretResponse) => any;
819
834
  }
820
835
 
821
- export interface ConflictException extends __SmithyException, $MetadataBearer {
822
- name: "ConflictException";
823
- $fault: "client";
836
+ export declare class ConflictException extends __BaseException {
837
+ readonly name: "ConflictException";
838
+ readonly $fault: "client";
824
839
 
825
840
  InvalidParameter?: string;
826
841
 
827
842
  Message?: string;
843
+
844
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
828
845
  }
829
846
  export interface CreateClusterRequest {
830
847
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
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.51.0",
4
+ "version": "3.54.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,40 +18,40 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",