@aws-sdk/client-kafkaconnect 3.33.0 → 3.36.1

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 (194) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/KafkaConnect.js +1 -5
  3. package/{dist/cjs → dist-cjs}/KafkaConnectClient.js +8 -17
  4. package/{dist/cjs → dist-cjs}/commands/CreateConnectorCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/CreateCustomPluginCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateWorkerConfigurationCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DeleteConnectorCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DescribeConnectorCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DescribeCustomPluginCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DescribeWorkerConfigurationCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/ListConnectorsCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/ListCustomPluginsCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/ListWorkerConfigurationsCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/UpdateConnectorCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  16. package/{dist/cjs → dist-cjs}/index.js +0 -1
  17. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  18. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -247
  19. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  20. package/{dist/cjs → dist-cjs}/pagination/ListConnectorsPaginator.js +1 -12
  21. package/{dist/cjs → dist-cjs}/pagination/ListCustomPluginsPaginator.js +1 -12
  22. package/{dist/cjs → dist-cjs}/pagination/ListWorkerConfigurationsPaginator.js +1 -12
  23. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -12
  24. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  25. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  26. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  28. package/{dist/es → dist-es}/KafkaConnect.js +2 -6
  29. package/{dist/es → dist-es}/KafkaConnectClient.js +2 -11
  30. package/{dist/es → dist-es}/commands/CreateConnectorCommand.js +4 -30
  31. package/{dist/es → dist-es}/commands/CreateCustomPluginCommand.js +4 -30
  32. package/{dist/es → dist-es}/commands/CreateWorkerConfigurationCommand.js +4 -30
  33. package/{dist/es → dist-es}/commands/DeleteConnectorCommand.js +4 -30
  34. package/{dist/es → dist-es}/commands/DescribeConnectorCommand.js +4 -30
  35. package/{dist/es → dist-es}/commands/DescribeCustomPluginCommand.js +4 -30
  36. package/{dist/es → dist-es}/commands/DescribeWorkerConfigurationCommand.js +4 -30
  37. package/{dist/es → dist-es}/commands/ListConnectorsCommand.js +4 -30
  38. package/{dist/es → dist-es}/commands/ListCustomPluginsCommand.js +4 -30
  39. package/{dist/es → dist-es}/commands/ListWorkerConfigurationsCommand.js +4 -30
  40. package/{dist/es → dist-es}/commands/UpdateConnectorCommand.js +4 -30
  41. package/{dist/es → dist-es}/endpoints.js +1 -2
  42. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  43. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  44. package/{dist/es → dist-es}/models/models_0.js +0 -247
  45. package/dist-es/pagination/Interfaces.js +1 -0
  46. package/{dist/es → dist-es}/pagination/ListConnectorsPaginator.js +17 -30
  47. package/{dist/es → dist-es}/pagination/ListCustomPluginsPaginator.js +17 -30
  48. package/{dist/es → dist-es}/pagination/ListWorkerConfigurationsPaginator.js +17 -30
  49. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +427 -433
  50. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  51. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  52. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  53. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  54. package/{dist/types → dist-types}/KafkaConnect.d.ts +2 -2
  55. package/{dist/types → dist-types}/KafkaConnectClient.d.ts +8 -8
  56. package/{dist/types → dist-types}/commands/CreateConnectorCommand.d.ts +2 -2
  57. package/{dist/types → dist-types}/commands/CreateCustomPluginCommand.d.ts +2 -2
  58. package/{dist/types → dist-types}/commands/CreateWorkerConfigurationCommand.d.ts +2 -2
  59. package/{dist/types → dist-types}/commands/DeleteConnectorCommand.d.ts +2 -2
  60. package/{dist/types → dist-types}/commands/DescribeConnectorCommand.d.ts +2 -2
  61. package/{dist/types → dist-types}/commands/DescribeCustomPluginCommand.d.ts +2 -2
  62. package/{dist/types → dist-types}/commands/DescribeWorkerConfigurationCommand.d.ts +2 -2
  63. package/{dist/types → dist-types}/commands/ListConnectorsCommand.d.ts +2 -2
  64. package/{dist/types → dist-types}/commands/ListCustomPluginsCommand.d.ts +2 -2
  65. package/{dist/types → dist-types}/commands/ListWorkerConfigurationsCommand.d.ts +2 -2
  66. package/{dist/types → dist-types}/commands/UpdateConnectorCommand.d.ts +2 -2
  67. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  68. package/{index.ts → dist-types/index.d.ts} +0 -0
  69. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  70. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  71. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  72. package/{dist/types → dist-types}/pagination/ListConnectorsPaginator.d.ts +1 -1
  73. package/{dist/types → dist-types}/pagination/ListCustomPluginsPaginator.d.ts +1 -1
  74. package/{dist/types → dist-types}/pagination/ListWorkerConfigurationsPaginator.d.ts +1 -1
  75. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  76. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  77. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  78. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  79. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  80. package/{dist/types → dist-types}/ts3.4/KafkaConnect.d.ts +14 -38
  81. package/{dist/types → dist-types}/ts3.4/KafkaConnectClient.d.ts +32 -97
  82. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +17 -0
  83. package/{dist/types → dist-types}/ts3.4/commands/CreateCustomPluginCommand.d.ts +4 -22
  84. package/{dist/types → dist-types}/ts3.4/commands/CreateWorkerConfigurationCommand.d.ts +4 -22
  85. package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectorCommand.d.ts +4 -22
  86. package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorCommand.d.ts +4 -22
  87. package/{dist/types → dist-types}/ts3.4/commands/DescribeCustomPluginCommand.d.ts +4 -22
  88. package/{dist/types → dist-types}/ts3.4/commands/DescribeWorkerConfigurationCommand.d.ts +4 -22
  89. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/ListCustomPluginsCommand.d.ts +17 -0
  91. package/{dist/types → dist-types}/ts3.4/commands/ListWorkerConfigurationsCommand.d.ts +4 -22
  92. package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectorCommand.d.ts +4 -22
  93. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  94. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  95. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  96. package/dist-types/ts3.4/models/models_0.d.ts +1028 -0
  97. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  98. package/{dist/types → dist-types}/ts3.4/pagination/ListConnectorsPaginator.d.ts +1 -1
  99. package/{dist/types → dist-types}/ts3.4/pagination/ListCustomPluginsPaginator.d.ts +1 -1
  100. package/{dist/types → dist-types}/ts3.4/pagination/ListWorkerConfigurationsPaginator.d.ts +1 -1
  101. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  102. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  103. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  104. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  105. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  106. package/package.json +52 -49
  107. package/KafkaConnect.ts +0 -414
  108. package/KafkaConnectClient.ts +0 -280
  109. package/commands/CreateConnectorCommand.ts +0 -94
  110. package/commands/CreateCustomPluginCommand.ts +0 -94
  111. package/commands/CreateWorkerConfigurationCommand.ts +0 -97
  112. package/commands/DeleteConnectorCommand.ts +0 -94
  113. package/commands/DescribeConnectorCommand.ts +0 -94
  114. package/commands/DescribeCustomPluginCommand.ts +0 -94
  115. package/commands/DescribeWorkerConfigurationCommand.ts +0 -99
  116. package/commands/ListConnectorsCommand.ts +0 -94
  117. package/commands/ListCustomPluginsCommand.ts +0 -94
  118. package/commands/ListWorkerConfigurationsCommand.ts +0 -94
  119. package/commands/UpdateConnectorCommand.ts +0 -94
  120. package/dist/cjs/KafkaConnect.js.map +0 -1
  121. package/dist/cjs/KafkaConnectClient.js.map +0 -1
  122. package/dist/cjs/commands/CreateConnectorCommand.js.map +0 -1
  123. package/dist/cjs/commands/CreateCustomPluginCommand.js.map +0 -1
  124. package/dist/cjs/commands/CreateWorkerConfigurationCommand.js.map +0 -1
  125. package/dist/cjs/commands/DeleteConnectorCommand.js.map +0 -1
  126. package/dist/cjs/commands/DescribeConnectorCommand.js.map +0 -1
  127. package/dist/cjs/commands/DescribeCustomPluginCommand.js.map +0 -1
  128. package/dist/cjs/commands/DescribeWorkerConfigurationCommand.js.map +0 -1
  129. package/dist/cjs/commands/ListConnectorsCommand.js.map +0 -1
  130. package/dist/cjs/commands/ListCustomPluginsCommand.js.map +0 -1
  131. package/dist/cjs/commands/ListWorkerConfigurationsCommand.js.map +0 -1
  132. package/dist/cjs/commands/UpdateConnectorCommand.js.map +0 -1
  133. package/dist/cjs/endpoints.js.map +0 -1
  134. package/dist/cjs/index.js.map +0 -1
  135. package/dist/cjs/models/index.js.map +0 -1
  136. package/dist/cjs/models/models_0.js.map +0 -1
  137. package/dist/cjs/package.json +0 -91
  138. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  139. package/dist/cjs/pagination/ListConnectorsPaginator.js.map +0 -1
  140. package/dist/cjs/pagination/ListCustomPluginsPaginator.js.map +0 -1
  141. package/dist/cjs/pagination/ListWorkerConfigurationsPaginator.js.map +0 -1
  142. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  143. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  144. package/dist/cjs/runtimeConfig.js.map +0 -1
  145. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  146. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  147. package/dist/es/KafkaConnect.js.map +0 -1
  148. package/dist/es/KafkaConnectClient.js.map +0 -1
  149. package/dist/es/commands/CreateConnectorCommand.js.map +0 -1
  150. package/dist/es/commands/CreateCustomPluginCommand.js.map +0 -1
  151. package/dist/es/commands/CreateWorkerConfigurationCommand.js.map +0 -1
  152. package/dist/es/commands/DeleteConnectorCommand.js.map +0 -1
  153. package/dist/es/commands/DescribeConnectorCommand.js.map +0 -1
  154. package/dist/es/commands/DescribeCustomPluginCommand.js.map +0 -1
  155. package/dist/es/commands/DescribeWorkerConfigurationCommand.js.map +0 -1
  156. package/dist/es/commands/ListConnectorsCommand.js.map +0 -1
  157. package/dist/es/commands/ListCustomPluginsCommand.js.map +0 -1
  158. package/dist/es/commands/ListWorkerConfigurationsCommand.js.map +0 -1
  159. package/dist/es/commands/UpdateConnectorCommand.js.map +0 -1
  160. package/dist/es/endpoints.js.map +0 -1
  161. package/dist/es/index.js +0 -19
  162. package/dist/es/index.js.map +0 -1
  163. package/dist/es/models/index.js +0 -2
  164. package/dist/es/models/index.js.map +0 -1
  165. package/dist/es/models/models_0.js.map +0 -1
  166. package/dist/es/package.json +0 -91
  167. package/dist/es/pagination/Interfaces.js +0 -2
  168. package/dist/es/pagination/Interfaces.js.map +0 -1
  169. package/dist/es/pagination/ListConnectorsPaginator.js.map +0 -1
  170. package/dist/es/pagination/ListCustomPluginsPaginator.js.map +0 -1
  171. package/dist/es/pagination/ListWorkerConfigurationsPaginator.js.map +0 -1
  172. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  173. package/dist/es/runtimeConfig.browser.js.map +0 -1
  174. package/dist/es/runtimeConfig.js.map +0 -1
  175. package/dist/es/runtimeConfig.native.js.map +0 -1
  176. package/dist/es/runtimeConfig.shared.js.map +0 -1
  177. package/dist/types/ts3.4/commands/CreateConnectorCommand.d.ts +0 -35
  178. package/dist/types/ts3.4/commands/ListConnectorsCommand.d.ts +0 -35
  179. package/dist/types/ts3.4/commands/ListCustomPluginsCommand.d.ts +0 -35
  180. package/dist/types/ts3.4/models/models_0.d.ts +0 -1732
  181. package/endpoints.ts +0 -57
  182. package/jest.config.js +0 -4
  183. package/models/models_0.ts +0 -2197
  184. package/pagination/Interfaces.ts +0 -7
  185. package/pagination/ListConnectorsPaginator.ts +0 -58
  186. package/pagination/ListCustomPluginsPaginator.ts +0 -58
  187. package/pagination/ListWorkerConfigurationsPaginator.ts +0 -58
  188. package/protocols/Aws_restJson1.ts +0 -2700
  189. package/runtimeConfig.browser.ts +0 -40
  190. package/runtimeConfig.native.ts +0 -16
  191. package/runtimeConfig.shared.ts +0 -16
  192. package/runtimeConfig.ts +0 -45
  193. package/tsconfig.es.json +0 -12
  194. package/tsconfig.json +0 -32
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -9,12 +9,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
9
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
- /**
13
- * @internal
14
- */
15
12
  export var getRuntimeConfig = function (config) {
16
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
14
  var clientSharedValues = getSharedRuntimeConfig(config);
18
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
19
16
  };
