@aws-sdk/client-kafkaconnect 3.934.0 → 3.936.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/index.js +0 -70
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +97 -0
- package/dist-es/models/models_0.js +0 -97
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +105 -0
- package/dist-types/models/models_0.d.ts +0 -105
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -52
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,66 +117,6 @@ let KafkaConnectServiceException$1 = class KafkaConnectServiceException extends
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const ConnectorOperationStepState = {
|
|
121
|
-
CANCELLED: "CANCELLED",
|
|
122
|
-
COMPLETED: "COMPLETED",
|
|
123
|
-
FAILED: "FAILED",
|
|
124
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
125
|
-
PENDING: "PENDING",
|
|
126
|
-
};
|
|
127
|
-
const ConnectorOperationStepType = {
|
|
128
|
-
FINALIZE_UPDATE: "FINALIZE_UPDATE",
|
|
129
|
-
INITIALIZE_UPDATE: "INITIALIZE_UPDATE",
|
|
130
|
-
UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION",
|
|
131
|
-
UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING",
|
|
132
|
-
VALIDATE_UPDATE: "VALIDATE_UPDATE",
|
|
133
|
-
};
|
|
134
|
-
const ConnectorOperationState = {
|
|
135
|
-
PENDING: "PENDING",
|
|
136
|
-
ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",
|
|
137
|
-
ROLLBACK_FAILED: "ROLLBACK_FAILED",
|
|
138
|
-
ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
|
|
139
|
-
UPDATE_COMPLETE: "UPDATE_COMPLETE",
|
|
140
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
141
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
142
|
-
};
|
|
143
|
-
const ConnectorOperationType = {
|
|
144
|
-
ISOLATE_CONNECTOR: "ISOLATE_CONNECTOR",
|
|
145
|
-
RESTORE_CONNECTOR: "RESTORE_CONNECTOR",
|
|
146
|
-
UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION",
|
|
147
|
-
UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING",
|
|
148
|
-
};
|
|
149
|
-
const ConnectorState = {
|
|
150
|
-
CREATING: "CREATING",
|
|
151
|
-
DELETING: "DELETING",
|
|
152
|
-
FAILED: "FAILED",
|
|
153
|
-
RUNNING: "RUNNING",
|
|
154
|
-
UPDATING: "UPDATING",
|
|
155
|
-
};
|
|
156
|
-
const KafkaClusterClientAuthenticationType = {
|
|
157
|
-
IAM: "IAM",
|
|
158
|
-
NONE: "NONE",
|
|
159
|
-
};
|
|
160
|
-
const KafkaClusterEncryptionInTransitType = {
|
|
161
|
-
PLAINTEXT: "PLAINTEXT",
|
|
162
|
-
TLS: "TLS",
|
|
163
|
-
};
|
|
164
|
-
const CustomPluginState = {
|
|
165
|
-
ACTIVE: "ACTIVE",
|
|
166
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
167
|
-
CREATING: "CREATING",
|
|
168
|
-
DELETING: "DELETING",
|
|
169
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
170
|
-
UPDATING: "UPDATING",
|
|
171
|
-
};
|
|
172
|
-
const CustomPluginContentType = {
|
|
173
|
-
JAR: "JAR",
|
|
174
|
-
ZIP: "ZIP",
|
|
175
|
-
};
|
|
176
|
-
const WorkerConfigurationState = {
|
|
177
|
-
ACTIVE: "ACTIVE",
|
|
178
|
-
DELETING: "DELETING",
|
|
179
|
-
};
|
|
180
120
|
let BadRequestException$1 = class BadRequestException extends KafkaConnectServiceException$1 {
|
|
181
121
|
name = "BadRequestException";
|
|
182
122
|
$fault = "client";
|
|
@@ -1545,16 +1485,9 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1545
1485
|
});
|
|
1546
1486
|
exports.BadRequestException = BadRequestException$1;
|
|
1547
1487
|
exports.ConflictException = ConflictException$1;
|
|
1548
|
-
exports.ConnectorOperationState = ConnectorOperationState;
|
|
1549
|
-
exports.ConnectorOperationStepState = ConnectorOperationStepState;
|
|
1550
|
-
exports.ConnectorOperationStepType = ConnectorOperationStepType;
|
|
1551
|
-
exports.ConnectorOperationType = ConnectorOperationType;
|
|
1552
|
-
exports.ConnectorState = ConnectorState;
|
|
1553
1488
|
exports.CreateConnectorCommand = CreateConnectorCommand;
|
|
1554
1489
|
exports.CreateCustomPluginCommand = CreateCustomPluginCommand;
|
|
1555
1490
|
exports.CreateWorkerConfigurationCommand = CreateWorkerConfigurationCommand;
|
|
1556
|
-
exports.CustomPluginContentType = CustomPluginContentType;
|
|
1557
|
-
exports.CustomPluginState = CustomPluginState;
|
|
1558
1491
|
exports.DeleteConnectorCommand = DeleteConnectorCommand;
|
|
1559
1492
|
exports.DeleteCustomPluginCommand = DeleteCustomPluginCommand;
|
|
1560
1493
|
exports.DeleteWorkerConfigurationCommand = DeleteWorkerConfigurationCommand;
|
|
@@ -1564,8 +1497,6 @@ exports.DescribeCustomPluginCommand = DescribeCustomPluginCommand;
|
|
|
1564
1497
|
exports.DescribeWorkerConfigurationCommand = DescribeWorkerConfigurationCommand;
|
|
1565
1498
|
exports.ForbiddenException = ForbiddenException$1;
|
|
1566
1499
|
exports.InternalServerErrorException = InternalServerErrorException$1;
|
|
1567
|
-
exports.KafkaClusterClientAuthenticationType = KafkaClusterClientAuthenticationType;
|
|
1568
|
-
exports.KafkaClusterEncryptionInTransitType = KafkaClusterEncryptionInTransitType;
|
|
1569
1500
|
exports.KafkaConnect = KafkaConnect;
|
|
1570
1501
|
exports.KafkaConnectClient = KafkaConnectClient;
|
|
1571
1502
|
exports.KafkaConnectServiceException = KafkaConnectServiceException$1;
|
|
@@ -1581,7 +1512,6 @@ exports.TooManyRequestsException = TooManyRequestsException$1;
|
|
|
1581
1512
|
exports.UnauthorizedException = UnauthorizedException$1;
|
|
1582
1513
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1583
1514
|
exports.UpdateConnectorCommand = UpdateConnectorCommand;
|
|
1584
|
-
exports.WorkerConfigurationState = WorkerConfigurationState;
|
|
1585
1515
|
exports.paginateListConnectorOperations = paginateListConnectorOperations;
|
|
1586
1516
|
exports.paginateListConnectors = paginateListConnectors;
|
|
1587
1517
|
exports.paginateListCustomPlugins = paginateListCustomPlugins;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./KafkaConnectClient";
|
|
|
2
2
|
export * from "./KafkaConnect";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/errors";
|
|
6
6
|
export { KafkaConnectServiceException } from "./models/KafkaConnectServiceException";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
|
|
2
|
+
export class BadRequestException extends __BaseException {
|
|
3
|
+
name = "BadRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "BadRequestException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ConflictException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ForbiddenException extends __BaseException {
|
|
27
|
+
name = "ForbiddenException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ForbiddenException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class InternalServerErrorException extends __BaseException {
|
|
39
|
+
name = "InternalServerErrorException";
|
|
40
|
+
$fault = "server";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "InternalServerErrorException",
|
|
44
|
+
$fault: "server",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class NotFoundException extends __BaseException {
|
|
51
|
+
name = "NotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "NotFoundException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
63
|
+
name = "ServiceUnavailableException";
|
|
64
|
+
$fault = "server";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ServiceUnavailableException",
|
|
68
|
+
$fault: "server",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class TooManyRequestsException extends __BaseException {
|
|
75
|
+
name = "TooManyRequestsException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "TooManyRequestsException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class UnauthorizedException extends __BaseException {
|
|
87
|
+
name = "UnauthorizedException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "UnauthorizedException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
|
|
2
1
|
export const ConnectorOperationStepState = {
|
|
3
2
|
CANCELLED: "CANCELLED",
|
|
4
3
|
COMPLETED: "COMPLETED",
|
|
@@ -59,99 +58,3 @@ export const WorkerConfigurationState = {
|
|
|
59
58
|
ACTIVE: "ACTIVE",
|
|
60
59
|
DELETING: "DELETING",
|
|
61
60
|
};
|
|
62
|
-
export class BadRequestException extends __BaseException {
|
|
63
|
-
name = "BadRequestException";
|
|
64
|
-
$fault = "client";
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "BadRequestException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export class ConflictException extends __BaseException {
|
|
75
|
-
name = "ConflictException";
|
|
76
|
-
$fault = "client";
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "ConflictException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
export class ForbiddenException extends __BaseException {
|
|
87
|
-
name = "ForbiddenException";
|
|
88
|
-
$fault = "client";
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "ForbiddenException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export class InternalServerErrorException extends __BaseException {
|
|
99
|
-
name = "InternalServerErrorException";
|
|
100
|
-
$fault = "server";
|
|
101
|
-
constructor(opts) {
|
|
102
|
-
super({
|
|
103
|
-
name: "InternalServerErrorException",
|
|
104
|
-
$fault: "server",
|
|
105
|
-
...opts,
|
|
106
|
-
});
|
|
107
|
-
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
export class NotFoundException extends __BaseException {
|
|
111
|
-
name = "NotFoundException";
|
|
112
|
-
$fault = "client";
|
|
113
|
-
constructor(opts) {
|
|
114
|
-
super({
|
|
115
|
-
name: "NotFoundException",
|
|
116
|
-
$fault: "client",
|
|
117
|
-
...opts,
|
|
118
|
-
});
|
|
119
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
123
|
-
name = "ServiceUnavailableException";
|
|
124
|
-
$fault = "server";
|
|
125
|
-
constructor(opts) {
|
|
126
|
-
super({
|
|
127
|
-
name: "ServiceUnavailableException",
|
|
128
|
-
$fault: "server",
|
|
129
|
-
...opts,
|
|
130
|
-
});
|
|
131
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
export class TooManyRequestsException extends __BaseException {
|
|
135
|
-
name = "TooManyRequestsException";
|
|
136
|
-
$fault = "client";
|
|
137
|
-
constructor(opts) {
|
|
138
|
-
super({
|
|
139
|
-
name: "TooManyRequestsException",
|
|
140
|
-
$fault: "client",
|
|
141
|
-
...opts,
|
|
142
|
-
});
|
|
143
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
export class UnauthorizedException extends __BaseException {
|
|
147
|
-
name = "UnauthorizedException";
|
|
148
|
-
$fault = "client";
|
|
149
|
-
constructor(opts) {
|
|
150
|
-
super({
|
|
151
|
-
name: "UnauthorizedException",
|
|
152
|
-
$fault: "client",
|
|
153
|
-
...opts,
|
|
154
|
-
});
|
|
155
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
@@ -221,7 +221,7 @@ const _wCor = "workerCount";
|
|
|
221
221
|
const _wLD = "workerLogDelivery";
|
|
222
222
|
const n0 = "com.amazonaws.kafkaconnect";
|
|
223
223
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
224
|
-
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, ServiceUnavailableException as __ServiceUnavailableException, TooManyRequestsException as __TooManyRequestsException, UnauthorizedException as __UnauthorizedException, } from "../models/
|
|
224
|
+
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, ServiceUnavailableException as __ServiceUnavailableException, TooManyRequestsException as __TooManyRequestsException, UnauthorizedException as __UnauthorizedException, } from "../models/errors";
|
|
225
225
|
import { KafkaConnectServiceException as __KafkaConnectServiceException } from "../models/KafkaConnectServiceException";
|
|
226
226
|
export var __sensitiveString = [0, n0, _sS, 8, 0];
|
|
227
227
|
export var ApacheKafkaCluster = [3, n0, _AKC, 0, [_bS, _v], [0, () => Vpc]];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { KafkaConnectExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
14
15
|
export { KafkaConnectServiceException } from "./models/KafkaConnectServiceException";
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then
|
|
5
|
+
* retry it.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class BadRequestException extends __BaseException {
|
|
9
|
+
readonly name: "BadRequestException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your
|
|
18
|
+
* request with another name.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class ConflictException extends __BaseException {
|
|
22
|
+
readonly name: "ConflictException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your
|
|
31
|
+
* request.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class ForbiddenException extends __BaseException {
|
|
35
|
+
readonly name: "ForbiddenException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might
|
|
44
|
+
* resolve the issue.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
48
|
+
readonly name: "InternalServerErrorException";
|
|
49
|
+
readonly $fault: "server";
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request
|
|
57
|
+
* and then retry it.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class NotFoundException extends __BaseException {
|
|
61
|
+
readonly name: "NotFoundException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might
|
|
70
|
+
* resolve the issue.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
74
|
+
readonly name: "ServiceUnavailableException";
|
|
75
|
+
readonly $fault: "server";
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
86
|
+
readonly name: "TooManyRequestsException";
|
|
87
|
+
readonly $fault: "client";
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be
|
|
95
|
+
* validated.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
99
|
+
readonly name: "UnauthorizedException";
|
|
100
|
+
readonly $fault: "client";
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
105
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
|
|
3
1
|
/**
|
|
4
2
|
* @public
|
|
5
3
|
* @enum
|
|
@@ -911,19 +909,6 @@ export interface AutoScalingUpdate {
|
|
|
911
909
|
*/
|
|
912
910
|
scaleOutPolicy: ScaleOutPolicyUpdate | undefined;
|
|
913
911
|
}
|
|
914
|
-
/**
|
|
915
|
-
* <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then
|
|
916
|
-
* retry it.</p>
|
|
917
|
-
* @public
|
|
918
|
-
*/
|
|
919
|
-
export declare class BadRequestException extends __BaseException {
|
|
920
|
-
readonly name: "BadRequestException";
|
|
921
|
-
readonly $fault: "client";
|
|
922
|
-
/**
|
|
923
|
-
* @internal
|
|
924
|
-
*/
|
|
925
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
926
|
-
}
|
|
927
912
|
/**
|
|
928
913
|
* <p>Details about a connector's provisioned capacity.</p>
|
|
929
914
|
* @public
|
|
@@ -1008,19 +993,6 @@ export interface CloudWatchLogsLogDelivery {
|
|
|
1008
993
|
*/
|
|
1009
994
|
logGroup?: string | undefined;
|
|
1010
995
|
}
|
|
1011
|
-
/**
|
|
1012
|
-
* <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your
|
|
1013
|
-
* request with another name.</p>
|
|
1014
|
-
* @public
|
|
1015
|
-
*/
|
|
1016
|
-
export declare class ConflictException extends __BaseException {
|
|
1017
|
-
readonly name: "ConflictException";
|
|
1018
|
-
readonly $fault: "client";
|
|
1019
|
-
/**
|
|
1020
|
-
* @internal
|
|
1021
|
-
*/
|
|
1022
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
1023
|
-
}
|
|
1024
996
|
/**
|
|
1025
997
|
* <p>The details of the Apache Kafka cluster to which the connector is connected.</p>
|
|
1026
998
|
* @public
|
|
@@ -1243,83 +1215,6 @@ export interface CreateConnectorResponse {
|
|
|
1243
1215
|
*/
|
|
1244
1216
|
connectorState?: ConnectorState | undefined;
|
|
1245
1217
|
}
|
|
1246
|
-
/**
|
|
1247
|
-
* <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your
|
|
1248
|
-
* request.</p>
|
|
1249
|
-
* @public
|
|
1250
|
-
*/
|
|
1251
|
-
export declare class ForbiddenException extends __BaseException {
|
|
1252
|
-
readonly name: "ForbiddenException";
|
|
1253
|
-
readonly $fault: "client";
|
|
1254
|
-
/**
|
|
1255
|
-
* @internal
|
|
1256
|
-
*/
|
|
1257
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
1258
|
-
}
|
|
1259
|
-
/**
|
|
1260
|
-
* <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might
|
|
1261
|
-
* resolve the issue.</p>
|
|
1262
|
-
* @public
|
|
1263
|
-
*/
|
|
1264
|
-
export declare class InternalServerErrorException extends __BaseException {
|
|
1265
|
-
readonly name: "InternalServerErrorException";
|
|
1266
|
-
readonly $fault: "server";
|
|
1267
|
-
/**
|
|
1268
|
-
* @internal
|
|
1269
|
-
*/
|
|
1270
|
-
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
1271
|
-
}
|
|
1272
|
-
/**
|
|
1273
|
-
* <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request
|
|
1274
|
-
* and then retry it.</p>
|
|
1275
|
-
* @public
|
|
1276
|
-
*/
|
|
1277
|
-
export declare class NotFoundException extends __BaseException {
|
|
1278
|
-
readonly name: "NotFoundException";
|
|
1279
|
-
readonly $fault: "client";
|
|
1280
|
-
/**
|
|
1281
|
-
* @internal
|
|
1282
|
-
*/
|
|
1283
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
1284
|
-
}
|
|
1285
|
-
/**
|
|
1286
|
-
* <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might
|
|
1287
|
-
* resolve the issue.</p>
|
|
1288
|
-
* @public
|
|
1289
|
-
*/
|
|
1290
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
1291
|
-
readonly name: "ServiceUnavailableException";
|
|
1292
|
-
readonly $fault: "server";
|
|
1293
|
-
/**
|
|
1294
|
-
* @internal
|
|
1295
|
-
*/
|
|
1296
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
1297
|
-
}
|
|
1298
|
-
/**
|
|
1299
|
-
* <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
|
|
1300
|
-
* @public
|
|
1301
|
-
*/
|
|
1302
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
1303
|
-
readonly name: "TooManyRequestsException";
|
|
1304
|
-
readonly $fault: "client";
|
|
1305
|
-
/**
|
|
1306
|
-
* @internal
|
|
1307
|
-
*/
|
|
1308
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
1309
|
-
}
|
|
1310
|
-
/**
|
|
1311
|
-
* <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be
|
|
1312
|
-
* validated.</p>
|
|
1313
|
-
* @public
|
|
1314
|
-
*/
|
|
1315
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
1316
|
-
readonly name: "UnauthorizedException";
|
|
1317
|
-
readonly $fault: "client";
|
|
1318
|
-
/**
|
|
1319
|
-
* @internal
|
|
1320
|
-
*/
|
|
1321
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
1322
|
-
}
|
|
1323
1218
|
/**
|
|
1324
1219
|
* <p>The location of an object in Amazon S3.</p>
|
|
1325
1220
|
* @public
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { KafkaConnectExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { KafkaConnectServiceException } from "./models/KafkaConnectServiceException";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
|
|
3
|
+
export declare class BadRequestException extends __BaseException {
|
|
4
|
+
readonly name: "BadRequestException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ConflictException extends __BaseException {
|
|
11
|
+
readonly name: "ConflictException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
export declare class ForbiddenException extends __BaseException {
|
|
16
|
+
readonly name: "ForbiddenException";
|
|
17
|
+
readonly $fault: "client";
|
|
18
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
19
|
+
}
|
|
20
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
21
|
+
readonly name: "InternalServerErrorException";
|
|
22
|
+
readonly $fault: "server";
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class NotFoundException extends __BaseException {
|
|
28
|
+
readonly name: "NotFoundException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
31
|
+
}
|
|
32
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
33
|
+
readonly name: "ServiceUnavailableException";
|
|
34
|
+
readonly $fault: "server";
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
40
|
+
readonly name: "TooManyRequestsException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
47
|
+
readonly name: "UnauthorizedException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
constructor(
|
|
50
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
|
|
3
1
|
export declare const ConnectorOperationStepState: {
|
|
4
2
|
readonly CANCELLED: "CANCELLED";
|
|
5
3
|
readonly COMPLETED: "COMPLETED";
|
|
@@ -264,13 +262,6 @@ export interface AutoScalingUpdate {
|
|
|
264
262
|
scaleInPolicy: ScaleInPolicyUpdate | undefined;
|
|
265
263
|
scaleOutPolicy: ScaleOutPolicyUpdate | undefined;
|
|
266
264
|
}
|
|
267
|
-
export declare class BadRequestException extends __BaseException {
|
|
268
|
-
readonly name: "BadRequestException";
|
|
269
|
-
readonly $fault: "client";
|
|
270
|
-
constructor(
|
|
271
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
272
|
-
);
|
|
273
|
-
}
|
|
274
265
|
export interface ProvisionedCapacity {
|
|
275
266
|
mcuCount: number | undefined;
|
|
276
267
|
workerCount: number | undefined;
|
|
@@ -291,11 +282,6 @@ export interface CloudWatchLogsLogDelivery {
|
|
|
291
282
|
enabled: boolean | undefined;
|
|
292
283
|
logGroup?: string | undefined;
|
|
293
284
|
}
|
|
294
|
-
export declare class ConflictException extends __BaseException {
|
|
295
|
-
readonly name: "ConflictException";
|
|
296
|
-
readonly $fault: "client";
|
|
297
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
298
|
-
}
|
|
299
285
|
export interface KafkaCluster {
|
|
300
286
|
apacheKafkaCluster: ApacheKafkaCluster | undefined;
|
|
301
287
|
}
|
|
@@ -348,44 +334,6 @@ export interface CreateConnectorResponse {
|
|
|
348
334
|
connectorName?: string | undefined;
|
|
349
335
|
connectorState?: ConnectorState | undefined;
|
|
350
336
|
}
|
|
351
|
-
export declare class ForbiddenException extends __BaseException {
|
|
352
|
-
readonly name: "ForbiddenException";
|
|
353
|
-
readonly $fault: "client";
|
|
354
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
355
|
-
}
|
|
356
|
-
export declare class InternalServerErrorException extends __BaseException {
|
|
357
|
-
readonly name: "InternalServerErrorException";
|
|
358
|
-
readonly $fault: "server";
|
|
359
|
-
constructor(
|
|
360
|
-
opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
|
|
361
|
-
);
|
|
362
|
-
}
|
|
363
|
-
export declare class NotFoundException extends __BaseException {
|
|
364
|
-
readonly name: "NotFoundException";
|
|
365
|
-
readonly $fault: "client";
|
|
366
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
367
|
-
}
|
|
368
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
369
|
-
readonly name: "ServiceUnavailableException";
|
|
370
|
-
readonly $fault: "server";
|
|
371
|
-
constructor(
|
|
372
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
373
|
-
);
|
|
374
|
-
}
|
|
375
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
376
|
-
readonly name: "TooManyRequestsException";
|
|
377
|
-
readonly $fault: "client";
|
|
378
|
-
constructor(
|
|
379
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
380
|
-
);
|
|
381
|
-
}
|
|
382
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
383
|
-
readonly name: "UnauthorizedException";
|
|
384
|
-
readonly $fault: "client";
|
|
385
|
-
constructor(
|
|
386
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
387
|
-
);
|
|
388
|
-
}
|
|
389
337
|
export interface S3Location {
|
|
390
338
|
bucketArn: string | undefined;
|
|
391
339
|
fileKey: string | undefined;
|
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.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kafkaconnect",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|