@aws-sdk/client-kafkaconnect 3.52.0 → 3.53.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.
@@ -3,3 +3,4 @@ export * from "./KafkaConnectClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { KafkaConnectServiceException } from "./models/KafkaConnectServiceException";
@@ -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 KafkaConnect service.
4
+ */
5
+ export declare class KafkaConnectServiceException 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 { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
2
3
  /**
3
4
  * <p>The description of the scale-in policy for the connector.</p>
4
5
  */
@@ -809,10 +810,13 @@ export declare namespace AutoScalingUpdate {
809
810
  /**
810
811
  * <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.</p>
811
812
  */
812
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
813
- name: "BadRequestException";
814
- $fault: "client";
815
- message?: string;
813
+ export declare class BadRequestException extends __BaseException {
814
+ readonly name: "BadRequestException";
815
+ readonly $fault: "client";
816
+ /**
817
+ * @internal
818
+ */
819
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
816
820
  }
817
821
  /**
818
822
  * <p>Details about a connector's provisioned capacity.</p>
@@ -912,10 +916,13 @@ export declare namespace CloudWatchLogsLogDelivery {
912
916
  /**
913
917
  * <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.</p>
914
918
  */
915
- export interface ConflictException extends __SmithyException, $MetadataBearer {
916
- name: "ConflictException";
917
- $fault: "client";
918
- message?: string;
919
+ export declare class ConflictException extends __BaseException {
920
+ readonly name: "ConflictException";
921
+ readonly $fault: "client";
922
+ /**
923
+ * @internal
924
+ */
925
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
919
926
  }
920
927
  /**
921
928
  * <p>The details of the Apache Kafka cluster to which the connector is connected.</p>
@@ -1142,50 +1149,68 @@ export declare namespace CreateConnectorResponse {
1142
1149
  /**
1143
1150
  * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.</p>
1144
1151
  */
1145
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
1146
- name: "ForbiddenException";
1147
- $fault: "client";
1148
- message?: string;
1152
+ export declare class ForbiddenException extends __BaseException {
1153
+ readonly name: "ForbiddenException";
1154
+ readonly $fault: "client";
1155
+ /**
1156
+ * @internal
1157
+ */
1158
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
1149
1159
  }
1150
1160
  /**
1151
1161
  * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.</p>
1152
1162
  */
1153
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
1154
- name: "InternalServerErrorException";
1155
- $fault: "server";
1156
- message?: string;
1163
+ export declare class InternalServerErrorException extends __BaseException {
1164
+ readonly name: "InternalServerErrorException";
1165
+ readonly $fault: "server";
1166
+ /**
1167
+ * @internal
1168
+ */
1169
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
1157
1170
  }
1158
1171
  /**
1159
1172
  * <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.</p>
1160
1173
  */
1161
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
1162
- name: "NotFoundException";
1163
- $fault: "client";
1164
- message?: string;
1174
+ export declare class NotFoundException extends __BaseException {
1175
+ readonly name: "NotFoundException";
1176
+ readonly $fault: "client";
1177
+ /**
1178
+ * @internal
1179
+ */
1180
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1165
1181
  }
1166
1182
  /**
1167
1183
  * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.</p>
1168
1184
  */
1169
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
1170
- name: "ServiceUnavailableException";
1171
- $fault: "server";
1172
- message?: string;
1185
+ export declare class ServiceUnavailableException extends __BaseException {
1186
+ readonly name: "ServiceUnavailableException";
1187
+ readonly $fault: "server";
1188
+ /**
1189
+ * @internal
1190
+ */
1191
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
1173
1192
  }
1174
1193
  /**
1175
1194
  * <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
1176
1195
  */
1177
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
1178
- name: "TooManyRequestsException";
1179
- $fault: "client";
1180
- message?: string;
1196
+ export declare class TooManyRequestsException extends __BaseException {
1197
+ readonly name: "TooManyRequestsException";
1198
+ readonly $fault: "client";
1199
+ /**
1200
+ * @internal
1201
+ */
1202
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
1181
1203
  }
1182
1204
  /**
1183
1205
  * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.</p>
1184
1206
  */
1185
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
1186
- name: "UnauthorizedException";
1187
- $fault: "client";
1188
- message?: string;
1207
+ export declare class UnauthorizedException extends __BaseException {
1208
+ readonly name: "UnauthorizedException";
1209
+ readonly $fault: "client";
1210
+ /**
1211
+ * @internal
1212
+ */
1213
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
1189
1214
  }
1190
1215
  /**
1191
1216
  * <p>The location of an object in Amazon S3.</p>
@@ -3,3 +3,4 @@ export * from "./KafkaConnectClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { KafkaConnectServiceException } from "./models/KafkaConnectServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class KafkaConnectServiceException 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 { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
2
3
 
3
4
  export interface ScaleInPolicyDescription {
4
5
 
@@ -471,10 +472,11 @@ export declare namespace AutoScalingUpdate {
471
472
  const filterSensitiveLog: (obj: AutoScalingUpdate) => any;
472
473
  }
473
474
 
474
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
475
- name: "BadRequestException";
476
- $fault: "client";
477
- message?: string;
475
+ export declare class BadRequestException extends __BaseException {
476
+ readonly name: "BadRequestException";
477
+ readonly $fault: "client";
478
+
479
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
478
480
  }
479
481
 
480
482
  export interface ProvisionedCapacity {
@@ -532,10 +534,11 @@ export declare namespace CloudWatchLogsLogDelivery {
532
534
  const filterSensitiveLog: (obj: CloudWatchLogsLogDelivery) => any;
533
535
  }
534
536
 
535
- export interface ConflictException extends __SmithyException, $MetadataBearer {
536
- name: "ConflictException";
537
- $fault: "client";
538
- message?: string;
537
+ export declare class ConflictException extends __BaseException {
538
+ readonly name: "ConflictException";
539
+ readonly $fault: "client";
540
+
541
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
539
542
  }
540
543
 
541
544
  export interface KafkaCluster {
@@ -666,40 +669,46 @@ export declare namespace CreateConnectorResponse {
666
669
  const filterSensitiveLog: (obj: CreateConnectorResponse) => any;
667
670
  }
668
671
 
669
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
670
- name: "ForbiddenException";
671
- $fault: "client";
672
- message?: string;
672
+ export declare class ForbiddenException extends __BaseException {
673
+ readonly name: "ForbiddenException";
674
+ readonly $fault: "client";
675
+
676
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
673
677
  }
674
678
 
675
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
676
- name: "InternalServerErrorException";
677
- $fault: "server";
678
- message?: string;
679
+ export declare class InternalServerErrorException extends __BaseException {
680
+ readonly name: "InternalServerErrorException";
681
+ readonly $fault: "server";
682
+
683
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
679
684
  }
680
685
 
681
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
682
- name: "NotFoundException";
683
- $fault: "client";
684
- message?: string;
686
+ export declare class NotFoundException extends __BaseException {
687
+ readonly name: "NotFoundException";
688
+ readonly $fault: "client";
689
+
690
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
685
691
  }
686
692
 
687
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
688
- name: "ServiceUnavailableException";
689
- $fault: "server";
690
- message?: string;
693
+ export declare class ServiceUnavailableException extends __BaseException {
694
+ readonly name: "ServiceUnavailableException";
695
+ readonly $fault: "server";
696
+
697
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
691
698
  }
692
699
 
693
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
694
- name: "TooManyRequestsException";
695
- $fault: "client";
696
- message?: string;
700
+ export declare class TooManyRequestsException extends __BaseException {
701
+ readonly name: "TooManyRequestsException";
702
+ readonly $fault: "client";
703
+
704
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
697
705
  }
698
706
 
699
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
700
- name: "UnauthorizedException";
701
- $fault: "client";
702
- message?: string;
707
+ export declare class UnauthorizedException extends __BaseException {
708
+ readonly name: "UnauthorizedException";
709
+ readonly $fault: "client";
710
+
711
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
703
712
  }
704
713
 
705
714
  export interface S3Location {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kafkaconnect",
3
3
  "description": "AWS SDK for JavaScript Kafkaconnect Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.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",
@@ -18,34 +18,34 @@
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.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"