20
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -13,13 +13,9 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
- /**
17
- * @internal
18
- */
19
16
  export var getRuntimeConfig = function (config) {
20
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
18
  emitWarningIfUnsupportedVersion(process.version);
22
19
  var clientSharedValues = getSharedRuntimeConfig(config);
23
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
24
21
  };
25
- //# sourceMappingURL=runtimeConfig.js.map
@@ -1,12 +1,8 @@
1
1
  import { __assign } from "tslib";
2
2
  import { Sha256 } from "@aws-crypto/sha256-js";
3
3
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
- /**
5
- * @internal
6
- */
7
4
  export var getRuntimeConfig = function (config) {
8
5
  var _a;
9
6
  var browserDefaults = getBrowserRuntimeConfig(config);
10
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
11
8
  };
12
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,5 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { parseUrl } from "@aws-sdk/url-parser";
3
- /**
4
- * @internal
5
- */
2
+ import { defaultRegionInfoProvider } from "./endpoints";
6
3
  export var getRuntimeConfig = function (config) {
7
4
  var _a, _b, _c, _d, _e;
8
5
  return ({
@@ -14,4 +11,3 @@ export var getRuntimeConfig = function (config) {
14
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
15
12
  });
16
13
  };
17
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,4 +1,4 @@
1
- import { KafkaConnectClient } from "./KafkaConnectClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
3
3
  import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "./commands/CreateCustomPluginCommand";
4
4
  import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "./commands/CreateWorkerConfigurationCommand";
@@ -10,7 +10,7 @@ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./comma
10
10
  import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
11
11
  import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "./commands/ListWorkerConfigurationsCommand";
12
12
  import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
13
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
13
+ import { KafkaConnectClient } from "./KafkaConnectClient";
14
14
  /**
15
15
  * <p/>
16
16
  */
@@ -1,3 +1,11 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
1
9
  import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
2
10
  import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "./commands/CreateCustomPluginCommand";
3
11
  import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "./commands/CreateWorkerConfigurationCommand";
@@ -9,14 +17,6 @@ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./comma
9
17
  import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
10
18
  import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "./commands/ListWorkerConfigurationsCommand";
11
19
  import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
12
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
13
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
14
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
15
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
16
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
17
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
18
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
19
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
20
20
  export declare type ServiceInputTypes = CreateConnectorCommandInput | CreateCustomPluginCommandInput | CreateWorkerConfigurationCommandInput | DeleteConnectorCommandInput | DescribeConnectorCommandInput | DescribeCustomPluginCommandInput | DescribeWorkerConfigurationCommandInput | ListConnectorsCommandInput | ListCustomPluginsCommandInput | ListWorkerConfigurationsCommandInput | UpdateConnectorCommandInput;
21
21
  export declare type ServiceOutputTypes = CreateConnectorCommandOutput | CreateCustomPluginCommandOutput | CreateWorkerConfigurationCommandOutput | DeleteConnectorCommandOutput | DescribeConnectorCommandOutput | DescribeCustomPluginCommandOutput | DescribeWorkerConfigurationCommandOutput | ListConnectorsCommandOutput | ListCustomPluginsCommandOutput | ListWorkerConfigurationsCommandOutput | UpdateConnectorCommandOutput;
22
22
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { CreateConnectorRequest, CreateConnectorResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateConnectorCommandInput extends CreateConnectorRequest {
6
6
  }
7
7
  export interface CreateConnectorCommandOutput extends CreateConnectorResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { CreateCustomPluginRequest, CreateCustomPluginResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateCustomPluginCommandInput extends CreateCustomPluginRequest {
6
6
  }
7
7
  export interface CreateCustomPluginCommandOutput extends CreateCustomPluginResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { CreateWorkerConfigurationRequest, CreateWorkerConfigurationResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateWorkerConfigurationCommandInput extends CreateWorkerConfigurationRequest {
6
6
  }
7
7
  export interface CreateWorkerConfigurationCommandOutput extends CreateWorkerConfigurationResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { DeleteConnectorRequest, DeleteConnectorResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DeleteConnectorCommandInput extends DeleteConnectorRequest {
6
6
  }
7
7
  export interface DeleteConnectorCommandOutput extends DeleteConnectorResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { DescribeConnectorRequest, DescribeConnectorResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeConnectorCommandInput extends DescribeConnectorRequest {
6
6
  }
7
7
  export interface DescribeConnectorCommandOutput extends DescribeConnectorResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { DescribeCustomPluginRequest, DescribeCustomPluginResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeCustomPluginCommandInput extends DescribeCustomPluginRequest {
6
6
  }
7
7
  export interface DescribeCustomPluginCommandOutput extends DescribeCustomPluginResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { DescribeWorkerConfigurationRequest, DescribeWorkerConfigurationResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeWorkerConfigurationCommandInput extends DescribeWorkerConfigurationRequest {
6
6
  }
7
7
  export interface DescribeWorkerConfigurationCommandOutput extends DescribeWorkerConfigurationResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { ListConnectorsRequest, ListConnectorsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListConnectorsCommandInput extends ListConnectorsRequest {
6
6
  }
7
7
  export interface ListConnectorsCommandOutput extends ListConnectorsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { ListCustomPluginsRequest, ListCustomPluginsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListCustomPluginsCommandInput extends ListCustomPluginsRequest {
6
6
  }
7
7
  export interface ListCustomPluginsCommandOutput extends ListCustomPluginsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { ListWorkerConfigurationsRequest, ListWorkerConfigurationsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListWorkerConfigurationsCommandInput extends ListWorkerConfigurationsRequest {
6
6
  }
7
7
  export interface ListWorkerConfigurationsCommandOutput extends ListWorkerConfigurationsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
2
4
  import { UpdateConnectorRequest, UpdateConnectorResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface UpdateConnectorCommandInput extends UpdateConnectorRequest {
6
6
  }
7
7
  export interface UpdateConnectorCommandOutput extends UpdateConnectorResponse, __MetadataBearer {
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { KafkaConnect } from "../KafkaConnect";
2
3
  import { KafkaConnectClient } from "../KafkaConnectClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface KafkaConnectPaginationConfiguration extends PaginationConfiguration {
5
5
  client: KafkaConnect | KafkaConnectClient;
6
6
  }
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "../commands/ListConnectorsCommand";
2
3
  import { KafkaConnectPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListConnectors(config: KafkaConnectPaginationConfiguration, input: ListConnectorsCommandInput, ...additionalArguments: any): Paginator<ListConnectorsCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "../commands/ListCustomPluginsCommand";
2
3
  import { KafkaConnectPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListCustomPlugins(config: KafkaConnectPaginationConfiguration, input: ListCustomPluginsCommandInput, ...additionalArguments: any): Paginator<ListCustomPluginsCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "../commands/ListWorkerConfigurationsCommand";
2
3
  import { KafkaConnectPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListWorkerConfigurations(config: KafkaConnectPaginationConfiguration, input: ListWorkerConfigurationsCommandInput, ...additionalArguments: any): Paginator<ListWorkerConfigurationsCommandOutput>;
@@ -1,3 +1,5 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "../commands/CreateConnectorCommand";
2
4
  import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "../commands/CreateCustomPluginCommand";
3
5
  import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "../commands/CreateWorkerConfigurationCommand";
@@ -9,8 +11,6 @@ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "../comm
9
11
  import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "../commands/ListCustomPluginsCommand";
10
12
  import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "../commands/ListWorkerConfigurationsCommand";
11
13
  import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "../commands/UpdateConnectorCommand";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
14
14
  export declare const serializeAws_restJson1CreateConnectorCommand: (input: CreateConnectorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
15
  export declare const serializeAws_restJson1CreateCustomPluginCommand: (input: CreateCustomPluginCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
16
16
  export declare const serializeAws_restJson1CreateWorkerConfigurationCommand: (input: CreateWorkerConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -1,4 +1,4 @@
1
- import { KafkaConnectClient } from "./KafkaConnectClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
3
3
  import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "./commands/CreateCustomPluginCommand";
4
4
  import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "./commands/CreateWorkerConfigurationCommand";
@@ -10,74 +10,50 @@ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./comma
10
10
  import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
11
11
  import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "./commands/ListWorkerConfigurationsCommand";
12
12
  import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
13
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
14
- /**
15
- * <p/>
16
- */
13
+ import { KafkaConnectClient } from "./KafkaConnectClient";
14
+
17
15
  export declare class KafkaConnect extends KafkaConnectClient {
18
- /**
19
- * <p>Creates a connector using the specified properties.</p>
20
- */
16
+
21
17
  createConnector(args: CreateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorCommandOutput>;
22
18
  createConnector(args: CreateConnectorCommandInput, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
23
19
  createConnector(args: CreateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
24
- /**
25
- * <p>Creates a custom plugin using the specified properties.</p>
26
- */
20
+
27
21
  createCustomPlugin(args: CreateCustomPluginCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomPluginCommandOutput>;
28
22
  createCustomPlugin(args: CreateCustomPluginCommandInput, cb: (err: any, data?: CreateCustomPluginCommandOutput) => void): void;
29
23
  createCustomPlugin(args: CreateCustomPluginCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomPluginCommandOutput) => void): void;
30
- /**
31
- * <p>Creates a worker configuration using the specified properties.</p>
32
- */
24
+
33
25
  createWorkerConfiguration(args: CreateWorkerConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkerConfigurationCommandOutput>;
34
26
  createWorkerConfiguration(args: CreateWorkerConfigurationCommandInput, cb: (err: any, data?: CreateWorkerConfigurationCommandOutput) => void): void;
35
27
  createWorkerConfiguration(args: CreateWorkerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkerConfigurationCommandOutput) => void): void;
36
- /**
37
- * <p>Deletes the specified connector.</p>
38
- */
28
+
39
29
  deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
40
30
  deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
41
31
  deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
42
- /**
43
- * <p>Returns summary information about the connector.</p>
44
- */
32
+
45
33
  describeConnector(args: DescribeConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorCommandOutput>;
46
34
  describeConnector(args: DescribeConnectorCommandInput, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
47
35
  describeConnector(args: DescribeConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
48
- /**
49
- * <p>A summary description of the custom plugin.</p>
50
- */
36
+
51
37
  describeCustomPlugin(args: DescribeCustomPluginCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCustomPluginCommandOutput>;
52
38
  describeCustomPlugin(args: DescribeCustomPluginCommandInput, cb: (err: any, data?: DescribeCustomPluginCommandOutput) => void): void;
53
39
  describeCustomPlugin(args: DescribeCustomPluginCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCustomPluginCommandOutput) => void): void;
54
- /**
55
- * <p>Returns information about a worker configuration.</p>
56
- */
40
+
57
41
  describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkerConfigurationCommandOutput>;
58
42
  describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
59
43
  describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
60
- /**
61
- * <p>Returns a list of all the connectors in this account and Region. The list is limited to connectors whose name starts with the specified prefix. The response also includes a description of each of the listed connectors.</p>
62
- */
44
+
63
45
  listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
64
46
  listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
65
47
  listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
66
- /**
67
- * <p>Returns a list of all of the custom plugins in this account and Region.</p>
68
- */
48
+
69
49
  listCustomPlugins(args: ListCustomPluginsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomPluginsCommandOutput>;
70
50
  listCustomPlugins(args: ListCustomPluginsCommandInput, cb: (err: any, data?: ListCustomPluginsCommandOutput) => void): void;
71
51
  listCustomPlugins(args: ListCustomPluginsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomPluginsCommandOutput) => void): void;
72
- /**
73
- * <p>Returns a list of all of the worker configurations in this account and Region.</p>
74
- */
52
+
75
53
  listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkerConfigurationsCommandOutput>;
76
54
  listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void): void;
77
55
  listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void): void;
78
- /**
79
- * <p>Updates the specified connector.</p>
80
- */
56
+
81
57
  updateConnector(args: UpdateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorCommandOutput>;
82
58
  updateConnector(args: UpdateConnectorCommandInput, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
83
59
  updateConnector(args: UpdateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
@@ -1,3 +1,11 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
1
9
  import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
2
10
  import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "./commands/CreateCustomPluginCommand";
3
11
  import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "./commands/CreateWorkerConfigurationCommand";
@@ -9,135 +17,62 @@ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./comma
9
17
  import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
10
18
  import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "./commands/ListWorkerConfigurationsCommand";
11
19
  import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
12
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
13
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
14
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
15
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
16
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
17
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
18
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
19
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
20
20
  export declare type ServiceInputTypes = CreateConnectorCommandInput | CreateCustomPluginCommandInput | CreateWorkerConfigurationCommandInput | DeleteConnectorCommandInput | DescribeConnectorCommandInput | DescribeCustomPluginCommandInput | DescribeWorkerConfigurationCommandInput | ListConnectorsCommandInput | ListCustomPluginsCommandInput | ListWorkerConfigurationsCommandInput | UpdateConnectorCommandInput;
21
21
  export declare type ServiceOutputTypes = CreateConnectorCommandOutput | CreateCustomPluginCommandOutput | CreateWorkerConfigurationCommandOutput | DeleteConnectorCommandOutput | DescribeConnectorCommandOutput | DescribeCustomPluginCommandOutput | DescribeWorkerConfigurationCommandOutput | ListConnectorsCommandOutput | ListCustomPluginsCommandOutput | ListWorkerConfigurationsCommandOutput | UpdateConnectorCommandOutput;
22
22
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
23
- /**
24
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
25
- */
23
+
26
24
  requestHandler?: __HttpHandler;
27
- /**
28
- * A constructor for a class implementing the {@link __Hash} interface
29
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
30
- * @internal
31
- */
25
+
32
26
  sha256?: __HashConstructor;
33
- /**
34
- * The function that will be used to convert strings into HTTP endpoints.
35
- * @internal
36
- */
27
+
37
28
  urlParser?: __UrlParser;
38
- /**
39
- * A function that can calculate the length of a request body.
40
- * @internal
41
- */
29
+
42
30
  bodyLengthChecker?: (body: any) => number | undefined;
43
- /**
44
- * A function that converts a stream into an array of bytes.
45
- * @internal
46
- */
31
+
47
32
  streamCollector?: __StreamCollector;
48
- /**
49
- * The function that will be used to convert a base64-encoded string to a byte array.
50
- * @internal
51
- */
33
+
52
34
  base64Decoder?: __Decoder;
53
- /**
54
- * The function that will be used to convert binary data to a base64-encoded string.
55
- * @internal
56
- */
35
+
57
36
  base64Encoder?: __Encoder;
58
- /**
59
- * The function that will be used to convert a UTF8-encoded string to a byte array.
60
- * @internal
61
- */
37
+
62
38
  utf8Decoder?: __Decoder;
63
- /**
64
- * The function that will be used to convert binary data to a UTF-8 encoded string.
65
- * @internal
66
- */
39
+
67
40
  utf8Encoder?: __Encoder;
68
- /**
69
- * The runtime environment.
70
- * @internal
71
- */
41
+
72
42
  runtime?: string;
73
- /**
74
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
75
- * trait of an operation.
76
- */
43
+
77
44
  disableHostPrefix?: boolean;
78
- /**
79
- * Value for how many times a request will be made at most in case of retry.
80
- */
45
+
81
46
  maxAttempts?: number | __Provider<number>;
82
- /**
83
- * Specifies which retry algorithm to use.
84
- */
47
+
85
48
  retryMode?: string | __Provider<string>;
86
- /**
87
- * Optional logger for logging debug/info/warn/error.
88
- */
49
+
89
50
  logger?: __Logger;
90
- /**
91
- * Unique service identifier.
92
- * @internal
93
- */
51
+
94
52
  serviceId?: string;
95
- /**
96
- * The AWS region to which this client will send requests
97
- */
53
+
98
54
  region?: string | __Provider<string>;
99
- /**
100
- * Default credentials provider; Not available in browser runtime.
101
- * @internal
102
- */
55
+
103
56
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
104
- /**
105
- * Fetch related hostname, signing name or signing region with given region.
106
- * @internal
107
- */
57
+
108
58
  regionInfoProvider?: RegionInfoProvider;
109
- /**
110
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
111
- * @internal
112
- */
59
+
113
60
  defaultUserAgentProvider?: Provider<__UserAgent>;
114
61
  }
115
62
  declare type KafkaConnectClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
116
- /**
117
- * The configuration interface of KafkaConnectClient class constructor that set the region, credentials and other options.
118
- */
63
+
119
64
  export interface KafkaConnectClientConfig extends KafkaConnectClientConfigType {
120
65
  }
121
66
  declare type KafkaConnectClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
122
- /**
123
- * The resolved configuration interface of KafkaConnectClient class. This is resolved and normalized from the {@link KafkaConnectClientConfig | constructor configuration interface}.
124
- */
67
+
125
68
  export interface KafkaConnectClientResolvedConfig extends KafkaConnectClientResolvedConfigType {
126
69
  }
127
- /**
128
- * <p/>
129
- */
70
+
130
71
  export declare class KafkaConnectClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, KafkaConnectClientResolvedConfig> {
131
- /**
132
- * The resolved configuration of KafkaConnectClient class. This is resolved and normalized from the {@link KafkaConnectClientConfig | constructor configuration interface}.
133
- */
72
+
134
73
  readonly config: KafkaConnectClientResolvedConfig;
135
74
  constructor(configuration: KafkaConnectClientConfig);
136
- /**
137
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
138
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
139
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
140
- */
75
+
141
76
  destroy(): void;
142
77
  }
143
78
  export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
4
+ import { CreateConnectorRequest, CreateConnectorResponse } from "../models/models_0";
5
+ export interface CreateConnectorCommandInput extends CreateConnectorRequest {
6
+ }
7
+ export interface CreateConnectorCommandOutput extends CreateConnectorResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateConnectorCommand extends $Command<CreateConnectorCommandInput, CreateConnectorCommandOutput, KafkaConnectClientResolvedConfig> {
11
+ readonly input: CreateConnectorCommandInput;
12
+ constructor(input: CreateConnectorCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConnectorCommandInput, CreateConnectorCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }