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