@aws-sdk/client-glue 3.183.0 → 3.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/Glue.js +30 -0
  3. package/dist-cjs/commands/CreateWorkflowCommand.js +2 -1
  4. package/dist-cjs/commands/DeleteBlueprintCommand.js +3 -3
  5. package/dist-cjs/commands/QuerySchemaVersionMetadataCommand.js +1 -2
  6. package/dist-cjs/commands/UpdateJobFromSourceControlCommand.js +36 -0
  7. package/dist-cjs/commands/UpdateSourceControlFromJobCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +2 -0
  9. package/dist-cjs/models/models_0.js +20 -18
  10. package/dist-cjs/models/models_1.js +18 -18
  11. package/dist-cjs/models/models_2.js +31 -3
  12. package/dist-cjs/protocols/Aws_json1_1.js +200 -7
  13. package/dist-es/Glue.js +775 -738
  14. package/dist-es/GlueClient.js +28 -22
  15. package/dist-es/commands/BatchCreatePartitionCommand.js +28 -21
  16. package/dist-es/commands/BatchDeleteConnectionCommand.js +28 -21
  17. package/dist-es/commands/BatchDeletePartitionCommand.js +28 -21
  18. package/dist-es/commands/BatchDeleteTableCommand.js +28 -21
  19. package/dist-es/commands/BatchDeleteTableVersionCommand.js +28 -21
  20. package/dist-es/commands/BatchGetBlueprintsCommand.js +28 -21
  21. package/dist-es/commands/BatchGetCrawlersCommand.js +28 -21
  22. package/dist-es/commands/BatchGetCustomEntityTypesCommand.js +28 -21
  23. package/dist-es/commands/BatchGetDevEndpointsCommand.js +28 -21
  24. package/dist-es/commands/BatchGetJobsCommand.js +28 -21
  25. package/dist-es/commands/BatchGetPartitionCommand.js +28 -21
  26. package/dist-es/commands/BatchGetTriggersCommand.js +28 -21
  27. package/dist-es/commands/BatchGetWorkflowsCommand.js +28 -21
  28. package/dist-es/commands/BatchStopJobRunCommand.js +28 -21
  29. package/dist-es/commands/BatchUpdatePartitionCommand.js +28 -21
  30. package/dist-es/commands/CancelMLTaskRunCommand.js +28 -21
  31. package/dist-es/commands/CancelStatementCommand.js +28 -21
  32. package/dist-es/commands/CheckSchemaVersionValidityCommand.js +28 -21
  33. package/dist-es/commands/CreateBlueprintCommand.js +28 -21
  34. package/dist-es/commands/CreateClassifierCommand.js +28 -21
  35. package/dist-es/commands/CreateConnectionCommand.js +28 -21
  36. package/dist-es/commands/CreateCrawlerCommand.js +28 -21
  37. package/dist-es/commands/CreateCustomEntityTypeCommand.js +28 -21
  38. package/dist-es/commands/CreateDatabaseCommand.js +28 -21
  39. package/dist-es/commands/CreateDevEndpointCommand.js +28 -21
  40. package/dist-es/commands/CreateJobCommand.js +28 -21
  41. package/dist-es/commands/CreateMLTransformCommand.js +28 -21
  42. package/dist-es/commands/CreatePartitionCommand.js +28 -21
  43. package/dist-es/commands/CreatePartitionIndexCommand.js +28 -21
  44. package/dist-es/commands/CreateRegistryCommand.js +28 -21
  45. package/dist-es/commands/CreateSchemaCommand.js +28 -21
  46. package/dist-es/commands/CreateScriptCommand.js +28 -21
  47. package/dist-es/commands/CreateSecurityConfigurationCommand.js +28 -21
  48. package/dist-es/commands/CreateSessionCommand.js +28 -21
  49. package/dist-es/commands/CreateTableCommand.js +28 -21
  50. package/dist-es/commands/CreateTriggerCommand.js +28 -21
  51. package/dist-es/commands/CreateUserDefinedFunctionCommand.js +28 -21
  52. package/dist-es/commands/CreateWorkflowCommand.js +30 -22
  53. package/dist-es/commands/DeleteBlueprintCommand.js +29 -22
  54. package/dist-es/commands/DeleteClassifierCommand.js +28 -21
  55. package/dist-es/commands/DeleteColumnStatisticsForPartitionCommand.js +28 -21
  56. package/dist-es/commands/DeleteColumnStatisticsForTableCommand.js +28 -21
  57. package/dist-es/commands/DeleteConnectionCommand.js +28 -21
  58. package/dist-es/commands/DeleteCrawlerCommand.js +28 -21
  59. package/dist-es/commands/DeleteCustomEntityTypeCommand.js +28 -21
  60. package/dist-es/commands/DeleteDatabaseCommand.js +28 -21
  61. package/dist-es/commands/DeleteDevEndpointCommand.js +28 -21
  62. package/dist-es/commands/DeleteJobCommand.js +28 -21
  63. package/dist-es/commands/DeleteMLTransformCommand.js +28 -21
  64. package/dist-es/commands/DeletePartitionCommand.js +28 -21
  65. package/dist-es/commands/DeletePartitionIndexCommand.js +28 -21
  66. package/dist-es/commands/DeleteRegistryCommand.js +28 -21
  67. package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
  68. package/dist-es/commands/DeleteSchemaCommand.js +28 -21
  69. package/dist-es/commands/DeleteSchemaVersionsCommand.js +28 -21
  70. package/dist-es/commands/DeleteSecurityConfigurationCommand.js +28 -21
  71. package/dist-es/commands/DeleteSessionCommand.js +28 -21
  72. package/dist-es/commands/DeleteTableCommand.js +28 -21
  73. package/dist-es/commands/DeleteTableVersionCommand.js +28 -21
  74. package/dist-es/commands/DeleteTriggerCommand.js +28 -21
  75. package/dist-es/commands/DeleteUserDefinedFunctionCommand.js +28 -21
  76. package/dist-es/commands/DeleteWorkflowCommand.js +28 -21
  77. package/dist-es/commands/GetBlueprintCommand.js +28 -21
  78. package/dist-es/commands/GetBlueprintRunCommand.js +28 -21
  79. package/dist-es/commands/GetBlueprintRunsCommand.js +28 -21
  80. package/dist-es/commands/GetCatalogImportStatusCommand.js +28 -21
  81. package/dist-es/commands/GetClassifierCommand.js +28 -21
  82. package/dist-es/commands/GetClassifiersCommand.js +28 -21
  83. package/dist-es/commands/GetColumnStatisticsForPartitionCommand.js +28 -21
  84. package/dist-es/commands/GetColumnStatisticsForTableCommand.js +28 -21
  85. package/dist-es/commands/GetConnectionCommand.js +28 -21
  86. package/dist-es/commands/GetConnectionsCommand.js +28 -21
  87. package/dist-es/commands/GetCrawlerCommand.js +28 -21
  88. package/dist-es/commands/GetCrawlerMetricsCommand.js +28 -21
  89. package/dist-es/commands/GetCrawlersCommand.js +28 -21
  90. package/dist-es/commands/GetCustomEntityTypeCommand.js +28 -21
  91. package/dist-es/commands/GetDataCatalogEncryptionSettingsCommand.js +28 -21
  92. package/dist-es/commands/GetDatabaseCommand.js +28 -21
  93. package/dist-es/commands/GetDatabasesCommand.js +28 -21
  94. package/dist-es/commands/GetDataflowGraphCommand.js +28 -21
  95. package/dist-es/commands/GetDevEndpointCommand.js +28 -21
  96. package/dist-es/commands/GetDevEndpointsCommand.js +28 -21
  97. package/dist-es/commands/GetJobBookmarkCommand.js +28 -21
  98. package/dist-es/commands/GetJobCommand.js +28 -21
  99. package/dist-es/commands/GetJobRunCommand.js +28 -21
  100. package/dist-es/commands/GetJobRunsCommand.js +28 -21
  101. package/dist-es/commands/GetJobsCommand.js +28 -21
  102. package/dist-es/commands/GetMLTaskRunCommand.js +28 -21
  103. package/dist-es/commands/GetMLTaskRunsCommand.js +28 -21
  104. package/dist-es/commands/GetMLTransformCommand.js +28 -21
  105. package/dist-es/commands/GetMLTransformsCommand.js +28 -21
  106. package/dist-es/commands/GetMappingCommand.js +28 -21
  107. package/dist-es/commands/GetPartitionCommand.js +28 -21
  108. package/dist-es/commands/GetPartitionIndexesCommand.js +28 -21
  109. package/dist-es/commands/GetPartitionsCommand.js +28 -21
  110. package/dist-es/commands/GetPlanCommand.js +28 -21
  111. package/dist-es/commands/GetRegistryCommand.js +28 -21
  112. package/dist-es/commands/GetResourcePoliciesCommand.js +28 -21
  113. package/dist-es/commands/GetResourcePolicyCommand.js +28 -21
  114. package/dist-es/commands/GetSchemaByDefinitionCommand.js +28 -21
  115. package/dist-es/commands/GetSchemaCommand.js +28 -21
  116. package/dist-es/commands/GetSchemaVersionCommand.js +28 -21
  117. package/dist-es/commands/GetSchemaVersionsDiffCommand.js +28 -21
  118. package/dist-es/commands/GetSecurityConfigurationCommand.js +28 -21
  119. package/dist-es/commands/GetSecurityConfigurationsCommand.js +28 -21
  120. package/dist-es/commands/GetSessionCommand.js +28 -21
  121. package/dist-es/commands/GetStatementCommand.js +28 -21
  122. package/dist-es/commands/GetTableCommand.js +28 -21
  123. package/dist-es/commands/GetTableVersionCommand.js +28 -21
  124. package/dist-es/commands/GetTableVersionsCommand.js +28 -21
  125. package/dist-es/commands/GetTablesCommand.js +28 -21
  126. package/dist-es/commands/GetTagsCommand.js +28 -21
  127. package/dist-es/commands/GetTriggerCommand.js +28 -21
  128. package/dist-es/commands/GetTriggersCommand.js +28 -21
  129. package/dist-es/commands/GetUnfilteredPartitionMetadataCommand.js +28 -21
  130. package/dist-es/commands/GetUnfilteredPartitionsMetadataCommand.js +28 -21
  131. package/dist-es/commands/GetUnfilteredTableMetadataCommand.js +28 -21
  132. package/dist-es/commands/GetUserDefinedFunctionCommand.js +28 -21
  133. package/dist-es/commands/GetUserDefinedFunctionsCommand.js +28 -21
  134. package/dist-es/commands/GetWorkflowCommand.js +28 -21
  135. package/dist-es/commands/GetWorkflowRunCommand.js +28 -21
  136. package/dist-es/commands/GetWorkflowRunPropertiesCommand.js +28 -21
  137. package/dist-es/commands/GetWorkflowRunsCommand.js +28 -21
  138. package/dist-es/commands/ImportCatalogToGlueCommand.js +28 -21
  139. package/dist-es/commands/ListBlueprintsCommand.js +28 -21
  140. package/dist-es/commands/ListCrawlersCommand.js +28 -21
  141. package/dist-es/commands/ListCrawlsCommand.js +28 -21
  142. package/dist-es/commands/ListCustomEntityTypesCommand.js +28 -21
  143. package/dist-es/commands/ListDevEndpointsCommand.js +28 -21
  144. package/dist-es/commands/ListJobsCommand.js +28 -21
  145. package/dist-es/commands/ListMLTransformsCommand.js +28 -21
  146. package/dist-es/commands/ListRegistriesCommand.js +28 -21
  147. package/dist-es/commands/ListSchemaVersionsCommand.js +28 -21
  148. package/dist-es/commands/ListSchemasCommand.js +28 -21
  149. package/dist-es/commands/ListSessionsCommand.js +28 -21
  150. package/dist-es/commands/ListStatementsCommand.js +28 -21
  151. package/dist-es/commands/ListTriggersCommand.js +28 -21
  152. package/dist-es/commands/ListWorkflowsCommand.js +28 -21
  153. package/dist-es/commands/PutDataCatalogEncryptionSettingsCommand.js +28 -21
  154. package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
  155. package/dist-es/commands/PutSchemaVersionMetadataCommand.js +28 -21
  156. package/dist-es/commands/PutWorkflowRunPropertiesCommand.js +28 -21
  157. package/dist-es/commands/QuerySchemaVersionMetadataCommand.js +29 -23
  158. package/dist-es/commands/RegisterSchemaVersionCommand.js +28 -21
  159. package/dist-es/commands/RemoveSchemaVersionMetadataCommand.js +28 -21
  160. package/dist-es/commands/ResetJobBookmarkCommand.js +28 -21
  161. package/dist-es/commands/ResumeWorkflowRunCommand.js +28 -21
  162. package/dist-es/commands/RunStatementCommand.js +28 -21
  163. package/dist-es/commands/SearchTablesCommand.js +28 -21
  164. package/dist-es/commands/StartBlueprintRunCommand.js +28 -21
  165. package/dist-es/commands/StartCrawlerCommand.js +28 -21
  166. package/dist-es/commands/StartCrawlerScheduleCommand.js +28 -21
  167. package/dist-es/commands/StartExportLabelsTaskRunCommand.js +28 -21
  168. package/dist-es/commands/StartImportLabelsTaskRunCommand.js +28 -21
  169. package/dist-es/commands/StartJobRunCommand.js +28 -21
  170. package/dist-es/commands/StartMLEvaluationTaskRunCommand.js +28 -21
  171. package/dist-es/commands/StartMLLabelingSetGenerationTaskRunCommand.js +28 -21
  172. package/dist-es/commands/StartTriggerCommand.js +28 -21
  173. package/dist-es/commands/StartWorkflowRunCommand.js +28 -21
  174. package/dist-es/commands/StopCrawlerCommand.js +28 -21
  175. package/dist-es/commands/StopCrawlerScheduleCommand.js +28 -21
  176. package/dist-es/commands/StopSessionCommand.js +28 -21
  177. package/dist-es/commands/StopTriggerCommand.js +28 -21
  178. package/dist-es/commands/StopWorkflowRunCommand.js +28 -21
  179. package/dist-es/commands/TagResourceCommand.js +28 -21
  180. package/dist-es/commands/UntagResourceCommand.js +28 -21
  181. package/dist-es/commands/UpdateBlueprintCommand.js +28 -21
  182. package/dist-es/commands/UpdateClassifierCommand.js +28 -21
  183. package/dist-es/commands/UpdateColumnStatisticsForPartitionCommand.js +28 -21
  184. package/dist-es/commands/UpdateColumnStatisticsForTableCommand.js +28 -21
  185. package/dist-es/commands/UpdateConnectionCommand.js +28 -21
  186. package/dist-es/commands/UpdateCrawlerCommand.js +28 -21
  187. package/dist-es/commands/UpdateCrawlerScheduleCommand.js +28 -21
  188. package/dist-es/commands/UpdateDatabaseCommand.js +28 -21
  189. package/dist-es/commands/UpdateDevEndpointCommand.js +28 -21
  190. package/dist-es/commands/UpdateJobCommand.js +28 -21
  191. package/dist-es/commands/UpdateJobFromSourceControlCommand.js +39 -0
  192. package/dist-es/commands/UpdateMLTransformCommand.js +28 -21
  193. package/dist-es/commands/UpdatePartitionCommand.js +28 -21
  194. package/dist-es/commands/UpdateRegistryCommand.js +28 -21
  195. package/dist-es/commands/UpdateSchemaCommand.js +28 -21
  196. package/dist-es/commands/UpdateSourceControlFromJobCommand.js +39 -0
  197. package/dist-es/commands/UpdateTableCommand.js +28 -21
  198. package/dist-es/commands/UpdateTriggerCommand.js +28 -21
  199. package/dist-es/commands/UpdateUserDefinedFunctionCommand.js +28 -21
  200. package/dist-es/commands/UpdateWorkflowCommand.js +28 -21
  201. package/dist-es/commands/index.js +2 -0
  202. package/dist-es/endpoints.js +8 -8
  203. package/dist-es/models/GlueServiceException.js +10 -5
  204. package/dist-es/models/models_0.js +411 -870
  205. package/dist-es/models/models_1.js +336 -885
  206. package/dist-es/models/models_2.js +229 -430
  207. package/dist-es/pagination/GetBlueprintRunsPaginator.js +68 -25
  208. package/dist-es/pagination/GetClassifiersPaginator.js +68 -25
  209. package/dist-es/pagination/GetConnectionsPaginator.js +68 -25
  210. package/dist-es/pagination/GetCrawlerMetricsPaginator.js +68 -25
  211. package/dist-es/pagination/GetCrawlersPaginator.js +68 -25
  212. package/dist-es/pagination/GetDatabasesPaginator.js +68 -25
  213. package/dist-es/pagination/GetDevEndpointsPaginator.js +68 -25
  214. package/dist-es/pagination/GetJobRunsPaginator.js +68 -25
  215. package/dist-es/pagination/GetJobsPaginator.js +68 -25
  216. package/dist-es/pagination/GetMLTaskRunsPaginator.js +68 -25
  217. package/dist-es/pagination/GetMLTransformsPaginator.js +68 -25
  218. package/dist-es/pagination/GetPartitionIndexesPaginator.js +67 -24
  219. package/dist-es/pagination/GetPartitionsPaginator.js +68 -25
  220. package/dist-es/pagination/GetResourcePoliciesPaginator.js +68 -25
  221. package/dist-es/pagination/GetSecurityConfigurationsPaginator.js +68 -25
  222. package/dist-es/pagination/GetTableVersionsPaginator.js +68 -25
  223. package/dist-es/pagination/GetTablesPaginator.js +68 -25
  224. package/dist-es/pagination/GetTriggersPaginator.js +68 -25
  225. package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +68 -25
  226. package/dist-es/pagination/GetUserDefinedFunctionsPaginator.js +68 -25
  227. package/dist-es/pagination/GetWorkflowRunsPaginator.js +68 -25
  228. package/dist-es/pagination/ListBlueprintsPaginator.js +68 -25
  229. package/dist-es/pagination/ListCrawlersPaginator.js +68 -25
  230. package/dist-es/pagination/ListCustomEntityTypesPaginator.js +68 -25
  231. package/dist-es/pagination/ListDevEndpointsPaginator.js +68 -25
  232. package/dist-es/pagination/ListJobsPaginator.js +68 -25
  233. package/dist-es/pagination/ListMLTransformsPaginator.js +68 -25
  234. package/dist-es/pagination/ListRegistriesPaginator.js +68 -25
  235. package/dist-es/pagination/ListSchemaVersionsPaginator.js +68 -25
  236. package/dist-es/pagination/ListSchemasPaginator.js +68 -25
  237. package/dist-es/pagination/ListSessionsPaginator.js +68 -25
  238. package/dist-es/pagination/ListTriggersPaginator.js +68 -25
  239. package/dist-es/pagination/ListWorkflowsPaginator.js +68 -25
  240. package/dist-es/pagination/SearchTablesPaginator.js +68 -25
  241. package/dist-es/protocols/Aws_json1_1.js +17005 -14179
  242. package/dist-es/runtimeConfig.browser.js +12 -26
  243. package/dist-es/runtimeConfig.js +12 -30
  244. package/dist-es/runtimeConfig.native.js +5 -8
  245. package/dist-es/runtimeConfig.shared.js +11 -8
  246. package/dist-types/Glue.d.ts +18 -0
  247. package/dist-types/GlueClient.d.ts +4 -2
  248. package/dist-types/commands/CreateWorkflowCommand.d.ts +2 -1
  249. package/dist-types/commands/DeleteBlueprintCommand.d.ts +1 -1
  250. package/dist-types/commands/QuerySchemaVersionMetadataCommand.d.ts +1 -2
  251. package/dist-types/commands/UpdateJobFromSourceControlCommand.d.ts +37 -0
  252. package/dist-types/commands/UpdateSourceControlFromJobCommand.d.ts +37 -0
  253. package/dist-types/commands/index.d.ts +2 -0
  254. package/dist-types/models/models_0.d.ts +49 -30
  255. package/dist-types/models/models_1.d.ts +26 -64
  256. package/dist-types/models/models_2.d.ts +186 -2
  257. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  258. package/dist-types/ts3.4/Glue.d.ts +34 -0
  259. package/dist-types/ts3.4/GlueClient.d.ts +12 -0
  260. package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +2 -4
  261. package/dist-types/ts3.4/commands/DeleteBlueprintCommand.d.ts +1 -1
  262. package/dist-types/ts3.4/commands/QuerySchemaVersionMetadataCommand.d.ts +4 -2
  263. package/dist-types/ts3.4/commands/UpdateJobFromSourceControlCommand.d.ts +39 -0
  264. package/dist-types/ts3.4/commands/UpdateSourceControlFromJobCommand.d.ts +39 -0
  265. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  266. package/dist-types/ts3.4/models/models_0.d.ts +21 -18
  267. package/dist-types/ts3.4/models/models_1.d.ts +18 -24
  268. package/dist-types/ts3.4/models/models_2.d.ts +70 -1
  269. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  270. package/package.json +33 -33
package/dist-es/Glue.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { BatchCreatePartitionCommand, } from "./commands/BatchCreatePartitionCommand";
2
3
  import { BatchDeleteConnectionCommand, } from "./commands/BatchDeleteConnectionCommand";
3
4
  import { BatchDeletePartitionCommand, } from "./commands/BatchDeletePartitionCommand";
@@ -174,2590 +175,2626 @@ import { UpdateCrawlerScheduleCommand, } from "./commands/UpdateCrawlerScheduleC
174
175
  import { UpdateDatabaseCommand, } from "./commands/UpdateDatabaseCommand";
175
176
  import { UpdateDevEndpointCommand, } from "./commands/UpdateDevEndpointCommand";
176
177
  import { UpdateJobCommand } from "./commands/UpdateJobCommand";
178
+ import { UpdateJobFromSourceControlCommand, } from "./commands/UpdateJobFromSourceControlCommand";
177
179
  import { UpdateMLTransformCommand, } from "./commands/UpdateMLTransformCommand";
178
180
  import { UpdatePartitionCommand, } from "./commands/UpdatePartitionCommand";
179
181
  import { UpdateRegistryCommand, } from "./commands/UpdateRegistryCommand";
180
182
  import { UpdateSchemaCommand, } from "./commands/UpdateSchemaCommand";
183
+ import { UpdateSourceControlFromJobCommand, } from "./commands/UpdateSourceControlFromJobCommand";
181
184
  import { UpdateTableCommand } from "./commands/UpdateTableCommand";
182
185
  import { UpdateTriggerCommand, } from "./commands/UpdateTriggerCommand";
183
186
  import { UpdateUserDefinedFunctionCommand, } from "./commands/UpdateUserDefinedFunctionCommand";
184
187
  import { UpdateWorkflowCommand, } from "./commands/UpdateWorkflowCommand";
185
188
  import { GlueClient } from "./GlueClient";
