@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,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListConnectors = void 0;
4
+ const ListConnectorsCommand_1 = require("../commands/ListConnectorsCommand");
4
5
  const KafkaConnect_1 = require("../KafkaConnect");
5
6
  const KafkaConnectClient_1 = require("../KafkaConnectClient");
6
- const ListConnectorsCommand_1 = require("../commands/ListConnectorsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListConnectorsCommand_1.ListConnectorsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listConnectors(input, ...args);
20
12
  };
21
13
  async function* paginateListConnectors(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateListConnectors(config, input, ...additionalArguments) {
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListConnectors = paginateListConnectors;
46
- //# sourceMappingURL=ListConnectorsPaginator.js.map
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListCustomPlugins = void 0;
4
+ const ListCustomPluginsCommand_1 = require("../commands/ListCustomPluginsCommand");
4
5
  const KafkaConnect_1 = require("../KafkaConnect");
5
6
  const KafkaConnectClient_1 = require("../KafkaConnectClient");
6
- const ListCustomPluginsCommand_1 = require("../commands/ListCustomPluginsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListCustomPluginsCommand_1.ListCustomPluginsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listCustomPlugins(input, ...args);
20
12
  };
21
13
  async function* paginateListCustomPlugins(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateListCustomPlugins(config, input, ...additionalArguments)
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListCustomPlugins = paginateListCustomPlugins;
46
- //# sourceMappingURL=ListCustomPluginsPaginator.js.map
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListWorkerConfigurations = void 0;
4
+ const ListWorkerConfigurationsCommand_1 = require("../commands/ListWorkerConfigurationsCommand");
4
5
  const KafkaConnect_1 = require("../KafkaConnect");
5
6
  const KafkaConnectClient_1 = require("../KafkaConnectClient");
6
- const ListWorkerConfigurationsCommand_1 = require("../commands/ListWorkerConfigurationsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListWorkerConfigurationsCommand_1.ListWorkerConfigurationsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listWorkerConfigurations(input, ...args);
20
12
  };
21
13
  async function* paginateListWorkerConfigurations(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateListWorkerConfigurations(config, input, ...additionalArg
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListWorkerConfigurations = paginateListWorkerConfigurations;
46
- //# sourceMappingURL=ListWorkerConfigurationsPaginator.js.map
@@ -8,7 +8,7 @@ const serializeAws_restJson1CreateConnectorCommand = async (input, context) => {
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors";
11
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors";
12
12
  let body;
13
13
  body = JSON.stringify({
14
14
  ...(input.capacity !== undefined &&
@@ -59,7 +59,7 @@ const serializeAws_restJson1CreateCustomPluginCommand = async (input, context) =
59
59
  const headers = {
60
60
  "content-type": "application/json",
61
61
  };
62
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/custom-plugins";
62
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/custom-plugins";
63
63
  let body;
64
64
  body = JSON.stringify({
65
65
  ...(input.contentType !== undefined && input.contentType !== null && { contentType: input.contentType }),
@@ -84,7 +84,7 @@ const serializeAws_restJson1CreateWorkerConfigurationCommand = async (input, con
84
84
  const headers = {
85
85
  "content-type": "application/json",
86
86
  };
87
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/worker-configurations";
87
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/worker-configurations";
88
88
  let body;
89
89
  body = JSON.stringify({
90
90
  ...(input.description !== undefined && input.description !== null && { description: input.description }),
@@ -215,7 +215,7 @@ exports.serializeAws_restJson1DescribeWorkerConfigurationCommand = serializeAws_
215
215
  const serializeAws_restJson1ListConnectorsCommand = async (input, context) => {
216
216
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
217
217
  const headers = {};
218
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors";
218
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/connectors";
219
219
  const query = {
220
220
  ...(input.connectorNamePrefix !== undefined && { connectorNamePrefix: input.connectorNamePrefix }),
221
221
  ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
@@ -237,7 +237,7 @@ exports.serializeAws_restJson1ListConnectorsCommand = serializeAws_restJson1List
237
237
  const serializeAws_restJson1ListCustomPluginsCommand = async (input, context) => {
238
238
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
239
239
  const headers = {};
240
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/custom-plugins";
240
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/custom-plugins";
241
241
  const query = {
242
242
  ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
243
243
  ...(input.nextToken !== undefined && { nextToken: input.nextToken }),
@@ -258,7 +258,7 @@ exports.serializeAws_restJson1ListCustomPluginsCommand = serializeAws_restJson1L
258
258
  const serializeAws_restJson1ListWorkerConfigurationsCommand = async (input, context) => {
259
259
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
260
260
  const headers = {};
261
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/worker-configurations";
261
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/worker-configurations";
262
262
  const query = {
263
263
  ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
264
264
  ...(input.nextToken !== undefined && { nextToken: input.nextToken }),
@@ -2195,14 +2195,12 @@ const deserializeMetadata = (output) => {
2195
2195
  cfId: output.headers["x-amz-cf-id"],
2196
2196
  });
2197
2197
  };
2198
- // Collect low-level response body stream to Uint8Array.
2199
2198
  const collectBody = (streamBody = new Uint8Array(), context) => {
2200
2199
  if (streamBody instanceof Uint8Array) {
2201
2200
  return Promise.resolve(streamBody);
2202
2201
  }
2203
2202
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
2204
2203
  };
2205
- // Encode Uint8Array data into string with utf-8.
2206
2204
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2207
2205
  const isSerializableHeaderValue = (value) => value !== undefined &&
2208
2206
  value !== null &&
@@ -2215,9 +2213,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
2215
2213
  }
2216
2214
  return {};
2217
2215
  });
2218
- /**
2219
- * Load an error code for the aws.rest-json-1.1 protocol.
2220
- */
2221
2216
  const loadRestJsonErrorCode = (output, data) => {
2222
2217
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2223
2218
  const sanitizeErrorCode = (rawValue) => {
@@ -2242,4 +2237,3 @@ const loadRestJsonErrorCode = (output, data) => {
2242
2237
  }
2243
2238
  return "";
2244
2239
  };
2245
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
- /**
16
- * @internal
17
- */
18
15
  const getRuntimeConfig = (config) => {
19
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
38
35
  };
39
36
  };
40
37
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- /**
20
- * @internal
21
- */
22
19
  const getRuntimeConfig = (config) => {
23
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
24
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
43
40
  };
44
41
  };
45
42
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
6
- /**
7
- * @internal
8
- */
5
+ const endpoints_1 = require("./endpoints");
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { KafkaConnectClient } from "./KafkaConnectClient";
3
2
  import { CreateConnectorCommand, } from "./commands/CreateConnectorCommand";
4
3
  import { CreateCustomPluginCommand, } from "./commands/CreateCustomPluginCommand";
5
4
  import { CreateWorkerConfigurationCommand, } from "./commands/CreateWorkerConfigurationCommand";
@@ -11,10 +10,8 @@ import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
11
10
  import { ListCustomPluginsCommand, } from "./commands/ListCustomPluginsCommand";
12
11
  import { ListWorkerConfigurationsCommand, } from "./commands/ListWorkerConfigurationsCommand";
13
12
  import { UpdateConnectorCommand, } from "./commands/UpdateConnectorCommand";
14
- /**
15
- * <p/>
16
- */
17
- var KafkaConnect = /** @class */ (function (_super) {
13
+ import { KafkaConnectClient } from "./KafkaConnectClient";
14
+ var KafkaConnect = (function (_super) {
18
15
  __extends(KafkaConnect, _super);
19
16
  function KafkaConnect() {
20
17
  return _super !== null && _super.apply(this, arguments) || this;
@@ -176,4 +173,3 @@ var KafkaConnect = /** @class */ (function (_super) {
176
173
  return KafkaConnect;
177
174
  }(KafkaConnectClient));
178
175
  export { KafkaConnect };
179
- //# sourceMappingURL=KafkaConnect.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,10 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p/>
13
- */
14
- var KafkaConnectClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var KafkaConnectClient = (function (_super) {
15
12
  __extends(KafkaConnectClient, _super);
16
13
  function KafkaConnectClient(configuration) {
17
14
  var _this = this;
@@ -32,15 +29,9 @@ var KafkaConnectClient = /** @class */ (function (_super) {
32
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
33
30
  return _this;
34
31
  }
35
- /**
36
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
37
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
38
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
39
- */
40
32
  KafkaConnectClient.prototype.destroy = function () {
41
33
  _super.prototype.destroy.call(this);
42
34
  };
43
35
  return KafkaConnectClient;
44
36
  }(__Client));
45
37
  export { KafkaConnectClient };
46
- //# sourceMappingURL=KafkaConnectClient.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateConnectorRequest, CreateConnectorResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateConnectorCommand, serializeAws_restJson1CreateConnectorCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a connector using the specified properties.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { KafkaConnectClient, CreateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
12
- * // const { KafkaConnectClient, CreateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
13
- * const client = new KafkaConnectClient(config);
14
- * const command = new CreateConnectorCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateConnectorCommandInput} for command's `input` shape.
19
- * @see {@link CreateConnectorCommandOutput} for command's `response` shape.
20
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateConnectorCommand = /** @class */ (function (_super) {
4
+ import { CreateConnectorRequest, CreateConnectorResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateConnectorCommand, serializeAws_restJson1CreateConnectorCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateConnectorCommand = (function (_super) {
24
7
  __extends(CreateConnectorCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateConnectorCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateConnectorCommand = /** @class */ (function (_super) {
62
37
  return CreateConnectorCommand;
63
38
  }($Command));
64
39
  export { CreateConnectorCommand };
65
- //# sourceMappingURL=CreateConnectorCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateCustomPluginRequest, CreateCustomPluginResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateCustomPluginCommand, serializeAws_restJson1CreateCustomPluginCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a custom plugin using the specified properties.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { KafkaConnectClient, CreateCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
12
- * // const { KafkaConnectClient, CreateCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
13
- * const client = new KafkaConnectClient(config);
14
- * const command = new CreateCustomPluginCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateCustomPluginCommandInput} for command's `input` shape.
19
- * @see {@link CreateCustomPluginCommandOutput} for command's `response` shape.
20
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateCustomPluginCommand = /** @class */ (function (_super) {
4
+ import { CreateCustomPluginRequest, CreateCustomPluginResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateCustomPluginCommand, serializeAws_restJson1CreateCustomPluginCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateCustomPluginCommand = (function (_super) {
24
7
  __extends(CreateCustomPluginCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateCustomPluginCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateCustomPluginCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateCustomPluginCommand = /** @class */ (function (_super) {
62
37
  return CreateCustomPluginCommand;
63
38
  }($Command));
64
39
  export { CreateCustomPluginCommand };
65
- //# sourceMappingURL=CreateCustomPluginCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateWorkerConfigurationRequest, CreateWorkerConfigurationResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateWorkerConfigurationCommand, serializeAws_restJson1CreateWorkerConfigurationCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a worker configuration using the specified properties.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { KafkaConnectClient, CreateWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
12
- * // const { KafkaConnectClient, CreateWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
13
- * const client = new KafkaConnectClient(config);
14
- * const command = new CreateWorkerConfigurationCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateWorkerConfigurationCommandInput} for command's `input` shape.
19
- * @see {@link CreateWorkerConfigurationCommandOutput} for command's `response` shape.
20
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateWorkerConfigurationCommand = /** @class */ (function (_super) {
4
+ import { CreateWorkerConfigurationRequest, CreateWorkerConfigurationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateWorkerConfigurationCommand, serializeAws_restJson1CreateWorkerConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateWorkerConfigurationCommand = (function (_super) {
24
7
  __extends(CreateWorkerConfigurationCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateWorkerConfigurationCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateWorkerConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateWorkerConfigurationCommand = /** @class */ (function (_super) {
62
37
  return CreateWorkerConfigurationCommand;
63
38
  }($Command));
64
39
  export { CreateWorkerConfigurationCommand };
65
- //# sourceMappingURL=CreateWorkerConfigurationCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteConnectorRequest, DeleteConnectorResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteConnectorCommand, serializeAws_restJson1DeleteConnectorCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes the specified connector.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { KafkaConnectClient, DeleteConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
12
- * // const { KafkaConnectClient, DeleteConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
13
- * const client = new KafkaConnectClient(config);
14
- * const command = new DeleteConnectorCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteConnectorCommandInput} for command's `input` shape.
19
- * @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
20
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteConnectorCommand = /** @class */ (function (_super) {
4
+ import { DeleteConnectorRequest, DeleteConnectorResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteConnectorCommand, serializeAws_restJson1DeleteConnectorCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteConnectorCommand = (function (_super) {
24
7
  __extends(DeleteConnectorCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteConnectorCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteConnectorCommand = /** @class */ (function (_super) {
62
37
  return DeleteConnectorCommand;
63
38
  }($Command));
64
39
  export { DeleteConnectorCommand };
65
- //# sourceMappingURL=DeleteConnectorCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeConnectorRequest, DescribeConnectorResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DescribeConnectorCommand, serializeAws_restJson1DescribeConnectorCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns summary information about the connector.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { KafkaConnectClient, DescribeConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
12
- * // const { KafkaConnectClient, DescribeConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
13
- * const client = new KafkaConnectClient(config);
14
- * const command = new DescribeConnectorCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DescribeConnectorCommandInput} for command's `input` shape.
19
- * @see {@link DescribeConnectorCommandOutput} for command's `response` shape.
20
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DescribeConnectorCommand = /** @class */ (function (_super) {
4
+ import { DescribeConnectorRequest, DescribeConnectorResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DescribeConnectorCommand, serializeAws_restJson1DescribeConnectorCommand, } from "../protocols/Aws_restJson1";
6
+ var DescribeConnectorCommand = (function (_super) {
24
7
  __extends(DescribeConnectorCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DescribeConnectorCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DescribeConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DescribeConnectorCommand = /** @class */ (function (_super) {
62
37
  return DescribeConnectorCommand;
63
38
  }($Command));
64
39
  export { DescribeConnectorCommand };
65
- //# sourceMappingURL=DescribeConnectorCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeCustomPluginRequest, DescribeCustomPluginResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DescribeCustomPluginCommand, serializeAws_restJson1DescribeCustomPluginCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>A summary description of the custom plugin.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { KafkaConnectClient, DescribeCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
12
- * // const { KafkaConnectClient, DescribeCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
13
- * const client = new KafkaConnectClient(config);
14
- * const command = new DescribeCustomPluginCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DescribeCustomPluginCommandInput} for command's `input` shape.
19
- * @see {@link DescribeCustomPluginCommandOutput} for command's `response` shape.
20
- * @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DescribeCustomPluginCommand = /** @class */ (function (_super) {
4
+ import { DescribeCustomPluginRequest, DescribeCustomPluginResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DescribeCustomPluginCommand, serializeAws_restJson1DescribeCustomPluginCommand, } from "../protocols/Aws_restJson1";
6
+ var DescribeCustomPluginCommand = (function (_super) {
24
7
  __extends(DescribeCustomPluginCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DescribeCustomPluginCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DescribeCustomPluginCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DescribeCustomPluginCommand = /** @class */ (function (_super) {
62
37
  return DescribeCustomPluginCommand;
63
38
  }($Command));
64
39
  export { DescribeCustomPluginCommand };
65
- //# sourceMappingURL=DescribeCustomPluginCommand.js.map