@aws-sdk/client-kafkaconnect 3.758.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +43 -43
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  BadRequestException: () => BadRequestException,
25
25
  ConflictException: () => ConflictException,
26
26
  ConnectorOperationState: () => ConnectorOperationState,
@@ -73,7 +73,7 @@ __export(src_exports, {
73
73
  paginateListCustomPlugins: () => paginateListCustomPlugins,
74
74
  paginateListWorkerConfigurations: () => paginateListWorkerConfigurations
75
75
  });
76
- module.exports = __toCommonJS(src_exports);
76
+ module.exports = __toCommonJS(index_exports);
77
77
 
78
78
  // src/KafkaConnectClient.ts
79
79
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -200,9 +200,9 @@ var KafkaConnectClient = class extends import_smithy_client.Client {
200
200
  this.middlewareStack.use(
201
201
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
202
202
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultKafkaConnectHttpAuthSchemeParametersProvider,
203
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
203
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
204
204
  "aws.auth#sigv4": config.credentials
205
- })
205
+ }), "identityProviderConfigProvider")
206
206
  })
207
207
  );
208
208
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -493,19 +493,19 @@ var se_CreateConnectorCommand = /* @__PURE__ */ __name(async (input, context) =>
493
493
  let body;
494
494
  body = JSON.stringify(
495
495
  (0, import_smithy_client.take)(input, {
496
- capacity: (_) => (0, import_smithy_client._json)(_),
497
- connectorConfiguration: (_) => (0, import_smithy_client._json)(_),
496
+ capacity: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "capacity"),
497
+ connectorConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "connectorConfiguration"),
498
498
  connectorDescription: [],
499
499
  connectorName: [],
500
- kafkaCluster: (_) => (0, import_smithy_client._json)(_),
501
- kafkaClusterClientAuthentication: (_) => (0, import_smithy_client._json)(_),
502
- kafkaClusterEncryptionInTransit: (_) => (0, import_smithy_client._json)(_),
500
+ kafkaCluster: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "kafkaCluster"),
501
+ kafkaClusterClientAuthentication: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "kafkaClusterClientAuthentication"),
502
+ kafkaClusterEncryptionInTransit: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "kafkaClusterEncryptionInTransit"),
503
503
  kafkaConnectVersion: [],
504
- logDelivery: (_) => (0, import_smithy_client._json)(_),
505
- plugins: (_) => (0, import_smithy_client._json)(_),
504
+ logDelivery: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "logDelivery"),
505
+ plugins: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "plugins"),
506
506
  serviceExecutionRoleArn: [],
507
- tags: (_) => (0, import_smithy_client._json)(_),
508
- workerConfiguration: (_) => (0, import_smithy_client._json)(_)
507
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
508
+ workerConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "workerConfiguration")
509
509
  })
510
510
  );
511
511
  b.m("POST").h(headers).b(body);
@@ -522,9 +522,9 @@ var se_CreateCustomPluginCommand = /* @__PURE__ */ __name(async (input, context)
522
522
  (0, import_smithy_client.take)(input, {
523
523
  contentType: [],
524
524
  description: [],
525
- location: (_) => (0, import_smithy_client._json)(_),
525
+ location: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "location"),
526
526
  name: [],
527
- tags: (_) => (0, import_smithy_client._json)(_)
527
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
528
528
  })
529
529
  );
530
530
  b.m("POST").h(headers).b(body);
@@ -542,7 +542,7 @@ var se_CreateWorkerConfigurationCommand = /* @__PURE__ */ __name(async (input, c
542
542
  description: [],
543
543
  name: [],
544
544
  propertiesFileContent: [],
545
- tags: (_) => (0, import_smithy_client._json)(_)
545
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
546
546
  })
547
547
  );
548
548
  b.m("POST").h(headers).b(body);
@@ -685,7 +685,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
685
685
  let body;
686
686
  body = JSON.stringify(
687
687
  (0, import_smithy_client.take)(input, {
688
- tags: (_) => (0, import_smithy_client._json)(_)
688
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
689
689
  })
690
690
  );
691
691
  b.m("POST").h(headers).b(body);
@@ -716,8 +716,8 @@ var se_UpdateConnectorCommand = /* @__PURE__ */ __name(async (input, context) =>
716
716
  let body;
717
717
  body = JSON.stringify(
718
718
  (0, import_smithy_client.take)(input, {
719
- capacity: (_) => (0, import_smithy_client._json)(_),
720
- connectorConfiguration: (_) => (0, import_smithy_client._json)(_)
719
+ capacity: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "capacity"),
720
+ connectorConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "connectorConfiguration")
721
721
  })
722
722
  );
723
723
  b.m("PUT").h(headers).q(query).b(body);
@@ -765,8 +765,8 @@ var de_CreateWorkerConfigurationCommand = /* @__PURE__ */ __name(async (output,
765
765
  });