186
- export class Glue extends GlueClient {
187
- batchCreatePartition(args, optionsOrCb, cb) {
188
- const command = new BatchCreatePartitionCommand(args);
189
+ var Glue = (function (_super) {
190
+ __extends(Glue, _super);
191
+ function Glue() {
192
+ return _super !== null && _super.apply(this, arguments) || this;
193
+ }
194
+ Glue.prototype.batchCreatePartition = function (args, optionsOrCb, cb) {
195
+ var command = new BatchCreatePartitionCommand(args);
189
196
  if (typeof optionsOrCb === "function") {
190
197
  this.send(command, optionsOrCb);
191
198
  }
192
199
  else if (typeof cb === "function") {
193
200
  if (typeof optionsOrCb !== "object")
194
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
201
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
195
202
  this.send(command, optionsOrCb || {}, cb);
196
203
  }
197
204
  else {
198
205
  return this.send(command, optionsOrCb);
199
206
  }
200
- }
201
- batchDeleteConnection(args, optionsOrCb, cb) {
202
- const command = new BatchDeleteConnectionCommand(args);
207
+ };
208
+ Glue.prototype.batchDeleteConnection = function (args, optionsOrCb, cb) {
209
+ var command = new BatchDeleteConnectionCommand(args);
203
210
  if (typeof optionsOrCb === "function") {
204
211
  this.send(command, optionsOrCb);
205
212
  }
206
213
  else if (typeof cb === "function") {
207
214
  if (typeof optionsOrCb !== "object")
208
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
215
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
209
216
  this.send(command, optionsOrCb || {}, cb);
210
217
  }
211
218
  else {
212
219
  return this.send(command, optionsOrCb);
213
220
  }
214
- }
215
- batchDeletePartition(args, optionsOrCb, cb) {
216
- const command = new BatchDeletePartitionCommand(args);
221
+ };
222
+ Glue.prototype.batchDeletePartition = function (args, optionsOrCb, cb) {
223
+ var command = new BatchDeletePartitionCommand(args);
217
224
  if (typeof optionsOrCb === "function") {
218
225
  this.send(command, optionsOrCb);
219
226
  }
220
227
  else if (typeof cb === "function") {
221
228
  if (typeof optionsOrCb !== "object")
222
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
229
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
223
230
  this.send(command, optionsOrCb || {}, cb);
224
231
  }
225
232
  else {
226
233
  return this.send(command, optionsOrCb);
227
234
  }
228
- }
229
- batchDeleteTable(args, optionsOrCb, cb) {
230
- const command = new BatchDeleteTableCommand(args);
235
+ };
236
+ Glue.prototype.batchDeleteTable = function (args, optionsOrCb, cb) {
237
+ var command = new BatchDeleteTableCommand(args);
231
238
  if (typeof optionsOrCb === "function") {
232
239
  this.send(command, optionsOrCb);
233
240
  }
234
241
  else if (typeof cb === "function") {
235
242
  if (typeof optionsOrCb !== "object")
236
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
243
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
237
244
  this.send(command, optionsOrCb || {}, cb);
238
245
  }
239
246
  else {
240
247
  return this.send(command, optionsOrCb);
241
248
  }
242
- }
243
- batchDeleteTableVersion(args, optionsOrCb, cb) {
244
- const command = new BatchDeleteTableVersionCommand(args);
249
+ };
250
+ Glue.prototype.batchDeleteTableVersion = function (args, optionsOrCb, cb) {
251
+ var command = new BatchDeleteTableVersionCommand(args);
245
252
  if (typeof optionsOrCb === "function") {
246
253
  this.send(command, optionsOrCb);
247
254
  }
248
255
  else if (typeof cb === "function") {
249
256
  if (typeof optionsOrCb !== "object")
250
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
257
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
251
258
  this.send(command, optionsOrCb || {}, cb);
252
259
  }
253
260
  else {
254
261
  return this.send(command, optionsOrCb);
255
262
  }
256
- }
257
- batchGetBlueprints(args, optionsOrCb, cb) {
258
- const command = new BatchGetBlueprintsCommand(args);
263
+ };
264
+ Glue.prototype.batchGetBlueprints = function (args, optionsOrCb, cb) {
265
+ var command = new BatchGetBlueprintsCommand(args);
259
266
  if (typeof optionsOrCb === "function") {
260
267
  this.send(command, optionsOrCb);
261
268
  }
262
269
  else if (typeof cb === "function") {
263
270
  if (typeof optionsOrCb !== "object")
264
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
271
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
265
272
  this.send(command, optionsOrCb || {}, cb);
266
273
  }
267
274
  else {
268
275
  return this.send(command, optionsOrCb);
269
276
  }
270
- }
271
- batchGetCrawlers(args, optionsOrCb, cb) {
272
- const command = new BatchGetCrawlersCommand(args);
277
+ };
278
+ Glue.prototype.batchGetCrawlers = function (args, optionsOrCb, cb) {
279
+ var command = new BatchGetCrawlersCommand(args);
273
280
  if (typeof optionsOrCb === "function") {
274
281
  this.send(command, optionsOrCb);
275
282
  }
276
283
  else if (typeof cb === "function") {
277
284
  if (typeof optionsOrCb !== "object")
278
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
285
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
279
286
  this.send(command, optionsOrCb || {}, cb);
280
287
  }
281
288
  else {
282
289
  return this.send(command, optionsOrCb);
283
290
  }
284
- }
285
- batchGetCustomEntityTypes(args, optionsOrCb, cb) {
286
- const command = new BatchGetCustomEntityTypesCommand(args);
291
+ };
292
+ Glue.prototype.batchGetCustomEntityTypes = function (args, optionsOrCb, cb) {
293
+ var command = new BatchGetCustomEntityTypesCommand(args);
287
294
  if (typeof optionsOrCb === "function") {
288
295
  this.send(command, optionsOrCb);
289
296
  }
290
297
  else if (typeof cb === "function") {
291
298
  if (typeof optionsOrCb !== "object")
292
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
299
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
293
300
  this.send(command, optionsOrCb || {}, cb);
294
301
  }
295
302
  else {
296
303
  return this.send(command, optionsOrCb);
297
304
  }
298
- }
299
- batchGetDevEndpoints(args, optionsOrCb, cb) {
300
- const command = new BatchGetDevEndpointsCommand(args);
305
+ };
306
+ Glue.prototype.batchGetDevEndpoints = function (args, optionsOrCb, cb) {
307
+ var command = new BatchGetDevEndpointsCommand(args);
301
308
  if (typeof optionsOrCb === "function") {
302
309
  this.send(command, optionsOrCb);
303
310
  }
304
311
  else if (typeof cb === "function") {
305
312
  if (typeof optionsOrCb !== "object")
306
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
313
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
307
314
  this.send(command, optionsOrCb || {}, cb);
308
315
  }
309
316
  else {
310
317
  return this.send(command, optionsOrCb);
311
318
  }
312
- }
313
- batchGetJobs(args, optionsOrCb, cb) {
314
- const command = new BatchGetJobsCommand(args);
319
+ };
320
+ Glue.prototype.batchGetJobs = function (args, optionsOrCb, cb) {
321
+ var command = new BatchGetJobsCommand(args);
315
322
  if (typeof optionsOrCb === "function") {
316
323
  this.send(command, optionsOrCb);
317
324
  }
318
325
  else if (typeof cb === "function") {
319
326
  if (typeof optionsOrCb !== "object")
320
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
327
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
321
328
  this.send(command, optionsOrCb || {}, cb);
322
329
  }
323
330
  else {
324
331
  return this.send(command, optionsOrCb);
325
332
  }
326
- }
327
- batchGetPartition(args, optionsOrCb, cb) {
328
- const command = new BatchGetPartitionCommand(args);
333
+ };
334
+ Glue.prototype.batchGetPartition = function (args, optionsOrCb, cb) {
335
+ var command = new BatchGetPartitionCommand(args);
329
336
  if (typeof optionsOrCb === "function") {
330
337
  this.send(command, optionsOrCb);
331
338
  }
332
339
  else if (typeof cb === "function") {
333
340
  if (typeof optionsOrCb !== "object")
334
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
341
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
335
342
  this.send(command, optionsOrCb || {}, cb);
336
343
  }
337
344
  else {
338
345
  return this.send(command, optionsOrCb);
339
346
  }
340
- }
341
- batchGetTriggers(args, optionsOrCb, cb) {
342
- const command = new BatchGetTriggersCommand(args);
347
+ };
348
+ Glue.prototype.batchGetTriggers = function (args, optionsOrCb, cb) {
349
+ var command = new BatchGetTriggersCommand(args);
343
350
  if (typeof optionsOrCb === "function") {
344
351
  this.send(command, optionsOrCb);
345
352
  }
346
353
  else if (typeof cb === "function") {
347
354
  if (typeof optionsOrCb !== "object")
348
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
355
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
349
356
  this.send(command, optionsOrCb || {}, cb);
350
357
  }
351
358
  else {
352
359
  return this.send(command, optionsOrCb);
353
360
  }
354
- }
355
- batchGetWorkflows(args, optionsOrCb, cb) {
356
- const command = new BatchGetWorkflowsCommand(args);
361
+ };
362
+ Glue.prototype.batchGetWorkflows = function (args, optionsOrCb, cb) {
363
+ var command = new BatchGetWorkflowsCommand(args);
357
364
  if (typeof optionsOrCb === "function") {
358
365
  this.send(command, optionsOrCb);
359
366
  }
360
367
  else if (typeof cb === "function") {
361
368
  if (typeof optionsOrCb !== "object")
362
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
369
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
363
370
  this.send(command, optionsOrCb || {}, cb);
364
371
  }
365
372
  else {
366
373
  return this.send(command, optionsOrCb);
367
374
  }
368
- }
369
- batchStopJobRun(args, optionsOrCb, cb) {
370
- const command = new BatchStopJobRunCommand(args);
375
+ };
376
+ Glue.prototype.batchStopJobRun = function (args, optionsOrCb, cb) {
377
+ var command = new BatchStopJobRunCommand(args);
371
378
  if (typeof optionsOrCb === "function") {
372
379
  this.send(command, optionsOrCb);
373
380
  }
374
381
  else if (typeof cb === "function") {
375
382
  if (typeof optionsOrCb !== "object")
376
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
383
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
377
384
  this.send(command, optionsOrCb || {}, cb);
378
385
  }
379
386
  else {
380
387
  return this.send(command, optionsOrCb);
381
388
  }
382
- }
383
- batchUpdatePartition(args, optionsOrCb, cb) {
384
- const command = new BatchUpdatePartitionCommand(args);
389
+ };
390
+ Glue.prototype.batchUpdatePartition = function (args, optionsOrCb, cb) {
391
+ var command = new BatchUpdatePartitionCommand(args);
385
392
  if (typeof optionsOrCb === "function") {
386
393
  this.send(command, optionsOrCb);
387
394
  }
388
395
  else if (typeof cb === "function") {
389
396
  if (typeof optionsOrCb !== "object")
390
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
397
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
391
398
  this.send(command, optionsOrCb || {}, cb);
392
399
  }
393
400
  else {
394
401
  return this.send(command, optionsOrCb);
395
402
  }
396
- }
397
- cancelMLTaskRun(args, optionsOrCb, cb) {
398
- const command = new CancelMLTaskRunCommand(args);
403
+ };
404
+ Glue.prototype.cancelMLTaskRun = function (args, optionsOrCb, cb) {
405
+ var command = new CancelMLTaskRunCommand(args);
399
406
  if (typeof optionsOrCb === "function") {
400
407
  this.send(command, optionsOrCb);
401
408
  }
402
409
  else if (typeof cb === "function") {
403
410
  if (typeof optionsOrCb !== "object")
404
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
411
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
405
412
  this.send(command, optionsOrCb || {}, cb);
406
413
  }
407
414
  else {
408
415
  return this.send(command, optionsOrCb);
409
416
  }
410
- }
411
- cancelStatement(args, optionsOrCb, cb) {
412
- const command = new CancelStatementCommand(args);
417
+ };
418
+ Glue.prototype.cancelStatement = function (args, optionsOrCb, cb) {
419
+ var command = new CancelStatementCommand(args);
413
420
  if (typeof optionsOrCb === "function") {
414
421
  this.send(command, optionsOrCb);
415
422
  }
416
423
  else if (typeof cb === "function") {
417
424
  if (typeof optionsOrCb !== "object")
418
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
425
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
419
426
  this.send(command, optionsOrCb || {}, cb);
420
427
  }
421
428
  else {
422
429
  return this.send(command, optionsOrCb);
423
430
  }
424
- }
425
- checkSchemaVersionValidity(args, optionsOrCb, cb) {
426
- const command = new CheckSchemaVersionValidityCommand(args);
431
+ };
432
+ Glue.prototype.checkSchemaVersionValidity = function (args, optionsOrCb, cb) {
433
+ var command = new CheckSchemaVersionValidityCommand(args);
427
434
  if (typeof optionsOrCb === "function") {
428
435
  this.send(command, optionsOrCb);
429
436
  }
430
437
  else if (typeof cb === "function") {
431
438
  if (typeof optionsOrCb !== "object")
432
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
439
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
433
440
  this.send(command, optionsOrCb || {}, cb);
434
441
  }
435
442
  else {
436
443
  return this.send(command, optionsOrCb);
437
444
  }
438
- }
439
- createBlueprint(args, optionsOrCb, cb) {
440
- const command = new CreateBlueprintCommand(args);
445
+ };
446
+ Glue.prototype.createBlueprint = function (args, optionsOrCb, cb) {
447
+ var command = new CreateBlueprintCommand(args);
441
448
  if (typeof optionsOrCb === "function") {
442
449
  this.send(command, optionsOrCb);
443
450
  }
444
451
  else if (typeof cb === "function") {
445
452
  if (typeof optionsOrCb !== "object")
446
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
453
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
447
454
  this.send(command, optionsOrCb || {}, cb);
448
455
  }
449
456
  else {
450
457
  return this.send(command, optionsOrCb);
451
458
  }
452
- }
453
- createClassifier(args, optionsOrCb, cb) {
454
- const command = new CreateClassifierCommand(args);
459
+ };
460
+ Glue.prototype.createClassifier = function (args, optionsOrCb, cb) {
461
+ var command = new CreateClassifierCommand(args);
455
462
  if (typeof optionsOrCb === "function") {
456
463
  this.send(command, optionsOrCb);
457
464
  }
458
465
  else if (typeof cb === "function") {
459
466
  if (typeof optionsOrCb !== "object")
460
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
467
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
461
468
  this.send(command, optionsOrCb || {}, cb);
462
469
  }
463
470
  else {
464
471
  return this.send(command, optionsOrCb);
465
472
  }
466
- }
467
- createConnection(args, optionsOrCb, cb) {
468
- const command = new CreateConnectionCommand(args);
473
+ };
474
+ Glue.prototype.createConnection = function (args, optionsOrCb, cb) {
475
+ var command = new CreateConnectionCommand(args);
469
476
  if (typeof optionsOrCb === "function") {
470
477
  this.send(command, optionsOrCb);
471
478
  }
472
479
  else if (typeof cb === "function") {
473
480
  if (typeof optionsOrCb !== "object")
474
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
481
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
475
482
  this.send(command, optionsOrCb || {}, cb);
476
483
  }
477
484
  else {
478
485
  return this.send(command, optionsOrCb);
479
486
  }
480
- }
481
- createCrawler(args, optionsOrCb, cb) {
482
- const command = new CreateCrawlerCommand(args);
487
+ };
488
+ Glue.prototype.createCrawler = function (args, optionsOrCb, cb) {
489
+ var command = new CreateCrawlerCommand(args);
483
490
  if (typeof optionsOrCb === "function") {
484
491
  this.send(command, optionsOrCb);
485
492
  }
486
493
  else if (typeof cb === "function") {
487
494
  if (typeof optionsOrCb !== "object")
488
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
495
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
489
496
  this.send(command, optionsOrCb || {}, cb);
490
497
  }
491
498
  else {
492
499
  return this.send(command, optionsOrCb);
493
500
  }
494
- }
495
- createCustomEntityType(args, optionsOrCb, cb) {
496
- const command = new CreateCustomEntityTypeCommand(args);
501
+ };
502
+ Glue.prototype.createCustomEntityType = function (args, optionsOrCb, cb) {
503
+ var command = new CreateCustomEntityTypeCommand(args);
497
504
  if (typeof optionsOrCb === "function") {
498
505
  this.send(command, optionsOrCb);
499
506
  }
500
507
  else if (typeof cb === "function") {
501
508
  if (typeof optionsOrCb !== "object")
502
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
509
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
503
510
  this.send(command, optionsOrCb || {}, cb);
504
511
  }
505
512
  else {
506
513
  return this.send(command, optionsOrCb);
507
514
  }
508
- }
509
- createDatabase(args, optionsOrCb, cb) {
510
- const command = new CreateDatabaseCommand(args);
515
+ };
516
+ Glue.prototype.createDatabase = function (args, optionsOrCb, cb) {
517
+ var command = new CreateDatabaseCommand(args);
511
518
  if (typeof optionsOrCb === "function") {
512
519
  this.send(command, optionsOrCb);
513
520
  }
514
521
  else if (typeof cb === "function") {
515
522
  if (typeof optionsOrCb !== "object")
516
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
523
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
517
524
  this.send(command, optionsOrCb || {}, cb);
518
525
  }
519
526
  else {
520
527
  return this.send(command, optionsOrCb);
521
528
  }
522
- }
523
- createDevEndpoint(args, optionsOrCb, cb) {
524
- const command = new CreateDevEndpointCommand(args);
529
+ };
530
+ Glue.prototype.createDevEndpoint = function (args, optionsOrCb, cb) {
531
+ var command = new CreateDevEndpointCommand(args);
525
532
  if (typeof optionsOrCb === "function") {
526
533
  this.send(command, optionsOrCb);
527
534
  }
528
535
  else if (typeof cb === "function") {
529
536
  if (typeof optionsOrCb !== "object")
530
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
537
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
531
538
  this.send(command, optionsOrCb || {}, cb);
532
539
  }
533
540
  else {
534
541
  return this.send(command, optionsOrCb);
535
542
  }
536
- }
537
- createJob(args, optionsOrCb, cb) {
538
- const command = new CreateJobCommand(args);
543
+ };
544
+ Glue.prototype.createJob = function (args, optionsOrCb, cb) {
545
+ var command = new CreateJobCommand(args);
539
546
  if (typeof optionsOrCb === "function") {
540
547
  this.send(command, optionsOrCb);
541
548
  }
542
549
  else if (typeof cb === "function") {
543
550
  if (typeof optionsOrCb !== "object")
544
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
551
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
545
552
  this.send(command, optionsOrCb || {}, cb);
546
553
  }
547
554
  else {
548
555
  return this.send(command, optionsOrCb);
549
556
  }
550
- }
551
- createMLTransform(args, optionsOrCb, cb) {
552
- const command = new CreateMLTransformCommand(args);
557
+ };
558
+ Glue.prototype.createMLTransform = function (args, optionsOrCb, cb) {
559
+ var command = new CreateMLTransformCommand(args);
553
560
  if (typeof optionsOrCb === "function") {
554
561
  this.send(command, optionsOrCb);
555
562
  }
556
563
  else if (typeof cb === "function") {
557
564
  if (typeof optionsOrCb !== "object")
558
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
565
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
559
566
  this.send(command, optionsOrCb || {}, cb);
560
567
  }
561
568
  else {
562
569
  return this.send(command, optionsOrCb);
563
570
  }
564
- }
565
- createPartition(args, optionsOrCb, cb) {
566
- const command = new CreatePartitionCommand(args);
571
+ };
572
+ Glue.prototype.createPartition = function (args, optionsOrCb, cb) {
573
+ var command = new CreatePartitionCommand(args);
567
574
  if (typeof optionsOrCb === "function") {
568
575
  this.send(command, optionsOrCb);
569
576
  }
570
577
  else if (typeof cb === "function") {
571
578
  if (typeof optionsOrCb !== "object")
572
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
579
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
573
580
  this.send(command, optionsOrCb || {}, cb);
574
581
  }
575
582
  else {
576
583
  return this.send(command, optionsOrCb);
577
584
  }
578
- }
579
- createPartitionIndex(args, optionsOrCb, cb) {
580
- const command = new CreatePartitionIndexCommand(args);
585
+ };
586
+ Glue.prototype.createPartitionIndex = function (args, optionsOrCb, cb) {
587
+ var command = new CreatePartitionIndexCommand(args);
581
588
  if (typeof optionsOrCb === "function") {
582
589
  this.send(command, optionsOrCb);
583
590
  }
584
591
  else if (typeof cb === "function") {
585
592
  if (typeof optionsOrCb !== "object")
586
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
593
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
587
594
  this.send(command, optionsOrCb || {}, cb);
588
595
  }
589
596
  else {
590
597
  return this.send(command, optionsOrCb);
591
598
  }
592
- }
593
- createRegistry(args, optionsOrCb, cb) {
594
- const command = new CreateRegistryCommand(args);
599
+ };
600
+ Glue.prototype.createRegistry = function (args, optionsOrCb, cb) {
601
+ var command = new CreateRegistryCommand(args);
595
602
  if (typeof optionsOrCb === "function") {
596
603
  this.send(command, optionsOrCb);
597
604
  }
598
605
  else if (typeof cb === "function") {
599
606
  if (typeof optionsOrCb !== "object")
600
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
607
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
601
608
  this.send(command, optionsOrCb || {}, cb);
602
609
  }
603
610
  else {
604
611
  return this.send(command, optionsOrCb);
605
612
  }
606
- }
607
- createSchema(args, optionsOrCb, cb) {
608
- const command = new CreateSchemaCommand(args);
613
+ };
614
+ Glue.prototype.createSchema = function (args, optionsOrCb, cb) {
615
+ var command = new CreateSchemaCommand(args);
609
616
  if (typeof optionsOrCb === "function") {
610
617
  this.send(command, optionsOrCb);
611
618
  }
612
619
  else if (typeof cb === "function") {
613
620
  if (typeof optionsOrCb !== "object")
614
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
621
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
615
622
  this.send(command, optionsOrCb || {}, cb);
616
623
  }
617
624
  else {
618
625
  return this.send(command, optionsOrCb);
619
626
  }
620
- }
621
- createScript(args, optionsOrCb, cb) {
622
- const command = new CreateScriptCommand(args);
627
+ };
628
+ Glue.prototype.createScript = function (args, optionsOrCb, cb) {
629
+ var command = new CreateScriptCommand(args);
623
630
  if (typeof optionsOrCb === "function") {
624
631
  this.send(command, optionsOrCb);
625
632
  }
626
633
  else if (typeof cb === "function") {
627
634
  if (typeof optionsOrCb !== "object")
628
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
635
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
629
636
  this.send(command, optionsOrCb || {}, cb);
630
637
  }
631
638
  else {
632
639
  return this.send(command, optionsOrCb);
633
640
  }
634
- }
635
- createSecurityConfiguration(args, optionsOrCb, cb) {
636
- const command = new CreateSecurityConfigurationCommand(args);
641
+ };
642
+ Glue.prototype.createSecurityConfiguration = function (args, optionsOrCb, cb) {
643
+ var command = new CreateSecurityConfigurationCommand(args);
637
644
  if (typeof optionsOrCb === "function") {
638
645
  this.send(command, optionsOrCb);
639
646
  }
640
647
  else if (typeof cb === "function") {
641
648
  if (typeof optionsOrCb !== "object")
642
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
649
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
643
650
  this.send(command, optionsOrCb || {}, cb);
644
651
  }
645
652
  else {
646
653
  return this.send(command, optionsOrCb);
647
654
  }
648
- }
649
- createSession(args, optionsOrCb, cb) {
650
- const command = new CreateSessionCommand(args);
655
+ };
656
+ Glue.prototype.createSession = function (args, optionsOrCb, cb) {
657
+ var command = new CreateSessionCommand(args);
651
658
  if (typeof optionsOrCb === "function") {
652
659
  this.send(command, optionsOrCb);
653
660
  }
654
661
  else if (typeof cb === "function") {
655
662
  if (typeof optionsOrCb !== "object")
656
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
663
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
657
664
  this.send(command, optionsOrCb || {}, cb);
658
665
  }
659
666
  else {
660
667
  return this.send(command, optionsOrCb);
661
668
  }
662
- }
663
- createTable(args, optionsOrCb, cb) {
664
- const command = new CreateTableCommand(args);
669
+ };
670
+ Glue.prototype.createTable = function (args, optionsOrCb, cb) {
671
+ var command = new CreateTableCommand(args);
665
672
  if (typeof optionsOrCb === "function") {
666
673
  this.send(command, optionsOrCb);
667
674
  }
668
675
  else if (typeof cb === "function") {
669
676
  if (typeof optionsOrCb !== "object")
670
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
677
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
671
678
  this.send(command, optionsOrCb || {}, cb);
672
679
  }
673
680
  else {
674
681
  return this.send(command, optionsOrCb);
675
682
  }
676
- }
677
- createTrigger(args, optionsOrCb, cb) {
678
- const command = new CreateTriggerCommand(args);
683
+ };
684
+ Glue.prototype.createTrigger = function (args, optionsOrCb, cb) {
685
+ var command = new CreateTriggerCommand(args);
679
686
  if (typeof optionsOrCb === "function") {
680
687
  this.send(command, optionsOrCb);
681
688
  }
682
689
  else if (typeof cb === "function") {
683
690
  if (typeof optionsOrCb !== "object")
684
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
691
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
685
692
  this.send(command, optionsOrCb || {}, cb);
686
693
  }
687
694
  else {
688
695
  return this.send(command, optionsOrCb);
689
696
  }
690
- }
691
- createUserDefinedFunction(args, optionsOrCb, cb) {
692
- const command = new CreateUserDefinedFunctionCommand(args);
697
+ };
698
+ Glue.prototype.createUserDefinedFunction = function (args, optionsOrCb, cb) {
699
+ var command = new CreateUserDefinedFunctionCommand(args);
693
700
  if (typeof optionsOrCb === "function") {
694
701
  this.send(command, optionsOrCb);
695
702
  }
696
703
  else if (typeof cb === "function") {
697
704
  if (typeof optionsOrCb !== "object")
698
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
705
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
699
706
  this.send(command, optionsOrCb || {}, cb);
700
707
  }
701
708
  else {
702
709
  return this.send(command, optionsOrCb);
703
710
  }
704
- }
705
- createWorkflow(args, optionsOrCb, cb) {
706
- const command = new CreateWorkflowCommand(args);
711
+ };
712
+ Glue.prototype.createWorkflow = function (args, optionsOrCb, cb) {
713
+ var command = new CreateWorkflowCommand(args);
707
714
  if (typeof optionsOrCb === "function") {
708
715
  this.send(command, optionsOrCb);
709
716
  }
710
717
  else if (typeof cb === "function") {
711
718
  if (typeof optionsOrCb !== "object")
712
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
719
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
713
720
  this.send(command, optionsOrCb || {}, cb);
714
721
  }
715
722
  else {
716
723
  return this.send(command, optionsOrCb);
717
724
  }
718
- }
719
- deleteBlueprint(args, optionsOrCb, cb) {
720
- const command = new DeleteBlueprintCommand(args);
725
+ };
726
+ Glue.prototype.deleteBlueprint = function (args, optionsOrCb, cb) {
727
+ var command = new DeleteBlueprintCommand(args);
721
728
  if (typeof optionsOrCb === "function") {
722
729
  this.send(command, optionsOrCb);
723
730
  }
724
731
  else if (typeof cb === "function") {
725
732
  if (typeof optionsOrCb !== "object")
726
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
733
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
727
734
  this.send(command, optionsOrCb || {}, cb);
728
735
  }
729
736
  else {
730
737
  return this.send(command, optionsOrCb);
731
738
  }
732
- }
733
- deleteClassifier(args, optionsOrCb, cb) {
734
- const command = new DeleteClassifierCommand(args);
739
+ };
740
+ Glue.prototype.deleteClassifier = function (args, optionsOrCb, cb) {
741
+ var command = new DeleteClassifierCommand(args);
735
742
  if (typeof optionsOrCb === "function") {
736
743
  this.send(command, optionsOrCb);
737
744
  }
738
745
  else if (typeof cb === "function") {
739
746
  if (typeof optionsOrCb !== "object")
740
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
747
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
741
748
  this.send(command, optionsOrCb || {}, cb);
742
749
  }
743
750
  else {
744
751
  return this.send(command, optionsOrCb);
745
752
  }
746
- }
747
- deleteColumnStatisticsForPartition(args, optionsOrCb, cb) {
748
- const command = new DeleteColumnStatisticsForPartitionCommand(args);
753
+ };
754
+ Glue.prototype.deleteColumnStatisticsForPartition = function (args, optionsOrCb, cb) {
755
+ var command = new DeleteColumnStatisticsForPartitionCommand(args);
749
756
  if (typeof optionsOrCb === "function") {
750
757
  this.send(command, optionsOrCb);
751
758
  }
752
759
  else if (typeof cb === "function") {
753
760
  if (typeof optionsOrCb !== "object")
754
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
761
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
755
762
  this.send(command, optionsOrCb || {}, cb);
756
763
  }
757
764
  else {
758
765
  return this.send(command, optionsOrCb);
759
766
  }
760
- }
761
- deleteColumnStatisticsForTable(args, optionsOrCb, cb) {
762
- const command = new DeleteColumnStatisticsForTableCommand(args);
767
+ };
768
+ Glue.prototype.deleteColumnStatisticsForTable = function (args, optionsOrCb, cb) {
769
+ var command = new DeleteColumnStatisticsForTableCommand(args);
763
770
  if (typeof optionsOrCb === "function") {
764
771
  this.send(command, optionsOrCb);
765
772
  }
766
773
  else if (typeof cb === "function") {
767
774
  if (typeof optionsOrCb !== "object")
768
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
775
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
769
776
  this.send(command, optionsOrCb || {}, cb);
770
777
  }
771
778
  else {
772
779
  return this.send(command, optionsOrCb);
773
780
  }
774
- }
775
- deleteConnection(args, optionsOrCb, cb) {
776
- const command = new DeleteConnectionCommand(args);
781
+ };
782
+ Glue.prototype.deleteConnection = function (args, optionsOrCb, cb) {
783
+ var command = new DeleteConnectionCommand(args);
777
784
  if (typeof optionsOrCb === "function") {
778
785
  this.send(command, optionsOrCb);
779
786
  }
780
787
  else if (typeof cb === "function") {
781
788
  if (typeof optionsOrCb !== "object")
782
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
789
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
783
790
  this.send(command, optionsOrCb || {}, cb);
784
791
  }
785
792
  else {
786
793
  return this.send(command, optionsOrCb);
787
794
  }
788
- }
789
- deleteCrawler(args, optionsOrCb, cb) {
790
- const command = new DeleteCrawlerCommand(args);
795
+ };
796
+ Glue.prototype.deleteCrawler = function (args, optionsOrCb, cb) {
797
+ var command = new DeleteCrawlerCommand(args);
791
798
  if (typeof optionsOrCb === "function") {
792
799
  this.send(command, optionsOrCb);
793
800
  }
794
801
  else if (typeof cb === "function") {
795
802
  if (typeof optionsOrCb !== "object")
796
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
803
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
797
804
  this.send(command, optionsOrCb || {}, cb);
798
805
  }
799
806
  else {
800
807
  return this.send(command, optionsOrCb);
801
808
  }
802
- }
803
- deleteCustomEntityType(args, optionsOrCb, cb) {
804
- const command = new DeleteCustomEntityTypeCommand(args);
809
+ };
810
+ Glue.prototype.deleteCustomEntityType = function (args, optionsOrCb, cb) {
811
+ var command = new DeleteCustomEntityTypeCommand(args);
805
812
  if (typeof optionsOrCb === "function") {
806
813
  this.send(command, optionsOrCb);
807
814
  }
808
815
  else if (typeof cb === "function") {
809
816
  if (typeof optionsOrCb !== "object")
810
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
817
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
811
818
  this.send(command, optionsOrCb || {}, cb);
812
819
  }
813
820
  else {
814
821
  return this.send(command, optionsOrCb);
815
822
  }
816
- }
817
- deleteDatabase(args, optionsOrCb, cb) {
818
- const command = new DeleteDatabaseCommand(args);
823
+ };
824
+ Glue.prototype.deleteDatabase = function (args, optionsOrCb, cb) {
825
+ var command = new DeleteDatabaseCommand(args);
819
826
  if (typeof optionsOrCb === "function") {
820
827
  this.send(command, optionsOrCb);
821
828
  }
822
829
  else if (typeof cb === "function") {
823
830
  if (typeof optionsOrCb !== "object")
824
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
831
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
825
832
  this.send(command, optionsOrCb || {}, cb);
826
833
  }
827
834
  else {
828
835
  return this.send(command, optionsOrCb);
829
836
  }
830
- }
831
- deleteDevEndpoint(args, optionsOrCb, cb) {
832
- const command = new DeleteDevEndpointCommand(args);
837
+ };
838
+ Glue.prototype.deleteDevEndpoint = function (args, optionsOrCb, cb) {
839
+ var command = new DeleteDevEndpointCommand(args);
833
840
  if (typeof optionsOrCb === "function") {
834
841
  this.send(command, optionsOrCb);
835
842
  }
836
843
  else if (typeof cb === "function") {
837
844
  if (typeof optionsOrCb !== "object")
838
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
845
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
839
846
  this.send(command, optionsOrCb || {}, cb);
840
847
  }
841
848
  else {
842
849
  return this.send(command, optionsOrCb);
843
850
  }
844
- }
845
- deleteJob(args, optionsOrCb, cb) {
846
- const command = new DeleteJobCommand(args);
851
+ };
852
+ Glue.prototype.deleteJob = function (args, optionsOrCb, cb) {
853
+ var command = new DeleteJobCommand(args);
847
854
  if (typeof optionsOrCb === "function") {
848
855
  this.send(command, optionsOrCb);
849
856
  }
850
857
  else if (typeof cb === "function") {
851
858
  if (typeof optionsOrCb !== "object")
852
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
859
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
853
860
  this.send(command, optionsOrCb || {}, cb);
854
861
  }
855
862
  else {
856
863
  return this.send(command, optionsOrCb);
857
864
  }
858
- }
859
- deleteMLTransform(args, optionsOrCb, cb) {
860
- const command = new DeleteMLTransformCommand(args);
865
+ };
866
+ Glue.prototype.deleteMLTransform = function (args, optionsOrCb, cb) {
867
+ var command = new DeleteMLTransformCommand(args);
861
868
  if (typeof optionsOrCb === "function") {
862
869
  this.send(command, optionsOrCb);
863
870
  }
864
871
  else if (typeof cb === "function") {
865
872
  if (typeof optionsOrCb !== "object")
866
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
873
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
867
874
  this.send(command, optionsOrCb || {}, cb);
868
875
  }
869
876
  else {
870
877
  return this.send(command, optionsOrCb);
871
878
  }
872
- }
873
- deletePartition(args, optionsOrCb, cb) {
874
- const command = new DeletePartitionCommand(args);
879
+ };
880
+ Glue.prototype.deletePartition = function (args, optionsOrCb, cb) {
881
+ var command = new DeletePartitionCommand(args);
875
882
  if (typeof optionsOrCb === "function") {
876
883
  this.send(command, optionsOrCb);
877
884
  }
878
885
  else if (typeof cb === "function") {
879
886
  if (typeof optionsOrCb !== "object")
880
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
887
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
881
888
  this.send(command, optionsOrCb || {}, cb);
882
889
  }
883
890
  else {
884
891
  return this.send(command, optionsOrCb);
885
892
  }
886
- }
887
- deletePartitionIndex(args, optionsOrCb, cb) {
888
- const command = new DeletePartitionIndexCommand(args);
893
+ };
894
+ Glue.prototype.deletePartitionIndex = function (args, optionsOrCb, cb) {
895
+ var command = new DeletePartitionIndexCommand(args);
889
896
  if (typeof optionsOrCb === "function") {
890
897
  this.send(command, optionsOrCb);
891
898
  }
892
899
  else if (typeof cb === "function") {
893
900
  if (typeof optionsOrCb !== "object")
894
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
901
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
895
902
  this.send(command, optionsOrCb || {}, cb);
896
903
  }
897
904
  else {
898
905
  return this.send(command, optionsOrCb);
899
906
  }
900
- }
901
- deleteRegistry(args, optionsOrCb, cb) {
902
- const command = new DeleteRegistryCommand(args);
907
+ };
908
+ Glue.prototype.deleteRegistry = function (args, optionsOrCb, cb) {
909
+ var command = new DeleteRegistryCommand(args);
903
910
  if (typeof optionsOrCb === "function") {
904
911
  this.send(command, optionsOrCb);
905
912
  }
906
913
  else if (typeof cb === "function") {
907
914
  if (typeof optionsOrCb !== "object")
908
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
915
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
909
916
  this.send(command, optionsOrCb || {}, cb);
910
917
  }
911
918
  else {
912
919
  return this.send(command, optionsOrCb);
913
920
  }
914
- }
915
- deleteResourcePolicy(args, optionsOrCb, cb) {
916
- const command = new DeleteResourcePolicyCommand(args);
921
+ };
922
+ Glue.prototype.deleteResourcePolicy = function (args, optionsOrCb, cb) {
923
+ var command = new DeleteResourcePolicyCommand(args);
917
924
  if (typeof optionsOrCb === "function") {
918
925
  this.send(command, optionsOrCb);
919
926
  }
920
927
  else if (typeof cb === "function") {
921
928
  if (typeof optionsOrCb !== "object")
922
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
929
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
923
930
  this.send(command, optionsOrCb || {}, cb);
924
931
  }
925
932
  else {
926
933
  return this.send(command, optionsOrCb);
927
934
  }
928
- }
929
- deleteSchema(args, optionsOrCb, cb) {
930
- const command = new DeleteSchemaCommand(args);
935
+ };
936
+ Glue.prototype.deleteSchema = function (args, optionsOrCb, cb) {
937
+ var command = new DeleteSchemaCommand(args);
931
938
  if (typeof optionsOrCb === "function") {
932
939
  this.send(command, optionsOrCb);
933
940
  }
934
941
  else if (typeof cb === "function") {
935
942
  if (typeof optionsOrCb !== "object")
936
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
943
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
937
944
  this.send(command, optionsOrCb || {}, cb);
938
945
  }
939
946
  else {
940
947
  return this.send(command, optionsOrCb);
941
948
  }
942
- }
943
- deleteSchemaVersions(args, optionsOrCb, cb) {
944
- const command = new DeleteSchemaVersionsCommand(args);
949
+ };
950
+ Glue.prototype.deleteSchemaVersions = function (args, optionsOrCb, cb) {
951
+ var command = new DeleteSchemaVersionsCommand(args);
945
952
  if (typeof optionsOrCb === "function") {
946
953
  this.send(command, optionsOrCb);
947
954
  }
948
955
  else if (typeof cb === "function") {
949
956
  if (typeof optionsOrCb !== "object")
950
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
957
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
951
958
  this.send(command, optionsOrCb || {}, cb);
952
959
  }
953
960
  else {
954
961
  return this.send(command, optionsOrCb);
955
962
  }
956
- }
957
- deleteSecurityConfiguration(args, optionsOrCb, cb) {
958
- const command = new DeleteSecurityConfigurationCommand(args);
963
+ };
964
+ Glue.prototype.deleteSecurityConfiguration = function (args, optionsOrCb, cb) {
965
+ var command = new DeleteSecurityConfigurationCommand(args);
959
966
  if (typeof optionsOrCb === "function") {
960
967
  this.send(command, optionsOrCb);
961
968
  }
962
969
  else if (typeof cb === "function") {
963
970
  if (typeof optionsOrCb !== "object")
964
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
971
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
965
972
  this.send(command, optionsOrCb || {}, cb);
966
973
  }
967
974
  else {
968
975
  return this.send(command, optionsOrCb);
969
976
  }
970
- }
971
- deleteSession(args, optionsOrCb, cb) {
972
- const command = new DeleteSessionCommand(args);
977
+ };
978
+ Glue.prototype.deleteSession = function (args, optionsOrCb, cb) {
979
+ var command = new DeleteSessionCommand(args);
973
980
  if (typeof optionsOrCb === "function") {
974
981
  this.send(command, optionsOrCb);
975
982
  }
976
983
  else if (typeof cb === "function") {
977
984
  if (typeof optionsOrCb !== "object")
978
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
985
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
979
986
  this.send(command, optionsOrCb || {}, cb);
980
987
  }
981
988
  else {
982
989
  return this.send(command, optionsOrCb);
983
990
  }
984
- }
985
- deleteTable(args, optionsOrCb, cb) {
986
- const command = new DeleteTableCommand(args);
991
+ };
992
+ Glue.prototype.deleteTable = function (args, optionsOrCb, cb) {
993
+ var command = new DeleteTableCommand(args);
987
994
  if (typeof optionsOrCb === "function") {
988
995
  this.send(command, optionsOrCb);
989
996
  }
990
997
  else if (typeof cb === "function") {
991
998
  if (typeof optionsOrCb !== "object")
992
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
999
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
993
1000
  this.send(command, optionsOrCb || {}, cb);
994
1001
  }
995
1002
  else {
996
1003
  return this.send(command, optionsOrCb);
997
1004
  }
998
- }
999
- deleteTableVersion(args, optionsOrCb, cb) {
1000
- const command = new DeleteTableVersionCommand(args);
1005
+ };
1006
+ Glue.prototype.deleteTableVersion = function (args, optionsOrCb, cb) {
1007
+ var command = new DeleteTableVersionCommand(args);
1001
1008
  if (typeof optionsOrCb === "function") {
1002
1009
  this.send(command, optionsOrCb);
1003
1010
  }
1004
1011
  else if (typeof cb === "function") {
1005
1012
  if (typeof optionsOrCb !== "object")
1006
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1013
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1007
1014
  this.send(command, optionsOrCb || {}, cb);
1008
1015
  }
1009
1016
  else {
1010
1017
  return this.send(command, optionsOrCb);
1011
1018
  }
1012
- }
1013
- deleteTrigger(args, optionsOrCb, cb) {
1014
- const command = new DeleteTriggerCommand(args);
1019
+ };
1020
+ Glue.prototype.deleteTrigger = function (args, optionsOrCb, cb) {
1021
+ var command = new DeleteTriggerCommand(args);
1015
1022
  if (typeof optionsOrCb === "function") {
1016
1023
  this.send(command, optionsOrCb);
1017
1024
  }
1018
1025
  else if (typeof cb === "function") {
1019
1026
  if (typeof optionsOrCb !== "object")
1020
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1027
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1021
1028
  this.send(command, optionsOrCb || {}, cb);
1022
1029
  }
1023
1030
  else {
1024
1031
  return this.send(command, optionsOrCb);
1025
1032
  }
1026
- }
1027
- deleteUserDefinedFunction(args, optionsOrCb, cb) {
1028
- const command = new DeleteUserDefinedFunctionCommand(args);
1033
+ };
1034
+ Glue.prototype.deleteUserDefinedFunction = function (args, optionsOrCb, cb) {
1035
+ var command = new DeleteUserDefinedFunctionCommand(args);
1029
1036
  if (typeof optionsOrCb === "function") {
1030
1037
  this.send(command, optionsOrCb);
1031
1038
  }
1032
1039
  else if (typeof cb === "function") {
1033
1040
  if (typeof optionsOrCb !== "object")
1034
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1041
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1035
1042
  this.send(command, optionsOrCb || {}, cb);
1036
1043
  }
1037
1044
  else {
1038
1045
  return this.send(command, optionsOrCb);
1039
1046
  }
1040
- }
1041
- deleteWorkflow(args, optionsOrCb, cb) {
1042
- const command = new DeleteWorkflowCommand(args);
1047
+ };
1048
+ Glue.prototype.deleteWorkflow = function (args, optionsOrCb, cb) {
1049
+ var command = new DeleteWorkflowCommand(args);
1043
1050
  if (typeof optionsOrCb === "function") {
1044
1051
  this.send(command, optionsOrCb);
1045
1052
  }
1046
1053
  else if (typeof cb === "function") {
1047
1054
  if (typeof optionsOrCb !== "object")
1048
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1055
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1049
1056
  this.send(command, optionsOrCb || {}, cb);
1050
1057
  }
1051
1058
  else {
1052
1059
  return this.send(command, optionsOrCb);
1053
1060
  }
1054
- }
1055
- getBlueprint(args, optionsOrCb, cb) {
1056
- const command = new GetBlueprintCommand(args);
1061
+ };
1062
+ Glue.prototype.getBlueprint = function (args, optionsOrCb, cb) {
1063
+ var command = new GetBlueprintCommand(args);
1057
1064
  if (typeof optionsOrCb === "function") {
1058
1065
  this.send(command, optionsOrCb);
1059
1066
  }
1060
1067
  else if (typeof cb === "function") {
1061
1068
  if (typeof optionsOrCb !== "object")
1062
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1069
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1063
1070
  this.send(command, optionsOrCb || {}, cb);
1064
1071
  }
1065
1072
  else {
1066
1073
  return this.send(command, optionsOrCb);
1067
1074
  }
1068
- }
1069
- getBlueprintRun(args, optionsOrCb, cb) {
1070
- const command = new GetBlueprintRunCommand(args);
1075
+ };
1076
+ Glue.prototype.getBlueprintRun = function (args, optionsOrCb, cb) {
1077
+ var command = new GetBlueprintRunCommand(args);
1071
1078
  if (typeof optionsOrCb === "function") {
1072
1079
  this.send(command, optionsOrCb);
1073
1080
  }
1074
1081
  else if (typeof cb === "function") {
1075
1082
  if (typeof optionsOrCb !== "object")
1076
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1083
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1077
1084
  this.send(command, optionsOrCb || {}, cb);
1078
1085
  }
1079
1086
  else {
1080
1087
  return this.send(command, optionsOrCb);
1081
1088
  }
1082
- }
1083
- getBlueprintRuns(args, optionsOrCb, cb) {
1084
- const command = new GetBlueprintRunsCommand(args);
1089
+ };
1090
+ Glue.prototype.getBlueprintRuns = function (args, optionsOrCb, cb) {
1091
+ var command = new GetBlueprintRunsCommand(args);
1085
1092
  if (typeof optionsOrCb === "function") {
1086
1093
  this.send(command, optionsOrCb);
1087
1094
  }
1088
1095
  else if (typeof cb === "function") {
1089
1096
  if (typeof optionsOrCb !== "object")
1090
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1097
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1091
1098
  this.send(command, optionsOrCb || {}, cb);
1092
1099
  }
1093
1100
  else {
1094
1101
  return this.send(command, optionsOrCb);
1095
1102
  }
1096
- }
1097
- getCatalogImportStatus(args, optionsOrCb, cb) {
1098
- const command = new GetCatalogImportStatusCommand(args);
1103
+ };
1104
+ Glue.prototype.getCatalogImportStatus = function (args, optionsOrCb, cb) {
1105
+ var command = new GetCatalogImportStatusCommand(args);
1099
1106
  if (typeof optionsOrCb === "function") {
1100
1107
  this.send(command, optionsOrCb);
1101
1108
  }
1102
1109
  else if (typeof cb === "function") {
1103
1110
  if (typeof optionsOrCb !== "object")
1104
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1111
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1105
1112
  this.send(command, optionsOrCb || {}, cb);
1106
1113
  }
1107
1114
  else {
1108
1115
  return this.send(command, optionsOrCb);
1109
1116
  }
1110
- }
1111
- getClassifier(args, optionsOrCb, cb) {
1112
- const command = new GetClassifierCommand(args);
1117
+ };
1118
+ Glue.prototype.getClassifier = function (args, optionsOrCb, cb) {
1119
+ var command = new GetClassifierCommand(args);
1113
1120
  if (typeof optionsOrCb === "function") {
1114
1121
  this.send(command, optionsOrCb);
1115
1122
  }
1116
1123
  else if (typeof cb === "function") {
1117
1124
  if (typeof optionsOrCb !== "object")
1118
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1125
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1119
1126
  this.send(command, optionsOrCb || {}, cb);
1120
1127
  }
1121
1128
  else {
1122
1129
  return this.send(command, optionsOrCb);
1123
1130
  }
1124
- }
1125
- getClassifiers(args, optionsOrCb, cb) {
1126
- const command = new GetClassifiersCommand(args);
1131
+ };
1132
+ Glue.prototype.getClassifiers = function (args, optionsOrCb, cb) {
1133
+ var command = new GetClassifiersCommand(args);
1127
1134
  if (typeof optionsOrCb === "function") {
1128
1135
  this.send(command, optionsOrCb);
1129
1136
  }
1130
1137
  else if (typeof cb === "function") {
1131
1138
  if (typeof optionsOrCb !== "object")
1132
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1139
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1133
1140
  this.send(command, optionsOrCb || {}, cb);
1134
1141
  }
1135
1142
  else {
1136
1143
  return this.send(command, optionsOrCb);
1137
1144
  }
1138
- }
1139
- getColumnStatisticsForPartition(args, optionsOrCb, cb) {
1140
- const command = new GetColumnStatisticsForPartitionCommand(args);
1145
+ };
1146
+ Glue.prototype.getColumnStatisticsForPartition = function (args, optionsOrCb, cb) {
1147
+ var command = new GetColumnStatisticsForPartitionCommand(args);
1141
1148
  if (typeof optionsOrCb === "function") {
1142
1149
  this.send(command, optionsOrCb);
1143
1150
  }
1144
1151
  else if (typeof cb === "function") {
1145
1152
  if (typeof optionsOrCb !== "object")
1146
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1153
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1147
1154
  this.send(command, optionsOrCb || {}, cb);
1148
1155
  }
1149
1156
  else {
1150
1157
  return this.send(command, optionsOrCb);
1151
1158
  }
1152
- }
1153
- getColumnStatisticsForTable(args, optionsOrCb, cb) {
1154
- const command = new GetColumnStatisticsForTableCommand(args);
1159
+ };
1160
+ Glue.prototype.getColumnStatisticsForTable = function (args, optionsOrCb, cb) {
1161
+ var command = new GetColumnStatisticsForTableCommand(args);
1155
1162
  if (typeof optionsOrCb === "function") {
1156
1163
  this.send(command, optionsOrCb);
1157
1164
  }
1158
1165
  else if (typeof cb === "function") {
1159
1166
  if (typeof optionsOrCb !== "object")
1160
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1167
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1161
1168
  this.send(command, optionsOrCb || {}, cb);
1162
1169
  }
1163
1170
  else {
1164
1171
  return this.send(command, optionsOrCb);
1165
1172
  }
1166
- }
1167
- getConnection(args, optionsOrCb, cb) {
1168
- const command = new GetConnectionCommand(args);
1173
+ };
1174
+ Glue.prototype.getConnection = function (args, optionsOrCb, cb) {
1175
+ var command = new GetConnectionCommand(args);
1169
1176
  if (typeof optionsOrCb === "function") {
1170
1177
  this.send(command, optionsOrCb);
1171
1178
  }
1172
1179
  else if (typeof cb === "function") {
1173
1180
  if (typeof optionsOrCb !== "object")
1174
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1181
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1175
1182
  this.send(command, optionsOrCb || {}, cb);
1176
1183
  }
1177
1184
  else {
1178
1185
  return this.send(command, optionsOrCb);
1179
1186
  }
1180
- }
1181
- getConnections(args, optionsOrCb, cb) {
1182
- const command = new GetConnectionsCommand(args);
1187
+ };
1188
+ Glue.prototype.getConnections = function (args, optionsOrCb, cb) {
1189
+ var command = new GetConnectionsCommand(args);
1183
1190
  if (typeof optionsOrCb === "function") {
1184
1191
  this.send(command, optionsOrCb);
1185
1192
  }
1186
1193
  else if (typeof cb === "function") {
1187
1194
  if (typeof optionsOrCb !== "object")
1188
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1195
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1189
1196
  this.send(command, optionsOrCb || {}, cb);
1190
1197
  }
1191
1198
  else {
1192
1199
  return this.send(command, optionsOrCb);
1193
1200
  }
1194
- }
1195
- getCrawler(args, optionsOrCb, cb) {
1196
- const command = new GetCrawlerCommand(args);
1201
+ };
1202
+ Glue.prototype.getCrawler = function (args, optionsOrCb, cb) {
1203
+ var command = new GetCrawlerCommand(args);
1197
1204
  if (typeof optionsOrCb === "function") {
1198
1205
  this.send(command, optionsOrCb);
1199
1206
  }
1200
1207
  else if (typeof cb === "function") {
1201
1208
  if (typeof optionsOrCb !== "object")
1202
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1209
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1203
1210
  this.send(command, optionsOrCb || {}, cb);
1204
1211
  }
1205
1212
  else {
1206
1213
  return this.send(command, optionsOrCb);
1207
1214
  }
1208
- }
1209
- getCrawlerMetrics(args, optionsOrCb, cb) {
1210
- const command = new GetCrawlerMetricsCommand(args);
1215
+ };
1216
+ Glue.prototype.getCrawlerMetrics = function (args, optionsOrCb, cb) {
1217
+ var command = new GetCrawlerMetricsCommand(args);
1211
1218
  if (typeof optionsOrCb === "function") {
1212
1219
  this.send(command, optionsOrCb);
1213
1220
  }
1214
1221
  else if (typeof cb === "function") {
1215
1222
  if (typeof optionsOrCb !== "object")
1216
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1223
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1217
1224
  this.send(command, optionsOrCb || {}, cb);
1218
1225
  }
1219
1226
  else {
1220
1227
  return this.send(command, optionsOrCb);
1221
1228
  }
1222
- }
1223
- getCrawlers(args, optionsOrCb, cb) {
1224
- const command = new GetCrawlersCommand(args);
1229
+ };
1230
+ Glue.prototype.getCrawlers = function (args, optionsOrCb, cb) {
1231
+ var command = new GetCrawlersCommand(args);
1225
1232
  if (typeof optionsOrCb === "function") {
1226
1233
  this.send(command, optionsOrCb);
1227
1234
  }
1228
1235
  else if (typeof cb === "function") {
1229
1236
  if (typeof optionsOrCb !== "object")
1230
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1237
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1231
1238
  this.send(command, optionsOrCb || {}, cb);
1232
1239
  }
1233
1240
  else {
1234
1241
  return this.send(command, optionsOrCb);
1235
1242
  }
1236
- }
1237
- getCustomEntityType(args, optionsOrCb, cb) {
1238
- const command = new GetCustomEntityTypeCommand(args);
1243
+ };
1244
+ Glue.prototype.getCustomEntityType = function (args, optionsOrCb, cb) {
1245
+ var command = new GetCustomEntityTypeCommand(args);
1239
1246
  if (typeof optionsOrCb === "function") {
1240
1247
  this.send(command, optionsOrCb);
1241
1248
  }
1242
1249
  else if (typeof cb === "function") {
1243
1250
  if (typeof optionsOrCb !== "object")
1244
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1251
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1245
1252
  this.send(command, optionsOrCb || {}, cb);
1246
1253
  }
1247
1254
  else {
1248
1255
  return this.send(command, optionsOrCb);
1249
1256
  }
1250
- }
1251
- getDatabase(args, optionsOrCb, cb) {
1252
- const command = new GetDatabaseCommand(args);
1257
+ };
1258
+ Glue.prototype.getDatabase = function (args, optionsOrCb, cb) {
1259
+ var command = new GetDatabaseCommand(args);
1253
1260
  if (typeof optionsOrCb === "function") {
1254
1261
  this.send(command, optionsOrCb);
1255
1262
  }
1256
1263
  else if (typeof cb === "function") {
1257
1264
  if (typeof optionsOrCb !== "object")
1258
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1265
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1259
1266
  this.send(command, optionsOrCb || {}, cb);
1260
1267
  }
1261
1268
  else {
1262
1269
  return this.send(command, optionsOrCb);
1263
1270
  }
1264
- }
1265
- getDatabases(args, optionsOrCb, cb) {
1266
- const command = new GetDatabasesCommand(args);
1271
+ };
1272
+ Glue.prototype.getDatabases = function (args, optionsOrCb, cb) {
1273
+ var command = new GetDatabasesCommand(args);
1267
1274
  if (typeof optionsOrCb === "function") {
1268
1275
  this.send(command, optionsOrCb);
1269
1276
  }
1270
1277
  else if (typeof cb === "function") {
1271
1278
  if (typeof optionsOrCb !== "object")
1272
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1279
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1273
1280
  this.send(command, optionsOrCb || {}, cb);
1274
1281
  }
1275
1282
  else {
1276
1283
  return this.send(command, optionsOrCb);
1277
1284
  }
1278
- }
1279
- getDataCatalogEncryptionSettings(args, optionsOrCb, cb) {
1280
- const command = new GetDataCatalogEncryptionSettingsCommand(args);
1285
+ };
1286
+ Glue.prototype.getDataCatalogEncryptionSettings = function (args, optionsOrCb, cb) {
1287
+ var command = new GetDataCatalogEncryptionSettingsCommand(args);
1281
1288
  if (typeof optionsOrCb === "function") {
1282
1289
  this.send(command, optionsOrCb);
1283
1290
  }
1284
1291
  else if (typeof cb === "function") {
1285
1292
  if (typeof optionsOrCb !== "object")
1286
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1293
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1287
1294
  this.send(command, optionsOrCb || {}, cb);
1288
1295
  }
1289
1296
  else {
1290
1297
  return this.send(command, optionsOrCb);
1291
1298
  }
1292
- }
1293
- getDataflowGraph(args, optionsOrCb, cb) {
1294
- const command = new GetDataflowGraphCommand(args);
1299
+ };
1300
+ Glue.prototype.getDataflowGraph = function (args, optionsOrCb, cb) {
1301
+ var command = new GetDataflowGraphCommand(args);
1295
1302
  if (typeof optionsOrCb === "function") {
1296
1303
  this.send(command, optionsOrCb);
1297
1304
  }
1298
1305
  else if (typeof cb === "function") {
1299
1306
  if (typeof optionsOrCb !== "object")
1300
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1307
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1301
1308
  this.send(command, optionsOrCb || {}, cb);
1302
1309
  }
1303
1310
  else {
1304
1311
  return this.send(command, optionsOrCb);
1305
1312
  }
1306
- }
1307
- getDevEndpoint(args, optionsOrCb, cb) {
1308
- const command = new GetDevEndpointCommand(args);
1313
+ };
1314
+ Glue.prototype.getDevEndpoint = function (args, optionsOrCb, cb) {
1315
+ var command = new GetDevEndpointCommand(args);
1309
1316
  if (typeof optionsOrCb === "function") {
1310
1317
  this.send(command, optionsOrCb);
1311
1318
  }
1312
1319
  else if (typeof cb === "function") {
1313
1320
  if (typeof optionsOrCb !== "object")
1314
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1321
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1315
1322
  this.send(command, optionsOrCb || {}, cb);
1316
1323
  }
1317
1324
  else {
1318
1325
  return this.send(command, optionsOrCb);
1319
1326
  }
1320
- }
1321
- getDevEndpoints(args, optionsOrCb, cb) {
1322
- const command = new GetDevEndpointsCommand(args);
1327
+ };
1328
+ Glue.prototype.getDevEndpoints = function (args, optionsOrCb, cb) {
1329
+ var command = new GetDevEndpointsCommand(args);
1323
1330
  if (typeof optionsOrCb === "function") {
1324
1331
  this.send(command, optionsOrCb);
1325
1332
  }
1326
1333
  else if (typeof cb === "function") {
1327
1334
  if (typeof optionsOrCb !== "object")
1328
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1335
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1329
1336
  this.send(command, optionsOrCb || {}, cb);
1330
1337
  }
1331
1338
  else {
1332
1339
  return this.send(command, optionsOrCb);
1333
1340
  }
1334
- }
1335
- getJob(args, optionsOrCb, cb) {
1336
- const command = new GetJobCommand(args);
1341
+ };
1342
+ Glue.prototype.getJob = function (args, optionsOrCb, cb) {
1343
+ var command = new GetJobCommand(args);
1337
1344
  if (typeof optionsOrCb === "function") {
1338
1345
  this.send(command, optionsOrCb);
1339
1346
  }
1340
1347
  else if (typeof cb === "function") {
1341
1348
  if (typeof optionsOrCb !== "object")
1342
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1349
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1343
1350
  this.send(command, optionsOrCb || {}, cb);
1344
1351
  }
1345
1352
  else {
1346
1353
  return this.send(command, optionsOrCb);
1347
1354
  }
1348
- }
1349
- getJobBookmark(args, optionsOrCb, cb) {
1350
- const command = new GetJobBookmarkCommand(args);
1355
+ };
1356
+ Glue.prototype.getJobBookmark = function (args, optionsOrCb, cb) {
1357
+ var command = new GetJobBookmarkCommand(args);
1351
1358
  if (typeof optionsOrCb === "function") {
1352
1359
  this.send(command, optionsOrCb);
1353
1360
  }
1354
1361
  else if (typeof cb === "function") {
1355
1362
  if (typeof optionsOrCb !== "object")
1356
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1363
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1357
1364
  this.send(command, optionsOrCb || {}, cb);
1358
1365
  }
1359
1366
  else {
1360
1367
  return this.send(command, optionsOrCb);
1361
1368
  }
1362
- }
1363
- getJobRun(args, optionsOrCb, cb) {
1364
- const command = new GetJobRunCommand(args);
1369
+ };
1370
+ Glue.prototype.getJobRun = function (args, optionsOrCb, cb) {
1371
+ var command = new GetJobRunCommand(args);
1365
1372
  if (typeof optionsOrCb === "function") {
1366
1373
  this.send(command, optionsOrCb);
1367
1374
  }
1368
1375
  else if (typeof cb === "function") {
1369
1376
  if (typeof optionsOrCb !== "object")
1370
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1377
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1371
1378
  this.send(command, optionsOrCb || {}, cb);
1372
1379
  }
1373
1380
  else {
1374
1381
  return this.send(command, optionsOrCb);
1375
1382
  }
1376
- }
1377
- getJobRuns(args, optionsOrCb, cb) {
1378
- const command = new GetJobRunsCommand(args);
1383
+ };
1384
+ Glue.prototype.getJobRuns = function (args, optionsOrCb, cb) {
1385
+ var command = new GetJobRunsCommand(args);
1379
1386
  if (typeof optionsOrCb === "function") {
1380
1387
  this.send(command, optionsOrCb);
1381
1388
  }
1382
1389
  else if (typeof cb === "function") {
1383
1390
  if (typeof optionsOrCb !== "object")
1384
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1391
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1385
1392
  this.send(command, optionsOrCb || {}, cb);
1386
1393
  }
1387
1394
  else {
1388
1395
  return this.send(command, optionsOrCb);
1389
1396
  }
1390
- }
1391
- getJobs(args, optionsOrCb, cb) {
1392
- const command = new GetJobsCommand(args);
1397
+ };
1398
+ Glue.prototype.getJobs = function (args, optionsOrCb, cb) {
1399
+ var command = new GetJobsCommand(args);
1393
1400
  if (typeof optionsOrCb === "function") {
1394
1401
  this.send(command, optionsOrCb);
1395
1402
  }
1396
1403
  else if (typeof cb === "function") {
1397
1404
  if (typeof optionsOrCb !== "object")
1398
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1405
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1399
1406
  this.send(command, optionsOrCb || {}, cb);
1400
1407
  }
1401
1408
  else {
1402
1409
  return this.send(command, optionsOrCb);
1403
1410
  }
1404
- }
1405
- getMapping(args, optionsOrCb, cb) {
1406
- const command = new GetMappingCommand(args);
1411
+ };
1412
+ Glue.prototype.getMapping = function (args, optionsOrCb, cb) {
1413
+ var command = new GetMappingCommand(args);
1407
1414
  if (typeof optionsOrCb === "function") {
1408
1415
  this.send(command, optionsOrCb);
1409
1416
  }
1410
1417
  else if (typeof cb === "function") {
1411
1418
  if (typeof optionsOrCb !== "object")
1412
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1419
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1413
1420
  this.send(command, optionsOrCb || {}, cb);
1414
1421
  }
1415
1422
  else {
1416
1423
  return this.send(command, optionsOrCb);
1417
1424
  }
1418
- }
1419
- getMLTaskRun(args, optionsOrCb, cb) {
1420
- const command = new GetMLTaskRunCommand(args);
1425
+ };
1426
+ Glue.prototype.getMLTaskRun = function (args, optionsOrCb, cb) {
1427
+ var command = new GetMLTaskRunCommand(args);
1421
1428
  if (typeof optionsOrCb === "function") {
1422
1429
  this.send(command, optionsOrCb);
1423
1430
  }
1424
1431
  else if (typeof cb === "function") {
1425
1432
  if (typeof optionsOrCb !== "object")
1426
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1433
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1427
1434
  this.send(command, optionsOrCb || {}, cb);
1428
1435
  }
1429
1436
  else {
1430
1437
  return this.send(command, optionsOrCb);
1431
1438
  }
1432
- }
1433
- getMLTaskRuns(args, optionsOrCb, cb) {
1434
- const command = new GetMLTaskRunsCommand(args);
1439
+ };
1440
+ Glue.prototype.getMLTaskRuns = function (args, optionsOrCb, cb) {
1441
+ var command = new GetMLTaskRunsCommand(args);
1435
1442
  if (typeof optionsOrCb === "function") {
1436
1443
  this.send(command, optionsOrCb);
1437
1444
  }
1438
1445
  else if (typeof cb === "function") {
1439
1446
  if (typeof optionsOrCb !== "object")
1440
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1447
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1441
1448
  this.send(command, optionsOrCb || {}, cb);
1442
1449
  }
1443
1450
  else {
1444
1451
  return this.send(command, optionsOrCb);
1445
1452
  }
1446
- }
1447
- getMLTransform(args, optionsOrCb, cb) {
1448
- const command = new GetMLTransformCommand(args);
1453
+ };
1454
+ Glue.prototype.getMLTransform = function (args, optionsOrCb, cb) {
1455
+ var command = new GetMLTransformCommand(args);
1449
1456
  if (typeof optionsOrCb === "function") {
1450
1457
  this.send(command, optionsOrCb);
1451
1458
  }
1452
1459
  else if (typeof cb === "function") {
1453
1460
  if (typeof optionsOrCb !== "object")
1454
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1461
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1455
1462
  this.send(command, optionsOrCb || {}, cb);
1456
1463
  }
1457
1464
  else {
1458
1465
  return this.send(command, optionsOrCb);
1459
1466
  }
1460
- }
1461
- getMLTransforms(args, optionsOrCb, cb) {
1462
- const command = new GetMLTransformsCommand(args);
1467
+ };
1468
+ Glue.prototype.getMLTransforms = function (args, optionsOrCb, cb) {
1469
+ var command = new GetMLTransformsCommand(args);
1463
1470
  if (typeof optionsOrCb === "function") {
1464
1471
  this.send(command, optionsOrCb);
1465
1472
  }
1466
1473
  else if (typeof cb === "function") {
1467
1474
  if (typeof optionsOrCb !== "object")
1468
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1475
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1469
1476
  this.send(command, optionsOrCb || {}, cb);
1470
1477
  }
1471
1478
  else {
1472
1479
  return this.send(command, optionsOrCb);
1473
1480
  }
1474
- }
1475
- getPartition(args, optionsOrCb, cb) {
1476
- const command = new GetPartitionCommand(args);
1481
+ };
1482
+ Glue.prototype.getPartition = function (args, optionsOrCb, cb) {
1483
+ var command = new GetPartitionCommand(args);
1477
1484
  if (typeof optionsOrCb === "function") {
1478
1485
  this.send(command, optionsOrCb);
1479
1486
  }
1480
1487
  else if (typeof cb === "function") {
1481
1488
  if (typeof optionsOrCb !== "object")
1482
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1489
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1483
1490
  this.send(command, optionsOrCb || {}, cb);
1484
1491
  }
1485
1492
  else {
1486
1493
  return this.send(command, optionsOrCb);
1487
1494
  }
1488
- }
1489
- getPartitionIndexes(args, optionsOrCb, cb) {
1490
- const command = new GetPartitionIndexesCommand(args);
1495
+ };
1496
+ Glue.prototype.getPartitionIndexes = function (args, optionsOrCb, cb) {
1497
+ var command = new GetPartitionIndexesCommand(args);
1491
1498
  if (typeof optionsOrCb === "function") {
1492
1499
  this.send(command, optionsOrCb);
1493
1500
  }
1494
1501
  else if (typeof cb === "function") {
1495
1502
  if (typeof optionsOrCb !== "object")
1496
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1503
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1497
1504
  this.send(command, optionsOrCb || {}, cb);
1498
1505
  }
1499
1506
  else {
1500
1507
  return this.send(command, optionsOrCb);
1501
1508
  }
1502
- }
1503
- getPartitions(args, optionsOrCb, cb) {
1504
- const command = new GetPartitionsCommand(args);
1509
+ };
1510
+ Glue.prototype.getPartitions = function (args, optionsOrCb, cb) {
1511
+ var command = new GetPartitionsCommand(args);
1505
1512
  if (typeof optionsOrCb === "function") {
1506
1513
  this.send(command, optionsOrCb);
1507
1514
  }
1508
1515
  else if (typeof cb === "function") {
1509
1516
  if (typeof optionsOrCb !== "object")
1510
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1517
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1511
1518
  this.send(command, optionsOrCb || {}, cb);
1512
1519
  }
1513
1520
  else {
1514
1521
  return this.send(command, optionsOrCb);
1515
1522
  }
1516
- }
1517
- getPlan(args, optionsOrCb, cb) {
1518
- const command = new GetPlanCommand(args);
1523
+ };
1524
+ Glue.prototype.getPlan = function (args, optionsOrCb, cb) {
1525
+ var command = new GetPlanCommand(args);
1519
1526
  if (typeof optionsOrCb === "function") {
1520
1527
  this.send(command, optionsOrCb);
1521
1528
  }
1522
1529
  else if (typeof cb === "function") {
1523
1530
  if (typeof optionsOrCb !== "object")
1524
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1531
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1525
1532
  this.send(command, optionsOrCb || {}, cb);
1526
1533
  }
1527
1534
  else {
1528
1535
  return this.send(command, optionsOrCb);
1529
1536
  }
1530
- }
1531
- getRegistry(args, optionsOrCb, cb) {
1532
- const command = new GetRegistryCommand(args);
1537
+ };
1538
+ Glue.prototype.getRegistry = function (args, optionsOrCb, cb) {
1539
+ var command = new GetRegistryCommand(args);
1533
1540
  if (typeof optionsOrCb === "function") {
1534
1541
  this.send(command, optionsOrCb);
1535
1542
  }
1536
1543
  else if (typeof cb === "function") {
1537
1544
  if (typeof optionsOrCb !== "object")
1538
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1545
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1539
1546
  this.send(command, optionsOrCb || {}, cb);
1540
1547
  }
1541
1548
  else {
1542
1549
  return this.send(command, optionsOrCb);
1543
1550
  }
1544
- }
1545
- getResourcePolicies(args, optionsOrCb, cb) {
1546
- const command = new GetResourcePoliciesCommand(args);
1551
+ };
1552
+ Glue.prototype.getResourcePolicies = function (args, optionsOrCb, cb) {
1553
+ var command = new GetResourcePoliciesCommand(args);
1547
1554
  if (typeof optionsOrCb === "function") {
1548
1555
  this.send(command, optionsOrCb);
1549
1556
  }
1550
1557
  else if (typeof cb === "function") {
1551
1558
  if (typeof optionsOrCb !== "object")
1552
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1559
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1553
1560
  this.send(command, optionsOrCb || {}, cb);
1554
1561
  }
1555
1562
  else {
1556
1563
  return this.send(command, optionsOrCb);
1557
1564
  }
1558
- }
1559
- getResourcePolicy(args, optionsOrCb, cb) {
1560
- const command = new GetResourcePolicyCommand(args);
1565
+ };
1566
+ Glue.prototype.getResourcePolicy = function (args, optionsOrCb, cb) {
1567
+ var command = new GetResourcePolicyCommand(args);
1561
1568
  if (typeof optionsOrCb === "function") {
1562
1569
  this.send(command, optionsOrCb);
1563
1570
  }
1564
1571
  else if (typeof cb === "function") {
1565
1572
  if (typeof optionsOrCb !== "object")
1566
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1573
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1567
1574
  this.send(command, optionsOrCb || {}, cb);
1568
1575
  }
1569
1576
  else {
1570
1577
  return this.send(command, optionsOrCb);
1571
1578
  }
1572
- }
1573
- getSchema(args, optionsOrCb, cb) {
1574
- const command = new GetSchemaCommand(args);
1579
+ };
1580
+ Glue.prototype.getSchema = function (args, optionsOrCb, cb) {
1581
+ var command = new GetSchemaCommand(args);
1575
1582
  if (typeof optionsOrCb === "function") {
1576
1583
  this.send(command, optionsOrCb);
1577
1584
  }
1578
1585
  else if (typeof cb === "function") {
1579
1586
  if (typeof optionsOrCb !== "object")
1580
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1587
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1581
1588
  this.send(command, optionsOrCb || {}, cb);
1582
1589
  }
1583
1590
  else {
1584
1591
  return this.send(command, optionsOrCb);
1585
1592
  }
1586
- }
1587
- getSchemaByDefinition(args, optionsOrCb, cb) {
1588
- const command = new GetSchemaByDefinitionCommand(args);
1593
+ };
1594
+ Glue.prototype.getSchemaByDefinition = function (args, optionsOrCb, cb) {
1595
+ var command = new GetSchemaByDefinitionCommand(args);
1589
1596
  if (typeof optionsOrCb === "function") {
1590
1597
  this.send(command, optionsOrCb);
1591
1598
  }
1592
1599
  else if (typeof cb === "function") {
1593
1600
  if (typeof optionsOrCb !== "object")
1594
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1601
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1595
1602
  this.send(command, optionsOrCb || {}, cb);
1596
1603
  }
1597
1604
  else {
1598
1605
  return this.send(command, optionsOrCb);
1599
1606
  }
1600
- }
1601
- getSchemaVersion(args, optionsOrCb, cb) {
1602
- const command = new GetSchemaVersionCommand(args);
1607
+ };
1608
+ Glue.prototype.getSchemaVersion = function (args, optionsOrCb, cb) {
1609
+ var command = new GetSchemaVersionCommand(args);
1603
1610
  if (typeof optionsOrCb === "function") {
1604
1611
  this.send(command, optionsOrCb);
1605
1612
  }
1606
1613
  else if (typeof cb === "function") {
1607
1614
  if (typeof optionsOrCb !== "object")
1608
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1615
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1609
1616
  this.send(command, optionsOrCb || {}, cb);
1610
1617
  }
1611
1618
  else {
1612
1619
  return this.send(command, optionsOrCb);
1613
1620
  }
1614
- }
1615
- getSchemaVersionsDiff(args, optionsOrCb, cb) {
1616
- const command = new GetSchemaVersionsDiffCommand(args);
1621
+ };
1622
+ Glue.prototype.getSchemaVersionsDiff = function (args, optionsOrCb, cb) {
1623
+ var command = new GetSchemaVersionsDiffCommand(args);
1617
1624
  if (typeof optionsOrCb === "function") {
1618
1625
  this.send(command, optionsOrCb);
1619
1626
  }
1620
1627
  else if (typeof cb === "function") {
1621
1628
  if (typeof optionsOrCb !== "object")
1622
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1629
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1623
1630
  this.send(command, optionsOrCb || {}, cb);
1624
1631
  }
1625
1632
  else {
1626
1633
  return this.send(command, optionsOrCb);
1627
1634
  }
1628
- }
1629
- getSecurityConfiguration(args, optionsOrCb, cb) {
1630
- const command = new GetSecurityConfigurationCommand(args);
1635
+ };
1636
+ Glue.prototype.getSecurityConfiguration = function (args, optionsOrCb, cb) {
1637
+ var command = new GetSecurityConfigurationCommand(args);
1631
1638
  if (typeof optionsOrCb === "function") {
1632
1639
  this.send(command, optionsOrCb);
1633
1640
  }
1634
1641
  else if (typeof cb === "function") {
1635
1642
  if (typeof optionsOrCb !== "object")
1636
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1643
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1637
1644
  this.send(command, optionsOrCb || {}, cb);
1638
1645
  }
1639
1646
  else {
1640
1647
  return this.send(command, optionsOrCb);
1641
1648
  }
1642
- }
1643
- getSecurityConfigurations(args, optionsOrCb, cb) {
1644
- const command = new GetSecurityConfigurationsCommand(args);
1649
+ };
1650
+ Glue.prototype.getSecurityConfigurations = function (args, optionsOrCb, cb) {
1651
+ var command = new GetSecurityConfigurationsCommand(args);
1645
1652
  if (typeof optionsOrCb === "function") {
1646
1653
  this.send(command, optionsOrCb);
1647
1654
  }
1648
1655
  else if (typeof cb === "function") {
1649
1656
  if (typeof optionsOrCb !== "object")
1650
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1657
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1651
1658
  this.send(command, optionsOrCb || {}, cb);
1652
1659
  }
1653
1660
  else {
1654
1661
  return this.send(command, optionsOrCb);
1655
1662
  }
1656
- }
1657
- getSession(args, optionsOrCb, cb) {
1658
- const command = new GetSessionCommand(args);
1663
+ };
1664
+ Glue.prototype.getSession = function (args, optionsOrCb, cb) {
1665
+ var command = new GetSessionCommand(args);
1659
1666
  if (typeof optionsOrCb === "function") {
1660
1667
  this.send(command, optionsOrCb);
1661
1668
  }
1662
1669
  else if (typeof cb === "function") {
1663
1670
  if (typeof optionsOrCb !== "object")
1664
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1671
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1665
1672
  this.send(command, optionsOrCb || {}, cb);
1666
1673
  }
1667
1674
  else {
1668
1675
  return this.send(command, optionsOrCb);
1669
1676
  }
1670
- }
1671
- getStatement(args, optionsOrCb, cb) {
1672
- const command = new GetStatementCommand(args);
1677
+ };
1678
+ Glue.prototype.getStatement = function (args, optionsOrCb, cb) {
1679
+ var command = new GetStatementCommand(args);
1673
1680
  if (typeof optionsOrCb === "function") {
1674
1681
  this.send(command, optionsOrCb);
1675
1682
  }
1676
1683
  else if (typeof cb === "function") {
1677
1684
  if (typeof optionsOrCb !== "object")
1678
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1685
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1679
1686
  this.send(command, optionsOrCb || {}, cb);
1680
1687
  }
1681
1688
  else {
1682
1689
  return this.send(command, optionsOrCb);
1683
1690
  }
1684
- }
1685
- getTable(args, optionsOrCb, cb) {
1686
- const command = new GetTableCommand(args);
1691
+ };
1692
+ Glue.prototype.getTable = function (args, optionsOrCb, cb) {
1693
+ var command = new GetTableCommand(args);
1687
1694
  if (typeof optionsOrCb === "function") {
1688
1695
  this.send(command, optionsOrCb);
1689
1696
  }
1690
1697
  else if (typeof cb === "function") {
1691
1698
  if (typeof optionsOrCb !== "object")
1692
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1699
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1693
1700
  this.send(command, optionsOrCb || {}, cb);
1694
1701
  }
1695
1702
  else {
1696
1703
  return this.send(command, optionsOrCb);
1697
1704
  }
1698
- }
1699
- getTables(args, optionsOrCb, cb) {
1700
- const command = new GetTablesCommand(args);
1705
+ };
1706
+ Glue.prototype.getTables = function (args, optionsOrCb, cb) {
1707
+ var command = new GetTablesCommand(args);
1701
1708
  if (typeof optionsOrCb === "function") {
1702
1709
  this.send(command, optionsOrCb);
1703
1710
  }
1704
1711
  else if (typeof cb === "function") {
1705
1712
  if (typeof optionsOrCb !== "object")
1706
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1713
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1707
1714
  this.send(command, optionsOrCb || {}, cb);
1708
1715
  }
1709
1716
  else {
1710
1717
  return this.send(command, optionsOrCb);
1711
1718
  }
1712
- }
1713
- getTableVersion(args, optionsOrCb, cb) {
1714
- const command = new GetTableVersionCommand(args);
1719
+ };
1720
+ Glue.prototype.getTableVersion = function (args, optionsOrCb, cb) {
1721
+ var command = new GetTableVersionCommand(args);
1715
1722
  if (typeof optionsOrCb === "function") {
1716
1723
  this.send(command, optionsOrCb);
1717
1724
  }
1718
1725
  else if (typeof cb === "function") {
1719
1726
  if (typeof optionsOrCb !== "object")
1720
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1727
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1721
1728
  this.send(command, optionsOrCb || {}, cb);
1722
1729
  }
1723
1730
  else {
1724
1731
  return this.send(command, optionsOrCb);
1725
1732
  }
1726
- }
1727
- getTableVersions(args, optionsOrCb, cb) {
1728
- const command = new GetTableVersionsCommand(args);
1733
+ };
1734
+ Glue.prototype.getTableVersions = function (args, optionsOrCb, cb) {
1735
+ var command = new GetTableVersionsCommand(args);
1729
1736
  if (typeof optionsOrCb === "function") {
1730
1737
  this.send(command, optionsOrCb);
1731
1738
  }
1732
1739
  else if (typeof cb === "function") {
1733
1740
  if (typeof optionsOrCb !== "object")
1734
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1741
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1735
1742
  this.send(command, optionsOrCb || {}, cb);
1736
1743
  }
1737
1744
  else {
1738
1745
  return this.send(command, optionsOrCb);
1739
1746
  }
1740
- }
1741
- getTags(args, optionsOrCb, cb) {
1742
- const command = new GetTagsCommand(args);
1747
+ };
1748
+ Glue.prototype.getTags = function (args, optionsOrCb, cb) {
1749
+ var command = new GetTagsCommand(args);
1743
1750
  if (typeof optionsOrCb === "function") {
1744
1751
  this.send(command, optionsOrCb);
1745
1752
  }
1746
1753
  else if (typeof cb === "function") {
1747
1754
  if (typeof optionsOrCb !== "object")
1748
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1755
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1749
1756
  this.send(command, optionsOrCb || {}, cb);
1750
1757
  }
1751
1758
  else {
1752
1759
  return this.send(command, optionsOrCb);
1753
1760
  }
1754
- }
1755
- getTrigger(args, optionsOrCb, cb) {
1756
- const command = new GetTriggerCommand(args);
1761
+ };
1762
+ Glue.prototype.getTrigger = function (args, optionsOrCb, cb) {
1763
+ var command = new GetTriggerCommand(args);
1757
1764
  if (typeof optionsOrCb === "function") {
1758
1765
  this.send(command, optionsOrCb);
1759
1766
  }
1760
1767
  else if (typeof cb === "function") {
1761
1768
  if (typeof optionsOrCb !== "object")
1762
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1769
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1763
1770
  this.send(command, optionsOrCb || {}, cb);
1764
1771
  }
1765
1772
  else {
1766
1773
  return this.send(command, optionsOrCb);
1767
1774
  }
1768
- }
1769
- getTriggers(args, optionsOrCb, cb) {
1770
- const command = new GetTriggersCommand(args);
1775
+ };
1776
+ Glue.prototype.getTriggers = function (args, optionsOrCb, cb) {
1777
+ var command = new GetTriggersCommand(args);
1771
1778
  if (typeof optionsOrCb === "function") {
1772
1779
  this.send(command, optionsOrCb);
1773
1780
  }
1774
1781
  else if (typeof cb === "function") {
1775
1782
  if (typeof optionsOrCb !== "object")
1776
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1783
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1777
1784
  this.send(command, optionsOrCb || {}, cb);
1778
1785
  }
1779
1786
  else {
1780
1787
  return this.send(command, optionsOrCb);
1781
1788
  }
1782
- }
1783
- getUnfilteredPartitionMetadata(args, optionsOrCb, cb) {
1784
- const command = new GetUnfilteredPartitionMetadataCommand(args);
1789
+ };
1790
+ Glue.prototype.getUnfilteredPartitionMetadata = function (args, optionsOrCb, cb) {
1791
+ var command = new GetUnfilteredPartitionMetadataCommand(args);
1785
1792
  if (typeof optionsOrCb === "function") {
1786
1793
  this.send(command, optionsOrCb);
1787
1794
  }
1788
1795
  else if (typeof cb === "function") {
1789
1796
  if (typeof optionsOrCb !== "object")
1790
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1797
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1791
1798
  this.send(command, optionsOrCb || {}, cb);
1792
1799
  }
1793
1800
  else {
1794
1801
  return this.send(command, optionsOrCb);
1795
1802
  }
1796
- }
1797
- getUnfilteredPartitionsMetadata(args, optionsOrCb, cb) {
1798
- const command = new GetUnfilteredPartitionsMetadataCommand(args);
1803
+ };
1804
+ Glue.prototype.getUnfilteredPartitionsMetadata = function (args, optionsOrCb, cb) {
1805
+ var command = new GetUnfilteredPartitionsMetadataCommand(args);
1799
1806
  if (typeof optionsOrCb === "function") {
1800
1807
  this.send(command, optionsOrCb);
1801
1808
  }
1802
1809
  else if (typeof cb === "function") {
1803
1810
  if (typeof optionsOrCb !== "object")
1804
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1811
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1805
1812
  this.send(command, optionsOrCb || {}, cb);
1806
1813
  }
1807
1814
  else {
1808
1815
  return this.send(command, optionsOrCb);
1809
1816
  }
1810
- }
1811
- getUnfilteredTableMetadata(args, optionsOrCb, cb) {
1812
- const command = new GetUnfilteredTableMetadataCommand(args);
1817
+ };
1818
+ Glue.prototype.getUnfilteredTableMetadata = function (args, optionsOrCb, cb) {
1819
+ var command = new GetUnfilteredTableMetadataCommand(args);
1813
1820
  if (typeof optionsOrCb === "function") {
1814
1821
  this.send(command, optionsOrCb);
1815
1822
  }
1816
1823
  else if (typeof cb === "function") {
1817
1824
  if (typeof optionsOrCb !== "object")
1818
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1825
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1819
1826
  this.send(command, optionsOrCb || {}, cb);
1820
1827
  }
1821
1828
  else {
1822
1829
  return this.send(command, optionsOrCb);
1823
1830
  }
1824
- }
1825
- getUserDefinedFunction(args, optionsOrCb, cb) {
1826
- const command = new GetUserDefinedFunctionCommand(args);
1831
+ };
1832
+ Glue.prototype.getUserDefinedFunction = function (args, optionsOrCb, cb) {
1833
+ var command = new GetUserDefinedFunctionCommand(args);
1827
1834
  if (typeof optionsOrCb === "function") {
1828
1835
  this.send(command, optionsOrCb);
1829
1836
  }
1830
1837
  else if (typeof cb === "function") {
1831
1838
  if (typeof optionsOrCb !== "object")
1832
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1839
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1833
1840
  this.send(command, optionsOrCb || {}, cb);
1834
1841
  }
1835
1842
  else {
1836
1843
  return this.send(command, optionsOrCb);
1837
1844
  }
1838
- }
1839
- getUserDefinedFunctions(args, optionsOrCb, cb) {
1840
- const command = new GetUserDefinedFunctionsCommand(args);
1845
+ };
1846
+ Glue.prototype.getUserDefinedFunctions = function (args, optionsOrCb, cb) {
1847
+ var command = new GetUserDefinedFunctionsCommand(args);
1841
1848
  if (typeof optionsOrCb === "function") {
1842
1849
  this.send(command, optionsOrCb);
1843
1850
  }
1844
1851
  else if (typeof cb === "function") {
1845
1852
  if (typeof optionsOrCb !== "object")
1846
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1853
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1847
1854
  this.send(command, optionsOrCb || {}, cb);
1848
1855
  }
1849
1856
  else {
1850
1857
  return this.send(command, optionsOrCb);
1851
1858
  }
1852
- }
1853
- getWorkflow(args, optionsOrCb, cb) {
1854
- const command = new GetWorkflowCommand(args);
1859
+ };
1860
+ Glue.prototype.getWorkflow = function (args, optionsOrCb, cb) {
1861
+ var command = new GetWorkflowCommand(args);
1855
1862
  if (typeof optionsOrCb === "function") {
1856
1863
  this.send(command, optionsOrCb);
1857
1864
  }
1858
1865
  else if (typeof cb === "function") {
1859
1866
  if (typeof optionsOrCb !== "object")
1860
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1867
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1861
1868
  this.send(command, optionsOrCb || {}, cb);
1862
1869
  }
1863
1870
  else {
1864
1871
  return this.send(command, optionsOrCb);
1865
1872
  }
1866
- }
1867
- getWorkflowRun(args, optionsOrCb, cb) {
1868
- const command = new GetWorkflowRunCommand(args);
1873
+ };
1874
+ Glue.prototype.getWorkflowRun = function (args, optionsOrCb, cb) {
1875
+ var command = new GetWorkflowRunCommand(args);
1869
1876
  if (typeof optionsOrCb === "function") {
1870
1877
  this.send(command, optionsOrCb);
1871
1878
  }
1872
1879
  else if (typeof cb === "function") {
1873
1880
  if (typeof optionsOrCb !== "object")
1874
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1881
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1875
1882
  this.send(command, optionsOrCb || {}, cb);
1876
1883
  }
1877
1884
  else {
1878
1885
  return this.send(command, optionsOrCb);
1879
1886
  }
1880
- }
1881
- getWorkflowRunProperties(args, optionsOrCb, cb) {
1882
- const command = new GetWorkflowRunPropertiesCommand(args);
1887
+ };
1888
+ Glue.prototype.getWorkflowRunProperties = function (args, optionsOrCb, cb) {
1889
+ var command = new GetWorkflowRunPropertiesCommand(args);
1883
1890
  if (typeof optionsOrCb === "function") {
1884
1891
  this.send(command, optionsOrCb);
1885
1892
  }
1886
1893
  else if (typeof cb === "function") {
1887
1894
  if (typeof optionsOrCb !== "object")
1888
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1895
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1889
1896
  this.send(command, optionsOrCb || {}, cb);
1890
1897
  }
1891
1898
  else {
1892
1899
  return this.send(command, optionsOrCb);
1893
1900
  }
1894
- }
1895
- getWorkflowRuns(args, optionsOrCb, cb) {
1896
- const command = new GetWorkflowRunsCommand(args);
1901
+ };
1902
+ Glue.prototype.getWorkflowRuns = function (args, optionsOrCb, cb) {
1903
+ var command = new GetWorkflowRunsCommand(args);
1897
1904
  if (typeof optionsOrCb === "function") {
1898
1905
  this.send(command, optionsOrCb);
1899
1906
  }
1900
1907
  else if (typeof cb === "function") {
1901
1908
  if (typeof optionsOrCb !== "object")
1902
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1909
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1903
1910
  this.send(command, optionsOrCb || {}, cb);
1904
1911
  }
1905
1912
  else {
1906
1913
  return this.send(command, optionsOrCb);
1907
1914
  }
1908
- }
1909
- importCatalogToGlue(args, optionsOrCb, cb) {
1910
- const command = new ImportCatalogToGlueCommand(args);
1915
+ };
1916
+ Glue.prototype.importCatalogToGlue = function (args, optionsOrCb, cb) {
1917
+ var command = new ImportCatalogToGlueCommand(args);
1911
1918
  if (typeof optionsOrCb === "function") {
1912
1919
  this.send(command, optionsOrCb);
1913
1920
  }
1914
1921
  else if (typeof cb === "function") {
1915
1922
  if (typeof optionsOrCb !== "object")
1916
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1923
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1917
1924
  this.send(command, optionsOrCb || {}, cb);
1918
1925
  }
1919
1926
  else {
1920
1927
  return this.send(command, optionsOrCb);
1921
1928
  }
1922
- }
1923
- listBlueprints(args, optionsOrCb, cb) {
1924
- const command = new ListBlueprintsCommand(args);
1929
+ };
1930
+ Glue.prototype.listBlueprints = function (args, optionsOrCb, cb) {
1931
+ var command = new ListBlueprintsCommand(args);
1925
1932
  if (typeof optionsOrCb === "function") {
1926
1933
  this.send(command, optionsOrCb);
1927
1934
  }
1928
1935
  else if (typeof cb === "function") {
1929
1936
  if (typeof optionsOrCb !== "object")
1930
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1937
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1931
1938
  this.send(command, optionsOrCb || {}, cb);
1932
1939
  }
1933
1940
  else {
1934
1941
  return this.send(command, optionsOrCb);
1935
1942
  }
1936
- }
1937
- listCrawlers(args, optionsOrCb, cb) {
1938
- const command = new ListCrawlersCommand(args);
1943
+ };
1944
+ Glue.prototype.listCrawlers = function (args, optionsOrCb, cb) {
1945
+ var command = new ListCrawlersCommand(args);
1939
1946
  if (typeof optionsOrCb === "function") {
1940
1947
  this.send(command, optionsOrCb);
1941
1948
  }
1942
1949
  else if (typeof cb === "function") {
1943
1950
  if (typeof optionsOrCb !== "object")
1944
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1951
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1945
1952
  this.send(command, optionsOrCb || {}, cb);
1946
1953
  }
1947
1954
  else {
1948
1955
  return this.send(command, optionsOrCb);
1949
1956
  }
1950
- }
1951
- listCrawls(args, optionsOrCb, cb) {
1952
- const command = new ListCrawlsCommand(args);
1957
+ };
1958
+ Glue.prototype.listCrawls = function (args, optionsOrCb, cb) {
1959
+ var command = new ListCrawlsCommand(args);
1953
1960
  if (typeof optionsOrCb === "function") {
1954
1961
  this.send(command, optionsOrCb);
1955
1962
  }
1956
1963
  else if (typeof cb === "function") {
1957
1964
  if (typeof optionsOrCb !== "object")
1958
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1965
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1959
1966
  this.send(command, optionsOrCb || {}, cb);
1960
1967
  }
1961
1968
  else {
1962
1969
  return this.send(command, optionsOrCb);
1963
1970
  }
1964
- }
1965
- listCustomEntityTypes(args, optionsOrCb, cb) {
1966
- const command = new ListCustomEntityTypesCommand(args);
1971
+ };
1972
+ Glue.prototype.listCustomEntityTypes = function (args, optionsOrCb, cb) {
1973
+ var command = new ListCustomEntityTypesCommand(args);
1967
1974
  if (typeof optionsOrCb === "function") {
1968
1975
  this.send(command, optionsOrCb);
1969
1976
  }
1970
1977
  else if (typeof cb === "function") {
1971
1978
  if (typeof optionsOrCb !== "object")
1972
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1979
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1973
1980
  this.send(command, optionsOrCb || {}, cb);
1974
1981
  }
1975
1982
  else {
1976
1983
  return this.send(command, optionsOrCb);
1977
1984
  }
1978
- }
1979
- listDevEndpoints(args, optionsOrCb, cb) {
1980
- const command = new ListDevEndpointsCommand(args);
1985
+ };
1986
+ Glue.prototype.listDevEndpoints = function (args, optionsOrCb, cb) {
1987
+ var command = new ListDevEndpointsCommand(args);
1981
1988
  if (typeof optionsOrCb === "function") {
1982
1989
  this.send(command, optionsOrCb);
1983
1990
  }
1984
1991
  else if (typeof cb === "function") {
1985
1992
  if (typeof optionsOrCb !== "object")
1986
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1993
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1987
1994
  this.send(command, optionsOrCb || {}, cb);
1988
1995
  }
1989
1996
  else {
1990
1997
  return this.send(command, optionsOrCb);
1991
1998
  }
1992
- }
1993
- listJobs(args, optionsOrCb, cb) {
1994
- const command = new ListJobsCommand(args);
1999
+ };
2000
+ Glue.prototype.listJobs = function (args, optionsOrCb, cb) {
2001
+ var command = new ListJobsCommand(args);
1995
2002
  if (typeof optionsOrCb === "function") {
1996
2003
  this.send(command, optionsOrCb);
1997
2004
  }
1998
2005
  else if (typeof cb === "function") {
1999
2006
  if (typeof optionsOrCb !== "object")
2000
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2007
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2001
2008
  this.send(command, optionsOrCb || {}, cb);
2002
2009
  }
2003
2010
  else {
2004
2011
  return this.send(command, optionsOrCb);
2005
2012
  }
2006
- }
2007
- listMLTransforms(args, optionsOrCb, cb) {
2008
- const command = new ListMLTransformsCommand(args);
2013
+ };
2014
+ Glue.prototype.listMLTransforms = function (args, optionsOrCb, cb) {
2015
+ var command = new ListMLTransformsCommand(args);
2009
2016
  if (typeof optionsOrCb === "function") {
2010
2017
  this.send(command, optionsOrCb);
2011
2018
  }
2012
2019
  else if (typeof cb === "function") {
2013
2020
  if (typeof optionsOrCb !== "object")
2014
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2021
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2015
2022
  this.send(command, optionsOrCb || {}, cb);
2016
2023
  }
2017
2024
  else {
2018
2025
  return this.send(command, optionsOrCb);
2019
2026
  }
2020
- }
2021
- listRegistries(args, optionsOrCb, cb) {
2022
- const command = new ListRegistriesCommand(args);
2027
+ };
2028
+ Glue.prototype.listRegistries = function (args, optionsOrCb, cb) {
2029
+ var command = new ListRegistriesCommand(args);
2023
2030
  if (typeof optionsOrCb === "function") {
2024
2031
  this.send(command, optionsOrCb);
2025
2032
  }
2026
2033
  else if (typeof cb === "function") {
2027
2034
  if (typeof optionsOrCb !== "object")
2028
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2035
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2029
2036
  this.send(command, optionsOrCb || {}, cb);
2030
2037
  }
2031
2038
  else {
2032
2039
  return this.send(command, optionsOrCb);
2033
2040
  }
2034
- }
2035
- listSchemas(args, optionsOrCb, cb) {
2036
- const command = new ListSchemasCommand(args);
2041
+ };
2042
+ Glue.prototype.listSchemas = function (args, optionsOrCb, cb) {
2043
+ var command = new ListSchemasCommand(args);
2037
2044
  if (typeof optionsOrCb === "function") {
2038
2045
  this.send(command, optionsOrCb);
2039
2046
  }
2040
2047
  else if (typeof cb === "function") {
2041
2048
  if (typeof optionsOrCb !== "object")
2042
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2049
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2043
2050
  this.send(command, optionsOrCb || {}, cb);
2044
2051
  }
2045
2052
  else {
2046
2053
  return this.send(command, optionsOrCb);
2047
2054
  }
2048
- }
2049
- listSchemaVersions(args, optionsOrCb, cb) {
2050
- const command = new ListSchemaVersionsCommand(args);
2055
+ };
2056
+ Glue.prototype.listSchemaVersions = function (args, optionsOrCb, cb) {
2057
+ var command = new ListSchemaVersionsCommand(args);
2051
2058
  if (typeof optionsOrCb === "function") {
2052
2059
  this.send(command, optionsOrCb);
2053
2060
  }
2054
2061
  else if (typeof cb === "function") {
2055
2062
  if (typeof optionsOrCb !== "object")
2056
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2063
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2057
2064
  this.send(command, optionsOrCb || {}, cb);
2058
2065
  }
2059
2066
  else {
2060
2067
  return this.send(command, optionsOrCb);
2061
2068
  }
2062
- }
2063
- listSessions(args, optionsOrCb, cb) {
2064
- const command = new ListSessionsCommand(args);
2069
+ };
2070
+ Glue.prototype.listSessions = function (args, optionsOrCb, cb) {
2071
+ var command = new ListSessionsCommand(args);
2065
2072
  if (typeof optionsOrCb === "function") {
2066
2073
  this.send(command, optionsOrCb);
2067
2074
  }
2068
2075
  else if (typeof cb === "function") {
2069
2076
  if (typeof optionsOrCb !== "object")
2070
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2077
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2071
2078
  this.send(command, optionsOrCb || {}, cb);
2072
2079
  }
2073
2080
  else {
2074
2081
  return this.send(command, optionsOrCb);
2075
2082
  }
2076
- }
2077
- listStatements(args, optionsOrCb, cb) {
2078
- const command = new ListStatementsCommand(args);
2083
+ };
2084
+ Glue.prototype.listStatements = function (args, optionsOrCb, cb) {
2085
+ var command = new ListStatementsCommand(args);
2079
2086
  if (typeof optionsOrCb === "function") {
2080
2087
  this.send(command, optionsOrCb);
2081
2088
  }
2082
2089
  else if (typeof cb === "function") {
2083
2090
  if (typeof optionsOrCb !== "object")
2084
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2091
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2085
2092
  this.send(command, optionsOrCb || {}, cb);
2086
2093
  }
2087
2094
  else {
2088
2095
  return this.send(command, optionsOrCb);
2089
2096
  }
2090
- }
2091
- listTriggers(args, optionsOrCb, cb) {
2092
- const command = new ListTriggersCommand(args);
2097
+ };
2098
+ Glue.prototype.listTriggers = function (args, optionsOrCb, cb) {
2099
+ var command = new ListTriggersCommand(args);
2093
2100
  if (typeof optionsOrCb === "function") {
2094
2101
  this.send(command, optionsOrCb);
2095
2102
  }
2096
2103
  else if (typeof cb === "function") {
2097
2104
  if (typeof optionsOrCb !== "object")
2098
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2105
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2099
2106
  this.send(command, optionsOrCb || {}, cb);
2100
2107
  }
2101
2108
  else {
2102
2109
  return this.send(command, optionsOrCb);
2103
2110
  }
2104
- }
2105
- listWorkflows(args, optionsOrCb, cb) {
2106
- const command = new ListWorkflowsCommand(args);
2111
+ };
2112
+ Glue.prototype.listWorkflows = function (args, optionsOrCb, cb) {
2113
+ var command = new ListWorkflowsCommand(args);
2107
2114
  if (typeof optionsOrCb === "function") {
2108
2115
  this.send(command, optionsOrCb);
2109
2116
  }
2110
2117
  else if (typeof cb === "function") {
2111
2118
  if (typeof optionsOrCb !== "object")
2112
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2119
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2113
2120
  this.send(command, optionsOrCb || {}, cb);
2114
2121
  }
2115
2122
  else {
2116
2123
  return this.send(command, optionsOrCb);
2117
2124
  }
2118
- }
2119
- putDataCatalogEncryptionSettings(args, optionsOrCb, cb) {
2120
- const command = new PutDataCatalogEncryptionSettingsCommand(args);
2125
+ };
2126
+ Glue.prototype.putDataCatalogEncryptionSettings = function (args, optionsOrCb, cb) {
2127
+ var command = new PutDataCatalogEncryptionSettingsCommand(args);
2121
2128
  if (typeof optionsOrCb === "function") {
2122
2129
  this.send(command, optionsOrCb);
2123
2130
  }
2124
2131
  else if (typeof cb === "function") {
2125
2132
  if (typeof optionsOrCb !== "object")
2126
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2133
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2127
2134
  this.send(command, optionsOrCb || {}, cb);
2128
2135
  }
2129
2136
  else {
2130
2137
  return this.send(command, optionsOrCb);
2131
2138
  }
2132
- }
2133
- putResourcePolicy(args, optionsOrCb, cb) {
2134
- const command = new PutResourcePolicyCommand(args);
2139
+ };
2140
+ Glue.prototype.putResourcePolicy = function (args, optionsOrCb, cb) {
2141
+ var command = new PutResourcePolicyCommand(args);
2135
2142
  if (typeof optionsOrCb === "function") {
2136
2143
  this.send(command, optionsOrCb);
2137
2144
  }
2138
2145
  else if (typeof cb === "function") {
2139
2146
  if (typeof optionsOrCb !== "object")
2140
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2147
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2141
2148
  this.send(command, optionsOrCb || {}, cb);
2142
2149
  }
2143
2150
  else {
2144
2151
  return this.send(command, optionsOrCb);
2145
2152
  }
2146
- }
2147
- putSchemaVersionMetadata(args, optionsOrCb, cb) {
2148
- const command = new PutSchemaVersionMetadataCommand(args);
2153
+ };
2154
+ Glue.prototype.putSchemaVersionMetadata = function (args, optionsOrCb, cb) {
2155
+ var command = new PutSchemaVersionMetadataCommand(args);
2149
2156
  if (typeof optionsOrCb === "function") {
2150
2157
  this.send(command, optionsOrCb);
2151
2158
  }
2152
2159
  else if (typeof cb === "function") {
2153
2160
  if (typeof optionsOrCb !== "object")
2154
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2161
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2155
2162
  this.send(command, optionsOrCb || {}, cb);
2156
2163
  }
2157
2164
  else {
2158
2165
  return this.send(command, optionsOrCb);
2159
2166
  }
2160
- }
2161
- putWorkflowRunProperties(args, optionsOrCb, cb) {
2162
- const command = new PutWorkflowRunPropertiesCommand(args);
2167
+ };
2168
+ Glue.prototype.putWorkflowRunProperties = function (args, optionsOrCb, cb) {
2169
+ var command = new PutWorkflowRunPropertiesCommand(args);
2163
2170
  if (typeof optionsOrCb === "function") {
2164
2171
  this.send(command, optionsOrCb);
2165
2172
  }
2166
2173
  else if (typeof cb === "function") {
2167
2174
  if (typeof optionsOrCb !== "object")
2168
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2175
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2169
2176
  this.send(command, optionsOrCb || {}, cb);
2170
2177
  }
2171
2178
  else {
2172
2179
  return this.send(command, optionsOrCb);
2173
2180
  }
2174
- }
2175
- querySchemaVersionMetadata(args, optionsOrCb, cb) {
2176
- const command = new QuerySchemaVersionMetadataCommand(args);
2181
+ };
2182
+ Glue.prototype.querySchemaVersionMetadata = function (args, optionsOrCb, cb) {
2183
+ var command = new QuerySchemaVersionMetadataCommand(args);
2177
2184
  if (typeof optionsOrCb === "function") {
2178
2185
  this.send(command, optionsOrCb);
2179
2186
  }
2180
2187
  else if (typeof cb === "function") {
2181
2188
  if (typeof optionsOrCb !== "object")
2182
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2189
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2183
2190
  this.send(command, optionsOrCb || {}, cb);
2184
2191
  }
2185
2192
  else {
2186
2193
  return this.send(command, optionsOrCb);
2187
2194
  }
2188
- }
2189
- registerSchemaVersion(args, optionsOrCb, cb) {
2190
- const command = new RegisterSchemaVersionCommand(args);
2195
+ };
2196
+ Glue.prototype.registerSchemaVersion = function (args, optionsOrCb, cb) {
2197
+ var command = new RegisterSchemaVersionCommand(args);
2191
2198
  if (typeof optionsOrCb === "function") {
2192
2199
  this.send(command, optionsOrCb);
2193
2200
  }
2194
2201
  else if (typeof cb === "function") {
2195
2202
  if (typeof optionsOrCb !== "object")
2196
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2203
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2197
2204
  this.send(command, optionsOrCb || {}, cb);
2198
2205
  }
2199
2206
  else {
2200
2207
  return this.send(command, optionsOrCb);
2201
2208
  }
2202
- }
2203
- removeSchemaVersionMetadata(args, optionsOrCb, cb) {
2204
- const command = new RemoveSchemaVersionMetadataCommand(args);
2209
+ };
2210
+ Glue.prototype.removeSchemaVersionMetadata = function (args, optionsOrCb, cb) {
2211
+ var command = new RemoveSchemaVersionMetadataCommand(args);
2205
2212
  if (typeof optionsOrCb === "function") {
2206
2213
  this.send(command, optionsOrCb);
2207
2214
  }
2208
2215
  else if (typeof cb === "function") {
2209
2216
  if (typeof optionsOrCb !== "object")
2210
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2217
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2211
2218
  this.send(command, optionsOrCb || {}, cb);
2212
2219
  }
2213
2220
  else {
2214
2221
  return this.send(command, optionsOrCb);
2215
2222
  }
2216
- }
2217
- resetJobBookmark(args, optionsOrCb, cb) {
2218
- const command = new ResetJobBookmarkCommand(args);
2223
+ };
2224
+ Glue.prototype.resetJobBookmark = function (args, optionsOrCb, cb) {
2225
+ var command = new ResetJobBookmarkCommand(args);
2219
2226
  if (typeof optionsOrCb === "function") {
2220
2227
  this.send(command, optionsOrCb);
2221
2228
  }
2222
2229
  else if (typeof cb === "function") {
2223
2230
  if (typeof optionsOrCb !== "object")
2224
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2231
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2225
2232
  this.send(command, optionsOrCb || {}, cb);
2226
2233
  }
2227
2234
  else {
2228
2235
  return this.send(command, optionsOrCb);
2229
2236
  }
2230
- }
2231
- resumeWorkflowRun(args, optionsOrCb, cb) {
2232
- const command = new ResumeWorkflowRunCommand(args);
2237
+ };
2238
+ Glue.prototype.resumeWorkflowRun = function (args, optionsOrCb, cb) {
2239
+ var command = new ResumeWorkflowRunCommand(args);
2233
2240
  if (typeof optionsOrCb === "function") {
2234
2241
  this.send(command, optionsOrCb);
2235
2242
  }
2236
2243
  else if (typeof cb === "function") {
2237
2244
  if (typeof optionsOrCb !== "object")
2238
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2245
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2239
2246
  this.send(command, optionsOrCb || {}, cb);
2240
2247
  }
2241
2248
  else {
2242
2249
  return this.send(command, optionsOrCb);
2243
2250
  }
2244
- }
2245
- runStatement(args, optionsOrCb, cb) {
2246
- const command = new RunStatementCommand(args);
2251
+ };
2252
+ Glue.prototype.runStatement = function (args, optionsOrCb, cb) {
2253
+ var command = new RunStatementCommand(args);
2247
2254
  if (typeof optionsOrCb === "function") {
2248
2255
  this.send(command, optionsOrCb);
2249
2256
  }
2250
2257
  else if (typeof cb === "function") {
2251
2258
  if (typeof optionsOrCb !== "object")
2252
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2259
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2253
2260
  this.send(command, optionsOrCb || {}, cb);
2254
2261
  }
2255
2262
  else {
2256
2263
  return this.send(command, optionsOrCb);
2257
2264
  }
2258
- }
2259
- searchTables(args, optionsOrCb, cb) {
2260
- const command = new SearchTablesCommand(args);
2265
+ };
2266
+ Glue.prototype.searchTables = function (args, optionsOrCb, cb) {
2267
+ var command = new SearchTablesCommand(args);
2261
2268
  if (typeof optionsOrCb === "function") {
2262
2269
  this.send(command, optionsOrCb);
2263
2270
  }
2264
2271
  else if (typeof cb === "function") {
2265
2272
  if (typeof optionsOrCb !== "object")
2266
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2273
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2267
2274
  this.send(command, optionsOrCb || {}, cb);
2268
2275
  }
2269
2276
  else {
2270
2277
  return this.send(command, optionsOrCb);
2271
2278
  }
2272
- }
2273
- startBlueprintRun(args, optionsOrCb, cb) {
2274
- const command = new StartBlueprintRunCommand(args);
2279
+ };
2280
+ Glue.prototype.startBlueprintRun = function (args, optionsOrCb, cb) {
2281
+ var command = new StartBlueprintRunCommand(args);
2275
2282
  if (typeof optionsOrCb === "function") {
2276
2283
  this.send(command, optionsOrCb);
2277
2284
  }
2278
2285
  else if (typeof cb === "function") {
2279
2286
  if (typeof optionsOrCb !== "object")
2280
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2287
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2281
2288
  this.send(command, optionsOrCb || {}, cb);
2282
2289
  }
2283
2290
  else {
2284
2291
  return this.send(command, optionsOrCb);
2285
2292
  }
2286
- }
2287
- startCrawler(args, optionsOrCb, cb) {
2288
- const command = new StartCrawlerCommand(args);
2293
+ };
2294
+ Glue.prototype.startCrawler = function (args, optionsOrCb, cb) {
2295
+ var command = new StartCrawlerCommand(args);
2289
2296
  if (typeof optionsOrCb === "function") {
2290
2297
  this.send(command, optionsOrCb);
2291
2298
  }
2292
2299
  else if (typeof cb === "function") {
2293
2300
  if (typeof optionsOrCb !== "object")
2294
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2301
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2295
2302
  this.send(command, optionsOrCb || {}, cb);
2296
2303
  }
2297
2304
  else {
2298
2305
  return this.send(command, optionsOrCb);
2299
2306
  }
2300
- }
2301
- startCrawlerSchedule(args, optionsOrCb, cb) {
2302
- const command = new StartCrawlerScheduleCommand(args);
2307
+ };
2308
+ Glue.prototype.startCrawlerSchedule = function (args, optionsOrCb, cb) {
2309
+ var command = new StartCrawlerScheduleCommand(args);
2303
2310
  if (typeof optionsOrCb === "function") {
2304
2311
  this.send(command, optionsOrCb);
2305
2312
  }
2306
2313
  else if (typeof cb === "function") {
2307
2314
  if (typeof optionsOrCb !== "object")
2308
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2315
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2309
2316
  this.send(command, optionsOrCb || {}, cb);
2310
2317
  }
2311
2318
  else {
2312
2319
  return this.send(command, optionsOrCb);
2313
2320
  }
2314
- }
2315
- startExportLabelsTaskRun(args, optionsOrCb, cb) {
2316
- const command = new StartExportLabelsTaskRunCommand(args);
2321
+ };
2322
+ Glue.prototype.startExportLabelsTaskRun = function (args, optionsOrCb, cb) {
2323
+ var command = new StartExportLabelsTaskRunCommand(args);
2317
2324
  if (typeof optionsOrCb === "function") {
2318
2325
  this.send(command, optionsOrCb);
2319
2326
  }
2320
2327
  else if (typeof cb === "function") {
2321
2328
  if (typeof optionsOrCb !== "object")
2322
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2329
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2323
2330
  this.send(command, optionsOrCb || {}, cb);
2324
2331
  }
2325
2332
  else {
2326
2333
  return this.send(command, optionsOrCb);
2327
2334
  }
2328
- }
2329
- startImportLabelsTaskRun(args, optionsOrCb, cb) {
2330
- const command = new StartImportLabelsTaskRunCommand(args);
2335
+ };
2336
+ Glue.prototype.startImportLabelsTaskRun = function (args, optionsOrCb, cb) {
2337
+ var command = new StartImportLabelsTaskRunCommand(args);
2331
2338
  if (typeof optionsOrCb === "function") {
2332
2339
  this.send(command, optionsOrCb);
2333
2340
  }
2334
2341
  else if (typeof cb === "function") {
2335
2342
  if (typeof optionsOrCb !== "object")
2336
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2343
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2337
2344
  this.send(command, optionsOrCb || {}, cb);
2338
2345
  }
2339
2346
  else {
2340
2347
  return this.send(command, optionsOrCb);
2341
2348
  }
2342
- }
2343
- startJobRun(args, optionsOrCb, cb) {
2344
- const command = new StartJobRunCommand(args);
2349
+ };
2350
+ Glue.prototype.startJobRun = function (args, optionsOrCb, cb) {
2351
+ var command = new StartJobRunCommand(args);
2345
2352
  if (typeof optionsOrCb === "function") {
2346
2353
  this.send(command, optionsOrCb);
2347
2354
  }
2348
2355
  else if (typeof cb === "function") {
2349
2356
  if (typeof optionsOrCb !== "object")
2350
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2357
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2351
2358
  this.send(command, optionsOrCb || {}, cb);
2352
2359
  }
2353
2360
  else {
2354
2361
  return this.send(command, optionsOrCb);
2355
2362
  }
2356
- }
2357
- startMLEvaluationTaskRun(args, optionsOrCb, cb) {
2358
- const command = new StartMLEvaluationTaskRunCommand(args);
2363
+ };
2364
+ Glue.prototype.startMLEvaluationTaskRun = function (args, optionsOrCb, cb) {
2365
+ var command = new StartMLEvaluationTaskRunCommand(args);
2359
2366
  if (typeof optionsOrCb === "function") {
2360
2367
  this.send(command, optionsOrCb);
2361
2368
  }
2362
2369
  else if (typeof cb === "function") {
2363
2370
  if (typeof optionsOrCb !== "object")
2364
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2371
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2365
2372
  this.send(command, optionsOrCb || {}, cb);
2366
2373
  }
2367
2374
  else {
2368
2375
  return this.send(command, optionsOrCb);
2369
2376
  }
2370
- }
2371
- startMLLabelingSetGenerationTaskRun(args, optionsOrCb, cb) {
2372
- const command = new StartMLLabelingSetGenerationTaskRunCommand(args);
2377
+ };
2378
+ Glue.prototype.startMLLabelingSetGenerationTaskRun = function (args, optionsOrCb, cb) {
2379
+ var command = new StartMLLabelingSetGenerationTaskRunCommand(args);
2373
2380
  if (typeof optionsOrCb === "function") {
2374
2381
  this.send(command, optionsOrCb);
2375
2382
  }
2376
2383
  else if (typeof cb === "function") {
2377
2384
  if (typeof optionsOrCb !== "object")
2378
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2385
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2379
2386
  this.send(command, optionsOrCb || {}, cb);
2380
2387
  }
2381
2388
  else {
2382
2389
  return this.send(command, optionsOrCb);
2383
2390
  }
2384
- }
2385
- startTrigger(args, optionsOrCb, cb) {
2386
- const command = new StartTriggerCommand(args);
2391
+ };
2392
+ Glue.prototype.startTrigger = function (args, optionsOrCb, cb) {
2393
+ var command = new StartTriggerCommand(args);
2387
2394
  if (typeof optionsOrCb === "function") {
2388
2395
  this.send(command, optionsOrCb);
2389
2396
  }
2390
2397
  else if (typeof cb === "function") {
2391
2398
  if (typeof optionsOrCb !== "object")
2392
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2399
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2393
2400
  this.send(command, optionsOrCb || {}, cb);
2394
2401
  }
2395
2402
  else {
2396
2403
  return this.send(command, optionsOrCb);
2397
2404
  }
2398
- }
2399
- startWorkflowRun(args, optionsOrCb, cb) {
2400
- const command = new StartWorkflowRunCommand(args);
2405
+ };
2406
+ Glue.prototype.startWorkflowRun = function (args, optionsOrCb, cb) {
2407
+ var command = new StartWorkflowRunCommand(args);
2401
2408
  if (typeof optionsOrCb === "function") {
2402
2409
  this.send(command, optionsOrCb);
2403
2410
  }
2404
2411
  else if (typeof cb === "function") {
2405
2412
  if (typeof optionsOrCb !== "object")
2406
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2413
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2407
2414
  this.send(command, optionsOrCb || {}, cb);
2408
2415
  }
2409
2416
  else {
2410
2417
  return this.send(command, optionsOrCb);
2411
2418
  }
2412
- }
2413
- stopCrawler(args, optionsOrCb, cb) {
2414
- const command = new StopCrawlerCommand(args);
2419
+ };
2420
+ Glue.prototype.stopCrawler = function (args, optionsOrCb, cb) {
2421
+ var command = new StopCrawlerCommand(args);
2415
2422
  if (typeof optionsOrCb === "function") {
2416
2423
  this.send(command, optionsOrCb);
2417
2424
  }
2418
2425
  else if (typeof cb === "function") {
2419
2426
  if (typeof optionsOrCb !== "object")
2420
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2427
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2421
2428
  this.send(command, optionsOrCb || {}, cb);
2422
2429
  }
2423
2430
  else {
2424
2431
  return this.send(command, optionsOrCb);
2425
2432
  }
2426
- }
2427
- stopCrawlerSchedule(args, optionsOrCb, cb) {
2428
- const command = new StopCrawlerScheduleCommand(args);
2433
+ };
2434
+ Glue.prototype.stopCrawlerSchedule = function (args, optionsOrCb, cb) {
2435
+ var command = new StopCrawlerScheduleCommand(args);
2429
2436
  if (typeof optionsOrCb === "function") {
2430
2437
  this.send(command, optionsOrCb);
2431
2438
  }
2432
2439
  else if (typeof cb === "function") {
2433
2440
  if (typeof optionsOrCb !== "object")
2434
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2441
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2435
2442
  this.send(command, optionsOrCb || {}, cb);
2436
2443
  }
2437
2444
  else {
2438
2445
  return this.send(command, optionsOrCb);
2439
2446
  }
2440
- }
2441
- stopSession(args, optionsOrCb, cb) {
2442
- const command = new StopSessionCommand(args);
2447
+ };
2448
+ Glue.prototype.stopSession = function (args, optionsOrCb, cb) {
2449
+ var command = new StopSessionCommand(args);
2443
2450
  if (typeof optionsOrCb === "function") {
2444
2451
  this.send(command, optionsOrCb);
2445
2452
  }
2446
2453
  else if (typeof cb === "function") {
2447
2454
  if (typeof optionsOrCb !== "object")
2448
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2455
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2449
2456
  this.send(command, optionsOrCb || {}, cb);
2450
2457
  }
2451
2458
  else {
2452
2459
  return this.send(command, optionsOrCb);
2453
2460
  }
2454
- }
2455
- stopTrigger(args, optionsOrCb, cb) {
2456
- const command = new StopTriggerCommand(args);
2461
+ };
2462
+ Glue.prototype.stopTrigger = function (args, optionsOrCb, cb) {
2463
+ var command = new StopTriggerCommand(args);
2457
2464
  if (typeof optionsOrCb === "function") {
2458
2465
  this.send(command, optionsOrCb);
2459
2466
  }
2460
2467
  else if (typeof cb === "function") {
2461
2468
  if (typeof optionsOrCb !== "object")
2462
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2469
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2463
2470
  this.send(command, optionsOrCb || {}, cb);
2464
2471
  }
2465
2472
  else {
2466
2473
  return this.send(command, optionsOrCb);
2467
2474
  }
2468
- }
2469
- stopWorkflowRun(args, optionsOrCb, cb) {
2470
- const command = new StopWorkflowRunCommand(args);
2475
+ };
2476
+ Glue.prototype.stopWorkflowRun = function (args, optionsOrCb, cb) {
2477
+ var command = new StopWorkflowRunCommand(args);
2471
2478
  if (typeof optionsOrCb === "function") {
2472
2479
  this.send(command, optionsOrCb);
2473
2480
  }
2474
2481
  else if (typeof cb === "function") {
2475
2482
  if (typeof optionsOrCb !== "object")
2476
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2483
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2477
2484
  this.send(command, optionsOrCb || {}, cb);
2478
2485
  }
2479
2486
  else {
2480
2487
  return this.send(command, optionsOrCb);
2481
2488
  }
2482
- }
2483
- tagResource(args, optionsOrCb, cb) {
2484
- const command = new TagResourceCommand(args);
2489
+ };
2490
+ Glue.prototype.tagResource = function (args, optionsOrCb, cb) {
2491
+ var command = new TagResourceCommand(args);
2485
2492
  if (typeof optionsOrCb === "function") {
2486
2493
  this.send(command, optionsOrCb);
2487
2494
  }
2488
2495
  else if (typeof cb === "function") {
2489
2496
  if (typeof optionsOrCb !== "object")
2490
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2497
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2491
2498
  this.send(command, optionsOrCb || {}, cb);
2492
2499
  }
2493
2500
  else {
2494
2501
  return this.send(command, optionsOrCb);
2495
2502
  }
2496
- }
2497
- untagResource(args, optionsOrCb, cb) {
2498
- const command = new UntagResourceCommand(args);
2503
+ };
2504
+ Glue.prototype.untagResource = function (args, optionsOrCb, cb) {
2505
+ var command = new UntagResourceCommand(args);
2499
2506
  if (typeof optionsOrCb === "function") {
2500
2507
  this.send(command, optionsOrCb);
2501
2508
  }
2502
2509
  else if (typeof cb === "function") {
2503
2510
  if (typeof optionsOrCb !== "object")
2504
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2511
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2505
2512
  this.send(command, optionsOrCb || {}, cb);
2506
2513
  }
2507
2514
  else {
2508
2515
  return this.send(command, optionsOrCb);
2509
2516
  }
2510
- }
2511
- updateBlueprint(args, optionsOrCb, cb) {
2512
- const command = new UpdateBlueprintCommand(args);
2517
+ };
2518
+ Glue.prototype.updateBlueprint = function (args, optionsOrCb, cb) {
2519
+ var command = new UpdateBlueprintCommand(args);
2513
2520
  if (typeof optionsOrCb === "function") {
2514
2521
  this.send(command, optionsOrCb);
2515
2522
  }
2516
2523
  else if (typeof cb === "function") {
2517
2524
  if (typeof optionsOrCb !== "object")
2518
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2525
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2519
2526
  this.send(command, optionsOrCb || {}, cb);
2520
2527
  }
2521
2528
  else {
2522
2529
  return this.send(command, optionsOrCb);
2523
2530
  }
2524
- }
2525
- updateClassifier(args, optionsOrCb, cb) {
2526
- const command = new UpdateClassifierCommand(args);
2531
+ };
2532
+ Glue.prototype.updateClassifier = function (args, optionsOrCb, cb) {
2533
+ var command = new UpdateClassifierCommand(args);
2527
2534
  if (typeof optionsOrCb === "function") {
2528
2535
  this.send(command, optionsOrCb);
2529
2536
  }
2530
2537
  else if (typeof cb === "function") {
2531
2538
  if (typeof optionsOrCb !== "object")
2532
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2539
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2533
2540
  this.send(command, optionsOrCb || {}, cb);
2534
2541
  }
2535
2542
  else {
2536
2543
  return this.send(command, optionsOrCb);
2537
2544
  }
2538
- }
2539
- updateColumnStatisticsForPartition(args, optionsOrCb, cb) {
2540
- const command = new UpdateColumnStatisticsForPartitionCommand(args);
2545
+ };
2546
+ Glue.prototype.updateColumnStatisticsForPartition = function (args, optionsOrCb, cb) {
2547
+ var command = new UpdateColumnStatisticsForPartitionCommand(args);
2541
2548
  if (typeof optionsOrCb === "function") {
2542
2549
  this.send(command, optionsOrCb);
2543
2550
  }
2544
2551
  else if (typeof cb === "function") {
2545
2552
  if (typeof optionsOrCb !== "object")
2546
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2553
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2547
2554
  this.send(command, optionsOrCb || {}, cb);
2548
2555
  }
2549
2556
  else {
2550
2557
  return this.send(command, optionsOrCb);
2551
2558
  }
2552
- }
2553
- updateColumnStatisticsForTable(args, optionsOrCb, cb) {
2554
- const command = new UpdateColumnStatisticsForTableCommand(args);
2559
+ };
2560
+ Glue.prototype.updateColumnStatisticsForTable = function (args, optionsOrCb, cb) {
2561
+ var command = new UpdateColumnStatisticsForTableCommand(args);
2555
2562
  if (typeof optionsOrCb === "function") {
2556
2563
  this.send(command, optionsOrCb);
2557
2564
  }
2558
2565
  else if (typeof cb === "function") {
2559
2566
  if (typeof optionsOrCb !== "object")
2560
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2567
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2561
2568
  this.send(command, optionsOrCb || {}, cb);
2562
2569
  }
2563
2570
  else {
2564
2571
  return this.send(command, optionsOrCb);
2565
2572
  }
2566
- }
2567
- updateConnection(args, optionsOrCb, cb) {
2568
- const command = new UpdateConnectionCommand(args);
2573
+ };
2574
+ Glue.prototype.updateConnection = function (args, optionsOrCb, cb) {
2575
+ var command = new UpdateConnectionCommand(args);
2569
2576
  if (typeof optionsOrCb === "function") {
2570
2577
  this.send(command, optionsOrCb);
2571
2578
  }
2572
2579
  else if (typeof cb === "function") {
2573
2580
  if (typeof optionsOrCb !== "object")
2574
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2581
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2575
2582
  this.send(command, optionsOrCb || {}, cb);
2576
2583
  }
2577
2584
  else {
2578
2585
  return this.send(command, optionsOrCb);
2579
2586
  }
2580
- }
2581
- updateCrawler(args, optionsOrCb, cb) {
2582
- const command = new UpdateCrawlerCommand(args);
2587
+ };
2588
+ Glue.prototype.updateCrawler = function (args, optionsOrCb, cb) {
2589
+ var command = new UpdateCrawlerCommand(args);
2583
2590
  if (typeof optionsOrCb === "function") {
2584
2591
  this.send(command, optionsOrCb);
2585
2592
  }
2586
2593
  else if (typeof cb === "function") {
2587
2594
  if (typeof optionsOrCb !== "object")
2588
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2595
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2589
2596
  this.send(command, optionsOrCb || {}, cb);
2590
2597
  }
2591
2598
  else {
2592
2599
  return this.send(command, optionsOrCb);
2593
2600
  }
2594
- }
2595
- updateCrawlerSchedule(args, optionsOrCb, cb) {
2596
- const command = new UpdateCrawlerScheduleCommand(args);
2601
+ };
2602
+ Glue.prototype.updateCrawlerSchedule = function (args, optionsOrCb, cb) {
2603
+ var command = new UpdateCrawlerScheduleCommand(args);
2597
2604
  if (typeof optionsOrCb === "function") {
2598
2605
  this.send(command, optionsOrCb);
2599
2606
  }
2600
2607
  else if (typeof cb === "function") {
2601
2608
  if (typeof optionsOrCb !== "object")
2602
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2609
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2603
2610
  this.send(command, optionsOrCb || {}, cb);
2604
2611
  }
2605
2612
  else {
2606
2613
  return this.send(command, optionsOrCb);
2607
2614
  }
2608
- }
2609
- updateDatabase(args, optionsOrCb, cb) {
2610
- const command = new UpdateDatabaseCommand(args);
2615
+ };
2616
+ Glue.prototype.updateDatabase = function (args, optionsOrCb, cb) {
2617
+ var command = new UpdateDatabaseCommand(args);
2611
2618
  if (typeof optionsOrCb === "function") {
2612
2619
  this.send(command, optionsOrCb);
2613
2620
  }
2614
2621
  else if (typeof cb === "function") {
2615
2622
  if (typeof optionsOrCb !== "object")
2616
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2623
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2617
2624
  this.send(command, optionsOrCb || {}, cb);
2618
2625
  }
2619
2626
  else {
2620
2627
  return this.send(command, optionsOrCb);
2621
2628
  }
2622
- }
2623
- updateDevEndpoint(args, optionsOrCb, cb) {
2624
- const command = new UpdateDevEndpointCommand(args);
2629
+ };
2630
+ Glue.prototype.updateDevEndpoint = function (args, optionsOrCb, cb) {
2631
+ var command = new UpdateDevEndpointCommand(args);
2625
2632
  if (typeof optionsOrCb === "function") {
2626
2633
  this.send(command, optionsOrCb);
2627
2634
  }
2628
2635
  else if (typeof cb === "function") {
2629
2636
  if (typeof optionsOrCb !== "object")
2630
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2637
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2631
2638
  this.send(command, optionsOrCb || {}, cb);
2632
2639
  }
2633
2640
  else {
2634
2641
  return this.send(command, optionsOrCb);
2635
2642
  }
2636
- }
2637
- updateJob(args, optionsOrCb, cb) {
2638
- const command = new UpdateJobCommand(args);
2643
+ };
2644
+ Glue.prototype.updateJob = function (args, optionsOrCb, cb) {
2645
+ var command = new UpdateJobCommand(args);
2639
2646
  if (typeof optionsOrCb === "function") {
2640
2647
  this.send(command, optionsOrCb);
2641
2648
  }
2642
2649
  else if (typeof cb === "function") {
2643
2650
  if (typeof optionsOrCb !== "object")
2644
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2651
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2645
2652
  this.send(command, optionsOrCb || {}, cb);
2646
2653
  }
2647
2654
  else {
2648
2655
  return this.send(command, optionsOrCb);
2649
2656
  }
2650
- }
2651
- updateMLTransform(args, optionsOrCb, cb) {
2652
- const command = new UpdateMLTransformCommand(args);
2657
+ };
2658
+ Glue.prototype.updateJobFromSourceControl = function (args, optionsOrCb, cb) {
2659
+ var command = new UpdateJobFromSourceControlCommand(args);
2653
2660
  if (typeof optionsOrCb === "function") {
2654
2661
  this.send(command, optionsOrCb);
2655
2662
  }
2656
2663
  else if (typeof cb === "function") {
2657
2664
  if (typeof optionsOrCb !== "object")
2658
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2665
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2659
2666
  this.send(command, optionsOrCb || {}, cb);
2660
2667
  }
2661
2668
  else {
2662
2669
  return this.send(command, optionsOrCb);
2663
2670
  }
2664
- }
2665
- updatePartition(args, optionsOrCb, cb) {
2666
- const command = new UpdatePartitionCommand(args);
2671
+ };
2672
+ Glue.prototype.updateMLTransform = function (args, optionsOrCb, cb) {
2673
+ var command = new UpdateMLTransformCommand(args);
2667
2674
  if (typeof optionsOrCb === "function") {
2668
2675
  this.send(command, optionsOrCb);
2669
2676
  }
2670
2677
  else if (typeof cb === "function") {
2671
2678
  if (typeof optionsOrCb !== "object")
2672
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2679
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2673
2680
  this.send(command, optionsOrCb || {}, cb);
2674
2681
  }
2675
2682
  else {
2676
2683
  return this.send(command, optionsOrCb);
2677
2684
  }
2678
- }
2679
- updateRegistry(args, optionsOrCb, cb) {
2680
- const command = new UpdateRegistryCommand(args);
2685
+ };
2686
+ Glue.prototype.updatePartition = function (args, optionsOrCb, cb) {
2687
+ var command = new UpdatePartitionCommand(args);
2681
2688
  if (typeof optionsOrCb === "function") {
2682
2689
  this.send(command, optionsOrCb);
2683
2690
  }
2684
2691
  else if (typeof cb === "function") {
2685
2692
  if (typeof optionsOrCb !== "object")
2686
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2693
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2687
2694
  this.send(command, optionsOrCb || {}, cb);
2688
2695
  }
2689
2696
  else {
2690
2697
  return this.send(command, optionsOrCb);
2691
2698
  }
2692
- }
2693
- updateSchema(args, optionsOrCb, cb) {
2694
- const command = new UpdateSchemaCommand(args);
2699
+ };
2700
+ Glue.prototype.updateRegistry = function (args, optionsOrCb, cb) {
2701
+ var command = new UpdateRegistryCommand(args);
2695
2702
  if (typeof optionsOrCb === "function") {
2696
2703
  this.send(command, optionsOrCb);
2697
2704
  }
2698
2705
  else if (typeof cb === "function") {
2699
2706
  if (typeof optionsOrCb !== "object")
2700
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2707
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2701
2708
  this.send(command, optionsOrCb || {}, cb);
2702
2709
  }
2703
2710
  else {
2704
2711
  return this.send(command, optionsOrCb);
2705
2712
  }
2706
- }
2707
- updateTable(args, optionsOrCb, cb) {
2708
- const command = new UpdateTableCommand(args);
2713
+ };
2714
+ Glue.prototype.updateSchema = function (args, optionsOrCb, cb) {
2715
+ var command = new UpdateSchemaCommand(args);
2709
2716
  if (typeof optionsOrCb === "function") {
2710
2717
  this.send(command, optionsOrCb);
2711
2718
  }
2712
2719
  else if (typeof cb === "function") {
2713
2720
  if (typeof optionsOrCb !== "object")
2714
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2721
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2715
2722
  this.send(command, optionsOrCb || {}, cb);
2716
2723
  }
2717
2724
  else {
2718
2725
  return this.send(command, optionsOrCb);
2719
2726
  }
2720
- }
2721
- updateTrigger(args, optionsOrCb, cb) {
2722
- const command = new UpdateTriggerCommand(args);
2727
+ };
2728
+ Glue.prototype.updateSourceControlFromJob = function (args, optionsOrCb, cb) {
2729
+ var command = new UpdateSourceControlFromJobCommand(args);
2723
2730
  if (typeof optionsOrCb === "function") {
2724
2731
  this.send(command, optionsOrCb);
2725
2732
  }
2726
2733
  else if (typeof cb === "function") {
2727
2734
  if (typeof optionsOrCb !== "object")
2728
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2735
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2729
2736
  this.send(command, optionsOrCb || {}, cb);
2730
2737
  }
2731
2738
  else {
2732
2739
  return this.send(command, optionsOrCb);
2733
2740
  }
2734
- }
2735
- updateUserDefinedFunction(args, optionsOrCb, cb) {
2736
- const command = new UpdateUserDefinedFunctionCommand(args);
2741
+ };
2742
+ Glue.prototype.updateTable = function (args, optionsOrCb, cb) {
2743
+ var command = new UpdateTableCommand(args);
2737
2744
  if (typeof optionsOrCb === "function") {
2738
2745
  this.send(command, optionsOrCb);
2739
2746
  }
2740
2747
  else if (typeof cb === "function") {
2741
2748
  if (typeof optionsOrCb !== "object")
2742
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2749
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2743
2750
  this.send(command, optionsOrCb || {}, cb);
2744
2751
  }
2745
2752
  else {
2746
2753
  return this.send(command, optionsOrCb);
2747
2754
  }
2748
- }
2749
- updateWorkflow(args, optionsOrCb, cb) {
2750
- const command = new UpdateWorkflowCommand(args);
2755
+ };
2756
+ Glue.prototype.updateTrigger = function (args, optionsOrCb, cb) {
2757
+ var command = new UpdateTriggerCommand(args);
2751
2758
  if (typeof optionsOrCb === "function") {
2752
2759
  this.send(command, optionsOrCb);
2753
2760
  }
2754
2761
  else if (typeof cb === "function") {
2755
2762
  if (typeof optionsOrCb !== "object")
2756
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2763
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2757
2764
  this.send(command, optionsOrCb || {}, cb);
2758
2765
  }
2759
2766
  else {
2760
2767
  return this.send(command, optionsOrCb);
2761
2768
  }
2762
- }
2763
- }
2769
+ };
2770
+ Glue.prototype.updateUserDefinedFunction = function (args, optionsOrCb, cb) {
2771
+ var command = new UpdateUserDefinedFunctionCommand(args);
2772
+ if (typeof optionsOrCb === "function") {
2773
+ this.send(command, optionsOrCb);
2774
+ }
2775
+ else if (typeof cb === "function") {
2776
+ if (typeof optionsOrCb !== "object")
2777
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2778
+ this.send(command, optionsOrCb || {}, cb);
2779
+ }
2780
+ else {
2781
+ return this.send(command, optionsOrCb);
2782
+ }
2783
+ };
2784
+ Glue.prototype.updateWorkflow = function (args, optionsOrCb, cb) {
2785
+ var command = new UpdateWorkflowCommand(args);
2786
+ if (typeof optionsOrCb === "function") {
2787
+ this.send(command, optionsOrCb);
2788
+ }
2789
+ else if (typeof cb === "function") {
2790
+ if (typeof optionsOrCb !== "object")
2791
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2792
+ this.send(command, optionsOrCb || {}, cb);
2793
+ }
2794
+ else {
2795
+ return this.send(command, optionsOrCb);
2796
+ }
2797
+ };
2798
+ return Glue;
2799
+ }(GlueClient));
2800
+ export { Glue };