@aws-sdk/client-glue 3.53.0 → 3.55.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/CHANGELOG.md +27 -0
- package/dist-cjs/Glue.js +135 -0
- package/dist-cjs/GlueClient.js +13 -13
- package/dist-cjs/commands/BatchCreatePartitionCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteConnectionCommand.js +3 -3
- package/dist-cjs/commands/BatchDeletePartitionCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteTableCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteTableVersionCommand.js +3 -3
- package/dist-cjs/commands/BatchGetBlueprintsCommand.js +3 -3
- package/dist-cjs/commands/BatchGetCrawlersCommand.js +3 -3
- package/dist-cjs/commands/BatchGetDevEndpointsCommand.js +3 -3
- package/dist-cjs/commands/BatchGetJobsCommand.js +3 -3
- package/dist-cjs/commands/BatchGetPartitionCommand.js +3 -3
- package/dist-cjs/commands/BatchGetTriggersCommand.js +3 -3
- package/dist-cjs/commands/BatchGetWorkflowsCommand.js +3 -3
- package/dist-cjs/commands/BatchStopJobRunCommand.js +3 -3
- package/dist-cjs/commands/BatchUpdatePartitionCommand.js +3 -3
- package/dist-cjs/commands/CancelMLTaskRunCommand.js +3 -3
- package/dist-cjs/commands/CancelStatementCommand.js +36 -0
- package/dist-cjs/commands/CheckSchemaVersionValidityCommand.js +3 -3
- package/dist-cjs/commands/CreateBlueprintCommand.js +3 -3
- package/dist-cjs/commands/CreateClassifierCommand.js +3 -3
- package/dist-cjs/commands/CreateConnectionCommand.js +3 -3
- package/dist-cjs/commands/CreateCrawlerCommand.js +3 -3
- package/dist-cjs/commands/CreateDatabaseCommand.js +3 -3
- package/dist-cjs/commands/CreateDevEndpointCommand.js +3 -3
- package/dist-cjs/commands/CreateJobCommand.js +3 -3
- package/dist-cjs/commands/CreateMLTransformCommand.js +3 -3
- package/dist-cjs/commands/CreatePartitionCommand.js +3 -3
- package/dist-cjs/commands/CreatePartitionIndexCommand.js +3 -3
- package/dist-cjs/commands/CreateRegistryCommand.js +3 -3
- package/dist-cjs/commands/CreateSchemaCommand.js +3 -3
- package/dist-cjs/commands/CreateScriptCommand.js +3 -3
- package/dist-cjs/commands/CreateSecurityConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateSessionCommand.js +36 -0
- package/dist-cjs/commands/CreateTableCommand.js +3 -3
- package/dist-cjs/commands/CreateTriggerCommand.js +3 -3
- package/dist-cjs/commands/CreateUserDefinedFunctionCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkflowCommand.js +3 -3
- package/dist-cjs/commands/DeleteBlueprintCommand.js +3 -3
- package/dist-cjs/commands/DeleteClassifierCommand.js +3 -3
- package/dist-cjs/commands/DeleteColumnStatisticsForPartitionCommand.js +3 -3
- package/dist-cjs/commands/DeleteColumnStatisticsForTableCommand.js +3 -3
- package/dist-cjs/commands/DeleteConnectionCommand.js +3 -3
- package/dist-cjs/commands/DeleteCrawlerCommand.js +3 -3
- package/dist-cjs/commands/DeleteDatabaseCommand.js +3 -3
- package/dist-cjs/commands/DeleteDevEndpointCommand.js +3 -3
- package/dist-cjs/commands/DeleteJobCommand.js +3 -3
- package/dist-cjs/commands/DeleteMLTransformCommand.js +3 -3
- package/dist-cjs/commands/DeletePartitionCommand.js +3 -3
- package/dist-cjs/commands/DeletePartitionIndexCommand.js +3 -3
- package/dist-cjs/commands/DeleteRegistryCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteSchemaCommand.js +3 -3
- package/dist-cjs/commands/DeleteSchemaVersionsCommand.js +3 -3
- package/dist-cjs/commands/DeleteSecurityConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteSessionCommand.js +36 -0
- package/dist-cjs/commands/DeleteTableCommand.js +3 -3
- package/dist-cjs/commands/DeleteTableVersionCommand.js +3 -3
- package/dist-cjs/commands/DeleteTriggerCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserDefinedFunctionCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkflowCommand.js +3 -3
- package/dist-cjs/commands/GetBlueprintCommand.js +3 -3
- package/dist-cjs/commands/GetBlueprintRunCommand.js +3 -3
- package/dist-cjs/commands/GetBlueprintRunsCommand.js +3 -3
- package/dist-cjs/commands/GetCatalogImportStatusCommand.js +3 -3
- package/dist-cjs/commands/GetClassifierCommand.js +3 -3
- package/dist-cjs/commands/GetClassifiersCommand.js +3 -3
- package/dist-cjs/commands/GetColumnStatisticsForPartitionCommand.js +3 -3
- package/dist-cjs/commands/GetColumnStatisticsForTableCommand.js +3 -3
- package/dist-cjs/commands/GetConnectionCommand.js +6 -6
- package/dist-cjs/commands/GetConnectionsCommand.js +6 -6
- package/dist-cjs/commands/GetCrawlerCommand.js +6 -6
- package/dist-cjs/commands/GetCrawlerMetricsCommand.js +4 -5
- package/dist-cjs/commands/GetCrawlersCommand.js +3 -3
- package/dist-cjs/commands/GetDataCatalogEncryptionSettingsCommand.js +3 -3
- package/dist-cjs/commands/GetDatabaseCommand.js +3 -3
- package/dist-cjs/commands/GetDatabasesCommand.js +3 -3
- package/dist-cjs/commands/GetDataflowGraphCommand.js +3 -3
- package/dist-cjs/commands/GetDevEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetDevEndpointsCommand.js +3 -3
- package/dist-cjs/commands/GetJobBookmarkCommand.js +3 -3
- package/dist-cjs/commands/GetJobCommand.js +3 -3
- package/dist-cjs/commands/GetJobRunCommand.js +3 -3
- package/dist-cjs/commands/GetJobRunsCommand.js +3 -3
- package/dist-cjs/commands/GetJobsCommand.js +3 -3
- package/dist-cjs/commands/GetMLTaskRunCommand.js +3 -3
- package/dist-cjs/commands/GetMLTaskRunsCommand.js +3 -3
- package/dist-cjs/commands/GetMLTransformCommand.js +3 -3
- package/dist-cjs/commands/GetMLTransformsCommand.js +3 -3
- package/dist-cjs/commands/GetMappingCommand.js +3 -3
- package/dist-cjs/commands/GetPartitionCommand.js +3 -3
- package/dist-cjs/commands/GetPartitionIndexesCommand.js +3 -3
- package/dist-cjs/commands/GetPartitionsCommand.js +3 -3
- package/dist-cjs/commands/GetPlanCommand.js +3 -3
- package/dist-cjs/commands/GetRegistryCommand.js +3 -3
- package/dist-cjs/commands/GetResourcePoliciesCommand.js +3 -3
- package/dist-cjs/commands/GetResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/GetSchemaByDefinitionCommand.js +3 -3
- package/dist-cjs/commands/GetSchemaCommand.js +3 -3
- package/dist-cjs/commands/GetSchemaVersionCommand.js +3 -3
- package/dist-cjs/commands/GetSchemaVersionsDiffCommand.js +3 -3
- package/dist-cjs/commands/GetSecurityConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetSecurityConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/GetSessionCommand.js +36 -0
- package/dist-cjs/commands/GetStatementCommand.js +36 -0
- package/dist-cjs/commands/GetTableCommand.js +3 -3
- package/dist-cjs/commands/GetTableVersionCommand.js +3 -3
- package/dist-cjs/commands/GetTableVersionsCommand.js +3 -3
- package/dist-cjs/commands/GetTablesCommand.js +3 -3
- package/dist-cjs/commands/GetTagsCommand.js +3 -3
- package/dist-cjs/commands/GetTriggerCommand.js +3 -3
- package/dist-cjs/commands/GetTriggersCommand.js +3 -3
- package/dist-cjs/commands/GetUnfilteredPartitionMetadataCommand.js +3 -3
- package/dist-cjs/commands/GetUnfilteredPartitionsMetadataCommand.js +3 -3
- package/dist-cjs/commands/GetUnfilteredTableMetadataCommand.js +3 -3
- package/dist-cjs/commands/GetUserDefinedFunctionCommand.js +3 -3
- package/dist-cjs/commands/GetUserDefinedFunctionsCommand.js +3 -3
- package/dist-cjs/commands/GetWorkflowCommand.js +3 -3
- package/dist-cjs/commands/GetWorkflowRunCommand.js +3 -3
- package/dist-cjs/commands/GetWorkflowRunPropertiesCommand.js +3 -3
- package/dist-cjs/commands/GetWorkflowRunsCommand.js +3 -3
- package/dist-cjs/commands/ImportCatalogToGlueCommand.js +3 -3
- package/dist-cjs/commands/ListBlueprintsCommand.js +3 -3
- package/dist-cjs/commands/ListCrawlersCommand.js +3 -3
- package/dist-cjs/commands/ListDevEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListMLTransformsCommand.js +3 -3
- package/dist-cjs/commands/ListRegistriesCommand.js +3 -3
- package/dist-cjs/commands/ListSchemaVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListSchemasCommand.js +3 -3
- package/dist-cjs/commands/ListSessionsCommand.js +36 -0
- package/dist-cjs/commands/ListStatementsCommand.js +36 -0
- package/dist-cjs/commands/ListTriggersCommand.js +3 -3
- package/dist-cjs/commands/ListWorkflowsCommand.js +3 -3
- package/dist-cjs/commands/PutDataCatalogEncryptionSettingsCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/PutSchemaVersionMetadataCommand.js +3 -3
- package/dist-cjs/commands/PutWorkflowRunPropertiesCommand.js +3 -3
- package/dist-cjs/commands/QuerySchemaVersionMetadataCommand.js +3 -3
- package/dist-cjs/commands/RegisterSchemaVersionCommand.js +3 -3
- package/dist-cjs/commands/RemoveSchemaVersionMetadataCommand.js +3 -3
- package/dist-cjs/commands/ResetJobBookmarkCommand.js +3 -3
- package/dist-cjs/commands/ResumeWorkflowRunCommand.js +3 -3
- package/dist-cjs/commands/RunStatementCommand.js +36 -0
- package/dist-cjs/commands/SearchTablesCommand.js +3 -3
- package/dist-cjs/commands/StartBlueprintRunCommand.js +3 -3
- package/dist-cjs/commands/StartCrawlerCommand.js +3 -3
- package/dist-cjs/commands/StartCrawlerScheduleCommand.js +3 -3
- package/dist-cjs/commands/StartExportLabelsTaskRunCommand.js +3 -3
- package/dist-cjs/commands/StartImportLabelsTaskRunCommand.js +3 -3
- package/dist-cjs/commands/StartJobRunCommand.js +3 -3
- package/dist-cjs/commands/StartMLEvaluationTaskRunCommand.js +3 -3
- package/dist-cjs/commands/StartMLLabelingSetGenerationTaskRunCommand.js +3 -3
- package/dist-cjs/commands/StartTriggerCommand.js +3 -3
- package/dist-cjs/commands/StartWorkflowRunCommand.js +3 -3
- package/dist-cjs/commands/StopCrawlerCommand.js +3 -3
- package/dist-cjs/commands/StopCrawlerScheduleCommand.js +3 -3
- package/dist-cjs/commands/StopSessionCommand.js +36 -0
- package/dist-cjs/commands/StopTriggerCommand.js +3 -3
- package/dist-cjs/commands/StopWorkflowRunCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateBlueprintCommand.js +3 -3
- package/dist-cjs/commands/UpdateClassifierCommand.js +3 -3
- package/dist-cjs/commands/UpdateColumnStatisticsForPartitionCommand.js +3 -3
- package/dist-cjs/commands/UpdateColumnStatisticsForTableCommand.js +3 -3
- package/dist-cjs/commands/UpdateConnectionCommand.js +3 -3
- package/dist-cjs/commands/UpdateCrawlerCommand.js +3 -3
- package/dist-cjs/commands/UpdateCrawlerScheduleCommand.js +3 -3
- package/dist-cjs/commands/UpdateDatabaseCommand.js +3 -3
- package/dist-cjs/commands/UpdateDevEndpointCommand.js +3 -3
- package/dist-cjs/commands/UpdateJobCommand.js +3 -3
- package/dist-cjs/commands/UpdateMLTransformCommand.js +3 -3
- package/dist-cjs/commands/UpdatePartitionCommand.js +3 -3
- package/dist-cjs/commands/UpdateRegistryCommand.js +3 -3
- package/dist-cjs/commands/UpdateSchemaCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableCommand.js +3 -3
- package/dist-cjs/commands/UpdateTriggerCommand.js +6 -6
- package/dist-cjs/commands/UpdateUserDefinedFunctionCommand.js +6 -6
- package/dist-cjs/commands/UpdateWorkflowCommand.js +6 -6
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +75 -64
- package/dist-cjs/models/models_1.js +165 -48
- package/dist-cjs/models/models_2.js +45 -0
- package/dist-cjs/pagination/ListSessionsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1786 -940
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Glue.js +304 -169
- package/dist-es/commands/CancelStatementCommand.js +39 -0
- package/dist-es/commands/CreateSessionCommand.js +39 -0
- package/dist-es/commands/DeleteSessionCommand.js +39 -0
- package/dist-es/commands/GetConnectionCommand.js +1 -1
- package/dist-es/commands/GetConnectionsCommand.js +1 -1
- package/dist-es/commands/GetCrawlerCommand.js +1 -1
- package/dist-es/commands/GetCrawlerMetricsCommand.js +1 -2
- package/dist-es/commands/GetSessionCommand.js +39 -0
- package/dist-es/commands/GetStatementCommand.js +39 -0
- package/dist-es/commands/ListSessionsCommand.js +39 -0
- package/dist-es/commands/ListStatementsCommand.js +39 -0
- package/dist-es/commands/RunStatementCommand.js +39 -0
- package/dist-es/commands/StopSessionCommand.js +39 -0
- package/dist-es/commands/UpdateTriggerCommand.js +1 -1
- package/dist-es/commands/UpdateUserDefinedFunctionCommand.js +1 -1
- package/dist-es/commands/UpdateWorkflowCommand.js +1 -1
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +54 -40
- package/dist-es/models/models_1.js +109 -28
- package/dist-es/models/models_2.js +29 -0
- package/dist-es/pagination/GetBlueprintRunsPaginator.js +4 -4
- package/dist-es/pagination/GetClassifiersPaginator.js +4 -4
- package/dist-es/pagination/GetConnectionsPaginator.js +4 -4
- package/dist-es/pagination/GetCrawlerMetricsPaginator.js +4 -4
- package/dist-es/pagination/GetCrawlersPaginator.js +4 -4
- package/dist-es/pagination/GetDatabasesPaginator.js +4 -4
- package/dist-es/pagination/GetDevEndpointsPaginator.js +4 -4
- package/dist-es/pagination/GetJobRunsPaginator.js +4 -4
- package/dist-es/pagination/GetJobsPaginator.js +4 -4
- package/dist-es/pagination/GetMLTaskRunsPaginator.js +4 -4
- package/dist-es/pagination/GetMLTransformsPaginator.js +4 -4
- package/dist-es/pagination/GetPartitionIndexesPaginator.js +4 -4
- package/dist-es/pagination/GetPartitionsPaginator.js +4 -4
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +4 -4
- package/dist-es/pagination/GetSecurityConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/GetTableVersionsPaginator.js +4 -4
- package/dist-es/pagination/GetTablesPaginator.js +4 -4
- package/dist-es/pagination/GetTriggersPaginator.js +4 -4
- package/dist-es/pagination/GetUnfilteredPartitionsMetadataPaginator.js +4 -4
- package/dist-es/pagination/GetUserDefinedFunctionsPaginator.js +4 -4
- package/dist-es/pagination/GetWorkflowRunsPaginator.js +4 -4
- package/dist-es/pagination/ListBlueprintsPaginator.js +4 -4
- package/dist-es/pagination/ListCrawlersPaginator.js +4 -4
- package/dist-es/pagination/ListDevEndpointsPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListMLTransformsPaginator.js +4 -4
- package/dist-es/pagination/ListRegistriesPaginator.js +4 -4
- package/dist-es/pagination/ListSchemaVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListSchemasPaginator.js +4 -4
- package/dist-es/pagination/ListSessionsPaginator.js +74 -0
- package/dist-es/pagination/ListTriggersPaginator.js +4 -4
- package/dist-es/pagination/ListWorkflowsPaginator.js +4 -4
- package/dist-es/pagination/SearchTablesPaginator.js +4 -4
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1020 -47
- package/dist-types/Glue.d.ts +63 -0
- package/dist-types/GlueClient.d.ts +13 -4
- package/dist-types/commands/CancelStatementCommand.d.ts +35 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +35 -0
- package/dist-types/commands/DeleteSessionCommand.d.ts +35 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/GetCrawlerCommand.d.ts +1 -1
- package/dist-types/commands/GetCrawlerMetricsCommand.d.ts +1 -2
- package/dist-types/commands/GetSessionCommand.d.ts +35 -0
- package/dist-types/commands/GetStatementCommand.d.ts +35 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +35 -0
- package/dist-types/commands/ListStatementsCommand.d.ts +35 -0
- package/dist-types/commands/RunStatementCommand.d.ts +35 -0
- package/dist-types/commands/StopSessionCommand.d.ts +35 -0
- package/dist-types/commands/UpdateTriggerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserDefinedFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkflowCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +269 -377
- package/dist-types/models/models_1.d.ts +679 -142
- package/dist-types/models/models_2.d.ts +142 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/Glue.d.ts +45 -0
- package/dist-types/ts3.4/GlueClient.d.ts +13 -4
- package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCrawlerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCrawlerMetricsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RunStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTriggerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserDefinedFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -0
- package/dist-types/ts3.4/models/models_1.d.ts +320 -1
- package/dist-types/ts3.4/models/models_2.d.ts +82 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
package/dist-es/Glue.js
CHANGED
|
@@ -14,6 +14,7 @@ import { BatchGetWorkflowsCommand, } from "./commands/BatchGetWorkflowsCommand";
|
|
|
14
14
|
import { BatchStopJobRunCommand, } from "./commands/BatchStopJobRunCommand";
|
|
15
15
|
import { BatchUpdatePartitionCommand, } from "./commands/BatchUpdatePartitionCommand";
|
|
16
16
|
import { CancelMLTaskRunCommand, } from "./commands/CancelMLTaskRunCommand";
|
|
17
|
+
import { CancelStatementCommand, } from "./commands/CancelStatementCommand";
|
|
17
18
|
import { CheckSchemaVersionValidityCommand, } from "./commands/CheckSchemaVersionValidityCommand";
|
|
18
19
|
import { CreateBlueprintCommand, } from "./commands/CreateBlueprintCommand";
|
|
19
20
|
import { CreateClassifierCommand, } from "./commands/CreateClassifierCommand";
|
|
@@ -29,6 +30,7 @@ import { CreateRegistryCommand, } from "./commands/CreateRegistryCommand";
|
|
|
29
30
|
import { CreateSchemaCommand, } from "./commands/CreateSchemaCommand";
|
|
30
31
|
import { CreateScriptCommand, } from "./commands/CreateScriptCommand";
|
|
31
32
|
import { CreateSecurityConfigurationCommand, } from "./commands/CreateSecurityConfigurationCommand";
|
|
33
|
+
import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
|
|
32
34
|
import { CreateTableCommand } from "./commands/CreateTableCommand";
|
|
33
35
|
import { CreateTriggerCommand, } from "./commands/CreateTriggerCommand";
|
|
34
36
|
import { CreateUserDefinedFunctionCommand, } from "./commands/CreateUserDefinedFunctionCommand";
|
|
@@ -50,6 +52,7 @@ import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCom
|
|
|
50
52
|
import { DeleteSchemaCommand, } from "./commands/DeleteSchemaCommand";
|
|
51
53
|
import { DeleteSchemaVersionsCommand, } from "./commands/DeleteSchemaVersionsCommand";
|
|
52
54
|
import { DeleteSecurityConfigurationCommand, } from "./commands/DeleteSecurityConfigurationCommand";
|
|
55
|
+
import { DeleteSessionCommand, } from "./commands/DeleteSessionCommand";
|
|
53
56
|
import { DeleteTableCommand } from "./commands/DeleteTableCommand";
|
|
54
57
|
import { DeleteTableVersionCommand, } from "./commands/DeleteTableVersionCommand";
|
|
55
58
|
import { DeleteTriggerCommand, } from "./commands/DeleteTriggerCommand";
|
|
@@ -97,6 +100,8 @@ import { GetSchemaVersionCommand, } from "./commands/GetSchemaVersionCommand";
|
|
|
97
100
|
import { GetSchemaVersionsDiffCommand, } from "./commands/GetSchemaVersionsDiffCommand";
|
|
98
101
|
import { GetSecurityConfigurationCommand, } from "./commands/GetSecurityConfigurationCommand";
|
|
99
102
|
import { GetSecurityConfigurationsCommand, } from "./commands/GetSecurityConfigurationsCommand";
|
|
103
|
+
import { GetSessionCommand } from "./commands/GetSessionCommand";
|
|
104
|
+
import { GetStatementCommand, } from "./commands/GetStatementCommand";
|
|
100
105
|
import { GetTableCommand } from "./commands/GetTableCommand";
|
|
101
106
|
import { GetTablesCommand } from "./commands/GetTablesCommand";
|
|
102
107
|
import { GetTableVersionCommand, } from "./commands/GetTableVersionCommand";
|
|
@@ -122,6 +127,8 @@ import { ListMLTransformsCommand, } from "./commands/ListMLTransformsCommand";
|
|
|
122
127
|
import { ListRegistriesCommand, } from "./commands/ListRegistriesCommand";
|
|
123
128
|
import { ListSchemasCommand } from "./commands/ListSchemasCommand";
|
|
124
129
|
import { ListSchemaVersionsCommand, } from "./commands/ListSchemaVersionsCommand";
|
|
130
|
+
import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
|
|
131
|
+
import { ListStatementsCommand, } from "./commands/ListStatementsCommand";
|
|
125
132
|
import { ListTriggersCommand, } from "./commands/ListTriggersCommand";
|
|
126
133
|
import { ListWorkflowsCommand, } from "./commands/ListWorkflowsCommand";
|
|
127
134
|
import { PutDataCatalogEncryptionSettingsCommand, } from "./commands/PutDataCatalogEncryptionSettingsCommand";
|
|
@@ -133,6 +140,7 @@ import { RegisterSchemaVersionCommand, } from "./commands/RegisterSchemaVersionC
|
|
|
133
140
|
import { RemoveSchemaVersionMetadataCommand, } from "./commands/RemoveSchemaVersionMetadataCommand";
|
|
134
141
|
import { ResetJobBookmarkCommand, } from "./commands/ResetJobBookmarkCommand";
|
|
135
142
|
import { ResumeWorkflowRunCommand, } from "./commands/ResumeWorkflowRunCommand";
|
|
143
|
+
import { RunStatementCommand, } from "./commands/RunStatementCommand";
|
|
136
144
|
import { SearchTablesCommand, } from "./commands/SearchTablesCommand";
|
|
137
145
|
import { StartBlueprintRunCommand, } from "./commands/StartBlueprintRunCommand";
|
|
138
146
|
import { StartCrawlerCommand, } from "./commands/StartCrawlerCommand";
|
|
@@ -146,6 +154,7 @@ import { StartTriggerCommand, } from "./commands/StartTriggerCommand";
|
|
|
146
154
|
import { StartWorkflowRunCommand, } from "./commands/StartWorkflowRunCommand";
|
|
147
155
|
import { StopCrawlerCommand } from "./commands/StopCrawlerCommand";
|
|
148
156
|
import { StopCrawlerScheduleCommand, } from "./commands/StopCrawlerScheduleCommand";
|
|
157
|
+
import { StopSessionCommand } from "./commands/StopSessionCommand";
|
|
149
158
|
import { StopTriggerCommand } from "./commands/StopTriggerCommand";
|
|
150
159
|
import { StopWorkflowRunCommand, } from "./commands/StopWorkflowRunCommand";
|
|
151
160
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -181,7 +190,7 @@ var Glue = (function (_super) {
|
|
|
181
190
|
}
|
|
182
191
|
else if (typeof cb === "function") {
|
|
183
192
|
if (typeof optionsOrCb !== "object")
|
|
184
|
-
throw new Error("Expect http options but get "
|
|
193
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
185
194
|
this.send(command, optionsOrCb || {}, cb);
|
|
186
195
|
}
|
|
187
196
|
else {
|
|
@@ -195,7 +204,7 @@ var Glue = (function (_super) {
|
|
|
195
204
|
}
|
|
196
205
|
else if (typeof cb === "function") {
|
|
197
206
|
if (typeof optionsOrCb !== "object")
|
|
198
|
-
throw new Error("Expect http options but get "
|
|
207
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
199
208
|
this.send(command, optionsOrCb || {}, cb);
|
|
200
209
|
}
|
|
201
210
|
else {
|
|
@@ -209,7 +218,7 @@ var Glue = (function (_super) {
|
|
|
209
218
|
}
|
|
210
219
|
else if (typeof cb === "function") {
|
|
211
220
|
if (typeof optionsOrCb !== "object")
|
|
212
|
-
throw new Error("Expect http options but get "
|
|
221
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
213
222
|
this.send(command, optionsOrCb || {}, cb);
|
|
214
223
|
}
|
|
215
224
|
else {
|
|
@@ -223,7 +232,7 @@ var Glue = (function (_super) {
|
|
|
223
232
|
}
|
|
224
233
|
else if (typeof cb === "function") {
|
|
225
234
|
if (typeof optionsOrCb !== "object")
|
|
226
|
-
throw new Error("Expect http options but get "
|
|
235
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
227
236
|
this.send(command, optionsOrCb || {}, cb);
|
|
228
237
|
}
|
|
229
238
|
else {
|
|
@@ -237,7 +246,7 @@ var Glue = (function (_super) {
|
|
|
237
246
|
}
|
|
238
247
|
else if (typeof cb === "function") {
|
|
239
248
|
if (typeof optionsOrCb !== "object")
|
|
240
|
-
throw new Error("Expect http options but get "
|
|
249
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
241
250
|
this.send(command, optionsOrCb || {}, cb);
|
|
242
251
|
}
|
|
243
252
|
else {
|
|
@@ -251,7 +260,7 @@ var Glue = (function (_super) {
|
|
|
251
260
|
}
|
|
252
261
|
else if (typeof cb === "function") {
|
|
253
262
|
if (typeof optionsOrCb !== "object")
|
|
254
|
-
throw new Error("Expect http options but get "
|
|
263
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
255
264
|
this.send(command, optionsOrCb || {}, cb);
|
|
256
265
|
}
|
|
257
266
|
else {
|
|
@@ -265,7 +274,7 @@ var Glue = (function (_super) {
|
|
|
265
274
|
}
|
|
266
275
|
else if (typeof cb === "function") {
|
|
267
276
|
if (typeof optionsOrCb !== "object")
|
|
268
|
-
throw new Error("Expect http options but get "
|
|
277
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
269
278
|
this.send(command, optionsOrCb || {}, cb);
|
|
270
279
|
}
|
|
271
280
|
else {
|
|
@@ -279,7 +288,7 @@ var Glue = (function (_super) {
|
|
|
279
288
|
}
|
|
280
289
|
else if (typeof cb === "function") {
|
|
281
290
|
if (typeof optionsOrCb !== "object")
|
|
282
|
-
throw new Error("Expect http options but get "
|
|
291
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
283
292
|
this.send(command, optionsOrCb || {}, cb);
|
|
284
293
|
}
|
|
285
294
|
else {
|
|
@@ -293,7 +302,7 @@ var Glue = (function (_super) {
|
|
|
293
302
|
}
|
|
294
303
|
else if (typeof cb === "function") {
|
|
295
304
|
if (typeof optionsOrCb !== "object")
|
|
296
|
-
throw new Error("Expect http options but get "
|
|
305
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
297
306
|
this.send(command, optionsOrCb || {}, cb);
|
|
298
307
|
}
|
|
299
308
|
else {
|
|
@@ -307,7 +316,7 @@ var Glue = (function (_super) {
|
|
|
307
316
|
}
|
|
308
317
|
else if (typeof cb === "function") {
|
|
309
318
|
if (typeof optionsOrCb !== "object")
|
|
310
|
-
throw new Error("Expect http options but get "
|
|
319
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
311
320
|
this.send(command, optionsOrCb || {}, cb);
|
|
312
321
|
}
|
|
313
322
|
else {
|
|
@@ -321,7 +330,7 @@ var Glue = (function (_super) {
|
|
|
321
330
|
}
|
|
322
331
|
else if (typeof cb === "function") {
|
|
323
332
|
if (typeof optionsOrCb !== "object")
|
|
324
|
-
throw new Error("Expect http options but get "
|
|
333
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
325
334
|
this.send(command, optionsOrCb || {}, cb);
|
|
326
335
|
}
|
|
327
336
|
else {
|
|
@@ -335,7 +344,7 @@ var Glue = (function (_super) {
|
|
|
335
344
|
}
|
|
336
345
|
else if (typeof cb === "function") {
|
|
337
346
|
if (typeof optionsOrCb !== "object")
|
|
338
|
-
throw new Error("Expect http options but get "
|
|
347
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
339
348
|
this.send(command, optionsOrCb || {}, cb);
|
|
340
349
|
}
|
|
341
350
|
else {
|
|
@@ -349,7 +358,7 @@ var Glue = (function (_super) {
|
|
|
349
358
|
}
|
|
350
359
|
else if (typeof cb === "function") {
|
|
351
360
|
if (typeof optionsOrCb !== "object")
|
|
352
|
-
throw new Error("Expect http options but get "
|
|
361
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
353
362
|
this.send(command, optionsOrCb || {}, cb);
|
|
354
363
|
}
|
|
355
364
|
else {
|
|
@@ -363,7 +372,7 @@ var Glue = (function (_super) {
|
|
|
363
372
|
}
|
|
364
373
|
else if (typeof cb === "function") {
|
|
365
374
|
if (typeof optionsOrCb !== "object")
|
|
366
|
-
throw new Error("Expect http options but get "
|
|
375
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
367
376
|
this.send(command, optionsOrCb || {}, cb);
|
|
368
377
|
}
|
|
369
378
|
else {
|
|
@@ -377,7 +386,21 @@ var Glue = (function (_super) {
|
|
|
377
386
|
}
|
|
378
387
|
else if (typeof cb === "function") {
|
|
379
388
|
if (typeof optionsOrCb !== "object")
|
|
380
|
-
throw new Error("Expect http options but get "
|
|
389
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
390
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
391
|
+
}
|
|
392
|
+
else {
|
|
393
|
+
return this.send(command, optionsOrCb);
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
Glue.prototype.cancelStatement = function (args, optionsOrCb, cb) {
|
|
397
|
+
var command = new CancelStatementCommand(args);
|
|
398
|
+
if (typeof optionsOrCb === "function") {
|
|
399
|
+
this.send(command, optionsOrCb);
|
|
400
|
+
}
|
|
401
|
+
else if (typeof cb === "function") {
|
|
402
|
+
if (typeof optionsOrCb !== "object")
|
|
403
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
381
404
|
this.send(command, optionsOrCb || {}, cb);
|
|
382
405
|
}
|
|
383
406
|
else {
|
|
@@ -391,7 +414,7 @@ var Glue = (function (_super) {
|
|
|
391
414
|
}
|
|
392
415
|
else if (typeof cb === "function") {
|
|
393
416
|
if (typeof optionsOrCb !== "object")
|
|
394
|
-
throw new Error("Expect http options but get "
|
|
417
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
395
418
|
this.send(command, optionsOrCb || {}, cb);
|
|
396
419
|
}
|
|
397
420
|
else {
|
|
@@ -405,7 +428,7 @@ var Glue = (function (_super) {
|
|
|
405
428
|
}
|
|
406
429
|
else if (typeof cb === "function") {
|
|
407
430
|
if (typeof optionsOrCb !== "object")
|
|
408
|
-
throw new Error("Expect http options but get "
|
|
431
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
409
432
|
this.send(command, optionsOrCb || {}, cb);
|
|
410
433
|
}
|
|
411
434
|
else {
|
|
@@ -419,7 +442,7 @@ var Glue = (function (_super) {
|
|
|
419
442
|
}
|
|
420
443
|
else if (typeof cb === "function") {
|
|
421
444
|
if (typeof optionsOrCb !== "object")
|
|
422
|
-
throw new Error("Expect http options but get "
|
|
445
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
423
446
|
this.send(command, optionsOrCb || {}, cb);
|
|
424
447
|
}
|
|
425
448
|
else {
|
|
@@ -433,7 +456,7 @@ var Glue = (function (_super) {
|
|
|
433
456
|
}
|
|
434
457
|
else if (typeof cb === "function") {
|
|
435
458
|
if (typeof optionsOrCb !== "object")
|
|
436
|
-
throw new Error("Expect http options but get "
|
|
459
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
437
460
|
this.send(command, optionsOrCb || {}, cb);
|
|
438
461
|
}
|
|
439
462
|
else {
|
|
@@ -447,7 +470,7 @@ var Glue = (function (_super) {
|
|
|
447
470
|
}
|
|
448
471
|
else if (typeof cb === "function") {
|
|
449
472
|
if (typeof optionsOrCb !== "object")
|
|
450
|
-
throw new Error("Expect http options but get "
|
|
473
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
451
474
|
this.send(command, optionsOrCb || {}, cb);
|
|
452
475
|
}
|
|
453
476
|
else {
|
|
@@ -461,7 +484,7 @@ var Glue = (function (_super) {
|
|
|
461
484
|
}
|
|
462
485
|
else if (typeof cb === "function") {
|
|
463
486
|
if (typeof optionsOrCb !== "object")
|
|
464
|
-
throw new Error("Expect http options but get "
|
|
487
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
465
488
|
this.send(command, optionsOrCb || {}, cb);
|
|
466
489
|
}
|
|
467
490
|
else {
|
|
@@ -475,7 +498,7 @@ var Glue = (function (_super) {
|
|
|
475
498
|
}
|
|
476
499
|
else if (typeof cb === "function") {
|
|
477
500
|
if (typeof optionsOrCb !== "object")
|
|
478
|
-
throw new Error("Expect http options but get "
|
|
501
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
479
502
|
this.send(command, optionsOrCb || {}, cb);
|
|
480
503
|
}
|
|
481
504
|
else {
|
|
@@ -489,7 +512,7 @@ var Glue = (function (_super) {
|
|
|
489
512
|
}
|
|
490
513
|
else if (typeof cb === "function") {
|
|
491
514
|
if (typeof optionsOrCb !== "object")
|
|
492
|
-
throw new Error("Expect http options but get "
|
|
515
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
493
516
|
this.send(command, optionsOrCb || {}, cb);
|
|
494
517
|
}
|
|
495
518
|
else {
|
|
@@ -503,7 +526,7 @@ var Glue = (function (_super) {
|
|
|
503
526
|
}
|
|
504
527
|
else if (typeof cb === "function") {
|
|
505
528
|
if (typeof optionsOrCb !== "object")
|
|
506
|
-
throw new Error("Expect http options but get "
|
|
529
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
507
530
|
this.send(command, optionsOrCb || {}, cb);
|
|
508
531
|
}
|
|
509
532
|
else {
|
|
@@ -517,7 +540,7 @@ var Glue = (function (_super) {
|
|
|
517
540
|
}
|
|
518
541
|
else if (typeof cb === "function") {
|
|
519
542
|
if (typeof optionsOrCb !== "object")
|
|
520
|
-
throw new Error("Expect http options but get "
|
|
543
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
521
544
|
this.send(command, optionsOrCb || {}, cb);
|
|
522
545
|
}
|
|
523
546
|
else {
|
|
@@ -531,7 +554,7 @@ var Glue = (function (_super) {
|
|
|
531
554
|
}
|
|
532
555
|
else if (typeof cb === "function") {
|
|
533
556
|
if (typeof optionsOrCb !== "object")
|
|
534
|
-
throw new Error("Expect http options but get "
|
|
557
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
535
558
|
this.send(command, optionsOrCb || {}, cb);
|
|
536
559
|
}
|
|
537
560
|
else {
|
|
@@ -545,7 +568,7 @@ var Glue = (function (_super) {
|
|
|
545
568
|
}
|
|
546
569
|
else if (typeof cb === "function") {
|
|
547
570
|
if (typeof optionsOrCb !== "object")
|
|
548
|
-
throw new Error("Expect http options but get "
|
|
571
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
549
572
|
this.send(command, optionsOrCb || {}, cb);
|
|
550
573
|
}
|
|
551
574
|
else {
|
|
@@ -559,7 +582,7 @@ var Glue = (function (_super) {
|
|
|
559
582
|
}
|
|
560
583
|
else if (typeof cb === "function") {
|
|
561
584
|
if (typeof optionsOrCb !== "object")
|
|
562
|
-
throw new Error("Expect http options but get "
|
|
585
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
563
586
|
this.send(command, optionsOrCb || {}, cb);
|
|
564
587
|
}
|
|
565
588
|
else {
|
|
@@ -573,7 +596,7 @@ var Glue = (function (_super) {
|
|
|
573
596
|
}
|
|
574
597
|
else if (typeof cb === "function") {
|
|
575
598
|
if (typeof optionsOrCb !== "object")
|
|
576
|
-
throw new Error("Expect http options but get "
|
|
599
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
577
600
|
this.send(command, optionsOrCb || {}, cb);
|
|
578
601
|
}
|
|
579
602
|
else {
|
|
@@ -587,7 +610,21 @@ var Glue = (function (_super) {
|
|
|
587
610
|
}
|
|
588
611
|
else if (typeof cb === "function") {
|
|
589
612
|
if (typeof optionsOrCb !== "object")
|
|
590
|
-
throw new Error("Expect http options but get "
|
|
613
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
614
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
615
|
+
}
|
|
616
|
+
else {
|
|
617
|
+
return this.send(command, optionsOrCb);
|
|
618
|
+
}
|
|
619
|
+
};
|
|
620
|
+
Glue.prototype.createSession = function (args, optionsOrCb, cb) {
|
|
621
|
+
var command = new CreateSessionCommand(args);
|
|
622
|
+
if (typeof optionsOrCb === "function") {
|
|
623
|
+
this.send(command, optionsOrCb);
|
|
624
|
+
}
|
|
625
|
+
else if (typeof cb === "function") {
|
|
626
|
+
if (typeof optionsOrCb !== "object")
|
|
627
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
591
628
|
this.send(command, optionsOrCb || {}, cb);
|
|
592
629
|
}
|
|
593
630
|
else {
|
|
@@ -601,7 +638,7 @@ var Glue = (function (_super) {
|
|
|
601
638
|
}
|
|
602
639
|
else if (typeof cb === "function") {
|
|
603
640
|
if (typeof optionsOrCb !== "object")
|
|
604
|
-
throw new Error("Expect http options but get "
|
|
641
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
605
642
|
this.send(command, optionsOrCb || {}, cb);
|
|
606
643
|
}
|
|
607
644
|
else {
|
|
@@ -615,7 +652,7 @@ var Glue = (function (_super) {
|
|
|
615
652
|
}
|
|
616
653
|
else if (typeof cb === "function") {
|
|
617
654
|
if (typeof optionsOrCb !== "object")
|
|
618
|
-
throw new Error("Expect http options but get "
|
|
655
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
619
656
|
this.send(command, optionsOrCb || {}, cb);
|
|
620
657
|
}
|
|
621
658
|
else {
|
|
@@ -629,7 +666,7 @@ var Glue = (function (_super) {
|
|
|
629
666
|
}
|
|
630
667
|
else if (typeof cb === "function") {
|
|
631
668
|
if (typeof optionsOrCb !== "object")
|
|
632
|
-
throw new Error("Expect http options but get "
|
|
669
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
633
670
|
this.send(command, optionsOrCb || {}, cb);
|
|
634
671
|
}
|
|
635
672
|
else {
|
|
@@ -643,7 +680,7 @@ var Glue = (function (_super) {
|
|
|
643
680
|
}
|
|
644
681
|
else if (typeof cb === "function") {
|
|
645
682
|
if (typeof optionsOrCb !== "object")
|
|
646
|
-
throw new Error("Expect http options but get "
|
|
683
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
647
684
|
this.send(command, optionsOrCb || {}, cb);
|
|
648
685
|
}
|
|
649
686
|
else {
|
|
@@ -657,7 +694,7 @@ var Glue = (function (_super) {
|
|
|
657
694
|
}
|
|
658
695
|
else if (typeof cb === "function") {
|
|
659
696
|
if (typeof optionsOrCb !== "object")
|
|
660
|
-
throw new Error("Expect http options but get "
|
|
697
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
661
698
|
this.send(command, optionsOrCb || {}, cb);
|
|
662
699
|
}
|
|
663
700
|
else {
|
|
@@ -671,7 +708,7 @@ var Glue = (function (_super) {
|
|
|
671
708
|
}
|
|
672
709
|
else if (typeof cb === "function") {
|
|
673
710
|
if (typeof optionsOrCb !== "object")
|
|
674
|
-
throw new Error("Expect http options but get "
|
|
711
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
675
712
|
this.send(command, optionsOrCb || {}, cb);
|
|
676
713
|
}
|
|
677
714
|
else {
|
|
@@ -685,7 +722,7 @@ var Glue = (function (_super) {
|
|
|
685
722
|
}
|
|
686
723
|
else if (typeof cb === "function") {
|
|
687
724
|
if (typeof optionsOrCb !== "object")
|
|
688
|
-
throw new Error("Expect http options but get "
|
|
725
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
689
726
|
this.send(command, optionsOrCb || {}, cb);
|
|
690
727
|
}
|
|
691
728
|
else {
|
|
@@ -699,7 +736,7 @@ var Glue = (function (_super) {
|
|
|
699
736
|
}
|
|
700
737
|
else if (typeof cb === "function") {
|
|
701
738
|
if (typeof optionsOrCb !== "object")
|
|
702
|
-
throw new Error("Expect http options but get "
|
|
739
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
703
740
|
this.send(command, optionsOrCb || {}, cb);
|
|
704
741
|
}
|
|
705
742
|
else {
|
|
@@ -713,7 +750,7 @@ var Glue = (function (_super) {
|
|
|
713
750
|
}
|
|
714
751
|
else if (typeof cb === "function") {
|
|
715
752
|
if (typeof optionsOrCb !== "object")
|
|
716
|
-
throw new Error("Expect http options but get "
|
|
753
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
717
754
|
this.send(command, optionsOrCb || {}, cb);
|
|
718
755
|
}
|
|
719
756
|
else {
|
|
@@ -727,7 +764,7 @@ var Glue = (function (_super) {
|
|
|
727
764
|
}
|
|
728
765
|
else if (typeof cb === "function") {
|
|
729
766
|
if (typeof optionsOrCb !== "object")
|
|
730
|
-
throw new Error("Expect http options but get "
|
|
767
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
731
768
|
this.send(command, optionsOrCb || {}, cb);
|
|
732
769
|
}
|
|
733
770
|
else {
|
|
@@ -741,7 +778,7 @@ var Glue = (function (_super) {
|
|
|
741
778
|
}
|
|
742
779
|
else if (typeof cb === "function") {
|
|
743
780
|
if (typeof optionsOrCb !== "object")
|
|
744
|
-
throw new Error("Expect http options but get "
|
|
781
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
745
782
|
this.send(command, optionsOrCb || {}, cb);
|
|
746
783
|
}
|
|
747
784
|
else {
|
|
@@ -755,7 +792,7 @@ var Glue = (function (_super) {
|
|
|
755
792
|
}
|
|
756
793
|
else if (typeof cb === "function") {
|
|
757
794
|
if (typeof optionsOrCb !== "object")
|
|
758
|
-
throw new Error("Expect http options but get "
|
|
795
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
759
796
|
this.send(command, optionsOrCb || {}, cb);
|
|
760
797
|
}
|
|
761
798
|
else {
|
|
@@ -769,7 +806,7 @@ var Glue = (function (_super) {
|
|
|
769
806
|
}
|
|
770
807
|
else if (typeof cb === "function") {
|
|
771
808
|
if (typeof optionsOrCb !== "object")
|
|
772
|
-
throw new Error("Expect http options but get "
|
|
809
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
773
810
|
this.send(command, optionsOrCb || {}, cb);
|
|
774
811
|
}
|
|
775
812
|
else {
|
|
@@ -783,7 +820,7 @@ var Glue = (function (_super) {
|
|
|
783
820
|
}
|
|
784
821
|
else if (typeof cb === "function") {
|
|
785
822
|
if (typeof optionsOrCb !== "object")
|
|
786
|
-
throw new Error("Expect http options but get "
|
|
823
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
787
824
|
this.send(command, optionsOrCb || {}, cb);
|
|
788
825
|
}
|
|
789
826
|
else {
|
|
@@ -797,7 +834,7 @@ var Glue = (function (_super) {
|
|
|
797
834
|
}
|
|
798
835
|
else if (typeof cb === "function") {
|
|
799
836
|
if (typeof optionsOrCb !== "object")
|
|
800
|
-
throw new Error("Expect http options but get "
|
|
837
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
801
838
|
this.send(command, optionsOrCb || {}, cb);
|
|
802
839
|
}
|
|
803
840
|
else {
|
|
@@ -811,7 +848,7 @@ var Glue = (function (_super) {
|
|
|
811
848
|
}
|
|
812
849
|
else if (typeof cb === "function") {
|
|
813
850
|
if (typeof optionsOrCb !== "object")
|
|
814
|
-
throw new Error("Expect http options but get "
|
|
851
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
815
852
|
this.send(command, optionsOrCb || {}, cb);
|
|
816
853
|
}
|
|
817
854
|
else {
|
|
@@ -825,7 +862,7 @@ var Glue = (function (_super) {
|
|
|
825
862
|
}
|
|
826
863
|
else if (typeof cb === "function") {
|
|
827
864
|
if (typeof optionsOrCb !== "object")
|
|
828
|
-
throw new Error("Expect http options but get "
|
|
865
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
829
866
|
this.send(command, optionsOrCb || {}, cb);
|
|
830
867
|
}
|
|
831
868
|
else {
|
|
@@ -839,7 +876,7 @@ var Glue = (function (_super) {
|
|
|
839
876
|
}
|
|
840
877
|
else if (typeof cb === "function") {
|
|
841
878
|
if (typeof optionsOrCb !== "object")
|
|
842
|
-
throw new Error("Expect http options but get "
|
|
879
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
843
880
|
this.send(command, optionsOrCb || {}, cb);
|
|
844
881
|
}
|
|
845
882
|
else {
|
|
@@ -853,7 +890,7 @@ var Glue = (function (_super) {
|
|
|
853
890
|
}
|
|
854
891
|
else if (typeof cb === "function") {
|
|
855
892
|
if (typeof optionsOrCb !== "object")
|
|
856
|
-
throw new Error("Expect http options but get "
|
|
893
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
857
894
|
this.send(command, optionsOrCb || {}, cb);
|
|
858
895
|
}
|
|
859
896
|
else {
|
|
@@ -867,7 +904,7 @@ var Glue = (function (_super) {
|
|
|
867
904
|
}
|
|
868
905
|
else if (typeof cb === "function") {
|
|
869
906
|
if (typeof optionsOrCb !== "object")
|
|
870
|
-
throw new Error("Expect http options but get "
|
|
907
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
871
908
|
this.send(command, optionsOrCb || {}, cb);
|
|
872
909
|
}
|
|
873
910
|
else {
|
|
@@ -881,7 +918,21 @@ var Glue = (function (_super) {
|
|
|
881
918
|
}
|
|
882
919
|
else if (typeof cb === "function") {
|
|
883
920
|
if (typeof optionsOrCb !== "object")
|
|
884
|
-
throw new Error("Expect http options but get "
|
|
921
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
922
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
923
|
+
}
|
|
924
|
+
else {
|
|
925
|
+
return this.send(command, optionsOrCb);
|
|
926
|
+
}
|
|
927
|
+
};
|
|
928
|
+
Glue.prototype.deleteSession = function (args, optionsOrCb, cb) {
|
|
929
|
+
var command = new DeleteSessionCommand(args);
|
|
930
|
+
if (typeof optionsOrCb === "function") {
|
|
931
|
+
this.send(command, optionsOrCb);
|
|
932
|
+
}
|
|
933
|
+
else if (typeof cb === "function") {
|
|
934
|
+
if (typeof optionsOrCb !== "object")
|
|
935
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
885
936
|
this.send(command, optionsOrCb || {}, cb);
|
|
886
937
|
}
|
|
887
938
|
else {
|
|
@@ -895,7 +946,7 @@ var Glue = (function (_super) {
|
|
|
895
946
|
}
|
|
896
947
|
else if (typeof cb === "function") {
|
|
897
948
|
if (typeof optionsOrCb !== "object")
|
|
898
|
-
throw new Error("Expect http options but get "
|
|
949
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
899
950
|
this.send(command, optionsOrCb || {}, cb);
|
|
900
951
|
}
|
|
901
952
|
else {
|
|
@@ -909,7 +960,7 @@ var Glue = (function (_super) {
|
|
|
909
960
|
}
|
|
910
961
|
else if (typeof cb === "function") {
|
|
911
962
|
if (typeof optionsOrCb !== "object")
|
|
912
|
-
throw new Error("Expect http options but get "
|
|
963
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
913
964
|
this.send(command, optionsOrCb || {}, cb);
|
|
914
965
|
}
|
|
915
966
|
else {
|
|
@@ -923,7 +974,7 @@ var Glue = (function (_super) {
|
|
|
923
974
|
}
|
|
924
975
|
else if (typeof cb === "function") {
|
|
925
976
|
if (typeof optionsOrCb !== "object")
|
|
926
|
-
throw new Error("Expect http options but get "
|
|
977
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
927
978
|
this.send(command, optionsOrCb || {}, cb);
|
|
928
979
|
}
|
|
929
980
|
else {
|
|
@@ -937,7 +988,7 @@ var Glue = (function (_super) {
|
|
|
937
988
|
}
|
|
938
989
|
else if (typeof cb === "function") {
|
|
939
990
|
if (typeof optionsOrCb !== "object")
|
|
940
|
-
throw new Error("Expect http options but get "
|
|
991
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
941
992
|
this.send(command, optionsOrCb || {}, cb);
|
|
942
993
|
}
|
|
943
994
|
else {
|
|
@@ -951,7 +1002,7 @@ var Glue = (function (_super) {
|
|
|
951
1002
|
}
|
|
952
1003
|
else if (typeof cb === "function") {
|
|
953
1004
|
if (typeof optionsOrCb !== "object")
|
|
954
|
-
throw new Error("Expect http options but get "
|
|
1005
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
955
1006
|
this.send(command, optionsOrCb || {}, cb);
|
|
956
1007
|
}
|
|
957
1008
|
else {
|
|
@@ -965,7 +1016,7 @@ var Glue = (function (_super) {
|
|
|
965
1016
|
}
|
|
966
1017
|
else if (typeof cb === "function") {
|
|
967
1018
|
if (typeof optionsOrCb !== "object")
|
|
968
|
-
throw new Error("Expect http options but get "
|
|
1019
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
969
1020
|
this.send(command, optionsOrCb || {}, cb);
|
|
970
1021
|
}
|
|
971
1022
|
else {
|
|
@@ -979,7 +1030,7 @@ var Glue = (function (_super) {
|
|
|
979
1030
|
}
|
|
980
1031
|
else if (typeof cb === "function") {
|
|
981
1032
|
if (typeof optionsOrCb !== "object")
|
|
982
|
-
throw new Error("Expect http options but get "
|
|
1033
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
983
1034
|
this.send(command, optionsOrCb || {}, cb);
|
|
984
1035
|
}
|
|
985
1036
|
else {
|
|
@@ -993,7 +1044,7 @@ var Glue = (function (_super) {
|
|
|
993
1044
|
}
|
|
994
1045
|
else if (typeof cb === "function") {
|
|
995
1046
|
if (typeof optionsOrCb !== "object")
|
|
996
|
-
throw new Error("Expect http options but get "
|
|
1047
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
997
1048
|
this.send(command, optionsOrCb || {}, cb);
|
|
998
1049
|
}
|
|
999
1050
|
else {
|
|
@@ -1007,7 +1058,7 @@ var Glue = (function (_super) {
|
|
|
1007
1058
|
}
|
|
1008
1059
|
else if (typeof cb === "function") {
|
|
1009
1060
|
if (typeof optionsOrCb !== "object")
|
|
1010
|
-
throw new Error("Expect http options but get "
|
|
1061
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1011
1062
|
this.send(command, optionsOrCb || {}, cb);
|
|
1012
1063
|
}
|
|
1013
1064
|
else {
|
|
@@ -1021,7 +1072,7 @@ var Glue = (function (_super) {
|
|
|
1021
1072
|
}
|
|
1022
1073
|
else if (typeof cb === "function") {
|
|
1023
1074
|
if (typeof optionsOrCb !== "object")
|
|
1024
|
-
throw new Error("Expect http options but get "
|
|
1075
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1025
1076
|
this.send(command, optionsOrCb || {}, cb);
|
|
1026
1077
|
}
|
|
1027
1078
|
else {
|
|
@@ -1035,7 +1086,7 @@ var Glue = (function (_super) {
|
|
|
1035
1086
|
}
|
|
1036
1087
|
else if (typeof cb === "function") {
|
|
1037
1088
|
if (typeof optionsOrCb !== "object")
|
|
1038
|
-
throw new Error("Expect http options but get "
|
|
1089
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1039
1090
|
this.send(command, optionsOrCb || {}, cb);
|
|
1040
1091
|
}
|
|
1041
1092
|
else {
|
|
@@ -1049,7 +1100,7 @@ var Glue = (function (_super) {
|
|
|
1049
1100
|
}
|
|
1050
1101
|
else if (typeof cb === "function") {
|
|
1051
1102
|
if (typeof optionsOrCb !== "object")
|
|
1052
|
-
throw new Error("Expect http options but get "
|
|
1103
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1053
1104
|
this.send(command, optionsOrCb || {}, cb);
|
|
1054
1105
|
}
|
|
1055
1106
|
else {
|
|
@@ -1063,7 +1114,7 @@ var Glue = (function (_super) {
|
|
|
1063
1114
|
}
|
|
1064
1115
|
else if (typeof cb === "function") {
|
|
1065
1116
|
if (typeof optionsOrCb !== "object")
|
|
1066
|
-
throw new Error("Expect http options but get "
|
|
1117
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1067
1118
|
this.send(command, optionsOrCb || {}, cb);
|
|
1068
1119
|
}
|
|
1069
1120
|
else {
|
|
@@ -1077,7 +1128,7 @@ var Glue = (function (_super) {
|
|
|
1077
1128
|
}
|
|
1078
1129
|
else if (typeof cb === "function") {
|
|
1079
1130
|
if (typeof optionsOrCb !== "object")
|
|
1080
|
-
throw new Error("Expect http options but get "
|
|
1131
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1081
1132
|
this.send(command, optionsOrCb || {}, cb);
|
|
1082
1133
|
}
|
|
1083
1134
|
else {
|
|
@@ -1091,7 +1142,7 @@ var Glue = (function (_super) {
|
|
|
1091
1142
|
}
|
|
1092
1143
|
else if (typeof cb === "function") {
|
|
1093
1144
|
if (typeof optionsOrCb !== "object")
|
|
1094
|
-
throw new Error("Expect http options but get "
|
|
1145
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1095
1146
|
this.send(command, optionsOrCb || {}, cb);
|
|
1096
1147
|
}
|
|
1097
1148
|
else {
|
|
@@ -1105,7 +1156,7 @@ var Glue = (function (_super) {
|
|
|
1105
1156
|
}
|
|
1106
1157
|
else if (typeof cb === "function") {
|
|
1107
1158
|
if (typeof optionsOrCb !== "object")
|
|
1108
|
-
throw new Error("Expect http options but get "
|
|
1159
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1109
1160
|
this.send(command, optionsOrCb || {}, cb);
|
|
1110
1161
|
}
|
|
1111
1162
|
else {
|
|
@@ -1119,7 +1170,7 @@ var Glue = (function (_super) {
|
|
|
1119
1170
|
}
|
|
1120
1171
|
else if (typeof cb === "function") {
|
|
1121
1172
|
if (typeof optionsOrCb !== "object")
|
|
1122
|
-
throw new Error("Expect http options but get "
|
|
1173
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1123
1174
|
this.send(command, optionsOrCb || {}, cb);
|
|
1124
1175
|
}
|
|
1125
1176
|
else {
|
|
@@ -1133,7 +1184,7 @@ var Glue = (function (_super) {
|
|
|
1133
1184
|
}
|
|
1134
1185
|
else if (typeof cb === "function") {
|
|
1135
1186
|
if (typeof optionsOrCb !== "object")
|
|
1136
|
-
throw new Error("Expect http options but get "
|
|
1187
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1137
1188
|
this.send(command, optionsOrCb || {}, cb);
|
|
1138
1189
|
}
|
|
1139
1190
|
else {
|
|
@@ -1147,7 +1198,7 @@ var Glue = (function (_super) {
|
|
|
1147
1198
|
}
|
|
1148
1199
|
else if (typeof cb === "function") {
|
|
1149
1200
|
if (typeof optionsOrCb !== "object")
|
|
1150
|
-
throw new Error("Expect http options but get "
|
|
1201
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1151
1202
|
this.send(command, optionsOrCb || {}, cb);
|
|
1152
1203
|
}
|
|
1153
1204
|
else {
|
|
@@ -1161,7 +1212,7 @@ var Glue = (function (_super) {
|
|
|
1161
1212
|
}
|
|
1162
1213
|
else if (typeof cb === "function") {
|
|
1163
1214
|
if (typeof optionsOrCb !== "object")
|
|
1164
|
-
throw new Error("Expect http options but get "
|
|
1215
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1165
1216
|
this.send(command, optionsOrCb || {}, cb);
|
|
1166
1217
|
}
|
|
1167
1218
|
else {
|
|
@@ -1175,7 +1226,7 @@ var Glue = (function (_super) {
|
|
|
1175
1226
|
}
|
|
1176
1227
|
else if (typeof cb === "function") {
|
|
1177
1228
|
if (typeof optionsOrCb !== "object")
|
|
1178
|
-
throw new Error("Expect http options but get "
|
|
1229
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1179
1230
|
this.send(command, optionsOrCb || {}, cb);
|
|
1180
1231
|
}
|
|
1181
1232
|
else {
|
|
@@ -1189,7 +1240,7 @@ var Glue = (function (_super) {
|
|
|
1189
1240
|
}
|
|
1190
1241
|
else if (typeof cb === "function") {
|
|
1191
1242
|
if (typeof optionsOrCb !== "object")
|
|
1192
|
-
throw new Error("Expect http options but get "
|
|
1243
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1193
1244
|
this.send(command, optionsOrCb || {}, cb);
|
|
1194
1245
|
}
|
|
1195
1246
|
else {
|
|
@@ -1203,7 +1254,7 @@ var Glue = (function (_super) {
|
|
|
1203
1254
|
}
|
|
1204
1255
|
else if (typeof cb === "function") {
|
|
1205
1256
|
if (typeof optionsOrCb !== "object")
|
|
1206
|
-
throw new Error("Expect http options but get "
|
|
1257
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1207
1258
|
this.send(command, optionsOrCb || {}, cb);
|
|
1208
1259
|
}
|
|
1209
1260
|
else {
|
|
@@ -1217,7 +1268,7 @@ var Glue = (function (_super) {
|
|
|
1217
1268
|
}
|
|
1218
1269
|
else if (typeof cb === "function") {
|
|
1219
1270
|
if (typeof optionsOrCb !== "object")
|
|
1220
|
-
throw new Error("Expect http options but get "
|
|
1271
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1221
1272
|
this.send(command, optionsOrCb || {}, cb);
|
|
1222
1273
|
}
|
|
1223
1274
|
else {
|
|
@@ -1231,7 +1282,7 @@ var Glue = (function (_super) {
|
|
|
1231
1282
|
}
|
|
1232
1283
|
else if (typeof cb === "function") {
|
|
1233
1284
|
if (typeof optionsOrCb !== "object")
|
|
1234
|
-
throw new Error("Expect http options but get "
|
|
1285
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1235
1286
|
this.send(command, optionsOrCb || {}, cb);
|
|
1236
1287
|
}
|
|
1237
1288
|
else {
|
|
@@ -1245,7 +1296,7 @@ var Glue = (function (_super) {
|
|
|
1245
1296
|
}
|
|
1246
1297
|
else if (typeof cb === "function") {
|
|
1247
1298
|
if (typeof optionsOrCb !== "object")
|
|
1248
|
-
throw new Error("Expect http options but get "
|
|
1299
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1249
1300
|
this.send(command, optionsOrCb || {}, cb);
|
|
1250
1301
|
}
|
|
1251
1302
|
else {
|
|
@@ -1259,7 +1310,7 @@ var Glue = (function (_super) {
|
|
|
1259
1310
|
}
|
|
1260
1311
|
else if (typeof cb === "function") {
|
|
1261
1312
|
if (typeof optionsOrCb !== "object")
|
|
1262
|
-
throw new Error("Expect http options but get "
|
|
1313
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1263
1314
|
this.send(command, optionsOrCb || {}, cb);
|
|
1264
1315
|
}
|
|
1265
1316
|
else {
|
|
@@ -1273,7 +1324,7 @@ var Glue = (function (_super) {
|
|
|
1273
1324
|
}
|
|
1274
1325
|
else if (typeof cb === "function") {
|
|
1275
1326
|
if (typeof optionsOrCb !== "object")
|
|
1276
|
-
throw new Error("Expect http options but get "
|
|
1327
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1277
1328
|
this.send(command, optionsOrCb || {}, cb);
|
|
1278
1329
|
}
|
|
1279
1330
|
else {
|
|
@@ -1287,7 +1338,7 @@ var Glue = (function (_super) {
|
|
|
1287
1338
|
}
|
|
1288
1339
|
else if (typeof cb === "function") {
|
|
1289
1340
|
if (typeof optionsOrCb !== "object")
|
|
1290
|
-
throw new Error("Expect http options but get "
|
|
1341
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1291
1342
|
this.send(command, optionsOrCb || {}, cb);
|
|
1292
1343
|
}
|
|
1293
1344
|
else {
|
|
@@ -1301,7 +1352,7 @@ var Glue = (function (_super) {
|
|
|
1301
1352
|
}
|
|
1302
1353
|
else if (typeof cb === "function") {
|
|
1303
1354
|
if (typeof optionsOrCb !== "object")
|
|
1304
|
-
throw new Error("Expect http options but get "
|
|
1355
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1305
1356
|
this.send(command, optionsOrCb || {}, cb);
|
|
1306
1357
|
}
|
|
1307
1358
|
else {
|
|
@@ -1315,7 +1366,7 @@ var Glue = (function (_super) {
|
|
|
1315
1366
|
}
|
|
1316
1367
|
else if (typeof cb === "function") {
|
|
1317
1368
|
if (typeof optionsOrCb !== "object")
|
|
1318
|
-
throw new Error("Expect http options but get "
|
|
1369
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1319
1370
|
this.send(command, optionsOrCb || {}, cb);
|
|
1320
1371
|
}
|
|
1321
1372
|
else {
|
|
@@ -1329,7 +1380,7 @@ var Glue = (function (_super) {
|
|
|
1329
1380
|
}
|
|
1330
1381
|
else if (typeof cb === "function") {
|
|
1331
1382
|
if (typeof optionsOrCb !== "object")
|
|
1332
|
-
throw new Error("Expect http options but get "
|
|
1383
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1333
1384
|
this.send(command, optionsOrCb || {}, cb);
|
|
1334
1385
|
}
|
|
1335
1386
|
else {
|
|
@@ -1343,7 +1394,7 @@ var Glue = (function (_super) {
|
|
|
1343
1394
|
}
|
|
1344
1395
|
else if (typeof cb === "function") {
|
|
1345
1396
|
if (typeof optionsOrCb !== "object")
|
|
1346
|
-
throw new Error("Expect http options but get "
|
|
1397
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1347
1398
|
this.send(command, optionsOrCb || {}, cb);
|
|
1348
1399
|
}
|
|
1349
1400
|
else {
|
|
@@ -1357,7 +1408,7 @@ var Glue = (function (_super) {
|
|
|
1357
1408
|
}
|
|
1358
1409
|
else if (typeof cb === "function") {
|
|
1359
1410
|
if (typeof optionsOrCb !== "object")
|
|
1360
|
-
throw new Error("Expect http options but get "
|
|
1411
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1361
1412
|
this.send(command, optionsOrCb || {}, cb);
|
|
1362
1413
|
}
|
|
1363
1414
|
else {
|
|
@@ -1371,7 +1422,7 @@ var Glue = (function (_super) {
|
|
|
1371
1422
|
}
|
|
1372
1423
|
else if (typeof cb === "function") {
|
|
1373
1424
|
if (typeof optionsOrCb !== "object")
|
|
1374
|
-
throw new Error("Expect http options but get "
|
|
1425
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1375
1426
|
this.send(command, optionsOrCb || {}, cb);
|
|
1376
1427
|
}
|
|
1377
1428
|
else {
|
|
@@ -1385,7 +1436,7 @@ var Glue = (function (_super) {
|
|
|
1385
1436
|
}
|
|
1386
1437
|
else if (typeof cb === "function") {
|
|
1387
1438
|
if (typeof optionsOrCb !== "object")
|
|
1388
|
-
throw new Error("Expect http options but get "
|
|
1439
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1389
1440
|
this.send(command, optionsOrCb || {}, cb);
|
|
1390
1441
|
}
|
|
1391
1442
|
else {
|
|
@@ -1399,7 +1450,7 @@ var Glue = (function (_super) {
|
|
|
1399
1450
|
}
|
|
1400
1451
|
else if (typeof cb === "function") {
|
|
1401
1452
|
if (typeof optionsOrCb !== "object")
|
|
1402
|
-
throw new Error("Expect http options but get "
|
|
1453
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1403
1454
|
this.send(command, optionsOrCb || {}, cb);
|
|
1404
1455
|
}
|
|
1405
1456
|
else {
|
|
@@ -1413,7 +1464,7 @@ var Glue = (function (_super) {
|
|
|
1413
1464
|
}
|
|
1414
1465
|
else if (typeof cb === "function") {
|
|
1415
1466
|
if (typeof optionsOrCb !== "object")
|
|
1416
|
-
throw new Error("Expect http options but get "
|
|
1467
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1417
1468
|
this.send(command, optionsOrCb || {}, cb);
|
|
1418
1469
|
}
|
|
1419
1470
|
else {
|
|
@@ -1427,7 +1478,7 @@ var Glue = (function (_super) {
|
|
|
1427
1478
|
}
|
|
1428
1479
|
else if (typeof cb === "function") {
|
|
1429
1480
|
if (typeof optionsOrCb !== "object")
|
|
1430
|
-
throw new Error("Expect http options but get "
|
|
1481
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1431
1482
|
this.send(command, optionsOrCb || {}, cb);
|
|
1432
1483
|
}
|
|
1433
1484
|
else {
|
|
@@ -1441,7 +1492,7 @@ var Glue = (function (_super) {
|
|
|
1441
1492
|
}
|
|
1442
1493
|
else if (typeof cb === "function") {
|
|
1443
1494
|
if (typeof optionsOrCb !== "object")
|
|
1444
|
-
throw new Error("Expect http options but get "
|
|
1495
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1445
1496
|
this.send(command, optionsOrCb || {}, cb);
|
|
1446
1497
|
}
|
|
1447
1498
|
else {
|
|
@@ -1455,7 +1506,7 @@ var Glue = (function (_super) {
|
|
|
1455
1506
|
}
|
|
1456
1507
|
else if (typeof cb === "function") {
|
|
1457
1508
|
if (typeof optionsOrCb !== "object")
|
|
1458
|
-
throw new Error("Expect http options but get "
|
|
1509
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1459
1510
|
this.send(command, optionsOrCb || {}, cb);
|
|
1460
1511
|
}
|
|
1461
1512
|
else {
|
|
@@ -1469,7 +1520,7 @@ var Glue = (function (_super) {
|
|
|
1469
1520
|
}
|
|
1470
1521
|
else if (typeof cb === "function") {
|
|
1471
1522
|
if (typeof optionsOrCb !== "object")
|
|
1472
|
-
throw new Error("Expect http options but get "
|
|
1523
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1473
1524
|
this.send(command, optionsOrCb || {}, cb);
|
|
1474
1525
|
}
|
|
1475
1526
|
else {
|
|
@@ -1483,7 +1534,7 @@ var Glue = (function (_super) {
|
|
|
1483
1534
|
}
|
|
1484
1535
|
else if (typeof cb === "function") {
|
|
1485
1536
|
if (typeof optionsOrCb !== "object")
|
|
1486
|
-
throw new Error("Expect http options but get "
|
|
1537
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1487
1538
|
this.send(command, optionsOrCb || {}, cb);
|
|
1488
1539
|
}
|
|
1489
1540
|
else {
|
|
@@ -1497,7 +1548,7 @@ var Glue = (function (_super) {
|
|
|
1497
1548
|
}
|
|
1498
1549
|
else if (typeof cb === "function") {
|
|
1499
1550
|
if (typeof optionsOrCb !== "object")
|
|
1500
|
-
throw new Error("Expect http options but get "
|
|
1551
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1501
1552
|
this.send(command, optionsOrCb || {}, cb);
|
|
1502
1553
|
}
|
|
1503
1554
|
else {
|
|
@@ -1511,7 +1562,7 @@ var Glue = (function (_super) {
|
|
|
1511
1562
|
}
|
|
1512
1563
|
else if (typeof cb === "function") {
|
|
1513
1564
|
if (typeof optionsOrCb !== "object")
|
|
1514
|
-
throw new Error("Expect http options but get "
|
|
1565
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1515
1566
|
this.send(command, optionsOrCb || {}, cb);
|
|
1516
1567
|
}
|
|
1517
1568
|
else {
|
|
@@ -1525,7 +1576,7 @@ var Glue = (function (_super) {
|
|
|
1525
1576
|
}
|
|
1526
1577
|
else if (typeof cb === "function") {
|
|
1527
1578
|
if (typeof optionsOrCb !== "object")
|
|
1528
|
-
throw new Error("Expect http options but get "
|
|
1579
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1529
1580
|
this.send(command, optionsOrCb || {}, cb);
|
|
1530
1581
|
}
|
|
1531
1582
|
else {
|
|
@@ -1539,7 +1590,35 @@ var Glue = (function (_super) {
|
|
|
1539
1590
|
}
|
|
1540
1591
|
else if (typeof cb === "function") {
|
|
1541
1592
|
if (typeof optionsOrCb !== "object")
|
|
1542
|
-
throw new Error("Expect http options but get "
|
|
1593
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1594
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1595
|
+
}
|
|
1596
|
+
else {
|
|
1597
|
+
return this.send(command, optionsOrCb);
|
|
1598
|
+
}
|
|
1599
|
+
};
|
|
1600
|
+
Glue.prototype.getSession = function (args, optionsOrCb, cb) {
|
|
1601
|
+
var command = new GetSessionCommand(args);
|
|
1602
|
+
if (typeof optionsOrCb === "function") {
|
|
1603
|
+
this.send(command, optionsOrCb);
|
|
1604
|
+
}
|
|
1605
|
+
else if (typeof cb === "function") {
|
|
1606
|
+
if (typeof optionsOrCb !== "object")
|
|
1607
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1608
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1609
|
+
}
|
|
1610
|
+
else {
|
|
1611
|
+
return this.send(command, optionsOrCb);
|
|
1612
|
+
}
|
|
1613
|
+
};
|
|
1614
|
+
Glue.prototype.getStatement = function (args, optionsOrCb, cb) {
|
|
1615
|
+
var command = new GetStatementCommand(args);
|
|
1616
|
+
if (typeof optionsOrCb === "function") {
|
|
1617
|
+
this.send(command, optionsOrCb);
|
|
1618
|
+
}
|
|
1619
|
+
else if (typeof cb === "function") {
|
|
1620
|
+
if (typeof optionsOrCb !== "object")
|
|
1621
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1543
1622
|
this.send(command, optionsOrCb || {}, cb);
|
|
1544
1623
|
}
|
|
1545
1624
|
else {
|
|
@@ -1553,7 +1632,7 @@ var Glue = (function (_super) {
|
|
|
1553
1632
|
}
|
|
1554
1633
|
else if (typeof cb === "function") {
|
|
1555
1634
|
if (typeof optionsOrCb !== "object")
|
|
1556
|
-
throw new Error("Expect http options but get "
|
|
1635
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1557
1636
|
this.send(command, optionsOrCb || {}, cb);
|
|
1558
1637
|
}
|
|
1559
1638
|
else {
|
|
@@ -1567,7 +1646,7 @@ var Glue = (function (_super) {
|
|
|
1567
1646
|
}
|
|
1568
1647
|
else if (typeof cb === "function") {
|
|
1569
1648
|
if (typeof optionsOrCb !== "object")
|
|
1570
|
-
throw new Error("Expect http options but get "
|
|
1649
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1571
1650
|
this.send(command, optionsOrCb || {}, cb);
|
|
1572
1651
|
}
|
|
1573
1652
|
else {
|
|
@@ -1581,7 +1660,7 @@ var Glue = (function (_super) {
|
|
|
1581
1660
|
}
|
|
1582
1661
|
else if (typeof cb === "function") {
|
|
1583
1662
|
if (typeof optionsOrCb !== "object")
|
|
1584
|
-
throw new Error("Expect http options but get "
|
|
1663
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1585
1664
|
this.send(command, optionsOrCb || {}, cb);
|
|
1586
1665
|
}
|
|
1587
1666
|
else {
|
|
@@ -1595,7 +1674,7 @@ var Glue = (function (_super) {
|
|
|
1595
1674
|
}
|
|
1596
1675
|
else if (typeof cb === "function") {
|
|
1597
1676
|
if (typeof optionsOrCb !== "object")
|
|
1598
|
-
throw new Error("Expect http options but get "
|
|
1677
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1599
1678
|
this.send(command, optionsOrCb || {}, cb);
|
|
1600
1679
|
}
|
|
1601
1680
|
else {
|
|
@@ -1609,7 +1688,7 @@ var Glue = (function (_super) {
|
|
|
1609
1688
|
}
|
|
1610
1689
|
else if (typeof cb === "function") {
|
|
1611
1690
|
if (typeof optionsOrCb !== "object")
|
|
1612
|
-
throw new Error("Expect http options but get "
|
|
1691
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1613
1692
|
this.send(command, optionsOrCb || {}, cb);
|
|
1614
1693
|
}
|
|
1615
1694
|
else {
|
|
@@ -1623,7 +1702,7 @@ var Glue = (function (_super) {
|
|
|
1623
1702
|
}
|
|
1624
1703
|
else if (typeof cb === "function") {
|
|
1625
1704
|
if (typeof optionsOrCb !== "object")
|
|
1626
|
-
throw new Error("Expect http options but get "
|
|
1705
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1627
1706
|
this.send(command, optionsOrCb || {}, cb);
|
|
1628
1707
|
}
|
|
1629
1708
|
else {
|
|
@@ -1637,7 +1716,7 @@ var Glue = (function (_super) {
|
|
|
1637
1716
|
}
|
|
1638
1717
|
else if (typeof cb === "function") {
|
|
1639
1718
|
if (typeof optionsOrCb !== "object")
|
|
1640
|
-
throw new Error("Expect http options but get "
|
|
1719
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1641
1720
|
this.send(command, optionsOrCb || {}, cb);
|
|
1642
1721
|
}
|
|
1643
1722
|
else {
|
|
@@ -1651,7 +1730,7 @@ var Glue = (function (_super) {
|
|
|
1651
1730
|
}
|
|
1652
1731
|
else if (typeof cb === "function") {
|
|
1653
1732
|
if (typeof optionsOrCb !== "object")
|
|
1654
|
-
throw new Error("Expect http options but get "
|
|
1733
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1655
1734
|
this.send(command, optionsOrCb || {}, cb);
|
|
1656
1735
|
}
|
|
1657
1736
|
else {
|
|
@@ -1665,7 +1744,7 @@ var Glue = (function (_super) {
|
|
|
1665
1744
|
}
|
|
1666
1745
|
else if (typeof cb === "function") {
|
|
1667
1746
|
if (typeof optionsOrCb !== "object")
|
|
1668
|
-
throw new Error("Expect http options but get "
|
|
1747
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1669
1748
|
this.send(command, optionsOrCb || {}, cb);
|
|
1670
1749
|
}
|
|
1671
1750
|
else {
|
|
@@ -1679,7 +1758,7 @@ var Glue = (function (_super) {
|
|
|
1679
1758
|
}
|
|
1680
1759
|
else if (typeof cb === "function") {
|
|
1681
1760
|
if (typeof optionsOrCb !== "object")
|
|
1682
|
-
throw new Error("Expect http options but get "
|
|
1761
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1683
1762
|
this.send(command, optionsOrCb || {}, cb);
|
|
1684
1763
|
}
|
|
1685
1764
|
else {
|
|
@@ -1693,7 +1772,7 @@ var Glue = (function (_super) {
|
|
|
1693
1772
|
}
|
|
1694
1773
|
else if (typeof cb === "function") {
|
|
1695
1774
|
if (typeof optionsOrCb !== "object")
|
|
1696
|
-
throw new Error("Expect http options but get "
|
|
1775
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1697
1776
|
this.send(command, optionsOrCb || {}, cb);
|
|
1698
1777
|
}
|
|
1699
1778
|
else {
|
|
@@ -1707,7 +1786,7 @@ var Glue = (function (_super) {
|
|
|
1707
1786
|
}
|
|
1708
1787
|
else if (typeof cb === "function") {
|
|
1709
1788
|
if (typeof optionsOrCb !== "object")
|
|
1710
|
-
throw new Error("Expect http options but get "
|
|
1789
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1711
1790
|
this.send(command, optionsOrCb || {}, cb);
|
|
1712
1791
|
}
|
|
1713
1792
|
else {
|
|
@@ -1721,7 +1800,7 @@ var Glue = (function (_super) {
|
|
|
1721
1800
|
}
|
|
1722
1801
|
else if (typeof cb === "function") {
|
|
1723
1802
|
if (typeof optionsOrCb !== "object")
|
|
1724
|
-
throw new Error("Expect http options but get "
|
|
1803
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1725
1804
|
this.send(command, optionsOrCb || {}, cb);
|
|
1726
1805
|
}
|
|
1727
1806
|
else {
|
|
@@ -1735,7 +1814,7 @@ var Glue = (function (_super) {
|
|
|
1735
1814
|
}
|
|
1736
1815
|
else if (typeof cb === "function") {
|
|
1737
1816
|
if (typeof optionsOrCb !== "object")
|
|
1738
|
-
throw new Error("Expect http options but get "
|
|
1817
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1739
1818
|
this.send(command, optionsOrCb || {}, cb);
|
|
1740
1819
|
}
|
|
1741
1820
|
else {
|
|
@@ -1749,7 +1828,7 @@ var Glue = (function (_super) {
|
|
|
1749
1828
|
}
|
|
1750
1829
|
else if (typeof cb === "function") {
|
|
1751
1830
|
if (typeof optionsOrCb !== "object")
|
|
1752
|
-
throw new Error("Expect http options but get "
|
|
1831
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1753
1832
|
this.send(command, optionsOrCb || {}, cb);
|
|
1754
1833
|
}
|
|
1755
1834
|
else {
|
|
@@ -1763,7 +1842,7 @@ var Glue = (function (_super) {
|
|
|
1763
1842
|
}
|
|
1764
1843
|
else if (typeof cb === "function") {
|
|
1765
1844
|
if (typeof optionsOrCb !== "object")
|
|
1766
|
-
throw new Error("Expect http options but get "
|
|
1845
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1767
1846
|
this.send(command, optionsOrCb || {}, cb);
|
|
1768
1847
|
}
|
|
1769
1848
|
else {
|
|
@@ -1777,7 +1856,7 @@ var Glue = (function (_super) {
|
|
|
1777
1856
|
}
|
|
1778
1857
|
else if (typeof cb === "function") {
|
|
1779
1858
|
if (typeof optionsOrCb !== "object")
|
|
1780
|
-
throw new Error("Expect http options but get "
|
|
1859
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1781
1860
|
this.send(command, optionsOrCb || {}, cb);
|
|
1782
1861
|
}
|
|
1783
1862
|
else {
|
|
@@ -1791,7 +1870,7 @@ var Glue = (function (_super) {
|
|
|
1791
1870
|
}
|
|
1792
1871
|
else if (typeof cb === "function") {
|
|
1793
1872
|
if (typeof optionsOrCb !== "object")
|
|
1794
|
-
throw new Error("Expect http options but get "
|
|
1873
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1795
1874
|
this.send(command, optionsOrCb || {}, cb);
|
|
1796
1875
|
}
|
|
1797
1876
|
else {
|
|
@@ -1805,7 +1884,7 @@ var Glue = (function (_super) {
|
|
|
1805
1884
|
}
|
|
1806
1885
|
else if (typeof cb === "function") {
|
|
1807
1886
|
if (typeof optionsOrCb !== "object")
|
|
1808
|
-
throw new Error("Expect http options but get "
|
|
1887
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1809
1888
|
this.send(command, optionsOrCb || {}, cb);
|
|
1810
1889
|
}
|
|
1811
1890
|
else {
|
|
@@ -1819,7 +1898,7 @@ var Glue = (function (_super) {
|
|
|
1819
1898
|
}
|
|
1820
1899
|
else if (typeof cb === "function") {
|
|
1821
1900
|
if (typeof optionsOrCb !== "object")
|
|
1822
|
-
throw new Error("Expect http options but get "
|
|
1901
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1823
1902
|
this.send(command, optionsOrCb || {}, cb);
|
|
1824
1903
|
}
|
|
1825
1904
|
else {
|
|
@@ -1833,7 +1912,7 @@ var Glue = (function (_super) {
|
|
|
1833
1912
|
}
|
|
1834
1913
|
else if (typeof cb === "function") {
|
|
1835
1914
|
if (typeof optionsOrCb !== "object")
|
|
1836
|
-
throw new Error("Expect http options but get "
|
|
1915
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1837
1916
|
this.send(command, optionsOrCb || {}, cb);
|
|
1838
1917
|
}
|
|
1839
1918
|
else {
|
|
@@ -1847,7 +1926,7 @@ var Glue = (function (_super) {
|
|
|
1847
1926
|
}
|
|
1848
1927
|
else if (typeof cb === "function") {
|
|
1849
1928
|
if (typeof optionsOrCb !== "object")
|
|
1850
|
-
throw new Error("Expect http options but get "
|
|
1929
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1851
1930
|
this.send(command, optionsOrCb || {}, cb);
|
|
1852
1931
|
}
|
|
1853
1932
|
else {
|
|
@@ -1861,7 +1940,7 @@ var Glue = (function (_super) {
|
|
|
1861
1940
|
}
|
|
1862
1941
|
else if (typeof cb === "function") {
|
|
1863
1942
|
if (typeof optionsOrCb !== "object")
|
|
1864
|
-
throw new Error("Expect http options but get "
|
|
1943
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1865
1944
|
this.send(command, optionsOrCb || {}, cb);
|
|
1866
1945
|
}
|
|
1867
1946
|
else {
|
|
@@ -1875,7 +1954,7 @@ var Glue = (function (_super) {
|
|
|
1875
1954
|
}
|
|
1876
1955
|
else if (typeof cb === "function") {
|
|
1877
1956
|
if (typeof optionsOrCb !== "object")
|
|
1878
|
-
throw new Error("Expect http options but get "
|
|
1957
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1879
1958
|
this.send(command, optionsOrCb || {}, cb);
|
|
1880
1959
|
}
|
|
1881
1960
|
else {
|
|
@@ -1889,7 +1968,35 @@ var Glue = (function (_super) {
|
|
|
1889
1968
|
}
|
|
1890
1969
|
else if (typeof cb === "function") {
|
|
1891
1970
|
if (typeof optionsOrCb !== "object")
|
|
1892
|
-
throw new Error("Expect http options but get "
|
|
1971
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1972
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1973
|
+
}
|
|
1974
|
+
else {
|
|
1975
|
+
return this.send(command, optionsOrCb);
|
|
1976
|
+
}
|
|
1977
|
+
};
|
|
1978
|
+
Glue.prototype.listSessions = function (args, optionsOrCb, cb) {
|
|
1979
|
+
var command = new ListSessionsCommand(args);
|
|
1980
|
+
if (typeof optionsOrCb === "function") {
|
|
1981
|
+
this.send(command, optionsOrCb);
|
|
1982
|
+
}
|
|
1983
|
+
else if (typeof cb === "function") {
|
|
1984
|
+
if (typeof optionsOrCb !== "object")
|
|
1985
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1986
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1987
|
+
}
|
|
1988
|
+
else {
|
|
1989
|
+
return this.send(command, optionsOrCb);
|
|
1990
|
+
}
|
|
1991
|
+
};
|
|
1992
|
+
Glue.prototype.listStatements = function (args, optionsOrCb, cb) {
|
|
1993
|
+
var command = new ListStatementsCommand(args);
|
|
1994
|
+
if (typeof optionsOrCb === "function") {
|
|
1995
|
+
this.send(command, optionsOrCb);
|
|
1996
|
+
}
|
|
1997
|
+
else if (typeof cb === "function") {
|
|
1998
|
+
if (typeof optionsOrCb !== "object")
|
|
1999
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1893
2000
|
this.send(command, optionsOrCb || {}, cb);
|
|
1894
2001
|
}
|
|
1895
2002
|
else {
|
|
@@ -1903,7 +2010,7 @@ var Glue = (function (_super) {
|
|
|
1903
2010
|
}
|
|
1904
2011
|
else if (typeof cb === "function") {
|
|
1905
2012
|
if (typeof optionsOrCb !== "object")
|
|
1906
|
-
throw new Error("Expect http options but get "
|
|
2013
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1907
2014
|
this.send(command, optionsOrCb || {}, cb);
|
|
1908
2015
|
}
|
|
1909
2016
|
else {
|
|
@@ -1917,7 +2024,7 @@ var Glue = (function (_super) {
|
|
|
1917
2024
|
}
|
|
1918
2025
|
else if (typeof cb === "function") {
|
|
1919
2026
|
if (typeof optionsOrCb !== "object")
|
|
1920
|
-
throw new Error("Expect http options but get "
|
|
2027
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1921
2028
|
this.send(command, optionsOrCb || {}, cb);
|
|
1922
2029
|
}
|
|
1923
2030
|
else {
|
|
@@ -1931,7 +2038,7 @@ var Glue = (function (_super) {
|
|
|
1931
2038
|
}
|
|
1932
2039
|
else if (typeof cb === "function") {
|
|
1933
2040
|
if (typeof optionsOrCb !== "object")
|
|
1934
|
-
throw new Error("Expect http options but get "
|
|
2041
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1935
2042
|
this.send(command, optionsOrCb || {}, cb);
|
|
1936
2043
|
}
|
|
1937
2044
|
else {
|
|
@@ -1945,7 +2052,7 @@ var Glue = (function (_super) {
|
|
|
1945
2052
|
}
|
|
1946
2053
|
else if (typeof cb === "function") {
|
|
1947
2054
|
if (typeof optionsOrCb !== "object")
|
|
1948
|
-
throw new Error("Expect http options but get "
|
|
2055
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1949
2056
|
this.send(command, optionsOrCb || {}, cb);
|
|
1950
2057
|
}
|
|
1951
2058
|
else {
|
|
@@ -1959,7 +2066,7 @@ var Glue = (function (_super) {
|
|
|
1959
2066
|
}
|
|
1960
2067
|
else if (typeof cb === "function") {
|
|
1961
2068
|
if (typeof optionsOrCb !== "object")
|
|
1962
|
-
throw new Error("Expect http options but get "
|
|
2069
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1963
2070
|
this.send(command, optionsOrCb || {}, cb);
|
|
1964
2071
|
}
|
|
1965
2072
|
else {
|
|
@@ -1973,7 +2080,7 @@ var Glue = (function (_super) {
|
|
|
1973
2080
|
}
|
|
1974
2081
|
else if (typeof cb === "function") {
|
|
1975
2082
|
if (typeof optionsOrCb !== "object")
|
|
1976
|
-
throw new Error("Expect http options but get "
|
|
2083
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1977
2084
|
this.send(command, optionsOrCb || {}, cb);
|
|
1978
2085
|
}
|
|
1979
2086
|
else {
|
|
@@ -1987,7 +2094,7 @@ var Glue = (function (_super) {
|
|
|
1987
2094
|
}
|
|
1988
2095
|
else if (typeof cb === "function") {
|
|
1989
2096
|
if (typeof optionsOrCb !== "object")
|
|
1990
|
-
throw new Error("Expect http options but get "
|
|
2097
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1991
2098
|
this.send(command, optionsOrCb || {}, cb);
|
|
1992
2099
|
}
|
|
1993
2100
|
else {
|
|
@@ -2001,7 +2108,7 @@ var Glue = (function (_super) {
|
|
|
2001
2108
|
}
|
|
2002
2109
|
else if (typeof cb === "function") {
|
|
2003
2110
|
if (typeof optionsOrCb !== "object")
|
|
2004
|
-
throw new Error("Expect http options but get "
|
|
2111
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2005
2112
|
this.send(command, optionsOrCb || {}, cb);
|
|
2006
2113
|
}
|
|
2007
2114
|
else {
|
|
@@ -2015,7 +2122,7 @@ var Glue = (function (_super) {
|
|
|
2015
2122
|
}
|
|
2016
2123
|
else if (typeof cb === "function") {
|
|
2017
2124
|
if (typeof optionsOrCb !== "object")
|
|
2018
|
-
throw new Error("Expect http options but get "
|
|
2125
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2019
2126
|
this.send(command, optionsOrCb || {}, cb);
|
|
2020
2127
|
}
|
|
2021
2128
|
else {
|
|
@@ -2029,7 +2136,7 @@ var Glue = (function (_super) {
|
|
|
2029
2136
|
}
|
|
2030
2137
|
else if (typeof cb === "function") {
|
|
2031
2138
|
if (typeof optionsOrCb !== "object")
|
|
2032
|
-
throw new Error("Expect http options but get "
|
|
2139
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2033
2140
|
this.send(command, optionsOrCb || {}, cb);
|
|
2034
2141
|
}
|
|
2035
2142
|
else {
|
|
@@ -2043,7 +2150,21 @@ var Glue = (function (_super) {
|
|
|
2043
2150
|
}
|
|
2044
2151
|
else if (typeof cb === "function") {
|
|
2045
2152
|
if (typeof optionsOrCb !== "object")
|
|
2046
|
-
throw new Error("Expect http options but get "
|
|
2153
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2154
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2155
|
+
}
|
|
2156
|
+
else {
|
|
2157
|
+
return this.send(command, optionsOrCb);
|
|
2158
|
+
}
|
|
2159
|
+
};
|
|
2160
|
+
Glue.prototype.runStatement = function (args, optionsOrCb, cb) {
|
|
2161
|
+
var command = new RunStatementCommand(args);
|
|
2162
|
+
if (typeof optionsOrCb === "function") {
|
|
2163
|
+
this.send(command, optionsOrCb);
|
|
2164
|
+
}
|
|
2165
|
+
else if (typeof cb === "function") {
|
|
2166
|
+
if (typeof optionsOrCb !== "object")
|
|
2167
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2047
2168
|
this.send(command, optionsOrCb || {}, cb);
|
|
2048
2169
|
}
|
|
2049
2170
|
else {
|
|
@@ -2057,7 +2178,7 @@ var Glue = (function (_super) {
|
|
|
2057
2178
|
}
|
|
2058
2179
|
else if (typeof cb === "function") {
|
|
2059
2180
|
if (typeof optionsOrCb !== "object")
|
|
2060
|
-
throw new Error("Expect http options but get "
|
|
2181
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2061
2182
|
this.send(command, optionsOrCb || {}, cb);
|
|
2062
2183
|
}
|
|
2063
2184
|
else {
|
|
@@ -2071,7 +2192,7 @@ var Glue = (function (_super) {
|
|
|
2071
2192
|
}
|
|
2072
2193
|
else if (typeof cb === "function") {
|
|
2073
2194
|
if (typeof optionsOrCb !== "object")
|
|
2074
|
-
throw new Error("Expect http options but get "
|
|
2195
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2075
2196
|
this.send(command, optionsOrCb || {}, cb);
|
|
2076
2197
|
}
|
|
2077
2198
|
else {
|
|
@@ -2085,7 +2206,7 @@ var Glue = (function (_super) {
|
|
|
2085
2206
|
}
|
|
2086
2207
|
else if (typeof cb === "function") {
|
|
2087
2208
|
if (typeof optionsOrCb !== "object")
|
|
2088
|
-
throw new Error("Expect http options but get "
|
|
2209
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2089
2210
|
this.send(command, optionsOrCb || {}, cb);
|
|
2090
2211
|
}
|
|
2091
2212
|
else {
|
|
@@ -2099,7 +2220,7 @@ var Glue = (function (_super) {
|
|
|
2099
2220
|
}
|
|
2100
2221
|
else if (typeof cb === "function") {
|
|
2101
2222
|
if (typeof optionsOrCb !== "object")
|
|
2102
|
-
throw new Error("Expect http options but get "
|
|
2223
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2103
2224
|
this.send(command, optionsOrCb || {}, cb);
|
|
2104
2225
|
}
|
|
2105
2226
|
else {
|
|
@@ -2113,7 +2234,7 @@ var Glue = (function (_super) {
|
|
|
2113
2234
|
}
|
|
2114
2235
|
else if (typeof cb === "function") {
|
|
2115
2236
|
if (typeof optionsOrCb !== "object")
|
|
2116
|
-
throw new Error("Expect http options but get "
|
|
2237
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2117
2238
|
this.send(command, optionsOrCb || {}, cb);
|
|
2118
2239
|
}
|
|
2119
2240
|
else {
|
|
@@ -2127,7 +2248,7 @@ var Glue = (function (_super) {
|
|
|
2127
2248
|
}
|
|
2128
2249
|
else if (typeof cb === "function") {
|
|
2129
2250
|
if (typeof optionsOrCb !== "object")
|
|
2130
|
-
throw new Error("Expect http options but get "
|
|
2251
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2131
2252
|
this.send(command, optionsOrCb || {}, cb);
|
|
2132
2253
|
}
|
|
2133
2254
|
else {
|
|
@@ -2141,7 +2262,7 @@ var Glue = (function (_super) {
|
|
|
2141
2262
|
}
|
|
2142
2263
|
else if (typeof cb === "function") {
|
|
2143
2264
|
if (typeof optionsOrCb !== "object")
|
|
2144
|
-
throw new Error("Expect http options but get "
|
|
2265
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2145
2266
|
this.send(command, optionsOrCb || {}, cb);
|
|
2146
2267
|
}
|
|
2147
2268
|
else {
|
|
@@ -2155,7 +2276,7 @@ var Glue = (function (_super) {
|
|
|
2155
2276
|
}
|
|
2156
2277
|
else if (typeof cb === "function") {
|
|
2157
2278
|
if (typeof optionsOrCb !== "object")
|
|
2158
|
-
throw new Error("Expect http options but get "
|
|
2279
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2159
2280
|
this.send(command, optionsOrCb || {}, cb);
|
|
2160
2281
|
}
|
|
2161
2282
|
else {
|
|
@@ -2169,7 +2290,7 @@ var Glue = (function (_super) {
|
|
|
2169
2290
|
}
|
|
2170
2291
|
else if (typeof cb === "function") {
|
|
2171
2292
|
if (typeof optionsOrCb !== "object")
|
|
2172
|
-
throw new Error("Expect http options but get "
|
|
2293
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2173
2294
|
this.send(command, optionsOrCb || {}, cb);
|
|
2174
2295
|
}
|
|
2175
2296
|
else {
|
|
@@ -2183,7 +2304,7 @@ var Glue = (function (_super) {
|
|
|
2183
2304
|
}
|
|
2184
2305
|
else if (typeof cb === "function") {
|
|
2185
2306
|
if (typeof optionsOrCb !== "object")
|
|
2186
|
-
throw new Error("Expect http options but get "
|
|
2307
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2187
2308
|
this.send(command, optionsOrCb || {}, cb);
|
|
2188
2309
|
}
|
|
2189
2310
|
else {
|
|
@@ -2197,7 +2318,7 @@ var Glue = (function (_super) {
|
|
|
2197
2318
|
}
|
|
2198
2319
|
else if (typeof cb === "function") {
|
|
2199
2320
|
if (typeof optionsOrCb !== "object")
|
|
2200
|
-
throw new Error("Expect http options but get "
|
|
2321
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2201
2322
|
this.send(command, optionsOrCb || {}, cb);
|
|
2202
2323
|
}
|
|
2203
2324
|
else {
|
|
@@ -2211,7 +2332,7 @@ var Glue = (function (_super) {
|
|
|
2211
2332
|
}
|
|
2212
2333
|
else if (typeof cb === "function") {
|
|
2213
2334
|
if (typeof optionsOrCb !== "object")
|
|
2214
|
-
throw new Error("Expect http options but get "
|
|
2335
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2215
2336
|
this.send(command, optionsOrCb || {}, cb);
|
|
2216
2337
|
}
|
|
2217
2338
|
else {
|
|
@@ -2225,7 +2346,21 @@ var Glue = (function (_super) {
|
|
|
2225
2346
|
}
|
|
2226
2347
|
else if (typeof cb === "function") {
|
|
2227
2348
|
if (typeof optionsOrCb !== "object")
|
|
2228
|
-
throw new Error("Expect http options but get "
|
|
2349
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2350
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2351
|
+
}
|
|
2352
|
+
else {
|
|
2353
|
+
return this.send(command, optionsOrCb);
|
|
2354
|
+
}
|
|
2355
|
+
};
|
|
2356
|
+
Glue.prototype.stopSession = function (args, optionsOrCb, cb) {
|
|
2357
|
+
var command = new StopSessionCommand(args);
|
|
2358
|
+
if (typeof optionsOrCb === "function") {
|
|
2359
|
+
this.send(command, optionsOrCb);
|
|
2360
|
+
}
|
|
2361
|
+
else if (typeof cb === "function") {
|
|
2362
|
+
if (typeof optionsOrCb !== "object")
|
|
2363
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2229
2364
|
this.send(command, optionsOrCb || {}, cb);
|
|
2230
2365
|
}
|
|
2231
2366
|
else {
|
|
@@ -2239,7 +2374,7 @@ var Glue = (function (_super) {
|
|
|
2239
2374
|
}
|
|
2240
2375
|
else if (typeof cb === "function") {
|
|
2241
2376
|
if (typeof optionsOrCb !== "object")
|
|
2242
|
-
throw new Error("Expect http options but get "
|
|
2377
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2243
2378
|
this.send(command, optionsOrCb || {}, cb);
|
|
2244
2379
|
}
|
|
2245
2380
|
else {
|
|
@@ -2253,7 +2388,7 @@ var Glue = (function (_super) {
|
|
|
2253
2388
|
}
|
|
2254
2389
|
else if (typeof cb === "function") {
|
|
2255
2390
|
if (typeof optionsOrCb !== "object")
|
|
2256
|
-
throw new Error("Expect http options but get "
|
|
2391
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2257
2392
|
this.send(command, optionsOrCb || {}, cb);
|
|
2258
2393
|
}
|
|
2259
2394
|
else {
|
|
@@ -2267,7 +2402,7 @@ var Glue = (function (_super) {
|
|
|
2267
2402
|
}
|
|
2268
2403
|
else if (typeof cb === "function") {
|
|
2269
2404
|
if (typeof optionsOrCb !== "object")
|
|
2270
|
-
throw new Error("Expect http options but get "
|
|
2405
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2271
2406
|
this.send(command, optionsOrCb || {}, cb);
|
|
2272
2407
|
}
|
|
2273
2408
|
else {
|
|
@@ -2281,7 +2416,7 @@ var Glue = (function (_super) {
|
|
|
2281
2416
|
}
|
|
2282
2417
|
else if (typeof cb === "function") {
|
|
2283
2418
|
if (typeof optionsOrCb !== "object")
|
|
2284
|
-
throw new Error("Expect http options but get "
|
|
2419
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2285
2420
|
this.send(command, optionsOrCb || {}, cb);
|
|
2286
2421
|
}
|
|
2287
2422
|
else {
|
|
@@ -2295,7 +2430,7 @@ var Glue = (function (_super) {
|
|
|
2295
2430
|
}
|
|
2296
2431
|
else if (typeof cb === "function") {
|
|
2297
2432
|
if (typeof optionsOrCb !== "object")
|
|
2298
|
-
throw new Error("Expect http options but get "
|
|
2433
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2299
2434
|
this.send(command, optionsOrCb || {}, cb);
|
|
2300
2435
|
}
|
|
2301
2436
|
else {
|
|
@@ -2309,7 +2444,7 @@ var Glue = (function (_super) {
|
|
|
2309
2444
|
}
|
|
2310
2445
|
else if (typeof cb === "function") {
|
|
2311
2446
|
if (typeof optionsOrCb !== "object")
|
|
2312
|
-
throw new Error("Expect http options but get "
|
|
2447
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2313
2448
|
this.send(command, optionsOrCb || {}, cb);
|
|
2314
2449
|
}
|
|
2315
2450
|
else {
|
|
@@ -2323,7 +2458,7 @@ var Glue = (function (_super) {
|
|
|
2323
2458
|
}
|
|
2324
2459
|
else if (typeof cb === "function") {
|
|
2325
2460
|
if (typeof optionsOrCb !== "object")
|
|
2326
|
-
throw new Error("Expect http options but get "
|
|
2461
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2327
2462
|
this.send(command, optionsOrCb || {}, cb);
|
|
2328
2463
|
}
|
|
2329
2464
|
else {
|
|
@@ -2337,7 +2472,7 @@ var Glue = (function (_super) {
|
|
|
2337
2472
|
}
|
|
2338
2473
|
else if (typeof cb === "function") {
|
|
2339
2474
|
if (typeof optionsOrCb !== "object")
|
|
2340
|
-
throw new Error("Expect http options but get "
|
|
2475
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2341
2476
|
this.send(command, optionsOrCb || {}, cb);
|
|
2342
2477
|
}
|
|
2343
2478
|
else {
|
|
@@ -2351,7 +2486,7 @@ var Glue = (function (_super) {
|
|
|
2351
2486
|
}
|
|
2352
2487
|
else if (typeof cb === "function") {
|
|
2353
2488
|
if (typeof optionsOrCb !== "object")
|
|
2354
|
-
throw new Error("Expect http options but get "
|
|
2489
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2355
2490
|
this.send(command, optionsOrCb || {}, cb);
|
|
2356
2491
|
}
|
|
2357
2492
|
else {
|
|
@@ -2365,7 +2500,7 @@ var Glue = (function (_super) {
|
|
|
2365
2500
|
}
|
|
2366
2501
|
else if (typeof cb === "function") {
|
|
2367
2502
|
if (typeof optionsOrCb !== "object")
|
|
2368
|
-
throw new Error("Expect http options but get "
|
|
2503
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2369
2504
|
this.send(command, optionsOrCb || {}, cb);
|
|
2370
2505
|
}
|
|
2371
2506
|
else {
|
|
@@ -2379,7 +2514,7 @@ var Glue = (function (_super) {
|
|
|
2379
2514
|
}
|
|
2380
2515
|
else if (typeof cb === "function") {
|
|
2381
2516
|
if (typeof optionsOrCb !== "object")
|
|
2382
|
-
throw new Error("Expect http options but get "
|
|
2517
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2383
2518
|
this.send(command, optionsOrCb || {}, cb);
|
|
2384
2519
|
}
|
|
2385
2520
|
else {
|
|
@@ -2393,7 +2528,7 @@ var Glue = (function (_super) {
|
|
|
2393
2528
|
}
|
|
2394
2529
|
else if (typeof cb === "function") {
|
|
2395
2530
|
if (typeof optionsOrCb !== "object")
|
|
2396
|
-
throw new Error("Expect http options but get "
|
|
2531
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2397
2532
|
this.send(command, optionsOrCb || {}, cb);
|
|
2398
2533
|
}
|
|
2399
2534
|
else {
|
|
@@ -2407,7 +2542,7 @@ var Glue = (function (_super) {
|
|
|
2407
2542
|
}
|
|
2408
2543
|
else if (typeof cb === "function") {
|
|
2409
2544
|
if (typeof optionsOrCb !== "object")
|
|
2410
|
-
throw new Error("Expect http options but get "
|
|
2545
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2411
2546
|
this.send(command, optionsOrCb || {}, cb);
|
|
2412
2547
|
}
|
|
2413
2548
|
else {
|
|
@@ -2421,7 +2556,7 @@ var Glue = (function (_super) {
|
|
|
2421
2556
|
}
|
|
2422
2557
|
else if (typeof cb === "function") {
|
|
2423
2558
|
if (typeof optionsOrCb !== "object")
|
|
2424
|
-
throw new Error("Expect http options but get "
|
|
2559
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2425
2560
|
this.send(command, optionsOrCb || {}, cb);
|
|
2426
2561
|
}
|
|
2427
2562
|
else {
|
|
@@ -2435,7 +2570,7 @@ var Glue = (function (_super) {
|
|
|
2435
2570
|
}
|
|
2436
2571
|
else if (typeof cb === "function") {
|
|
2437
2572
|
if (typeof optionsOrCb !== "object")
|
|
2438
|
-
throw new Error("Expect http options but get "
|
|
2573
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2439
2574
|
this.send(command, optionsOrCb || {}, cb);
|
|
2440
2575
|
}
|
|
2441
2576
|
else {
|
|
@@ -2449,7 +2584,7 @@ var Glue = (function (_super) {
|
|
|
2449
2584
|
}
|
|
2450
2585
|
else if (typeof cb === "function") {
|
|
2451
2586
|
if (typeof optionsOrCb !== "object")
|
|
2452
|
-
throw new Error("Expect http options but get "
|
|
2587
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2453
2588
|
this.send(command, optionsOrCb || {}, cb);
|
|
2454
2589
|
}
|
|
2455
2590
|
else {
|
|
@@ -2463,7 +2598,7 @@ var Glue = (function (_super) {
|
|
|
2463
2598
|
}
|
|
2464
2599
|
else if (typeof cb === "function") {
|
|
2465
2600
|
if (typeof optionsOrCb !== "object")
|
|
2466
|
-
throw new Error("Expect http options but get "
|
|
2601
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2467
2602
|
this.send(command, optionsOrCb || {}, cb);
|
|
2468
2603
|
}
|
|
2469
2604
|
else {
|
|
@@ -2477,7 +2612,7 @@ var Glue = (function (_super) {
|
|
|
2477
2612
|
}
|
|
2478
2613
|
else if (typeof cb === "function") {
|
|
2479
2614
|
if (typeof optionsOrCb !== "object")
|
|
2480
|
-
throw new Error("Expect http options but get "
|
|
2615
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2481
2616
|
this.send(command, optionsOrCb || {}, cb);
|
|
2482
2617
|
}
|
|
2483
2618
|
else {
|
|
@@ -2491,7 +2626,7 @@ var Glue = (function (_super) {
|
|
|
2491
2626
|
}
|
|
2492
2627
|
else if (typeof cb === "function") {
|
|
2493
2628
|
if (typeof optionsOrCb !== "object")
|
|
2494
|
-
throw new Error("Expect http options but get "
|
|
2629
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2495
2630
|
this.send(command, optionsOrCb || {}, cb);
|
|
2496
2631
|
}
|
|
2497
2632
|
else {
|
|
@@ -2505,7 +2640,7 @@ var Glue = (function (_super) {
|
|
|
2505
2640
|
}
|
|
2506
2641
|
else if (typeof cb === "function") {
|
|
2507
2642
|
if (typeof optionsOrCb !== "object")
|
|
2508
|
-
throw new Error("Expect http options but get "
|
|
2643
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2509
2644
|
this.send(command, optionsOrCb || {}, cb);
|
|
2510
2645
|
}
|
|
2511
2646
|
else {
|
|
@@ -2519,7 +2654,7 @@ var Glue = (function (_super) {
|
|
|
2519
2654
|
}
|
|
2520
2655
|
else if (typeof cb === "function") {
|
|
2521
2656
|
if (typeof optionsOrCb !== "object")
|
|
2522
|
-
throw new Error("Expect http options but get "
|
|
2657
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2523
2658
|
this.send(command, optionsOrCb || {}, cb);
|
|
2524
2659
|
}
|
|
2525
2660
|
else {
|
|
@@ -2533,7 +2668,7 @@ var Glue = (function (_super) {
|
|
|
2533
2668
|
}
|
|
2534
2669
|
else if (typeof cb === "function") {
|
|
2535
2670
|
if (typeof optionsOrCb !== "object")
|
|
2536
|
-
throw new Error("Expect http options but get "
|
|
2671
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2537
2672
|
this.send(command, optionsOrCb || {}, cb);
|
|
2538
2673
|
}
|
|
2539
2674
|
else {
|