@aws-sdk/client-kafkaconnect 3.50.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/KafkaConnectServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +107 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +184 -651
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/KafkaConnectServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +98 -1
  9. package/dist-es/protocols/Aws_restJson1.js +337 -704
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/KafkaConnectServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +58 -33
  13. package/dist-types/ts3.4/KafkaConnect.d.ts +60 -0
  14. package/dist-types/ts3.4/KafkaConnectClient.d.ts +84 -0
  15. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateCustomPluginCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateWorkerConfigurationCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DescribeCustomPluginCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DescribeWorkerConfigurationCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/ListCustomPluginsCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListWorkerConfigurationsCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  27. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  28. package/dist-types/ts3.4/index.d.ts +6 -0
  29. package/dist-types/ts3.4/models/KafkaConnectServiceException.d.ts +6 -0
  30. package/dist-types/ts3.4/models/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +1005 -0
  32. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  33. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +4 -0
  34. package/dist-types/ts3.4/pagination/ListCustomPluginsPaginator.d.ts +4 -0
  35. package/dist-types/ts3.4/pagination/ListWorkerConfigurationsPaginator.d.ts +4 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +35 -0
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  42. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-kafkaconnect
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-kafkaconnect
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-kafkaconnect
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KafkaConnectServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./KafkaConnect"), exports);
5
6
  tslib_1.__exportStar(require("./KafkaConnectClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var KafkaConnectServiceException_1 = require("./models/KafkaConnectServiceException");
11
+ Object.defineProperty(exports, "KafkaConnectServiceException", { enumerable: true, get: function () { return KafkaConnectServiceException_1.KafkaConnectServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KafkaConnectServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class KafkaConnectServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, KafkaConnectServiceException.prototype);
9
+ }
10
+ }
11
+ exports.KafkaConnectServiceException = KafkaConnectServiceException;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FirehoseLogDelivery = exports.KafkaClusterEncryptionInTransit = exports.KafkaClusterClientAuthentication = exports.KafkaCluster = exports.CloudWatchLogsLogDelivery = exports.CapacityUpdate = exports.ProvisionedCapacityUpdate = exports.Capacity = exports.ProvisionedCapacity = exports.AutoScalingUpdate = exports.ScaleOutPolicyUpdate = exports.ScaleInPolicyUpdate = exports.AutoScaling = exports.ScaleOutPolicy = exports.ScaleInPolicy = exports.ApacheKafkaCluster = exports.Vpc = exports.WorkerConfigurationSummary = exports.WorkerConfigurationRevisionSummary = exports.Plugin = exports.CustomPlugin = exports.CustomPluginSummary = exports.CustomPluginRevisionSummary = exports.CustomPluginLocationDescription = exports.S3LocationDescription = exports.CustomPluginFileDescription = exports.CustomPluginContentType = exports.CustomPluginState = exports.ConnectorSummary = exports.WorkerConfigurationDescription = exports.PluginDescription = exports.CustomPluginDescription = exports.LogDeliveryDescription = exports.WorkerLogDeliveryDescription = exports.S3LogDeliveryDescription = exports.FirehoseLogDeliveryDescription = exports.CloudWatchLogsLogDeliveryDescription = exports.KafkaClusterEncryptionInTransitDescription = exports.KafkaClusterEncryptionInTransitType = exports.KafkaClusterClientAuthenticationDescription = exports.KafkaClusterClientAuthenticationType = exports.KafkaClusterDescription = exports.ApacheKafkaClusterDescription = exports.VpcDescription = exports.ConnectorState = exports.CapacityDescription = exports.ProvisionedCapacityDescription = exports.AutoScalingDescription = exports.ScaleOutPolicyDescription = exports.ScaleInPolicyDescription = void 0;
4
- exports.UpdateConnectorResponse = exports.UpdateConnectorRequest = exports.ListWorkerConfigurationsResponse = exports.ListWorkerConfigurationsRequest = exports.ListCustomPluginsResponse = exports.ListCustomPluginsRequest = exports.ListConnectorsResponse = exports.ListConnectorsRequest = exports.DescribeWorkerConfigurationResponse = exports.WorkerConfigurationRevisionDescription = exports.DescribeWorkerConfigurationRequest = exports.DescribeCustomPluginResponse = exports.DescribeCustomPluginRequest = exports.DescribeConnectorResponse = exports.DescribeConnectorRequest = exports.DeleteConnectorResponse = exports.DeleteConnectorRequest = exports.CreateWorkerConfigurationResponse = exports.CreateWorkerConfigurationRequest = exports.CreateCustomPluginResponse = exports.CreateCustomPluginRequest = exports.CustomPluginLocation = exports.S3Location = exports.CreateConnectorResponse = exports.CreateConnectorRequest = exports.WorkerConfiguration = exports.LogDelivery = exports.WorkerLogDelivery = exports.S3LogDelivery = void 0;
3
+ exports.KafkaClusterClientAuthentication = exports.KafkaCluster = exports.ConflictException = exports.CloudWatchLogsLogDelivery = exports.CapacityUpdate = exports.ProvisionedCapacityUpdate = exports.Capacity = exports.ProvisionedCapacity = exports.BadRequestException = exports.AutoScalingUpdate = exports.ScaleOutPolicyUpdate = exports.ScaleInPolicyUpdate = exports.AutoScaling = exports.ScaleOutPolicy = exports.ScaleInPolicy = exports.ApacheKafkaCluster = exports.Vpc = exports.WorkerConfigurationSummary = exports.WorkerConfigurationRevisionSummary = exports.Plugin = exports.CustomPlugin = exports.CustomPluginSummary = exports.CustomPluginRevisionSummary = exports.CustomPluginLocationDescription = exports.S3LocationDescription = exports.CustomPluginFileDescription = exports.CustomPluginContentType = exports.CustomPluginState = exports.ConnectorSummary = exports.WorkerConfigurationDescription = exports.PluginDescription = exports.CustomPluginDescription = exports.LogDeliveryDescription = exports.WorkerLogDeliveryDescription = exports.S3LogDeliveryDescription = exports.FirehoseLogDeliveryDescription = exports.CloudWatchLogsLogDeliveryDescription = exports.KafkaClusterEncryptionInTransitDescription = exports.KafkaClusterEncryptionInTransitType = exports.KafkaClusterClientAuthenticationDescription = exports.KafkaClusterClientAuthenticationType = exports.KafkaClusterDescription = exports.ApacheKafkaClusterDescription = exports.VpcDescription = exports.ConnectorState = exports.CapacityDescription = exports.ProvisionedCapacityDescription = exports.AutoScalingDescription = exports.ScaleOutPolicyDescription = exports.ScaleInPolicyDescription = void 0;
4
+ exports.UpdateConnectorResponse = exports.UpdateConnectorRequest = exports.ListWorkerConfigurationsResponse = exports.ListWorkerConfigurationsRequest = exports.ListCustomPluginsResponse = exports.ListCustomPluginsRequest = exports.ListConnectorsResponse = exports.ListConnectorsRequest = exports.DescribeWorkerConfigurationResponse = exports.WorkerConfigurationRevisionDescription = exports.DescribeWorkerConfigurationRequest = exports.DescribeCustomPluginResponse = exports.DescribeCustomPluginRequest = exports.DescribeConnectorResponse = exports.DescribeConnectorRequest = exports.DeleteConnectorResponse = exports.DeleteConnectorRequest = exports.CreateWorkerConfigurationResponse = exports.CreateWorkerConfigurationRequest = exports.CreateCustomPluginResponse = exports.CreateCustomPluginRequest = exports.CustomPluginLocation = exports.S3Location = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.CreateConnectorResponse = exports.CreateConnectorRequest = exports.WorkerConfiguration = exports.LogDelivery = exports.WorkerLogDelivery = exports.S3LogDelivery = exports.FirehoseLogDelivery = exports.KafkaClusterEncryptionInTransit = void 0;
5
+ const KafkaConnectServiceException_1 = require("./KafkaConnectServiceException");
5
6
  var ScaleInPolicyDescription;
6
7
  (function (ScaleInPolicyDescription) {
7
8
  ScaleInPolicyDescription.filterSensitiveLog = (obj) => ({
@@ -250,6 +251,19 @@ var AutoScalingUpdate;
250
251
  ...obj,
251
252
  });
252
253
  })(AutoScalingUpdate = exports.AutoScalingUpdate || (exports.AutoScalingUpdate = {}));
254
+ class BadRequestException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
255
+ constructor(opts) {
256
+ super({
257
+ name: "BadRequestException",
258
+ $fault: "client",
259
+ ...opts,
260
+ });
261
+ this.name = "BadRequestException";
262
+ this.$fault = "client";
263
+ Object.setPrototypeOf(this, BadRequestException.prototype);
264
+ }
265
+ }
266
+ exports.BadRequestException = BadRequestException;
253
267
  var ProvisionedCapacity;
254
268
  (function (ProvisionedCapacity) {
255
269
  ProvisionedCapacity.filterSensitiveLog = (obj) => ({
@@ -280,6 +294,19 @@ var CloudWatchLogsLogDelivery;
280
294
  ...obj,
281
295
  });
282
296
  })(CloudWatchLogsLogDelivery = exports.CloudWatchLogsLogDelivery || (exports.CloudWatchLogsLogDelivery = {}));
297
+ class ConflictException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
298
+ constructor(opts) {
299
+ super({
300
+ name: "ConflictException",
301
+ $fault: "client",
302
+ ...opts,
303
+ });
304
+ this.name = "ConflictException";
305
+ this.$fault = "client";
306
+ Object.setPrototypeOf(this, ConflictException.prototype);
307
+ }
308
+ }
309
+ exports.ConflictException = ConflictException;
283
310
  var KafkaCluster;
