@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
|
@@ -2,7 +2,7 @@ import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
3
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { GlueServiceException as __BaseException } from "../models/GlueServiceException";
|
|
5
|
-
import { AccessDeniedException, AlreadyExistsException, ConcurrentModificationException, ConditionCheckFailureException, ConflictException, CrawlerRunningException, EntityNotFoundException, GlueEncryptionException, IdempotentParameterMismatchException, InternalServiceException, InvalidInputException, InvalidStateException, OperationTimeoutException, ResourceNotReadyException, ResourceNumberLimitExceededException, SchedulerTransitioningException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, AlreadyExistsException, ConcurrentModificationException, ConditionCheckFailureException, ConflictException, CrawlerRunningException, EntityNotFoundException, GlueEncryptionException, IdempotentParameterMismatchException, IllegalSessionStateException, InternalServiceException, InvalidInputException, InvalidStateException, OperationTimeoutException, ResourceNotReadyException, ResourceNumberLimitExceededException, SchedulerTransitioningException, ValidationException, } from "../models/models_0";
|
|
6
6
|
import { ConcurrentRunsExceededException, CrawlerNotRunningException, CrawlerStoppingException, IllegalBlueprintStateException, IllegalWorkflowStateException, MLTransformNotReadyException, NoScheduleException, PermissionTypeMismatchException, SchedulerNotRunningException, SchedulerRunningException, VersionMismatchException, } from "../models/models_1";
|
|
7
7
|
export var serializeAws_json1_1BatchCreatePartitionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8
8
|
var headers, body;
|
|
@@ -169,6 +169,17 @@ export var serializeAws_json1_1CancelMLTaskRunCommand = function (input, context
|
|
|
169
169
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
170
170
|
});
|
|
171
171
|
}); };
|
|
172
|
+
export var serializeAws_json1_1CancelStatementCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
173
|
+
var headers, body;
|
|
174
|
+
return __generator(this, function (_a) {
|
|
175
|
+
headers = {
|
|
176
|
+
"content-type": "application/x-amz-json-1.1",
|
|
177
|
+
"x-amz-target": "AWSGlue.CancelStatement",
|
|
178
|
+
};
|
|
179
|
+
body = JSON.stringify(serializeAws_json1_1CancelStatementRequest(input, context));
|
|
180
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
181
|
+
});
|
|
182
|
+
}); };
|
|
172
183
|
export var serializeAws_json1_1CheckSchemaVersionValidityCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
173
184
|
var headers, body;
|
|
174
185
|
return __generator(this, function (_a) {
|
|
@@ -334,6 +345,17 @@ export var serializeAws_json1_1CreateSecurityConfigurationCommand = function (in
|
|
|
334
345
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
335
346
|
});
|
|
336
347
|
}); };
|
|
348
|
+
export var serializeAws_json1_1CreateSessionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
349
|
+
var headers, body;
|
|
350
|
+
return __generator(this, function (_a) {
|
|
351
|
+
headers = {
|
|
352
|
+
"content-type": "application/x-amz-json-1.1",
|
|
353
|
+
"x-amz-target": "AWSGlue.CreateSession",
|
|
354
|
+
};
|
|
355
|
+
body = JSON.stringify(serializeAws_json1_1CreateSessionRequest(input, context));
|
|
356
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
357
|
+
});
|
|
358
|
+
}); };
|
|
337
359
|
export var serializeAws_json1_1CreateTableCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
338
360
|
var headers, body;
|
|
339
361
|
return __generator(this, function (_a) {
|
|
@@ -565,6 +587,17 @@ export var serializeAws_json1_1DeleteSecurityConfigurationCommand = function (in
|
|
|
565
587
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
566
588
|
});
|
|
567
589
|
}); };
|
|
590
|
+
export var serializeAws_json1_1DeleteSessionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
591
|
+
var headers, body;
|
|
592
|
+
return __generator(this, function (_a) {
|
|
593
|
+
headers = {
|
|
594
|
+
"content-type": "application/x-amz-json-1.1",
|
|
595
|
+
"x-amz-target": "AWSGlue.DeleteSession",
|
|
596
|
+
};
|
|
597
|
+
body = JSON.stringify(serializeAws_json1_1DeleteSessionRequest(input, context));
|
|
598
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
599
|
+
});
|
|
600
|
+
}); };
|
|
568
601
|
export var serializeAws_json1_1DeleteTableCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
569
602
|
var headers, body;
|
|
570
603
|
return __generator(this, function (_a) {
|
|
@@ -1082,6 +1115,28 @@ export var serializeAws_json1_1GetSecurityConfigurationsCommand = function (inpu
|
|
|
1082
1115
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1083
1116
|
});
|
|
1084
1117
|
}); };
|
|
1118
|
+
export var serializeAws_json1_1GetSessionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1119
|
+
var headers, body;
|
|
1120
|
+
return __generator(this, function (_a) {
|
|
1121
|
+
headers = {
|
|
1122
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1123
|
+
"x-amz-target": "AWSGlue.GetSession",
|
|
1124
|
+
};
|
|
1125
|
+
body = JSON.stringify(serializeAws_json1_1GetSessionRequest(input, context));
|
|
1126
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1127
|
+
});
|
|
1128
|
+
}); };
|
|
1129
|
+
export var serializeAws_json1_1GetStatementCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1130
|
+
var headers, body;
|
|
1131
|
+
return __generator(this, function (_a) {
|
|
1132
|
+
headers = {
|
|
1133
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1134
|
+
"x-amz-target": "AWSGlue.GetStatement",
|
|
1135
|
+
};
|
|
1136
|
+
body = JSON.stringify(serializeAws_json1_1GetStatementRequest(input, context));
|
|
1137
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1138
|
+
});
|
|
1139
|
+
}); };
|
|
1085
1140
|
export var serializeAws_json1_1GetTableCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1086
1141
|
var headers, body;
|
|
1087
1142
|
return __generator(this, function (_a) {
|
|
@@ -1357,6 +1412,28 @@ export var serializeAws_json1_1ListSchemaVersionsCommand = function (input, cont
|
|
|
1357
1412
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1358
1413
|
});
|
|
1359
1414
|
}); };
|
|
1415
|
+
export var serializeAws_json1_1ListSessionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1416
|
+
var headers, body;
|
|
1417
|
+
return __generator(this, function (_a) {
|
|
1418
|
+
headers = {
|
|
1419
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1420
|
+
"x-amz-target": "AWSGlue.ListSessions",
|
|
1421
|
+
};
|
|
1422
|
+
body = JSON.stringify(serializeAws_json1_1ListSessionsRequest(input, context));
|
|
1423
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1424
|
+
});
|
|
1425
|
+
}); };
|
|
1426
|
+
export var serializeAws_json1_1ListStatementsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1427
|
+
var headers, body;
|
|
1428
|
+
return __generator(this, function (_a) {
|
|
1429
|
+
headers = {
|
|
1430
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1431
|
+
"x-amz-target": "AWSGlue.ListStatements",
|
|
1432
|
+
};
|
|
1433
|
+
body = JSON.stringify(serializeAws_json1_1ListStatementsRequest(input, context));
|
|
1434
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1435
|
+
});
|
|
1436
|
+
}); };
|
|
1360
1437
|
export var serializeAws_json1_1ListTriggersCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1361
1438
|
var headers, body;
|
|
1362
1439
|
return __generator(this, function (_a) {
|
|
@@ -1478,6 +1555,17 @@ export var serializeAws_json1_1ResumeWorkflowRunCommand = function (input, conte
|
|
|
1478
1555
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1479
1556
|
});
|
|
1480
1557
|
}); };
|
|
1558
|
+
export var serializeAws_json1_1RunStatementCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1559
|
+
var headers, body;
|
|
1560
|
+
return __generator(this, function (_a) {
|
|
1561
|
+
headers = {
|
|
1562
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1563
|
+
"x-amz-target": "AWSGlue.RunStatement",
|
|
1564
|
+
};
|
|
1565
|
+
body = JSON.stringify(serializeAws_json1_1RunStatementRequest(input, context));
|
|
1566
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1567
|
+
});
|
|
1568
|
+
}); };
|
|
1481
1569
|
export var serializeAws_json1_1SearchTablesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1482
1570
|
var headers, body;
|
|
1483
1571
|
return __generator(this, function (_a) {
|
|
@@ -1621,6 +1709,17 @@ export var serializeAws_json1_1StopCrawlerScheduleCommand = function (input, con
|
|
|
1621
1709
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1622
1710
|
});
|
|
1623
1711
|
}); };
|
|
1712
|
+
export var serializeAws_json1_1StopSessionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1713
|
+
var headers, body;
|
|
1714
|
+
return __generator(this, function (_a) {
|
|
1715
|
+
headers = {
|
|
1716
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1717
|
+
"x-amz-target": "AWSGlue.StopSession",
|
|
1718
|
+
};
|
|
1719
|
+
body = JSON.stringify(serializeAws_json1_1StopSessionRequest(input, context));
|
|
1720
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1721
|
+
});
|
|
1722
|
+
}); };
|
|
1624
1723
|
export var serializeAws_json1_1StopTriggerCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1625
1724
|
var headers, body;
|
|
1626
1725
|
return __generator(this, function (_a) {
|
|
@@ -2789,6 +2888,76 @@ var deserializeAws_json1_1CancelMLTaskRunCommandError = function (output, contex
|
|
|
2789
2888
|
}
|
|
2790
2889
|
});
|
|
2791
2890
|
}); };
|
|
2891
|
+
export var deserializeAws_json1_1CancelStatementCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2892
|
+
var data, contents, response;
|
|
2893
|
+
return __generator(this, function (_a) {
|
|
2894
|
+
switch (_a.label) {
|
|
2895
|
+
case 0:
|
|
2896
|
+
if (output.statusCode >= 300) {
|
|
2897
|
+
return [2, deserializeAws_json1_1CancelStatementCommandError(output, context)];
|
|
2898
|
+
}
|
|
2899
|
+
return [4, parseBody(output.body, context)];
|
|
2900
|
+
case 1:
|
|
2901
|
+
data = _a.sent();
|
|
2902
|
+
contents = {};
|
|
2903
|
+
contents = deserializeAws_json1_1CancelStatementResponse(data, context);
|
|
2904
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2905
|
+
return [2, Promise.resolve(response)];
|
|
2906
|
+
}
|
|
2907
|
+
});
|
|
2908
|
+
}); };
|
|
2909
|
+
var deserializeAws_json1_1CancelStatementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2910
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2911
|
+
var _c;
|
|
2912
|
+
return __generator(this, function (_d) {
|
|
2913
|
+
switch (_d.label) {
|
|
2914
|
+
case 0:
|
|
2915
|
+
_a = [__assign({}, output)];
|
|
2916
|
+
_c = {};
|
|
2917
|
+
return [4, parseBody(output.body, context)];
|
|
2918
|
+
case 1:
|
|
2919
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2920
|
+
errorCode = "UnknownError";
|
|
2921
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2922
|
+
_b = errorCode;
|
|
2923
|
+
switch (_b) {
|
|
2924
|
+
case "AccessDeniedException": return [3, 2];
|
|
2925
|
+
case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
|
|
2926
|
+
case "EntityNotFoundException": return [3, 4];
|
|
2927
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 4];
|
|
2928
|
+
case "IllegalSessionStateException": return [3, 6];
|
|
2929
|
+
case "com.amazonaws.glue#IllegalSessionStateException": return [3, 6];
|
|
2930
|
+
case "InternalServiceException": return [3, 8];
|
|
2931
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 8];
|
|
2932
|
+
case "InvalidInputException": return [3, 10];
|
|
2933
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 10];
|
|
2934
|
+
case "OperationTimeoutException": return [3, 12];
|
|
2935
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
2936
|
+
}
|
|
2937
|
+
return [3, 14];
|
|
2938
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2939
|
+
case 3: throw _d.sent();
|
|
2940
|
+
case 4: return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
2941
|
+
case 5: throw _d.sent();
|
|
2942
|
+
case 6: return [4, deserializeAws_json1_1IllegalSessionStateExceptionResponse(parsedOutput, context)];
|
|
2943
|
+
case 7: throw _d.sent();
|
|
2944
|
+
case 8: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
2945
|
+
case 9: throw _d.sent();
|
|
2946
|
+
case 10: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
2947
|
+
case 11: throw _d.sent();
|
|
2948
|
+
case 12: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
2949
|
+
case 13: throw _d.sent();
|
|
2950
|
+
case 14:
|
|
2951
|
+
parsedBody = parsedOutput.body;
|
|
2952
|
+
response = new __BaseException({
|
|
2953
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2954
|
+
$fault: "client",
|
|
2955
|
+
$metadata: deserializeMetadata(output),
|
|
2956
|
+
});
|
|
2957
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2958
|
+
}
|
|
2959
|
+
});
|
|
2960
|
+
}); };
|
|
2792
2961
|
export var deserializeAws_json1_1CheckSchemaVersionValidityCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2793
2962
|
var data, contents, response;
|
|
2794
2963
|
return __generator(this, function (_a) {
|
|
@@ -3815,6 +3984,84 @@ var deserializeAws_json1_1CreateSecurityConfigurationCommandError = function (ou
|
|
|
3815
3984
|
}
|
|
3816
3985
|
});
|
|
3817
3986
|
}); };
|
|
3987
|
+
export var deserializeAws_json1_1CreateSessionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3988
|
+
var data, contents, response;
|
|
3989
|
+
return __generator(this, function (_a) {
|
|
3990
|
+
switch (_a.label) {
|
|
3991
|
+
case 0:
|
|
3992
|
+
if (output.statusCode >= 300) {
|
|
3993
|
+
return [2, deserializeAws_json1_1CreateSessionCommandError(output, context)];
|
|
3994
|
+
}
|
|
3995
|
+
return [4, parseBody(output.body, context)];
|
|
3996
|
+
case 1:
|
|
3997
|
+
data = _a.sent();
|
|
3998
|
+
contents = {};
|
|
3999
|
+
contents = deserializeAws_json1_1CreateSessionResponse(data, context);
|
|
4000
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
4001
|
+
return [2, Promise.resolve(response)];
|
|
4002
|
+
}
|
|
4003
|
+
});
|
|
4004
|
+
}); };
|
|
4005
|
+
var deserializeAws_json1_1CreateSessionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4006
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4007
|
+
var _c;
|
|
4008
|
+
return __generator(this, function (_d) {
|
|
4009
|
+
switch (_d.label) {
|
|
4010
|
+
case 0:
|
|
4011
|
+
_a = [__assign({}, output)];
|
|
4012
|
+
_c = {};
|
|
4013
|
+
return [4, parseBody(output.body, context)];
|
|
4014
|
+
case 1:
|
|
4015
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4016
|
+
errorCode = "UnknownError";
|
|
4017
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4018
|
+
_b = errorCode;
|
|
4019
|
+
switch (_b) {
|
|
4020
|
+
case "AccessDeniedException": return [3, 2];
|
|
4021
|
+
case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
|
|
4022
|
+
case "AlreadyExistsException": return [3, 4];
|
|
4023
|
+
case "com.amazonaws.glue#AlreadyExistsException": return [3, 4];
|
|
4024
|
+
case "IdempotentParameterMismatchException": return [3, 6];
|
|
4025
|
+
case "com.amazonaws.glue#IdempotentParameterMismatchException": return [3, 6];
|
|
4026
|
+
case "InternalServiceException": return [3, 8];
|
|
4027
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 8];
|
|
4028
|
+
case "InvalidInputException": return [3, 10];
|
|
4029
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 10];
|
|
4030
|
+
case "OperationTimeoutException": return [3, 12];
|
|
4031
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
4032
|
+
case "ResourceNumberLimitExceededException": return [3, 14];
|
|
4033
|
+
case "com.amazonaws.glue#ResourceNumberLimitExceededException": return [3, 14];
|
|
4034
|
+
case "ValidationException": return [3, 16];
|
|
4035
|
+
case "com.amazonaws.glue#ValidationException": return [3, 16];
|
|
4036
|
+
}
|
|
4037
|
+
return [3, 18];
|
|
4038
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
4039
|
+
case 3: throw _d.sent();
|
|
4040
|
+
case 4: return [4, deserializeAws_json1_1AlreadyExistsExceptionResponse(parsedOutput, context)];
|
|
4041
|
+
case 5: throw _d.sent();
|
|
4042
|
+
case 6: return [4, deserializeAws_json1_1IdempotentParameterMismatchExceptionResponse(parsedOutput, context)];
|
|
4043
|
+
case 7: throw _d.sent();
|
|
4044
|
+
case 8: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
4045
|
+
case 9: throw _d.sent();
|
|
4046
|
+
case 10: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
4047
|
+
case 11: throw _d.sent();
|
|
4048
|
+
case 12: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
4049
|
+
case 13: throw _d.sent();
|
|
4050
|
+
case 14: return [4, deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse(parsedOutput, context)];
|
|
4051
|
+
case 15: throw _d.sent();
|
|
4052
|
+
case 16: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
4053
|
+
case 17: throw _d.sent();
|
|
4054
|
+
case 18:
|
|
4055
|
+
parsedBody = parsedOutput.body;
|
|
4056
|
+
response = new __BaseException({
|
|
4057
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4058
|
+
$fault: "client",
|
|
4059
|
+
$metadata: deserializeMetadata(output),
|
|
4060
|
+
});
|
|
4061
|
+
throw __decorateServiceException(response, parsedBody);
|
|
4062
|
+
}
|
|
4063
|
+
});
|
|
4064
|
+
}); };
|
|
3818
4065
|
export var deserializeAws_json1_1CreateTableCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3819
4066
|
var data, contents, response;
|
|
3820
4067
|
return __generator(this, function (_a) {
|
|
@@ -5173,25 +5420,25 @@ var deserializeAws_json1_1DeleteSecurityConfigurationCommandError = function (ou
|
|
|
5173
5420
|
}
|
|
5174
5421
|
});
|
|
5175
5422
|
}); };
|
|
5176
|
-
export var
|
|
5423
|
+
export var deserializeAws_json1_1DeleteSessionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5177
5424
|
var data, contents, response;
|
|
5178
5425
|
return __generator(this, function (_a) {
|
|
5179
5426
|
switch (_a.label) {
|
|
5180
5427
|
case 0:
|
|
5181
5428
|
if (output.statusCode >= 300) {
|
|
5182
|
-
return [2,
|
|
5429
|
+
return [2, deserializeAws_json1_1DeleteSessionCommandError(output, context)];
|
|
5183
5430
|
}
|
|
5184
5431
|
return [4, parseBody(output.body, context)];
|
|
5185
5432
|
case 1:
|
|
5186
5433
|
data = _a.sent();
|
|
5187
5434
|
contents = {};
|
|
5188
|
-
contents =
|
|
5435
|
+
contents = deserializeAws_json1_1DeleteSessionResponse(data, context);
|
|
5189
5436
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
5190
5437
|
return [2, Promise.resolve(response)];
|
|
5191
5438
|
}
|
|
5192
5439
|
});
|
|
5193
5440
|
}); };
|
|
5194
|
-
var
|
|
5441
|
+
var deserializeAws_json1_1DeleteSessionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5195
5442
|
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
5196
5443
|
var _c;
|
|
5197
5444
|
return __generator(this, function (_d) {
|
|
@@ -5206,31 +5453,31 @@ var deserializeAws_json1_1DeleteTableCommandError = function (output, context) {
|
|
|
5206
5453
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5207
5454
|
_b = errorCode;
|
|
5208
5455
|
switch (_b) {
|
|
5209
|
-
case "
|
|
5210
|
-
case "com.amazonaws.glue#
|
|
5211
|
-
case "
|
|
5212
|
-
case "com.amazonaws.glue#
|
|
5213
|
-
case "
|
|
5214
|
-
case "com.amazonaws.glue#
|
|
5215
|
-
case "
|
|
5216
|
-
case "com.amazonaws.glue#
|
|
5217
|
-
case "
|
|
5218
|
-
case "com.amazonaws.glue#
|
|
5219
|
-
case "
|
|
5220
|
-
case "com.amazonaws.glue#
|
|
5456
|
+
case "AccessDeniedException": return [3, 2];
|
|
5457
|
+
case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
|
|
5458
|
+
case "ConcurrentModificationException": return [3, 4];
|
|
5459
|
+
case "com.amazonaws.glue#ConcurrentModificationException": return [3, 4];
|
|
5460
|
+
case "IllegalSessionStateException": return [3, 6];
|
|
5461
|
+
case "com.amazonaws.glue#IllegalSessionStateException": return [3, 6];
|
|
5462
|
+
case "InternalServiceException": return [3, 8];
|
|
5463
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 8];
|
|
5464
|
+
case "InvalidInputException": return [3, 10];
|
|
5465
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 10];
|
|
5466
|
+
case "OperationTimeoutException": return [3, 12];
|
|
5467
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
5221
5468
|
}
|
|
5222
5469
|
return [3, 14];
|
|
5223
|
-
case 2: return [4,
|
|
5470
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
5224
5471
|
case 3: throw _d.sent();
|
|
5225
|
-
case 4: return [4,
|
|
5472
|
+
case 4: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
5226
5473
|
case 5: throw _d.sent();
|
|
5227
|
-
case 6: return [4,
|
|
5474
|
+
case 6: return [4, deserializeAws_json1_1IllegalSessionStateExceptionResponse(parsedOutput, context)];
|
|
5228
5475
|
case 7: throw _d.sent();
|
|
5229
|
-
case 8: return [4,
|
|
5476
|
+
case 8: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
5230
5477
|
case 9: throw _d.sent();
|
|
5231
|
-
case 10: return [4,
|
|
5478
|
+
case 10: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
5232
5479
|
case 11: throw _d.sent();
|
|
5233
|
-
case 12: return [4,
|
|
5480
|
+
case 12: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
5234
5481
|
case 13: throw _d.sent();
|
|
5235
5482
|
case 14:
|
|
5236
5483
|
parsedBody = parsedOutput.body;
|
|
@@ -5243,25 +5490,25 @@ var deserializeAws_json1_1DeleteTableCommandError = function (output, context) {
|
|
|
5243
5490
|
}
|
|
5244
5491
|
});
|
|
5245
5492
|
}); };
|
|
5246
|
-
export var
|
|
5493
|
+
export var deserializeAws_json1_1DeleteTableCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5247
5494
|
var data, contents, response;
|
|
5248
5495
|
return __generator(this, function (_a) {
|
|
5249
5496
|
switch (_a.label) {
|
|
5250
5497
|
case 0:
|
|
5251
5498
|
if (output.statusCode >= 300) {
|
|
5252
|
-
return [2,
|
|
5499
|
+
return [2, deserializeAws_json1_1DeleteTableCommandError(output, context)];
|
|
5253
5500
|
}
|
|
5254
5501
|
return [4, parseBody(output.body, context)];
|
|
5255
5502
|
case 1:
|
|
5256
5503
|
data = _a.sent();
|
|
5257
5504
|
contents = {};
|
|
5258
|
-
contents =
|
|
5505
|
+
contents = deserializeAws_json1_1DeleteTableResponse(data, context);
|
|
5259
5506
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
5260
5507
|
return [2, Promise.resolve(response)];
|
|
5261
5508
|
}
|
|
5262
5509
|
});
|
|
5263
5510
|
}); };
|
|
5264
|
-
var
|
|
5511
|
+
var deserializeAws_json1_1DeleteTableCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5265
5512
|
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
5266
5513
|
var _c;
|
|
5267
5514
|
return __generator(this, function (_d) {
|
|
@@ -5276,8 +5523,78 @@ var deserializeAws_json1_1DeleteTableVersionCommandError = function (output, con
|
|
|
5276
5523
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5277
5524
|
_b = errorCode;
|
|
5278
5525
|
switch (_b) {
|
|
5279
|
-
case "
|
|
5280
|
-
case "com.amazonaws.glue#
|
|
5526
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
5527
|
+
case "com.amazonaws.glue#ConcurrentModificationException": return [3, 2];
|
|
5528
|
+
case "EntityNotFoundException": return [3, 4];
|
|
5529
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 4];
|
|
5530
|
+
case "InternalServiceException": return [3, 6];
|
|
5531
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 6];
|
|
5532
|
+
case "InvalidInputException": return [3, 8];
|
|
5533
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
5534
|
+
case "OperationTimeoutException": return [3, 10];
|
|
5535
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 10];
|
|
5536
|
+
case "ResourceNotReadyException": return [3, 12];
|
|
5537
|
+
case "com.amazonaws.glue#ResourceNotReadyException": return [3, 12];
|
|
5538
|
+
}
|
|
5539
|
+
return [3, 14];
|
|
5540
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
5541
|
+
case 3: throw _d.sent();
|
|
5542
|
+
case 4: return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
5543
|
+
case 5: throw _d.sent();
|
|
5544
|
+
case 6: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
5545
|
+
case 7: throw _d.sent();
|
|
5546
|
+
case 8: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
5547
|
+
case 9: throw _d.sent();
|
|
5548
|
+
case 10: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
5549
|
+
case 11: throw _d.sent();
|
|
5550
|
+
case 12: return [4, deserializeAws_json1_1ResourceNotReadyExceptionResponse(parsedOutput, context)];
|
|
5551
|
+
case 13: throw _d.sent();
|
|
5552
|
+
case 14:
|
|
5553
|
+
parsedBody = parsedOutput.body;
|
|
5554
|
+
response = new __BaseException({
|
|
5555
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
5556
|
+
$fault: "client",
|
|
5557
|
+
$metadata: deserializeMetadata(output),
|
|
5558
|
+
});
|
|
5559
|
+
throw __decorateServiceException(response, parsedBody);
|
|
5560
|
+
}
|
|
5561
|
+
});
|
|
5562
|
+
}); };
|
|
5563
|
+
export var deserializeAws_json1_1DeleteTableVersionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5564
|
+
var data, contents, response;
|
|
5565
|
+
return __generator(this, function (_a) {
|
|
5566
|
+
switch (_a.label) {
|
|
5567
|
+
case 0:
|
|
5568
|
+
if (output.statusCode >= 300) {
|
|
5569
|
+
return [2, deserializeAws_json1_1DeleteTableVersionCommandError(output, context)];
|
|
5570
|
+
}
|
|
5571
|
+
return [4, parseBody(output.body, context)];
|
|
5572
|
+
case 1:
|
|
5573
|
+
data = _a.sent();
|
|
5574
|
+
contents = {};
|
|
5575
|
+
contents = deserializeAws_json1_1DeleteTableVersionResponse(data, context);
|
|
5576
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
5577
|
+
return [2, Promise.resolve(response)];
|
|
5578
|
+
}
|
|
5579
|
+
});
|
|
5580
|
+
}); };
|
|
5581
|
+
var deserializeAws_json1_1DeleteTableVersionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5582
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
5583
|
+
var _c;
|
|
5584
|
+
return __generator(this, function (_d) {
|
|
5585
|
+
switch (_d.label) {
|
|
5586
|
+
case 0:
|
|
5587
|
+
_a = [__assign({}, output)];
|
|
5588
|
+
_c = {};
|
|
5589
|
+
return [4, parseBody(output.body, context)];
|
|
5590
|
+
case 1:
|
|
5591
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5592
|
+
errorCode = "UnknownError";
|
|
5593
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5594
|
+
_b = errorCode;
|
|
5595
|
+
switch (_b) {
|
|
5596
|
+
case "EntityNotFoundException": return [3, 2];
|
|
5597
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 2];
|
|
5281
5598
|
case "InternalServiceException": return [3, 4];
|
|
5282
5599
|
case "com.amazonaws.glue#InternalServiceException": return [3, 4];
|
|
5283
5600
|
case "InvalidInputException": return [3, 6];
|
|
@@ -8055,6 +8372,142 @@ var deserializeAws_json1_1GetSecurityConfigurationsCommandError = function (outp
|
|
|
8055
8372
|
}
|
|
8056
8373
|
});
|
|
8057
8374
|
}); };
|
|
8375
|
+
export var deserializeAws_json1_1GetSessionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8376
|
+
var data, contents, response;
|
|
8377
|
+
return __generator(this, function (_a) {
|
|
8378
|
+
switch (_a.label) {
|
|
8379
|
+
case 0:
|
|
8380
|
+
if (output.statusCode >= 300) {
|
|
8381
|
+
return [2, deserializeAws_json1_1GetSessionCommandError(output, context)];
|
|
8382
|
+
}
|
|
8383
|
+
return [4, parseBody(output.body, context)];
|
|
8384
|
+
case 1:
|
|
8385
|
+
data = _a.sent();
|
|
8386
|
+
contents = {};
|
|
8387
|
+
contents = deserializeAws_json1_1GetSessionResponse(data, context);
|
|
8388
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
8389
|
+
return [2, Promise.resolve(response)];
|
|
8390
|
+
}
|
|
8391
|
+
});
|
|
8392
|
+
}); };
|
|
8393
|
+
var deserializeAws_json1_1GetSessionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8394
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
8395
|
+
var _c;
|
|
8396
|
+
return __generator(this, function (_d) {
|
|
8397
|
+
switch (_d.label) {
|
|
8398
|
+
case 0:
|
|
8399
|
+
_a = [__assign({}, output)];
|
|
8400
|
+
_c = {};
|
|
8401
|
+
return [4, parseBody(output.body, context)];
|
|
8402
|
+
case 1:
|
|
8403
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
8404
|
+
errorCode = "UnknownError";
|
|
8405
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8406
|
+
_b = errorCode;
|
|
8407
|
+
switch (_b) {
|
|
8408
|
+
case "AccessDeniedException": return [3, 2];
|
|
8409
|
+
case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
|
|
8410
|
+
case "EntityNotFoundException": return [3, 4];
|
|
8411
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 4];
|
|
8412
|
+
case "InternalServiceException": return [3, 6];
|
|
8413
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 6];
|
|
8414
|
+
case "InvalidInputException": return [3, 8];
|
|
8415
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 8];
|
|
8416
|
+
case "OperationTimeoutException": return [3, 10];
|
|
8417
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 10];
|
|
8418
|
+
}
|
|
8419
|
+
return [3, 12];
|
|
8420
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
8421
|
+
case 3: throw _d.sent();
|
|
8422
|
+
case 4: return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
8423
|
+
case 5: throw _d.sent();
|
|
8424
|
+
case 6: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
8425
|
+
case 7: throw _d.sent();
|
|
8426
|
+
case 8: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
8427
|
+
case 9: throw _d.sent();
|
|
8428
|
+
case 10: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
8429
|
+
case 11: throw _d.sent();
|
|
8430
|
+
case 12:
|
|
8431
|
+
parsedBody = parsedOutput.body;
|
|
8432
|
+
response = new __BaseException({
|
|
8433
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
8434
|
+
$fault: "client",
|
|
8435
|
+
$metadata: deserializeMetadata(output),
|
|
8436
|
+
});
|
|
8437
|
+
throw __decorateServiceException(response, parsedBody);
|
|
8438
|
+
}
|
|
8439
|
+
});
|
|
8440
|
+
}); };
|
|
8441
|
+
export var deserializeAws_json1_1GetStatementCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8442
|
+
var data, contents, response;
|
|
8443
|
+
return __generator(this, function (_a) {
|
|
8444
|
+
switch (_a.label) {
|
|
8445
|
+
case 0:
|
|
8446
|
+
if (output.statusCode >= 300) {
|
|
8447
|
+
return [2, deserializeAws_json1_1GetStatementCommandError(output, context)];
|
|
8448
|
+
}
|
|
8449
|
+
return [4, parseBody(output.body, context)];
|
|
8450
|
+
case 1:
|
|
8451
|
+
data = _a.sent();
|
|
8452
|
+
contents = {};
|
|
8453
|
+
contents = deserializeAws_json1_1GetStatementResponse(data, context);
|
|
8454
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
8455
|
+
return [2, Promise.resolve(response)];
|
|
8456
|
+
}
|
|
8457
|
+
});
|
|
8458
|
+
}); };
|
|
8459
|
+
var deserializeAws_json1_1GetStatementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8460
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
8461
|
+
var _c;
|
|
8462
|
+
return __generator(this, function (_d) {
|
|
8463
|
+
switch (_d.label) {
|
|
8464
|
+
case 0:
|
|
8465
|
+
_a = [__assign({}, output)];
|
|
8466
|
+
_c = {};
|
|
8467
|
+
return [4, parseBody(output.body, context)];
|
|
8468
|
+
case 1:
|
|
8469
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
8470
|
+
errorCode = "UnknownError";
|
|
8471
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8472
|
+
_b = errorCode;
|
|
8473
|
+
switch (_b) {
|
|
8474
|
+
case "AccessDeniedException": return [3, 2];
|
|
8475
|
+
case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
|
|
8476
|
+
case "EntityNotFoundException": return [3, 4];
|
|
8477
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 4];
|
|
8478
|
+
case "IllegalSessionStateException": return [3, 6];
|
|
8479
|
+
case "com.amazonaws.glue#IllegalSessionStateException": return [3, 6];
|
|
8480
|
+
case "InternalServiceException": return [3, 8];
|
|
8481
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 8];
|
|
8482
|
+
case "InvalidInputException": return [3, 10];
|
|
8483
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 10];
|
|
8484
|
+
case "OperationTimeoutException": return [3, 12];
|
|
8485
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
8486
|
+
}
|
|
8487
|
+
return [3, 14];
|
|
8488
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
8489
|
+
case 3: throw _d.sent();
|
|
8490
|
+
case 4: return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
8491
|
+
case 5: throw _d.sent();
|
|
8492
|
+
case 6: return [4, deserializeAws_json1_1IllegalSessionStateExceptionResponse(parsedOutput, context)];
|
|
8493
|
+
case 7: throw _d.sent();
|
|
8494
|
+
case 8: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
8495
|
+
case 9: throw _d.sent();
|
|
8496
|
+
case 10: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
8497
|
+
case 11: throw _d.sent();
|
|
8498
|
+
case 12: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
8499
|
+
case 13: throw _d.sent();
|
|
8500
|
+
case 14:
|
|
8501
|
+
parsedBody = parsedOutput.body;
|
|
8502
|
+
response = new __BaseException({
|
|
8503
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
8504
|
+
$fault: "client",
|
|
8505
|
+
$metadata: deserializeMetadata(output),
|
|
8506
|
+
});
|
|
8507
|
+
throw __decorateServiceException(response, parsedBody);
|
|
8508
|
+
}
|
|
8509
|
+
});
|
|
8510
|
+
}); };
|
|
8058
8511
|
export var deserializeAws_json1_1GetTableCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8059
8512
|
var data, contents, response;
|
|
8060
8513
|
return __generator(this, function (_a) {
|
|
@@ -9629,6 +10082,138 @@ var deserializeAws_json1_1ListSchemaVersionsCommandError = function (output, con
|
|
|
9629
10082
|
}
|
|
9630
10083
|
});
|
|
9631
10084
|
}); };
|
|
10085
|
+
export var deserializeAws_json1_1ListSessionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10086
|
+
var data, contents, response;
|
|
10087
|
+
return __generator(this, function (_a) {
|
|
10088
|
+
switch (_a.label) {
|
|
10089
|
+
case 0:
|
|
10090
|
+
if (output.statusCode >= 300) {
|
|
10091
|
+
return [2, deserializeAws_json1_1ListSessionsCommandError(output, context)];
|
|
10092
|
+
}
|
|
10093
|
+
return [4, parseBody(output.body, context)];
|
|
10094
|
+
case 1:
|
|
10095
|
+
data = _a.sent();
|
|
10096
|
+
contents = {};
|
|
10097
|
+
contents = deserializeAws_json1_1ListSessionsResponse(data, context);
|
|
10098
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10099
|
+
return [2, Promise.resolve(response)];
|
|
10100
|
+
}
|
|
10101
|
+
});
|
|
10102
|
+
}); };
|
|
10103
|
+
var deserializeAws_json1_1ListSessionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10104
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
10105
|
+
var _c;
|
|
10106
|
+
return __generator(this, function (_d) {
|
|
10107
|
+
switch (_d.label) {
|
|
10108
|
+
case 0:
|
|
10109
|
+
_a = [__assign({}, output)];
|
|
10110
|
+
_c = {};
|
|
10111
|
+
return [4, parseBody(output.body, context)];
|
|
10112
|
+
case 1:
|
|
10113
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
10114
|
+
errorCode = "UnknownError";
|
|
10115
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10116
|
+
_b = errorCode;
|
|
10117
|
+
switch (_b) {
|
|
10118
|
+
case "AccessDeniedException": return [3, 2];
|
|
10119
|
+
case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
|
|
10120
|
+
case "InternalServiceException": return [3, 4];
|
|
10121
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 4];
|
|
10122
|
+
case "InvalidInputException": return [3, 6];
|
|
10123
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 6];
|
|
10124
|
+
case "OperationTimeoutException": return [3, 8];
|
|
10125
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 8];
|
|
10126
|
+
}
|
|
10127
|
+
return [3, 10];
|
|
10128
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
10129
|
+
case 3: throw _d.sent();
|
|
10130
|
+
case 4: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10131
|
+
case 5: throw _d.sent();
|
|
10132
|
+
case 6: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
10133
|
+
case 7: throw _d.sent();
|
|
10134
|
+
case 8: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
10135
|
+
case 9: throw _d.sent();
|
|
10136
|
+
case 10:
|
|
10137
|
+
parsedBody = parsedOutput.body;
|
|
10138
|
+
response = new __BaseException({
|
|
10139
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
10140
|
+
$fault: "client",
|
|
10141
|
+
$metadata: deserializeMetadata(output),
|
|
10142
|
+
});
|
|
10143
|
+
throw __decorateServiceException(response, parsedBody);
|
|
10144
|
+
}
|
|
10145
|
+
});
|
|
10146
|
+
}); };
|
|
10147
|
+
export var deserializeAws_json1_1ListStatementsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10148
|
+
var data, contents, response;
|
|
10149
|
+
return __generator(this, function (_a) {
|
|
10150
|
+
switch (_a.label) {
|
|
10151
|
+
case 0:
|
|
10152
|
+
if (output.statusCode >= 300) {
|
|
10153
|
+
return [2, deserializeAws_json1_1ListStatementsCommandError(output, context)];
|
|
10154
|
+
}
|
|
10155
|
+
return [4, parseBody(output.body, context)];
|
|
10156
|
+
case 1:
|
|
10157
|
+
data = _a.sent();
|
|
10158
|
+
contents = {};
|
|
10159
|
+
contents = deserializeAws_json1_1ListStatementsResponse(data, context);
|
|
10160
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10161
|
+
return [2, Promise.resolve(response)];
|
|
10162
|
+
}
|
|
10163
|
+
});
|
|
10164
|
+
}); };
|
|
10165
|
+
var deserializeAws_json1_1ListStatementsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10166
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
10167
|
+
var _c;
|
|
10168
|
+
return __generator(this, function (_d) {
|
|
10169
|
+
switch (_d.label) {
|
|
10170
|
+
case 0:
|
|
10171
|
+
_a = [__assign({}, output)];
|
|
10172
|
+
_c = {};
|
|
10173
|
+
return [4, parseBody(output.body, context)];
|
|
10174
|
+
case 1:
|
|
10175
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
10176
|
+
errorCode = "UnknownError";
|
|
10177
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10178
|
+
_b = errorCode;
|
|
10179
|
+
switch (_b) {
|
|
10180
|
+
case "AccessDeniedException": return [3, 2];
|
|
10181
|
+
case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
|
|
10182
|
+
case "EntityNotFoundException": return [3, 4];
|
|
10183
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 4];
|
|
10184
|
+
case "IllegalSessionStateException": return [3, 6];
|
|
10185
|
+
case "com.amazonaws.glue#IllegalSessionStateException": return [3, 6];
|
|
10186
|
+
case "InternalServiceException": return [3, 8];
|
|
10187
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 8];
|
|
10188
|
+
case "InvalidInputException": return [3, 10];
|
|
10189
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 10];
|
|
10190
|
+
case "OperationTimeoutException": return [3, 12];
|
|
10191
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
10192
|
+
}
|
|
10193
|
+
return [3, 14];
|
|
10194
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
10195
|
+
case 3: throw _d.sent();
|
|
10196
|
+
case 4: return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
10197
|
+
case 5: throw _d.sent();
|
|
10198
|
+
case 6: return [4, deserializeAws_json1_1IllegalSessionStateExceptionResponse(parsedOutput, context)];
|
|
10199
|
+
case 7: throw _d.sent();
|
|
10200
|
+
case 8: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10201
|
+
case 9: throw _d.sent();
|
|
10202
|
+
case 10: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
10203
|
+
case 11: throw _d.sent();
|
|
10204
|
+
case 12: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
10205
|
+
case 13: throw _d.sent();
|
|
10206
|
+
case 14:
|
|
10207
|
+
parsedBody = parsedOutput.body;
|
|
10208
|
+
response = new __BaseException({
|
|
10209
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
10210
|
+
$fault: "client",
|
|
10211
|
+
$metadata: deserializeMetadata(output),
|
|
10212
|
+
});
|
|
10213
|
+
throw __decorateServiceException(response, parsedBody);
|
|
10214
|
+
}
|
|
10215
|
+
});
|
|
10216
|
+
}); };
|
|
9632
10217
|
export var deserializeAws_json1_1ListTriggersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9633
10218
|
var data, contents, response;
|
|
9634
10219
|
return __generator(this, function (_a) {
|
|
@@ -10244,13 +10829,83 @@ var deserializeAws_json1_1ResetJobBookmarkCommandError = function (output, conte
|
|
|
10244
10829
|
return [3, 10];
|
|
10245
10830
|
case 2: return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
10246
10831
|
case 3: throw _d.sent();
|
|
10247
|
-
case 4: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10832
|
+
case 4: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10833
|
+
case 5: throw _d.sent();
|
|
10834
|
+
case 6: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
10835
|
+
case 7: throw _d.sent();
|
|
10836
|
+
case 8: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
10837
|
+
case 9: throw _d.sent();
|
|
10838
|
+
case 10:
|
|
10839
|
+
parsedBody = parsedOutput.body;
|
|
10840
|
+
response = new __BaseException({
|
|
10841
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
10842
|
+
$fault: "client",
|
|
10843
|
+
$metadata: deserializeMetadata(output),
|
|
10844
|
+
});
|
|
10845
|
+
throw __decorateServiceException(response, parsedBody);
|
|
10846
|
+
}
|
|
10847
|
+
});
|
|
10848
|
+
}); };
|
|
10849
|
+
export var deserializeAws_json1_1ResumeWorkflowRunCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10850
|
+
var data, contents, response;
|
|
10851
|
+
return __generator(this, function (_a) {
|
|
10852
|
+
switch (_a.label) {
|
|
10853
|
+
case 0:
|
|
10854
|
+
if (output.statusCode >= 300) {
|
|
10855
|
+
return [2, deserializeAws_json1_1ResumeWorkflowRunCommandError(output, context)];
|
|
10856
|
+
}
|
|
10857
|
+
return [4, parseBody(output.body, context)];
|
|
10858
|
+
case 1:
|
|
10859
|
+
data = _a.sent();
|
|
10860
|
+
contents = {};
|
|
10861
|
+
contents = deserializeAws_json1_1ResumeWorkflowRunResponse(data, context);
|
|
10862
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10863
|
+
return [2, Promise.resolve(response)];
|
|
10864
|
+
}
|
|
10865
|
+
});
|
|
10866
|
+
}); };
|
|
10867
|
+
var deserializeAws_json1_1ResumeWorkflowRunCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10868
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
10869
|
+
var _c;
|
|
10870
|
+
return __generator(this, function (_d) {
|
|
10871
|
+
switch (_d.label) {
|
|
10872
|
+
case 0:
|
|
10873
|
+
_a = [__assign({}, output)];
|
|
10874
|
+
_c = {};
|
|
10875
|
+
return [4, parseBody(output.body, context)];
|
|
10876
|
+
case 1:
|
|
10877
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
10878
|
+
errorCode = "UnknownError";
|
|
10879
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10880
|
+
_b = errorCode;
|
|
10881
|
+
switch (_b) {
|
|
10882
|
+
case "ConcurrentRunsExceededException": return [3, 2];
|
|
10883
|
+
case "com.amazonaws.glue#ConcurrentRunsExceededException": return [3, 2];
|
|
10884
|
+
case "EntityNotFoundException": return [3, 4];
|
|
10885
|
+
case "com.amazonaws.glue#EntityNotFoundException": return [3, 4];
|
|
10886
|
+
case "IllegalWorkflowStateException": return [3, 6];
|
|
10887
|
+
case "com.amazonaws.glue#IllegalWorkflowStateException": return [3, 6];
|
|
10888
|
+
case "InternalServiceException": return [3, 8];
|
|
10889
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 8];
|
|
10890
|
+
case "InvalidInputException": return [3, 10];
|
|
10891
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 10];
|
|
10892
|
+
case "OperationTimeoutException": return [3, 12];
|
|
10893
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
10894
|
+
}
|
|
10895
|
+
return [3, 14];
|
|
10896
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentRunsExceededExceptionResponse(parsedOutput, context)];
|
|
10897
|
+
case 3: throw _d.sent();
|
|
10898
|
+
case 4: return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
10248
10899
|
case 5: throw _d.sent();
|
|
10249
|
-
case 6: return [4,
|
|
10900
|
+
case 6: return [4, deserializeAws_json1_1IllegalWorkflowStateExceptionResponse(parsedOutput, context)];
|
|
10250
10901
|
case 7: throw _d.sent();
|
|
10251
|
-
case 8: return [4,
|
|
10902
|
+
case 8: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10252
10903
|
case 9: throw _d.sent();
|
|
10253
|
-
case 10:
|
|
10904
|
+
case 10: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
10905
|
+
case 11: throw _d.sent();
|
|
10906
|
+
case 12: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
10907
|
+
case 13: throw _d.sent();
|
|
10908
|
+
case 14:
|
|
10254
10909
|
parsedBody = parsedOutput.body;
|
|
10255
10910
|
response = new __BaseException({
|
|
10256
10911
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -10261,25 +10916,25 @@ var deserializeAws_json1_1ResetJobBookmarkCommandError = function (output, conte
|
|
|
10261
10916
|
}
|
|
10262
10917
|
});
|
|
10263
10918
|
}); };
|
|
10264
|
-
export var
|
|
10919
|
+
export var deserializeAws_json1_1RunStatementCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10265
10920
|
var data, contents, response;
|
|
10266
10921
|
return __generator(this, function (_a) {
|
|
10267
10922
|
switch (_a.label) {
|
|
10268
10923
|
case 0:
|
|
10269
10924
|
if (output.statusCode >= 300) {
|
|
10270
|
-
return [2,
|
|
10925
|
+
return [2, deserializeAws_json1_1RunStatementCommandError(output, context)];
|
|
10271
10926
|
}
|
|
10272
10927
|
return [4, parseBody(output.body, context)];
|
|
10273
10928
|
case 1:
|
|
10274
10929
|
data = _a.sent();
|
|
10275
10930
|
contents = {};
|
|
10276
|
-
contents =
|
|
10931
|
+
contents = deserializeAws_json1_1RunStatementResponse(data, context);
|
|
10277
10932
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10278
10933
|
return [2, Promise.resolve(response)];
|
|
10279
10934
|
}
|
|
10280
10935
|
});
|
|
10281
10936
|
}); };
|
|
10282
|
-
var
|
|
10937
|
+
var deserializeAws_json1_1RunStatementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10283
10938
|
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
10284
10939
|
var _c;
|
|
10285
10940
|
return __generator(this, function (_d) {
|
|
@@ -10294,25 +10949,29 @@ var deserializeAws_json1_1ResumeWorkflowRunCommandError = function (output, cont
|
|
|
10294
10949
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10295
10950
|
_b = errorCode;
|
|
10296
10951
|
switch (_b) {
|
|
10297
|
-
case "
|
|
10298
|
-
case "com.amazonaws.glue#
|
|
10952
|
+
case "AccessDeniedException": return [3, 2];
|
|
10953
|
+
case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
|
|
10299
10954
|
case "EntityNotFoundException": return [3, 4];
|
|
10300
10955
|
case "com.amazonaws.glue#EntityNotFoundException": return [3, 4];
|
|
10301
|
-
case "
|
|
10302
|
-
case "com.amazonaws.glue#
|
|
10956
|
+
case "IllegalSessionStateException": return [3, 6];
|
|
10957
|
+
case "com.amazonaws.glue#IllegalSessionStateException": return [3, 6];
|
|
10303
10958
|
case "InternalServiceException": return [3, 8];
|
|
10304
10959
|
case "com.amazonaws.glue#InternalServiceException": return [3, 8];
|
|
10305
10960
|
case "InvalidInputException": return [3, 10];
|
|
10306
10961
|
case "com.amazonaws.glue#InvalidInputException": return [3, 10];
|
|
10307
10962
|
case "OperationTimeoutException": return [3, 12];
|
|
10308
10963
|
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
10964
|
+
case "ResourceNumberLimitExceededException": return [3, 14];
|
|
10965
|
+
case "com.amazonaws.glue#ResourceNumberLimitExceededException": return [3, 14];
|
|
10966
|
+
case "ValidationException": return [3, 16];
|
|
10967
|
+
case "com.amazonaws.glue#ValidationException": return [3, 16];
|
|
10309
10968
|
}
|
|
10310
|
-
return [3,
|
|
10311
|
-
case 2: return [4,
|
|
10969
|
+
return [3, 18];
|
|
10970
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
10312
10971
|
case 3: throw _d.sent();
|
|
10313
10972
|
case 4: return [4, deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context)];
|
|
10314
10973
|
case 5: throw _d.sent();
|
|
10315
|
-
case 6: return [4,
|
|
10974
|
+
case 6: return [4, deserializeAws_json1_1IllegalSessionStateExceptionResponse(parsedOutput, context)];
|
|
10316
10975
|
case 7: throw _d.sent();
|
|
10317
10976
|
case 8: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
10318
10977
|
case 9: throw _d.sent();
|
|
@@ -10320,7 +10979,11 @@ var deserializeAws_json1_1ResumeWorkflowRunCommandError = function (output, cont
|
|
|
10320
10979
|
case 11: throw _d.sent();
|
|
10321
10980
|
case 12: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
10322
10981
|
case 13: throw _d.sent();
|
|
10323
|
-
case 14:
|
|
10982
|
+
case 14: return [4, deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse(parsedOutput, context)];
|
|
10983
|
+
case 15: throw _d.sent();
|
|
10984
|
+
case 16: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
10985
|
+
case 17: throw _d.sent();
|
|
10986
|
+
case 18:
|
|
10324
10987
|
parsedBody = parsedOutput.body;
|
|
10325
10988
|
response = new __BaseException({
|
|
10326
10989
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -11181,6 +11844,76 @@ var deserializeAws_json1_1StopCrawlerScheduleCommandError = function (output, co
|
|
|
11181
11844
|
}
|
|
11182
11845
|
});
|
|
11183
11846
|
}); };
|
|
11847
|
+
export var deserializeAws_json1_1StopSessionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11848
|
+
var data, contents, response;
|
|
11849
|
+
return __generator(this, function (_a) {
|
|
11850
|
+
switch (_a.label) {
|
|
11851
|
+
case 0:
|
|
11852
|
+
if (output.statusCode >= 300) {
|
|
11853
|
+
return [2, deserializeAws_json1_1StopSessionCommandError(output, context)];
|
|
11854
|
+
}
|
|
11855
|
+
return [4, parseBody(output.body, context)];
|
|
11856
|
+
case 1:
|
|
11857
|
+
data = _a.sent();
|
|
11858
|
+
contents = {};
|
|
11859
|
+
contents = deserializeAws_json1_1StopSessionResponse(data, context);
|
|
11860
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
11861
|
+
return [2, Promise.resolve(response)];
|
|
11862
|
+
}
|
|
11863
|
+
});
|
|
11864
|
+
}); };
|
|
11865
|
+
var deserializeAws_json1_1StopSessionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11866
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
11867
|
+
var _c;
|
|
11868
|
+
return __generator(this, function (_d) {
|
|
11869
|
+
switch (_d.label) {
|
|
11870
|
+
case 0:
|
|
11871
|
+
_a = [__assign({}, output)];
|
|
11872
|
+
_c = {};
|
|
11873
|
+
return [4, parseBody(output.body, context)];
|
|
11874
|
+
case 1:
|
|
11875
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
11876
|
+
errorCode = "UnknownError";
|
|
11877
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11878
|
+
_b = errorCode;
|
|
11879
|
+
switch (_b) {
|
|
11880
|
+
case "AccessDeniedException": return [3, 2];
|
|
11881
|
+
case "com.amazonaws.glue#AccessDeniedException": return [3, 2];
|
|
11882
|
+
case "ConcurrentModificationException": return [3, 4];
|
|
11883
|
+
case "com.amazonaws.glue#ConcurrentModificationException": return [3, 4];
|
|
11884
|
+
case "IllegalSessionStateException": return [3, 6];
|
|
11885
|
+
case "com.amazonaws.glue#IllegalSessionStateException": return [3, 6];
|
|
11886
|
+
case "InternalServiceException": return [3, 8];
|
|
11887
|
+
case "com.amazonaws.glue#InternalServiceException": return [3, 8];
|
|
11888
|
+
case "InvalidInputException": return [3, 10];
|
|
11889
|
+
case "com.amazonaws.glue#InvalidInputException": return [3, 10];
|
|
11890
|
+
case "OperationTimeoutException": return [3, 12];
|
|
11891
|
+
case "com.amazonaws.glue#OperationTimeoutException": return [3, 12];
|
|
11892
|
+
}
|
|
11893
|
+
return [3, 14];
|
|
11894
|
+
case 2: return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
11895
|
+
case 3: throw _d.sent();
|
|
11896
|
+
case 4: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
11897
|
+
case 5: throw _d.sent();
|
|
11898
|
+
case 6: return [4, deserializeAws_json1_1IllegalSessionStateExceptionResponse(parsedOutput, context)];
|
|
11899
|
+
case 7: throw _d.sent();
|
|
11900
|
+
case 8: return [4, deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
11901
|
+
case 9: throw _d.sent();
|
|
11902
|
+
case 10: return [4, deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context)];
|
|
11903
|
+
case 11: throw _d.sent();
|
|
11904
|
+
case 12: return [4, deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context)];
|
|
11905
|
+
case 13: throw _d.sent();
|
|
11906
|
+
case 14:
|
|
11907
|
+
parsedBody = parsedOutput.body;
|
|
11908
|
+
response = new __BaseException({
|
|
11909
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
11910
|
+
$fault: "client",
|
|
11911
|
+
$metadata: deserializeMetadata(output),
|
|
11912
|
+
});
|
|
11913
|
+
throw __decorateServiceException(response, parsedBody);
|
|
11914
|
+
}
|
|
11915
|
+
});
|
|
11916
|
+
}); };
|
|
11184
11917
|
export var deserializeAws_json1_1StopTriggerCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11185
11918
|
var data, contents, response;
|
|
11186
11919
|
return __generator(this, function (_a) {
|
|
@@ -12754,6 +13487,15 @@ var deserializeAws_json1_1IllegalBlueprintStateExceptionResponse = function (par
|
|
|
12754
13487
|
return [2, __decorateServiceException(exception, body)];
|
|
12755
13488
|
});
|
|
12756
13489
|
}); };
|
|
13490
|
+
var deserializeAws_json1_1IllegalSessionStateExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13491
|
+
var body, deserialized, exception;
|
|
13492
|
+
return __generator(this, function (_a) {
|
|
13493
|
+
body = parsedOutput.body;
|
|
13494
|
+
deserialized = deserializeAws_json1_1IllegalSessionStateException(body, context);
|
|
13495
|
+
exception = new IllegalSessionStateException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
13496
|
+
return [2, __decorateServiceException(exception, body)];
|
|
13497
|
+
});
|
|
13498
|
+
}); };
|
|
12757
13499
|
var deserializeAws_json1_1IllegalWorkflowStateExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12758
13500
|
var body, deserialized, exception;
|
|
12759
13501
|
return __generator(this, function (_a) {
|
|
@@ -12917,9 +13659,23 @@ var serializeAws_json1_1AdditionalPlanOptionsMap = function (input, context) {
|
|
|
12917
13659
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
12918
13660
|
}, {});
|
|
12919
13661
|
};
|
|
13662
|
+
var serializeAws_json1_1AuditColumnNamesList = function (input, context) {
|
|
13663
|
+
return input
|
|
13664
|
+
.filter(function (e) { return e != null; })
|
|
13665
|
+
.map(function (entry) {
|
|
13666
|
+
if (entry === null) {
|
|
13667
|
+
return null;
|
|
13668
|
+
}
|
|
13669
|
+
return entry;
|
|
13670
|
+
});
|
|
13671
|
+
};
|
|
12920
13672
|
var serializeAws_json1_1AuditContext = function (input, context) {
|
|
12921
|
-
return __assign({}, (input.AdditionalAuditContext !== undefined &&
|
|
12922
|
-
input.AdditionalAuditContext !== null && { AdditionalAuditContext: input.AdditionalAuditContext }))
|
|
13673
|
+
return __assign(__assign(__assign({}, (input.AdditionalAuditContext !== undefined &&
|
|
13674
|
+
input.AdditionalAuditContext !== null && { AdditionalAuditContext: input.AdditionalAuditContext })), (input.AllColumnsRequested !== undefined &&
|
|
13675
|
+
input.AllColumnsRequested !== null && { AllColumnsRequested: input.AllColumnsRequested })), (input.RequestedColumns !== undefined &&
|
|
13676
|
+
input.RequestedColumns !== null && {
|
|
13677
|
+
RequestedColumns: serializeAws_json1_1AuditColumnNamesList(input.RequestedColumns, context),
|
|
13678
|
+
}));
|
|
12923
13679
|
};
|
|
12924
13680
|
var serializeAws_json1_1BatchCreatePartitionRequest = function (input, context) {
|
|
12925
13681
|
return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.PartitionInputList !== undefined &&
|
|
@@ -13101,6 +13857,9 @@ var serializeAws_json1_1BoundedPartitionValueList = function (input, context) {
|
|
|
13101
13857
|
var serializeAws_json1_1CancelMLTaskRunRequest = function (input, context) {
|
|
13102
13858
|
return __assign(__assign({}, (input.TaskRunId !== undefined && input.TaskRunId !== null && { TaskRunId: input.TaskRunId })), (input.TransformId !== undefined && input.TransformId !== null && { TransformId: input.TransformId }));
|
|
13103
13859
|
};
|
|
13860
|
+
var serializeAws_json1_1CancelStatementRequest = function (input, context) {
|
|
13861
|
+
return __assign(__assign(__assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.RequestOrigin !== undefined && input.RequestOrigin !== null && { RequestOrigin: input.RequestOrigin })), (input.SessionId !== undefined && input.SessionId !== null && { SessionId: input.SessionId }));
|
|
13862
|
+
};
|
|
13104
13863
|
var serializeAws_json1_1CatalogEntries = function (input, context) {
|
|
13105
13864
|
return input
|
|
13106
13865
|
.filter(function (e) { return e != null; })
|
|
@@ -13453,6 +14212,17 @@ var serializeAws_json1_1CreateSecurityConfigurationRequest = function (input, co
|
|
|
13453
14212
|
EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
13454
14213
|
})), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
13455
14214
|
};
|
|
14215
|
+
var serializeAws_json1_1CreateSessionRequest = function (input, context) {
|
|
14216
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Command !== undefined &&
|
|
14217
|
+
input.Command !== null && { Command: serializeAws_json1_1SessionCommand(input.Command, context) })), (input.Connections !== undefined &&
|
|
14218
|
+
input.Connections !== null && { Connections: serializeAws_json1_1ConnectionsList(input.Connections, context) })), (input.DefaultArguments !== undefined &&
|
|
14219
|
+
input.DefaultArguments !== null && {
|
|
14220
|
+
DefaultArguments: serializeAws_json1_1OrchestrationArgumentsMap(input.DefaultArguments, context),
|
|
14221
|
+
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.GlueVersion !== undefined && input.GlueVersion !== null && { GlueVersion: input.GlueVersion })), (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.IdleTimeout !== undefined && input.IdleTimeout !== null && { IdleTimeout: input.IdleTimeout })), (input.MaxCapacity !== undefined &&
|
|
14222
|
+
input.MaxCapacity !== null && { MaxCapacity: __serializeFloat(input.MaxCapacity) })), (input.NumberOfWorkers !== undefined &&
|
|
14223
|
+
input.NumberOfWorkers !== null && { NumberOfWorkers: input.NumberOfWorkers })), (input.RequestOrigin !== undefined && input.RequestOrigin !== null && { RequestOrigin: input.RequestOrigin })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.SecurityConfiguration !== undefined &&
|
|
14224
|
+
input.SecurityConfiguration !== null && { SecurityConfiguration: input.SecurityConfiguration })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsMap(input.Tags, context) })), (input.Timeout !== undefined && input.Timeout !== null && { Timeout: input.Timeout })), (input.WorkerType !== undefined && input.WorkerType !== null && { WorkerType: input.WorkerType }));
|
|
14225
|
+
};
|
|
13456
14226
|
var serializeAws_json1_1CreateTableRequest = function (input, context) {
|
|
13457
14227
|
return __assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.PartitionIndexes !== undefined &&
|
|
13458
14228
|
input.PartitionIndexes !== null && {
|
|
@@ -13630,6 +14400,9 @@ var serializeAws_json1_1DeleteSchemaVersionsInput = function (input, context) {
|
|
|
13630
14400
|
var serializeAws_json1_1DeleteSecurityConfigurationRequest = function (input, context) {
|
|
13631
14401
|
return __assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
13632
14402
|
};
|
|
14403
|
+
var serializeAws_json1_1DeleteSessionRequest = function (input, context) {
|
|
14404
|
+
return __assign(__assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.RequestOrigin !== undefined && input.RequestOrigin !== null && { RequestOrigin: input.RequestOrigin }));
|
|
14405
|
+
};
|
|
13633
14406
|
var serializeAws_json1_1DeleteTableRequest = function (input, context) {
|
|
13634
14407
|
return __assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
|
|
13635
14408
|
};
|
|
@@ -13934,6 +14707,12 @@ var serializeAws_json1_1GetSecurityConfigurationRequest = function (input, conte
|
|
|
13934
14707
|
var serializeAws_json1_1GetSecurityConfigurationsRequest = function (input, context) {
|
|
13935
14708
|
return __assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
13936
14709
|
};
|
|
14710
|
+
var serializeAws_json1_1GetSessionRequest = function (input, context) {
|
|
14711
|
+
return __assign(__assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.RequestOrigin !== undefined && input.RequestOrigin !== null && { RequestOrigin: input.RequestOrigin }));
|
|
14712
|
+
};
|
|
14713
|
+
var serializeAws_json1_1GetStatementRequest = function (input, context) {
|
|
14714
|
+
return __assign(__assign(__assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.RequestOrigin !== undefined && input.RequestOrigin !== null && { RequestOrigin: input.RequestOrigin })), (input.SessionId !== undefined && input.SessionId !== null && { SessionId: input.SessionId }));
|
|
14715
|
+
};
|
|
13937
14716
|
var serializeAws_json1_1GetTableRequest = function (input, context) {
|
|
13938
14717
|
return __assign(__assign(__assign(__assign(__assign({}, (input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.QueryAsOfTime !== undefined &&
|
|
13939
14718
|
input.QueryAsOfTime !== null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000) })), (input.TransactionId !== undefined && input.TransactionId !== null && { TransactionId: input.TransactionId }));
|
|
@@ -14118,6 +14897,12 @@ var serializeAws_json1_1ListSchemaVersionsInput = function (input, context) {
|
|
|
14118
14897
|
return __assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SchemaId !== undefined &&
|
|
14119
14898
|
input.SchemaId !== null && { SchemaId: serializeAws_json1_1SchemaId(input.SchemaId, context) }));
|
|
14120
14899
|
};
|
|
14900
|
+
var serializeAws_json1_1ListSessionsRequest = function (input, context) {
|
|
14901
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.RequestOrigin !== undefined && input.RequestOrigin !== null && { RequestOrigin: input.RequestOrigin })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsMap(input.Tags, context) }));
|
|
14902
|
+
};
|
|
14903
|
+
var serializeAws_json1_1ListStatementsRequest = function (input, context) {
|
|
14904
|
+
return __assign(__assign(__assign({}, (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.RequestOrigin !== undefined && input.RequestOrigin !== null && { RequestOrigin: input.RequestOrigin })), (input.SessionId !== undefined && input.SessionId !== null && { SessionId: input.SessionId }));
|
|
14905
|
+
};
|
|
14121
14906
|
var serializeAws_json1_1ListTriggersRequest = function (input, context) {
|
|
14122
14907
|
return __assign(__assign(__assign(__assign({}, (input.DependentJobName !== undefined &&
|
|
14123
14908
|
input.DependentJobName !== null && { DependentJobName: input.DependentJobName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsMap(input.Tags, context) }));
|
|
@@ -14242,6 +15027,16 @@ var serializeAws_json1_1NotificationProperty = function (input, context) {
|
|
|
14242
15027
|
return __assign({}, (input.NotifyDelayAfter !== undefined &&
|
|
14243
15028
|
input.NotifyDelayAfter !== null && { NotifyDelayAfter: input.NotifyDelayAfter }));
|
|
14244
15029
|
};
|
|
15030
|
+
var serializeAws_json1_1OrchestrationArgumentsMap = function (input, context) {
|
|
15031
|
+
return Object.entries(input).reduce(function (acc, _a) {
|
|
15032
|
+
var _b;
|
|
15033
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
15034
|
+
if (value === null) {
|
|
15035
|
+
return acc;
|
|
15036
|
+
}
|
|
15037
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
15038
|
+
}, {});
|
|
15039
|
+
};
|
|
14245
15040
|
var serializeAws_json1_1OrchestrationStringList = function (input, context) {
|
|
14246
15041
|
return input
|
|
14247
15042
|
.filter(function (e) { return e != null; })
|
|
@@ -14461,6 +15256,9 @@ var serializeAws_json1_1ResumeWorkflowRunRequest = function (input, context) {
|
|
|
14461
15256
|
return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.NodeIds !== undefined &&
|
|
14462
15257
|
input.NodeIds !== null && { NodeIds: serializeAws_json1_1NodeIdList(input.NodeIds, context) })), (input.RunId !== undefined && input.RunId !== null && { RunId: input.RunId }));
|
|
14463
15258
|
};
|
|
15259
|
+
var serializeAws_json1_1RunStatementRequest = function (input, context) {
|
|
15260
|
+
return __assign(__assign(__assign({}, (input.Code !== undefined && input.Code !== null && { Code: input.Code })), (input.RequestOrigin !== undefined && input.RequestOrigin !== null && { RequestOrigin: input.RequestOrigin })), (input.SessionId !== undefined && input.SessionId !== null && { SessionId: input.SessionId }));
|
|
15261
|
+
};
|
|
14464
15262
|
var serializeAws_json1_1S3Encryption = function (input, context) {
|
|
14465
15263
|
return __assign(__assign({}, (input.KmsKeyArn !== undefined && input.KmsKeyArn !== null && { KmsKeyArn: input.KmsKeyArn })), (input.S3EncryptionMode !== undefined &&
|
|
14466
15264
|
input.S3EncryptionMode !== null && { S3EncryptionMode: input.S3EncryptionMode }));
|
|
@@ -14545,6 +15343,9 @@ var serializeAws_json1_1SerDeInfo = function (input, context) {
|
|
|
14545
15343
|
input.Parameters !== null && { Parameters: serializeAws_json1_1ParametersMap(input.Parameters, context) })), (input.SerializationLibrary !== undefined &&
|
|
14546
15344
|
input.SerializationLibrary !== null && { SerializationLibrary: input.SerializationLibrary }));
|
|
14547
15345
|
};
|
|
15346
|
+
var serializeAws_json1_1SessionCommand = function (input, context) {
|
|
15347
|
+
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PythonVersion !== undefined && input.PythonVersion !== null && { PythonVersion: input.PythonVersion }));
|
|
15348
|
+
};
|
|
14548
15349
|
var serializeAws_json1_1SkewedInfo = function (input, context) {
|
|
14549
15350
|
return __assign(__assign(__assign({}, (input.SkewedColumnNames !== undefined &&
|
|
14550
15351
|
input.SkewedColumnNames !== null && {
|
|
@@ -14618,6 +15419,9 @@ var serializeAws_json1_1StopCrawlerRequest = function (input, context) {
|
|
|
14618
15419
|
var serializeAws_json1_1StopCrawlerScheduleRequest = function (input, context) {
|
|
14619
15420
|
return __assign({}, (input.CrawlerName !== undefined && input.CrawlerName !== null && { CrawlerName: input.CrawlerName }));
|
|
14620
15421
|
};
|
|
15422
|
+
var serializeAws_json1_1StopSessionRequest = function (input, context) {
|
|
15423
|
+
return __assign(__assign({}, (input.Id !== undefined && input.Id !== null && { Id: input.Id })), (input.RequestOrigin !== undefined && input.RequestOrigin !== null && { RequestOrigin: input.RequestOrigin }));
|
|
15424
|
+
};
|
|
14621
15425
|
var serializeAws_json1_1StopTriggerRequest = function (input, context) {
|
|
14622
15426
|
return __assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
14623
15427
|
};
|
|
@@ -15340,6 +16144,9 @@ var deserializeAws_json1_1CancelMLTaskRunResponse = function (output, context) {
|
|
|
15340
16144
|
TransformId: __expectString(output.TransformId),
|
|
15341
16145
|
};
|
|
15342
16146
|
};
|
|
16147
|
+
var deserializeAws_json1_1CancelStatementResponse = function (output, context) {
|
|
16148
|
+
return {};
|
|
16149
|
+
};
|
|
15343
16150
|
var deserializeAws_json1_1CatalogImportStatus = function (output, context) {
|
|
15344
16151
|
return {
|
|
15345
16152
|
ImportCompleted: __expectBoolean(output.ImportCompleted),
|
|
@@ -15989,6 +16796,13 @@ var deserializeAws_json1_1CreateSecurityConfigurationResponse = function (output
|
|
|
15989
16796
|
Name: __expectString(output.Name),
|
|
15990
16797
|
};
|
|
15991
16798
|
};
|
|
16799
|
+
var deserializeAws_json1_1CreateSessionResponse = function (output, context) {
|
|
16800
|
+
return {
|
|
16801
|
+
Session: output.Session !== undefined && output.Session !== null
|
|
16802
|
+
? deserializeAws_json1_1Session(output.Session, context)
|
|
16803
|
+
: undefined,
|
|
16804
|
+
};
|
|
16805
|
+
};
|
|
15992
16806
|
var deserializeAws_json1_1CreateTableResponse = function (output, context) {
|
|
15993
16807
|
return {};
|
|
15994
16808
|
};
|
|
@@ -16211,6 +17025,11 @@ var deserializeAws_json1_1DeleteSchemaVersionsResponse = function (output, conte
|
|
|
16211
17025
|
var deserializeAws_json1_1DeleteSecurityConfigurationResponse = function (output, context) {
|
|
16212
17026
|
return {};
|
|
16213
17027
|
};
|
|
17028
|
+
var deserializeAws_json1_1DeleteSessionResponse = function (output, context) {
|
|
17029
|
+
return {
|
|
17030
|
+
Id: __expectString(output.Id),
|
|
17031
|
+
};
|
|
17032
|
+
};
|
|
16214
17033
|
var deserializeAws_json1_1DeleteTableResponse = function (output, context) {
|
|
16215
17034
|
return {};
|
|
16216
17035
|
};
|
|
@@ -16867,6 +17686,20 @@ var deserializeAws_json1_1GetSecurityConfigurationsResponse = function (output,
|
|
|
16867
17686
|
: undefined,
|
|
16868
17687
|
};
|
|
16869
17688
|
};
|
|
17689
|
+
var deserializeAws_json1_1GetSessionResponse = function (output, context) {
|
|
17690
|
+
return {
|
|
17691
|
+
Session: output.Session !== undefined && output.Session !== null
|
|
17692
|
+
? deserializeAws_json1_1Session(output.Session, context)
|
|
17693
|
+
: undefined,
|
|
17694
|
+
};
|
|
17695
|
+
};
|
|
17696
|
+
var deserializeAws_json1_1GetStatementResponse = function (output, context) {
|
|
17697
|
+
return {
|
|
17698
|
+
Statement: output.Statement !== undefined && output.Statement !== null
|
|
17699
|
+
? deserializeAws_json1_1Statement(output.Statement, context)
|
|
17700
|
+
: undefined,
|
|
17701
|
+
};
|
|
17702
|
+
};
|
|
16870
17703
|
var deserializeAws_json1_1GetTableResponse = function (output, context) {
|
|
16871
17704
|
return {
|
|
16872
17705
|
Table: output.Table !== undefined && output.Table !== null
|
|
@@ -17068,6 +17901,11 @@ var deserializeAws_json1_1IllegalBlueprintStateException = function (output, con
|
|
|
17068
17901
|
Message: __expectString(output.Message),
|
|
17069
17902
|
};
|
|
17070
17903
|
};
|
|
17904
|
+
var deserializeAws_json1_1IllegalSessionStateException = function (output, context) {
|
|
17905
|
+
return {
|
|
17906
|
+
Message: __expectString(output.Message),
|
|
17907
|
+
};
|
|
17908
|
+
};
|
|
17071
17909
|
var deserializeAws_json1_1IllegalWorkflowStateException = function (output, context) {
|
|
17072
17910
|
return {
|
|
17073
17911
|
Message: __expectString(output.Message),
|
|
@@ -17392,6 +18230,25 @@ var deserializeAws_json1_1ListSchemaVersionsResponse = function (output, context
|
|
|
17392
18230
|
: undefined,
|
|
17393
18231
|
};
|
|
17394
18232
|
};
|
|
18233
|
+
var deserializeAws_json1_1ListSessionsResponse = function (output, context) {
|
|
18234
|
+
return {
|
|
18235
|
+
Ids: output.Ids !== undefined && output.Ids !== null
|
|
18236
|
+
? deserializeAws_json1_1SessionIdList(output.Ids, context)
|
|
18237
|
+
: undefined,
|
|
18238
|
+
NextToken: __expectString(output.NextToken),
|
|
18239
|
+
Sessions: output.Sessions !== undefined && output.Sessions !== null
|
|
18240
|
+
? deserializeAws_json1_1SessionList(output.Sessions, context)
|
|
18241
|
+
: undefined,
|
|
18242
|
+
};
|
|
18243
|
+
};
|
|
18244
|
+
var deserializeAws_json1_1ListStatementsResponse = function (output, context) {
|
|
18245
|
+
return {
|
|
18246
|
+
NextToken: __expectString(output.NextToken),
|
|
18247
|
+
Statements: output.Statements !== undefined && output.Statements !== null
|
|
18248
|
+
? deserializeAws_json1_1StatementList(output.Statements, context)
|
|
18249
|
+
: undefined,
|
|
18250
|
+
};
|
|
18251
|
+
};
|
|
17395
18252
|
var deserializeAws_json1_1ListTriggersResponse = function (output, context) {
|
|
17396
18253
|
return {
|
|
17397
18254
|
NextToken: __expectString(output.NextToken),
|
|
@@ -17628,6 +18485,16 @@ var deserializeAws_json1_1OperationTimeoutException = function (output, context)
|
|
|
17628
18485
|
Message: __expectString(output.Message),
|
|
17629
18486
|
};
|
|
17630
18487
|
};
|
|
18488
|
+
var deserializeAws_json1_1OrchestrationArgumentsMap = function (output, context) {
|
|
18489
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
18490
|
+
var _b;
|
|
18491
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
18492
|
+
if (value === null) {
|
|
18493
|
+
return acc;
|
|
18494
|
+
}
|
|
18495
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
18496
|
+
}, {});
|
|
18497
|
+
};
|
|
17631
18498
|
var deserializeAws_json1_1OrchestrationStringList = function (output, context) {
|
|
17632
18499
|
var retVal = (output || [])
|
|
17633
18500
|
.filter(function (e) { return e != null; })
|
|
@@ -17982,6 +18849,11 @@ var deserializeAws_json1_1ResumeWorkflowRunResponse = function (output, context)
|
|
|
17982
18849
|
RunId: __expectString(output.RunId),
|
|
17983
18850
|
};
|
|
17984
18851
|
};
|
|
18852
|
+
var deserializeAws_json1_1RunStatementResponse = function (output, context) {
|
|
18853
|
+
return {
|
|
18854
|
+
Id: __expectInt32(output.Id),
|
|
18855
|
+
};
|
|
18856
|
+
};
|
|
17985
18857
|
var deserializeAws_json1_1S3Encryption = function (output, context) {
|
|
17986
18858
|
return {
|
|
17987
18859
|
KmsKeyArn: __expectString(output.KmsKeyArn),
|
|
@@ -18182,6 +19054,59 @@ var deserializeAws_json1_1SerDeInfo = function (output, context) {
|
|
|
18182
19054
|
SerializationLibrary: __expectString(output.SerializationLibrary),
|
|
18183
19055
|
};
|
|
18184
19056
|
};
|
|
19057
|
+
var deserializeAws_json1_1Session = function (output, context) {
|
|
19058
|
+
return {
|
|
19059
|
+
Command: output.Command !== undefined && output.Command !== null
|
|
19060
|
+
? deserializeAws_json1_1SessionCommand(output.Command, context)
|
|
19061
|
+
: undefined,
|
|
19062
|
+
Connections: output.Connections !== undefined && output.Connections !== null
|
|
19063
|
+
? deserializeAws_json1_1ConnectionsList(output.Connections, context)
|
|
19064
|
+
: undefined,
|
|
19065
|
+
CreatedOn: output.CreatedOn !== undefined && output.CreatedOn !== null
|
|
19066
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedOn)))
|
|
19067
|
+
: undefined,
|
|
19068
|
+
DefaultArguments: output.DefaultArguments !== undefined && output.DefaultArguments !== null
|
|
19069
|
+
? deserializeAws_json1_1OrchestrationArgumentsMap(output.DefaultArguments, context)
|
|
19070
|
+
: undefined,
|
|
19071
|
+
Description: __expectString(output.Description),
|
|
19072
|
+
ErrorMessage: __expectString(output.ErrorMessage),
|
|
19073
|
+
GlueVersion: __expectString(output.GlueVersion),
|
|
19074
|
+
Id: __expectString(output.Id),
|
|
19075
|
+
MaxCapacity: __limitedParseDouble(output.MaxCapacity),
|
|
19076
|
+
Progress: __limitedParseDouble(output.Progress),
|
|
19077
|
+
Role: __expectString(output.Role),
|
|
19078
|
+
SecurityConfiguration: __expectString(output.SecurityConfiguration),
|
|
19079
|
+
Status: __expectString(output.Status),
|
|
19080
|
+
};
|
|
19081
|
+
};
|
|
19082
|
+
var deserializeAws_json1_1SessionCommand = function (output, context) {
|
|
19083
|
+
return {
|
|
19084
|
+
Name: __expectString(output.Name),
|
|
19085
|
+
PythonVersion: __expectString(output.PythonVersion),
|
|
19086
|
+
};
|
|
19087
|
+
};
|
|
19088
|
+
var deserializeAws_json1_1SessionIdList = function (output, context) {
|
|
19089
|
+
var retVal = (output || [])
|
|
19090
|
+
.filter(function (e) { return e != null; })
|
|
19091
|
+
.map(function (entry) {
|
|
19092
|
+
if (entry === null) {
|
|
19093
|
+
return null;
|
|
19094
|
+
}
|
|
19095
|
+
return __expectString(entry);
|
|
19096
|
+
});
|
|
19097
|
+
return retVal;
|
|
19098
|
+
};
|
|
19099
|
+
var deserializeAws_json1_1SessionList = function (output, context) {
|
|
19100
|
+
var retVal = (output || [])
|
|
19101
|
+
.filter(function (e) { return e != null; })
|
|
19102
|
+
.map(function (entry) {
|
|
19103
|
+
if (entry === null) {
|
|
19104
|
+
return null;
|
|
19105
|
+
}
|
|
19106
|
+
return deserializeAws_json1_1Session(entry, context);
|
|
19107
|
+
});
|
|
19108
|
+
return retVal;
|
|
19109
|
+
};
|
|
18185
19110
|
var deserializeAws_json1_1SkewedInfo = function (output, context) {
|
|
18186
19111
|
return {
|
|
18187
19112
|
SkewedColumnNames: output.SkewedColumnNames !== undefined && output.SkewedColumnNames !== null
|
|
@@ -18247,12 +19172,60 @@ var deserializeAws_json1_1StartWorkflowRunResponse = function (output, context)
|
|
|
18247
19172
|
RunId: __expectString(output.RunId),
|
|
18248
19173
|
};
|
|
18249
19174
|
};
|
|
19175
|
+
var deserializeAws_json1_1Statement = function (output, context) {
|
|
19176
|
+
return {
|
|
19177
|
+
Code: __expectString(output.Code),
|
|
19178
|
+
CompletedOn: __expectLong(output.CompletedOn),
|
|
19179
|
+
Id: __expectInt32(output.Id),
|
|
19180
|
+
Output: output.Output !== undefined && output.Output !== null
|
|
19181
|
+
? deserializeAws_json1_1StatementOutput(output.Output, context)
|
|
19182
|
+
: undefined,
|
|
19183
|
+
Progress: __limitedParseDouble(output.Progress),
|
|
19184
|
+
StartedOn: __expectLong(output.StartedOn),
|
|
19185
|
+
State: __expectString(output.State),
|
|
19186
|
+
};
|
|
19187
|
+
};
|
|
19188
|
+
var deserializeAws_json1_1StatementList = function (output, context) {
|
|
19189
|
+
var retVal = (output || [])
|
|
19190
|
+
.filter(function (e) { return e != null; })
|
|
19191
|
+
.map(function (entry) {
|
|
19192
|
+
if (entry === null) {
|
|
19193
|
+
return null;
|
|
19194
|
+
}
|
|
19195
|
+
return deserializeAws_json1_1Statement(entry, context);
|
|
19196
|
+
});
|
|
19197
|
+
return retVal;
|
|
19198
|
+
};
|
|
19199
|
+
var deserializeAws_json1_1StatementOutput = function (output, context) {
|
|
19200
|
+
return {
|
|
19201
|
+
Data: output.Data !== undefined && output.Data !== null
|
|
19202
|
+
? deserializeAws_json1_1StatementOutputData(output.Data, context)
|
|
19203
|
+
: undefined,
|
|
19204
|
+
ErrorName: __expectString(output.ErrorName),
|
|
19205
|
+
ErrorValue: __expectString(output.ErrorValue),
|
|
19206
|
+
ExecutionCount: __expectInt32(output.ExecutionCount),
|
|
19207
|
+
Status: __expectString(output.Status),
|
|
19208
|
+
Traceback: output.Traceback !== undefined && output.Traceback !== null
|
|
19209
|
+
? deserializeAws_json1_1OrchestrationStringList(output.Traceback, context)
|
|
19210
|
+
: undefined,
|
|
19211
|
+
};
|
|
19212
|
+
};
|
|
19213
|
+
var deserializeAws_json1_1StatementOutputData = function (output, context) {
|
|
19214
|
+
return {
|
|
19215
|
+
TextPlain: __expectString(output.TextPlain),
|
|
19216
|
+
};
|
|
19217
|
+
};
|
|
18250
19218
|
var deserializeAws_json1_1StopCrawlerResponse = function (output, context) {
|
|
18251
19219
|
return {};
|
|
18252
19220
|
};
|
|
18253
19221
|
var deserializeAws_json1_1StopCrawlerScheduleResponse = function (output, context) {
|
|
18254
19222
|
return {};
|
|
18255
19223
|
};
|
|
19224
|
+
var deserializeAws_json1_1StopSessionResponse = function (output, context) {
|
|
19225
|
+
return {
|
|
19226
|
+
Id: __expectString(output.Id),
|
|
19227
|
+
};
|
|
19228
|
+
};
|
|
18256
19229
|
var deserializeAws_json1_1StopTriggerResponse = function (output, context) {
|
|
18257
19230
|
return {
|
|
18258
19231
|
Name: __expectString(output.Name),
|