@aws-sdk/client-kafkaconnect 3.301.0 → 3.303.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,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
- var ConnectorState;
7
- (function (ConnectorState) {
8
- ConnectorState["CREATING"] = "CREATING";
9
- ConnectorState["DELETING"] = "DELETING";
10
- ConnectorState["FAILED"] = "FAILED";
11
- ConnectorState["RUNNING"] = "RUNNING";
12
- ConnectorState["UPDATING"] = "UPDATING";
13
- })(ConnectorState = exports.ConnectorState || (exports.ConnectorState = {}));
14
- var KafkaClusterClientAuthenticationType;
15
- (function (KafkaClusterClientAuthenticationType) {
16
- KafkaClusterClientAuthenticationType["IAM"] = "IAM";
17
- KafkaClusterClientAuthenticationType["NONE"] = "NONE";
18
- })(KafkaClusterClientAuthenticationType = exports.KafkaClusterClientAuthenticationType || (exports.KafkaClusterClientAuthenticationType = {}));
19
- var KafkaClusterEncryptionInTransitType;
20
- (function (KafkaClusterEncryptionInTransitType) {
21
- KafkaClusterEncryptionInTransitType["PLAINTEXT"] = "PLAINTEXT";
22
- KafkaClusterEncryptionInTransitType["TLS"] = "TLS";
23
- })(KafkaClusterEncryptionInTransitType = exports.KafkaClusterEncryptionInTransitType || (exports.KafkaClusterEncryptionInTransitType = {}));
24
- var CustomPluginState;
25
- (function (CustomPluginState) {
26
- CustomPluginState["ACTIVE"] = "ACTIVE";
27
- CustomPluginState["CREATE_FAILED"] = "CREATE_FAILED";
28
- CustomPluginState["CREATING"] = "CREATING";
29
- CustomPluginState["DELETING"] = "DELETING";
30
- CustomPluginState["UPDATE_FAILED"] = "UPDATE_FAILED";
31
- CustomPluginState["UPDATING"] = "UPDATING";
32
- })(CustomPluginState = exports.CustomPluginState || (exports.CustomPluginState = {}));
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 var ConnectorState;
4
- (function (ConnectorState) {
5
- ConnectorState["CREATING"] = "CREATING";
6
- ConnectorState["DELETING"] = "DELETING";
7
- ConnectorState["FAILED"] = "FAILED";
8
- ConnectorState["RUNNING"] = "RUNNING";
9
- ConnectorState["UPDATING"] = "UPDATING";
10
- })(ConnectorState || (ConnectorState = {}));
11
- export var KafkaClusterClientAuthenticationType;
12
- (function (KafkaClusterClientAuthenticationType) {
13
- KafkaClusterClientAuthenticationType["IAM"] = "IAM";
14
- KafkaClusterClientAuthenticationType["NONE"] = "NONE";
15
- })(KafkaClusterClientAuthenticationType || (KafkaClusterClientAuthenticationType = {}));
16
- export var KafkaClusterEncryptionInTransitType;
17
- (function (KafkaClusterEncryptionInTransitType) {
18
- KafkaClusterEncryptionInTransitType["PLAINTEXT"] = "PLAINTEXT";
19
- KafkaClusterEncryptionInTransitType["TLS"] = "TLS";
20
- })(KafkaClusterEncryptionInTransitType || (KafkaClusterEncryptionInTransitType = {}));
21
- export var CustomPluginState;
22
- (function (CustomPluginState) {
23
- CustomPluginState["ACTIVE"] = "ACTIVE";
24
- CustomPluginState["CREATE_FAILED"] = "CREATE_FAILED";
25
- CustomPluginState["CREATING"] = "CREATING";
26
- CustomPluginState["DELETING"] = "DELETING";
27
- CustomPluginState["UPDATE_FAILED"] = "UPDATE_FAILED";
28
- CustomPluginState["UPDATING"] = "UPDATING";
29
- })(CustomPluginState || (CustomPluginState = {}));
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 enum ConnectorState {
85
- CREATING = "CREATING",
86
- DELETING = "DELETING",
87
- FAILED = "FAILED",
88
- RUNNING = "RUNNING",
89
- UPDATING = "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 enum KafkaClusterClientAuthenticationType {
134
- IAM = "IAM",
135
- NONE = "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 enum KafkaClusterEncryptionInTransitType {
153
- PLAINTEXT = "PLAINTEXT",
154
- TLS = "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 enum CustomPluginState {
355
- ACTIVE = "ACTIVE",
356
- CREATE_FAILED = "CREATE_FAILED",
357
- CREATING = "CREATING",
358
- DELETING = "DELETING",
359
- UPDATE_FAILED = "UPDATE_FAILED",
360
- UPDATING = "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 declare enum CustomPluginContentType {
366
- JAR = "JAR",
367
- ZIP = "ZIP"
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 enum ConnectorState {
25
- CREATING = "CREATING",
26
- DELETING = "DELETING",
27
- FAILED = "FAILED",
28
- RUNNING = "RUNNING",
29
- UPDATING = "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 enum KafkaClusterClientAuthenticationType {
43
- IAM = "IAM",
44
- NONE = "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 enum KafkaClusterEncryptionInTransitType {
50
- PLAINTEXT = "PLAINTEXT",
51
- TLS = "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 enum CustomPluginState {
106
- ACTIVE = "ACTIVE",
107
- CREATE_FAILED = "CREATE_FAILED",
108
- CREATING = "CREATING",
109
- DELETING = "DELETING",
110
- UPDATE_FAILED = "UPDATE_FAILED",
111
- UPDATING = "UPDATING",
112
- }
113
- export declare enum CustomPluginContentType {
114
- JAR = "JAR",
115
- ZIP = "ZIP",
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.301.0",
4
+ "version": "3.303.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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.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.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.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.295.0",
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",