@aws-sdk/client-kafkaconnect 3.301.0 → 3.306.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 +27 -32
- package/dist-es/models/models_0.js +27 -32
- package/dist-types/models/models_0.d.ts +52 -27
- package/dist-types/ts3.4/models/models_0.d.ts +37 -27
- package/package.json +34 -34
|
@@ -3,38 +3,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DescribeWorkerConfigurationResponseFilterSensitiveLog = exports.WorkerConfigurationRevisionDescriptionFilterSensitiveLog = exports.DescribeConnectorResponseFilterSensitiveLog = exports.CreateWorkerConfigurationRequestFilterSensitiveLog = exports.CreateConnectorRequestFilterSensitiveLog = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.CustomPluginContentType = exports.CustomPluginState = exports.KafkaClusterEncryptionInTransitType = exports.KafkaClusterClientAuthenticationType = exports.ConnectorState = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const KafkaConnectServiceException_1 = require("./KafkaConnectServiceException");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
var CustomPluginContentType;
|
|
34
|
-
(function (CustomPluginContentType) {
|
|
35
|
-
CustomPluginContentType["JAR"] = "JAR";
|
|
36
|
-
CustomPluginContentType["ZIP"] = "ZIP";
|
|
37
|
-
})(CustomPluginContentType = exports.CustomPluginContentType || (exports.CustomPluginContentType = {}));
|
|
6
|
+
exports.ConnectorState = {
|
|
7
|
+
CREATING: "CREATING",
|
|
8
|
+
DELETING: "DELETING",
|
|
9
|
+
FAILED: "FAILED",
|
|
10
|
+
RUNNING: "RUNNING",
|
|
11
|
+
UPDATING: "UPDATING",
|
|
12
|
+
};
|
|
13
|
+
exports.KafkaClusterClientAuthenticationType = {
|
|
14
|
+
IAM: "IAM",
|
|
15
|
+
NONE: "NONE",
|
|
16
|
+
};
|
|
17
|
+
exports.KafkaClusterEncryptionInTransitType = {
|
|
18
|
+
PLAINTEXT: "PLAINTEXT",
|
|
19
|
+
TLS: "TLS",
|
|
20
|
+
};
|
|
21
|
+
exports.CustomPluginState = {
|
|
22
|
+
ACTIVE: "ACTIVE",
|
|
23
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
24
|
+
CREATING: "CREATING",
|
|
25
|
+
DELETING: "DELETING",
|
|
26
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
27
|
+
UPDATING: "UPDATING",
|
|
28
|
+
};
|
|
29
|
+
exports.CustomPluginContentType = {
|
|
30
|
+
JAR: "JAR",
|
|
31
|
+
ZIP: "ZIP",
|
|
32
|
+
};
|
|
38
33
|
class BadRequestException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
|
|
39
34
|
constructor(opts) {
|
|
40
35
|
super({
|
|
@@ -1,37 +1,32 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
export var CustomPluginContentType;
|
|
31
|
-
(function (CustomPluginContentType) {
|
|
32
|
-
CustomPluginContentType["JAR"] = "JAR";
|
|
33
|
-
CustomPluginContentType["ZIP"] = "ZIP";
|
|
34
|
-
})(CustomPluginContentType || (CustomPluginContentType = {}));
|
|
3
|
+
export const ConnectorState = {
|
|
4
|
+
CREATING: "CREATING",
|
|
5
|
+
DELETING: "DELETING",
|
|
6
|
+
FAILED: "FAILED",
|
|
7
|
+
RUNNING: "RUNNING",
|
|
8
|
+
UPDATING: "UPDATING",
|
|
9
|
+
};
|
|
10
|
+
export const KafkaClusterClientAuthenticationType = {
|
|
11
|
+
IAM: "IAM",
|
|
12
|
+
NONE: "NONE",
|
|
13
|
+
};
|
|
14
|
+
export const KafkaClusterEncryptionInTransitType = {
|
|
15
|
+
PLAINTEXT: "PLAINTEXT",
|
|
16
|
+
TLS: "TLS",
|
|
17
|
+
};
|
|
18
|
+
export const CustomPluginState = {
|
|
19
|
+
ACTIVE: "ACTIVE",
|
|
20
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
21
|
+
CREATING: "CREATING",
|
|
22
|
+
DELETING: "DELETING",
|
|
23
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
24
|
+
UPDATING: "UPDATING",
|
|
25
|
+
};
|
|
26
|
+
export const CustomPluginContentType = {
|
|
27
|
+
JAR: "JAR",
|
|
28
|
+
ZIP: "ZIP",
|
|
29
|
+
};
|
|
35
30
|
export class BadRequestException extends __BaseException {
|
|
36
31
|
constructor(opts) {
|
|
37
32
|
super({
|
|
@@ -80,14 +80,19 @@ export interface CapacityDescription {
|
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
82
|
* @public
|
|
83
|
+
* @enum
|
|
83
84
|
*/
|
|
84
|
-
export declare
|
|
85
|
-
CREATING
|
|
86
|
-
DELETING
|
|
87
|
-
FAILED
|
|
88
|
-
RUNNING
|
|
89
|
-
UPDATING
|
|
90
|
-
}
|
|
85
|
+
export declare const ConnectorState: {
|
|
86
|
+
readonly CREATING: "CREATING";
|
|
87
|
+
readonly DELETING: "DELETING";
|
|
88
|
+
readonly FAILED: "FAILED";
|
|
89
|
+
readonly RUNNING: "RUNNING";
|
|
90
|
+
readonly UPDATING: "UPDATING";
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export type ConnectorState = (typeof ConnectorState)[keyof typeof ConnectorState];
|
|
91
96
|
/**
|
|
92
97
|
* @public
|
|
93
98
|
* <p>The description of the VPC in which the connector resides.</p>
|
|
@@ -129,11 +134,16 @@ export interface KafkaClusterDescription {
|
|
|
129
134
|
}
|
|
130
135
|
/**
|
|
131
136
|
* @public
|
|
137
|
+
* @enum
|
|
132
138
|
*/
|
|
133
|
-
export declare
|
|
134
|
-
IAM
|
|
135
|
-
NONE
|
|
136
|
-
}
|
|
139
|
+
export declare const KafkaClusterClientAuthenticationType: {
|
|
140
|
+
readonly IAM: "IAM";
|
|
141
|
+
readonly NONE: "NONE";
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export type KafkaClusterClientAuthenticationType = (typeof KafkaClusterClientAuthenticationType)[keyof typeof KafkaClusterClientAuthenticationType];
|
|
137
147
|
/**
|
|
138
148
|
* @public
|
|
139
149
|
* <p>The client authentication information used in order to authenticate with the Apache
|
|
@@ -148,11 +158,16 @@ export interface KafkaClusterClientAuthenticationDescription {
|
|
|
148
158
|
}
|
|
149
159
|
/**
|
|
150
160
|
* @public
|
|
161
|
+
* @enum
|
|
151
162
|
*/
|
|
152
|
-
export declare
|
|
153
|
-
PLAINTEXT
|
|
154
|
-
TLS
|
|
155
|
-
}
|
|
163
|
+
export declare const KafkaClusterEncryptionInTransitType: {
|
|
164
|
+
readonly PLAINTEXT: "PLAINTEXT";
|
|
165
|
+
readonly TLS: "TLS";
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export type KafkaClusterEncryptionInTransitType = (typeof KafkaClusterEncryptionInTransitType)[keyof typeof KafkaClusterEncryptionInTransitType];
|
|
156
171
|
/**
|
|
157
172
|
* @public
|
|
158
173
|
* <p>The description of the encryption in transit to the Apache Kafka cluster.</p>
|
|
@@ -350,22 +365,32 @@ export interface ConnectorSummary {
|
|
|
350
365
|
}
|
|
351
366
|
/**
|
|
352
367
|
* @public
|
|
368
|
+
* @enum
|
|
353
369
|
*/
|
|
354
|
-
export declare
|
|
355
|
-
ACTIVE
|
|
356
|
-
CREATE_FAILED
|
|
357
|
-
CREATING
|
|
358
|
-
DELETING
|
|
359
|
-
UPDATE_FAILED
|
|
360
|
-
UPDATING
|
|
361
|
-
}
|
|
370
|
+
export declare const CustomPluginState: {
|
|
371
|
+
readonly ACTIVE: "ACTIVE";
|
|
372
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
373
|
+
readonly CREATING: "CREATING";
|
|
374
|
+
readonly DELETING: "DELETING";
|
|
375
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
376
|
+
readonly UPDATING: "UPDATING";
|
|
377
|
+
};
|
|
362
378
|
/**
|
|
363
379
|
* @public
|
|
364
380
|
*/
|
|
365
|
-
export
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
381
|
+
export type CustomPluginState = (typeof CustomPluginState)[keyof typeof CustomPluginState];
|
|
382
|
+
/**
|
|
383
|
+
* @public
|
|
384
|
+
* @enum
|
|
385
|
+
*/
|
|
386
|
+
export declare const CustomPluginContentType: {
|
|
387
|
+
readonly JAR: "JAR";
|
|
388
|
+
readonly ZIP: "ZIP";
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
export type CustomPluginContentType = (typeof CustomPluginContentType)[keyof typeof CustomPluginContentType];
|
|
369
394
|
/**
|
|
370
395
|
* @public
|
|
371
396
|
* <p>Details about a custom plugin file.</p>
|
|
@@ -21,13 +21,15 @@ export interface CapacityDescription {
|
|
|
21
21
|
autoScaling?: AutoScalingDescription;
|
|
22
22
|
provisionedCapacity?: ProvisionedCapacityDescription;
|
|
23
23
|
}
|
|
24
|
-
export declare
|
|
25
|
-
CREATING
|
|
26
|
-
DELETING
|
|
27
|
-
FAILED
|
|
28
|
-
RUNNING
|
|
29
|
-
UPDATING
|
|
30
|
-
}
|
|
24
|
+
export declare const ConnectorState: {
|
|
25
|
+
readonly CREATING: "CREATING";
|
|
26
|
+
readonly DELETING: "DELETING";
|
|
27
|
+
readonly FAILED: "FAILED";
|
|
28
|
+
readonly RUNNING: "RUNNING";
|
|
29
|
+
readonly UPDATING: "UPDATING";
|
|
30
|
+
};
|
|
31
|
+
export type ConnectorState =
|
|
32
|
+
(typeof ConnectorState)[keyof typeof ConnectorState];
|
|
31
33
|
export interface VpcDescription {
|
|
32
34
|
securityGroups?: string[];
|
|
33
35
|
subnets?: string[];
|
|
@@ -39,17 +41,21 @@ export interface ApacheKafkaClusterDescription {
|
|
|
39
41
|
export interface KafkaClusterDescription {
|
|
40
42
|
apacheKafkaCluster?: ApacheKafkaClusterDescription;
|
|
41
43
|
}
|
|
42
|
-
export declare
|
|
43
|
-
IAM
|
|
44
|
-
NONE
|
|
45
|
-
}
|
|
44
|
+
export declare const KafkaClusterClientAuthenticationType: {
|
|
45
|
+
readonly IAM: "IAM";
|
|
46
|
+
readonly NONE: "NONE";
|
|
47
|
+
};
|
|
48
|
+
export type KafkaClusterClientAuthenticationType =
|
|
49
|
+
(typeof KafkaClusterClientAuthenticationType)[keyof typeof KafkaClusterClientAuthenticationType];
|
|
46
50
|
export interface KafkaClusterClientAuthenticationDescription {
|
|
47
51
|
authenticationType?: KafkaClusterClientAuthenticationType | string;
|
|
48
52
|
}
|
|
49
|
-
export declare
|
|
50
|
-
PLAINTEXT
|
|
51
|
-
TLS
|
|
52
|
-
}
|
|
53
|
+
export declare const KafkaClusterEncryptionInTransitType: {
|
|
54
|
+
readonly PLAINTEXT: "PLAINTEXT";
|
|
55
|
+
readonly TLS: "TLS";
|
|
56
|
+
};
|
|
57
|
+
export type KafkaClusterEncryptionInTransitType =
|
|
58
|
+
(typeof KafkaClusterEncryptionInTransitType)[keyof typeof KafkaClusterEncryptionInTransitType];
|
|
53
59
|
export interface KafkaClusterEncryptionInTransitDescription {
|
|
54
60
|
encryptionType?: KafkaClusterEncryptionInTransitType | string;
|
|
55
61
|
}
|
|
@@ -102,18 +108,22 @@ export interface ConnectorSummary {
|
|
|
102
108
|
serviceExecutionRoleArn?: string;
|
|
103
109
|
workerConfiguration?: WorkerConfigurationDescription;
|
|
104
110
|
}
|
|
105
|
-
export declare
|
|
106
|
-
ACTIVE
|
|
107
|
-
CREATE_FAILED
|
|
108
|
-
CREATING
|
|
109
|
-
DELETING
|
|
110
|
-
UPDATE_FAILED
|
|
111
|
-
UPDATING
|
|
112
|
-
}
|
|
113
|
-
export
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
111
|
+
export declare const CustomPluginState: {
|
|
112
|
+
readonly ACTIVE: "ACTIVE";
|
|
113
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
114
|
+
readonly CREATING: "CREATING";
|
|
115
|
+
readonly DELETING: "DELETING";
|
|
116
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
117
|
+
readonly UPDATING: "UPDATING";
|
|
118
|
+
};
|
|
119
|
+
export type CustomPluginState =
|
|
120
|
+
(typeof CustomPluginState)[keyof typeof CustomPluginState];
|
|
121
|
+
export declare const CustomPluginContentType: {
|
|
122
|
+
readonly JAR: "JAR";
|
|
123
|
+
readonly ZIP: "ZIP";
|
|
124
|
+
};
|
|
125
|
+
export type CustomPluginContentType =
|
|
126
|
+
(typeof CustomPluginContentType)[keyof typeof CustomPluginContentType];
|
|
117
127
|
export interface CustomPluginFileDescription {
|
|
118
128
|
fileMd5?: string;
|
|
119
129
|
fileSize?: number;
|
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.306.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|