284
311
  (function (KafkaCluster) {
285
312
  KafkaCluster.filterSensitiveLog = (obj) => ({
@@ -340,6 +367,84 @@ var CreateConnectorResponse;
340
367
  ...obj,
341
368
  });
342
369
  })(CreateConnectorResponse = exports.CreateConnectorResponse || (exports.CreateConnectorResponse = {}));
370
+ class ForbiddenException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
371
+ constructor(opts) {
372
+ super({
373
+ name: "ForbiddenException",
374
+ $fault: "client",
375
+ ...opts,
376
+ });
377
+ this.name = "ForbiddenException";
378
+ this.$fault = "client";
379
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
380
+ }
381
+ }
382
+ exports.ForbiddenException = ForbiddenException;
383
+ class InternalServerErrorException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
384
+ constructor(opts) {
385
+ super({
386
+ name: "InternalServerErrorException",
387
+ $fault: "server",
388
+ ...opts,
389
+ });
390
+ this.name = "InternalServerErrorException";
391
+ this.$fault = "server";
392
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
393
+ }
394
+ }
395
+ exports.InternalServerErrorException = InternalServerErrorException;
396
+ class NotFoundException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
397
+ constructor(opts) {
398
+ super({
399
+ name: "NotFoundException",
400
+ $fault: "client",
401
+ ...opts,
402
+ });
403
+ this.name = "NotFoundException";
404
+ this.$fault = "client";
405
+ Object.setPrototypeOf(this, NotFoundException.prototype);
406
+ }
407
+ }
408
+ exports.NotFoundException = NotFoundException;
409
+ class ServiceUnavailableException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
410
+ constructor(opts) {
411
+ super({
412
+ name: "ServiceUnavailableException",
413
+ $fault: "server",
414
+ ...opts,
415
+ });
416
+ this.name = "ServiceUnavailableException";
417
+ this.$fault = "server";
418
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
419
+ }
420
+ }
421
+ exports.ServiceUnavailableException = ServiceUnavailableException;
422
+ class TooManyRequestsException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
423
+ constructor(opts) {
424
+ super({
425
+ name: "TooManyRequestsException",
426
+ $fault: "client",
427
+ ...opts,
428
+ });
429
+ this.name = "TooManyRequestsException";
430
+ this.$fault = "client";
431
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
432
+ }
433
+ }
434
+ exports.TooManyRequestsException = TooManyRequestsException;
435
+ class UnauthorizedException extends KafkaConnectServiceException_1.KafkaConnectServiceException {
436
+ constructor(opts) {
437
+ super({
438
+ name: "UnauthorizedException",
439
+ $fault: "client",
440
+ ...opts,
441
+ });
442
+ this.name = "UnauthorizedException";
443
+ this.$fault = "client";
444
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
445
+ }
446
+ }
447
+ exports.UnauthorizedException = UnauthorizedException;
343
448
  var S3Location;
344
449
  (function (S3Location) {
345
450
  S3Location.filterSensitiveLog = (obj) => ({