766
766
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
767
767
  const doc = (0, import_smithy_client.take)(data, {
768
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
769
- latestRevision: (_) => de_WorkerConfigurationRevisionSummary(_, context),
768
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
769
+ latestRevision: /* @__PURE__ */ __name((_) => de_WorkerConfigurationRevisionSummary(_, context), "latestRevision"),
770
770
  name: import_smithy_client.expectString,
771
771
  workerConfigurationArn: import_smithy_client.expectString,
772
772
  workerConfigurationState: import_smithy_client.expectString
@@ -834,7 +834,7 @@ var de_DescribeConnectorCommand = /* @__PURE__ */ __name(async (output, context)
834
834
  connectorDescription: import_smithy_client.expectString,
835
835
  connectorName: import_smithy_client.expectString,
836
836
  connectorState: import_smithy_client.expectString,
837
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
837
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
838
838
  currentVersion: import_smithy_client.expectString,
839
839
  kafkaCluster: import_smithy_client._json,
840
840
  kafkaClusterClientAuthentication: import_smithy_client._json,
@@ -862,8 +862,8 @@ var de_DescribeConnectorOperationCommand = /* @__PURE__ */ __name(async (output,
862
862
  connectorOperationArn: import_smithy_client.expectString,
863
863
  connectorOperationState: import_smithy_client.expectString,
864
864
  connectorOperationType: import_smithy_client.expectString,
865
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
866
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
865
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
866
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
867
867
  errorInfo: import_smithy_client._json,
868
868
  operationSteps: import_smithy_client._json,
869
869
  originConnectorConfiguration: import_smithy_client._json,
@@ -883,11 +883,11 @@ var de_DescribeCustomPluginCommand = /* @__PURE__ */ __name(async (output, conte
883
883
  });
884
884
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
885
885
  const doc = (0, import_smithy_client.take)(data, {
886
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
886
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
887
887
  customPluginArn: import_smithy_client.expectString,
888
888
  customPluginState: import_smithy_client.expectString,
889
889
  description: import_smithy_client.expectString,
890
- latestRevision: (_) => de_CustomPluginRevisionSummary(_, context),
890
+ latestRevision: /* @__PURE__ */ __name((_) => de_CustomPluginRevisionSummary(_, context), "latestRevision"),
891
891
  name: import_smithy_client.expectString,
892
892
  stateDescription: import_smithy_client._json
893
893
  });
@@ -903,9 +903,9 @@ var de_DescribeWorkerConfigurationCommand = /* @__PURE__ */ __name(async (output
903
903
  });
904
904
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
905
905
  const doc = (0, import_smithy_client.take)(data, {
906
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
906
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
907
907
  description: import_smithy_client.expectString,
908
- latestRevision: (_) => de_WorkerConfigurationRevisionDescription(_, context),
908
+ latestRevision: /* @__PURE__ */ __name((_) => de_WorkerConfigurationRevisionDescription(_, context), "latestRevision"),
909
909
  name: import_smithy_client.expectString,
910
910
  workerConfigurationArn: import_smithy_client.expectString,
911
911
  workerConfigurationState: import_smithy_client.expectString
@@ -922,7 +922,7 @@ var de_ListConnectorOperationsCommand = /* @__PURE__ */ __name(async (output, co
922
922
  });
923
923
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
924
924
  const doc = (0, import_smithy_client.take)(data, {
925
- connectorOperations: (_) => de___listOfConnectorOperationSummary(_, context),
925
+ connectorOperations: /* @__PURE__ */ __name((_) => de___listOfConnectorOperationSummary(_, context), "connectorOperations"),
926
926
  nextToken: import_smithy_client.expectString
927
927
  });
928
928
  Object.assign(contents, doc);
@@ -937,7 +937,7 @@ var de_ListConnectorsCommand = /* @__PURE__ */ __name(async (output, context) =>
937
937
  });
938
938
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
939
939
  const doc = (0, import_smithy_client.take)(data, {
940
- connectors: (_) => de___listOfConnectorSummary(_, context),
940
+ connectors: /* @__PURE__ */ __name((_) => de___listOfConnectorSummary(_, context), "connectors"),
941
941
  nextToken: import_smithy_client.expectString
942
942
  });
943
943
  Object.assign(contents, doc);
@@ -952,7 +952,7 @@ var de_ListCustomPluginsCommand = /* @__PURE__ */ __name(async (output, context)
952
952
  });
953
953
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
954
954
  const doc = (0, import_smithy_client.take)(data, {
955
- customPlugins: (_) => de___listOfCustomPluginSummary(_, context),
955
+ customPlugins: /* @__PURE__ */ __name((_) => de___listOfCustomPluginSummary(_, context), "customPlugins"),
956
956
  nextToken: import_smithy_client.expectString
957
957
  });
958
958
  Object.assign(contents, doc);
@@ -982,7 +982,7 @@ var de_ListWorkerConfigurationsCommand = /* @__PURE__ */ __name(async (output, c
982
982
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
983
983
  const doc = (0, import_smithy_client.take)(data, {
984
984
  nextToken: import_smithy_client.expectString,
985
- workerConfigurations: (_) => de___listOfWorkerConfigurationSummary(_, context)
985
+ workerConfigurations: /* @__PURE__ */ __name((_) => de___listOfWorkerConfigurationSummary(_, context), "workerConfigurations")
986
986
  });
987
987
  Object.assign(contents, doc);
988
988
  return contents;
@@ -1197,8 +1197,8 @@ var de_ConnectorOperationSummary = /* @__PURE__ */ __name((output, context) => {
1197
1197
  connectorOperationArn: import_smithy_client.expectString,
1198
1198
  connectorOperationState: import_smithy_client.expectString,
1199
1199
  connectorOperationType: import_smithy_client.expectString,
1200
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1201
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
1200
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
1201
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime")
1202
1202
  });
1203
1203
  }, "de_ConnectorOperationSummary");
1204
1204
  var de_ConnectorSummary = /* @__PURE__ */ __name((output, context) => {
@@ -1208,7 +1208,7 @@ var de_ConnectorSummary = /* @__PURE__ */ __name((output, context) => {
1208
1208
  connectorDescription: import_smithy_client.expectString,
1209
1209
  connectorName: import_smithy_client.expectString,
1210
1210
  connectorState: import_smithy_client.expectString,
1211
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1211
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
1212
1212
  currentVersion: import_smithy_client.expectString,
1213
1213
  kafkaCluster: import_smithy_client._json,
1214
1214
  kafkaClusterClientAuthentication: import_smithy_client._json,
@@ -1223,7 +1223,7 @@ var de_ConnectorSummary = /* @__PURE__ */ __name((output, context) => {
1223
1223
  var de_CustomPluginRevisionSummary = /* @__PURE__ */ __name((output, context) => {
1224
1224
  return (0, import_smithy_client.take)(output, {
1225
1225
  contentType: import_smithy_client.expectString,
1226
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1226
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
1227
1227
  description: import_smithy_client.expectString,
1228
1228
  fileDescription: import_smithy_client._json,
1229
1229
  location: import_smithy_client._json,
@@ -1232,17 +1232,17 @@ var de_CustomPluginRevisionSummary = /* @__PURE__ */ __name((output, context) =>
1232
1232
  }, "de_CustomPluginRevisionSummary");
1233
1233
  var de_CustomPluginSummary = /* @__PURE__ */ __name((output, context) => {
1234
1234
  return (0, import_smithy_client.take)(output, {
1235
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1235
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
1236
1236
  customPluginArn: import_smithy_client.expectString,
1237
1237
  customPluginState: import_smithy_client.expectString,
1238
1238
  description: import_smithy_client.expectString,
1239
- latestRevision: (_) => de_CustomPluginRevisionSummary(_, context),
1239
+ latestRevision: /* @__PURE__ */ __name((_) => de_CustomPluginRevisionSummary(_, context), "latestRevision"),
1240
1240
  name: import_smithy_client.expectString
1241
1241
  });
1242
1242
  }, "de_CustomPluginSummary");
1243
1243
  var de_WorkerConfigurationRevisionDescription = /* @__PURE__ */ __name((output, context) => {
1244
1244
  return (0, import_smithy_client.take)(output, {
1245
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1245
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
1246
1246
  description: import_smithy_client.expectString,
1247
1247
  propertiesFileContent: import_smithy_client.expectString,
1248
1248
  revision: import_smithy_client.expectLong
@@ -1250,16 +1250,16 @@ var de_WorkerConfigurationRevisionDescription = /* @__PURE__ */ __name((output,
1250
1250
  }, "de_WorkerConfigurationRevisionDescription");
1251
1251
  var de_WorkerConfigurationRevisionSummary = /* @__PURE__ */ __name((output, context) => {
1252
1252
  return (0, import_smithy_client.take)(output, {
1253
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1253
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
1254
1254
  description: import_smithy_client.expectString,
1255
1255
  revision: import_smithy_client.expectLong
1256
1256
  });
1257
1257
  }, "de_WorkerConfigurationRevisionSummary");
1258
1258
  var de_WorkerConfigurationSummary = /* @__PURE__ */ __name((output, context) => {
1259
1259
  return (0, import_smithy_client.take)(output, {
1260
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1260
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
1261
1261
  description: import_smithy_client.expectString,
1262
- latestRevision: (_) => de_WorkerConfigurationRevisionSummary(_, context),
1262
+ latestRevision: /* @__PURE__ */ __name((_) => de_WorkerConfigurationRevisionSummary(_, context), "latestRevision"),
1263
1263
  name: import_smithy_client.expectString,
1264
1264
  workerConfigurationArn: import_smithy_client.expectString,
1265
1265
  workerConfigurationState: import_smithy_client.expectString
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.758.0",
4
+ "version": "3.772.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",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",