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