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