@aws-sdk/client-kafkaconnect 3.300.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({
@@ -26,34 +26,34 @@ export interface CreateConnectorCommandOutput extends CreateConnectorResponse, _
26
26
  * import { KafkaConnectClient, CreateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, CreateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
30
- * capacity: {
31
- * autoScaling: {
29
+ * const input = { // CreateConnectorRequest
30
+ * capacity: { // Capacity
31
+ * autoScaling: { // AutoScaling
32
32
  * maxWorkerCount: Number("int"), // required
33
33
  * mcuCount: Number("int"), // required
34
34
  * minWorkerCount: Number("int"), // required
35
- * scaleInPolicy: {
35
+ * scaleInPolicy: { // ScaleInPolicy
36
36
  * cpuUtilizationPercentage: Number("int"), // required
37
37
  * },
38
- * scaleOutPolicy: {
38
+ * scaleOutPolicy: { // ScaleOutPolicy
39
39
  * cpuUtilizationPercentage: Number("int"), // required
40
40
  * },
41
41
  * },
42
- * provisionedCapacity: {
42
+ * provisionedCapacity: { // ProvisionedCapacity
43
43
  * mcuCount: Number("int"), // required
44
44
  * workerCount: Number("int"), // required
45
45
  * },
46
46
  * },
47
- * connectorConfiguration: { // required
47
+ * connectorConfiguration: { // __sensitive__mapOf__string // required
48
48
  * "<keys>": "STRING_VALUE",
49
49
  * },
50
50
  * connectorDescription: "STRING_VALUE",
51
51
  * connectorName: "STRING_VALUE", // required
52
- * kafkaCluster: {
53
- * apacheKafkaCluster: {
52
+ * kafkaCluster: { // KafkaCluster
53
+ * apacheKafkaCluster: { // ApacheKafkaCluster
54
54
  * bootstrapServers: "STRING_VALUE", // required
55
- * vpc: {
56
- * securityGroups: [
55
+ * vpc: { // Vpc
56
+ * securityGroups: [ // __listOf__string
57
57
  * "STRING_VALUE",
58
58
  * ],
59
59
  * subnets: [ // required
@@ -62,40 +62,40 @@ export interface CreateConnectorCommandOutput extends CreateConnectorResponse, _
62
62
  * },
63
63
  * },
64
64
  * },
65
- * kafkaClusterClientAuthentication: {
65
+ * kafkaClusterClientAuthentication: { // KafkaClusterClientAuthentication
66
66
  * authenticationType: "STRING_VALUE", // required
67
67
  * },
68
- * kafkaClusterEncryptionInTransit: {
68
+ * kafkaClusterEncryptionInTransit: { // KafkaClusterEncryptionInTransit
69
69
  * encryptionType: "STRING_VALUE", // required
70
70
  * },
71
71
  * kafkaConnectVersion: "STRING_VALUE", // required
72
- * logDelivery: {
73
- * workerLogDelivery: {
74
- * cloudWatchLogs: {
72
+ * logDelivery: { // LogDelivery
73
+ * workerLogDelivery: { // WorkerLogDelivery
74
+ * cloudWatchLogs: { // CloudWatchLogsLogDelivery
75
75
  * enabled: true || false, // required
76
76
  * logGroup: "STRING_VALUE",
77
77
  * },
78
- * firehose: {
78
+ * firehose: { // FirehoseLogDelivery
79
79
  * deliveryStream: "STRING_VALUE",
80
80
  * enabled: true || false, // required
81
81
  * },
82
- * s3: {
82
+ * s3: { // S3LogDelivery
83
83
  * bucket: "STRING_VALUE",
84
84
  * enabled: true || false, // required
85
85
  * prefix: "STRING_VALUE",
86
86
  * },
87
87
  * },
88
88
  * },
89
- * plugins: [ // required
90
- * {
91
- * customPlugin: {
89
+ * plugins: [ // __listOfPlugin // required
90
+ * { // Plugin
91
+ * customPlugin: { // CustomPlugin
92
92
  * customPluginArn: "STRING_VALUE", // required
93
93
  * revision: Number("long"), // required
94
94
  * },
95
95
  * },
96
96
  * ],
97
97
  * serviceExecutionRoleArn: "STRING_VALUE", // required
98
- * workerConfiguration: {
98
+ * workerConfiguration: { // WorkerConfiguration
99
99
  * revision: Number("long"), // required
100
100
  * workerConfigurationArn: "STRING_VALUE", // required
101
101
  * },
@@ -26,11 +26,11 @@ export interface CreateCustomPluginCommandOutput extends CreateCustomPluginRespo
26
26
  * import { KafkaConnectClient, CreateCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, CreateCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
29
+ * const input = { // CreateCustomPluginRequest
30
30
  * contentType: "STRING_VALUE", // required
31
31
  * description: "STRING_VALUE",
32
- * location: {
33
- * s3Location: {
32
+ * location: { // CustomPluginLocation
33
+ * s3Location: { // S3Location
34
34
  * bucketArn: "STRING_VALUE", // required
35
35
  * fileKey: "STRING_VALUE", // required
36
36
  * objectVersion: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface CreateWorkerConfigurationCommandOutput extends CreateWorkerConf
26
26
  * import { KafkaConnectClient, CreateWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, CreateWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
29
+ * const input = { // CreateWorkerConfigurationRequest
30
30
  * description: "STRING_VALUE",
31
31
  * name: "STRING_VALUE", // required
32
32
  * propertiesFileContent: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface DeleteConnectorCommandOutput extends DeleteConnectorResponse, _
26
26
  * import { KafkaConnectClient, DeleteConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, DeleteConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
29
+ * const input = { // DeleteConnectorRequest
30
30
  * connectorArn: "STRING_VALUE", // required
31
31
  * currentVersion: "STRING_VALUE",
32
32
  * };
@@ -26,7 +26,7 @@ export interface DeleteCustomPluginCommandOutput extends DeleteCustomPluginRespo
26
26
  * import { KafkaConnectClient, DeleteCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, DeleteCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
29
+ * const input = { // DeleteCustomPluginRequest
30
30
  * customPluginArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteCustomPluginCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeConnectorCommandOutput extends DescribeConnectorRespons
26
26
  * import { KafkaConnectClient, DescribeConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, DescribeConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
29
+ * const input = { // DescribeConnectorRequest
30
30
  * connectorArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeConnectorCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeCustomPluginCommandOutput extends DescribeCustomPluginR
26
26
  * import { KafkaConnectClient, DescribeCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, DescribeCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
29
+ * const input = { // DescribeCustomPluginRequest
30
30
  * customPluginArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeCustomPluginCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeWorkerConfigurationCommandOutput extends DescribeWorker
26
26
  * import { KafkaConnectClient, DescribeWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, DescribeWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
29
+ * const input = { // DescribeWorkerConfigurationRequest
30
30
  * workerConfigurationArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeWorkerConfigurationCommand(input);
@@ -28,7 +28,7 @@ export interface ListConnectorsCommandOutput extends ListConnectorsResponse, __M
28
28
  * import { KafkaConnectClient, ListConnectorsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
29
29
  * // const { KafkaConnectClient, ListConnectorsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
30
30
  * const client = new KafkaConnectClient(config);
31
- * const input = {
31
+ * const input = { // ListConnectorsRequest
32
32
  * connectorNamePrefix: "STRING_VALUE",
33
33
  * maxResults: Number("int"),
34
34
  * nextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListCustomPluginsCommandOutput extends ListCustomPluginsRespons
26
26
  * import { KafkaConnectClient, ListCustomPluginsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, ListCustomPluginsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
29
+ * const input = { // ListCustomPluginsRequest
30
30
  * maxResults: Number("int"),
31
31
  * nextToken: "STRING_VALUE",
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListWorkerConfigurationsCommandOutput extends ListWorkerConfigu
26
26
  * import { KafkaConnectClient, ListWorkerConfigurationsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, ListWorkerConfigurationsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
29
+ * const input = { // ListWorkerConfigurationsRequest
30
30
  * maxResults: Number("int"),
31
31
  * nextToken: "STRING_VALUE",
32
32
  * };
@@ -26,20 +26,20 @@ export interface UpdateConnectorCommandOutput extends UpdateConnectorResponse, _
26
26
  * import { KafkaConnectClient, UpdateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
27
27
  * // const { KafkaConnectClient, UpdateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
28
28
  * const client = new KafkaConnectClient(config);
29
- * const input = {
30
- * capacity: {
31
- * autoScaling: {
29
+ * const input = { // UpdateConnectorRequest
30
+ * capacity: { // CapacityUpdate
31
+ * autoScaling: { // AutoScalingUpdate
32
32
  * maxWorkerCount: Number("int"), // required
33
33
  * mcuCount: Number("int"), // required
34
34
  * minWorkerCount: Number("int"), // required
35
- * scaleInPolicy: {
35
+ * scaleInPolicy: { // ScaleInPolicyUpdate
36
36
  * cpuUtilizationPercentage: Number("int"), // required
37
37
  * },
38
- * scaleOutPolicy: {
38
+ * scaleOutPolicy: { // ScaleOutPolicyUpdate
39
39
  * cpuUtilizationPercentage: Number("int"), // required
40
40
  * },
41
41
  * },
42
- * provisionedCapacity: {
42
+ * provisionedCapacity: { // ProvisionedCapacityUpdate
43
43
  * mcuCount: Number("int"), // required
44
44
  * workerCount: Number("int"), // required
45
45
  * },
@@ -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.300.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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.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",