@aws-sdk/client-glue 3.450.0 → 3.453.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/README.md +88 -0
- package/dist-cjs/Glue.js +22 -0
- package/dist-cjs/commands/BatchGetTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/CreateTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/DeleteTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/GetColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/GetColumnStatisticsTaskRunsCommand.js +51 -0
- package/dist-cjs/commands/GetTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/ListColumnStatisticsTaskRunsCommand.js +51 -0
- package/dist-cjs/commands/ListTableOptimizerRunsCommand.js +51 -0
- package/dist-cjs/commands/StartColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/StopColumnStatisticsTaskRunCommand.js +51 -0
- package/dist-cjs/commands/UpdateTableOptimizerCommand.js +51 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/models/models_0.js +10 -16
- package/dist-cjs/models/models_1.js +23 -9
- package/dist-cjs/models/models_2.js +51 -1
- package/dist-cjs/pagination/GetColumnStatisticsTaskRunsPaginator.js +29 -0
- package/dist-cjs/pagination/ListColumnStatisticsTaskRunsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTableOptimizerRunsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +4 -1
- package/dist-cjs/protocols/Aws_json1_1.js +676 -16
- package/dist-es/Glue.js +22 -0
- package/dist-es/commands/BatchGetTableOptimizerCommand.js +47 -0
- package/dist-es/commands/CreateTableOptimizerCommand.js +47 -0
- package/dist-es/commands/DeleteTableOptimizerCommand.js +47 -0
- package/dist-es/commands/GetColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/GetColumnStatisticsTaskRunsCommand.js +47 -0
- package/dist-es/commands/GetTableOptimizerCommand.js +47 -0
- package/dist-es/commands/ListColumnStatisticsTaskRunsCommand.js +47 -0
- package/dist-es/commands/ListTableOptimizerRunsCommand.js +47 -0
- package/dist-es/commands/StartColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/StopColumnStatisticsTaskRunCommand.js +47 -0
- package/dist-es/commands/UpdateTableOptimizerCommand.js +47 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +9 -14
- package/dist-es/models/models_1.js +21 -8
- package/dist-es/models/models_2.js +47 -0
- package/dist-es/pagination/GetColumnStatisticsTaskRunsPaginator.js +25 -0
- package/dist-es/pagination/ListColumnStatisticsTaskRunsPaginator.js +25 -0
- package/dist-es/pagination/ListTableOptimizerRunsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -1
- package/dist-es/protocols/Aws_json1_1.js +646 -8
- package/dist-types/Glue.d.ts +77 -0
- package/dist-types/GlueClient.d.ts +13 -2
- package/dist-types/commands/BatchGetTableOptimizerCommand.d.ts +120 -0
- package/dist-types/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
- package/dist-types/commands/CreateDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateTableOptimizerCommand.d.ts +93 -0
- package/dist-types/commands/DeleteTableOptimizerCommand.d.ts +86 -0
- package/dist-types/commands/GetColumnStatisticsTaskRunCommand.d.ts +103 -0
- package/dist-types/commands/GetColumnStatisticsTaskRunsCommand.d.ts +103 -0
- package/dist-types/commands/GetStatementCommand.d.ts +2 -1
- package/dist-types/commands/GetTableCommand.d.ts +1 -1
- package/dist-types/commands/GetTableOptimizerCommand.d.ts +109 -0
- package/dist-types/commands/GetTableVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetTableVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetTablesCommand.d.ts +1 -1
- package/dist-types/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/commands/GetTriggerCommand.d.ts +1 -1
- package/dist-types/commands/GetTriggersCommand.d.ts +1 -2
- package/dist-types/commands/ListColumnStatisticsTaskRunsCommand.d.ts +80 -0
- package/dist-types/commands/ListTableOptimizerRunsCommand.d.ts +107 -0
- package/dist-types/commands/StartColumnStatisticsTaskRunCommand.d.ts +99 -0
- package/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +1 -0
- package/dist-types/commands/StopColumnStatisticsTaskRunCommand.d.ts +84 -0
- package/dist-types/commands/UpdateTableOptimizerCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +227 -222
- package/dist-types/models/models_1.d.ts +482 -564
- package/dist-types/models/models_2.d.ts +843 -2
- package/dist-types/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTableOptimizerRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +99 -0
- package/dist-types/ts3.4/Glue.d.ts +187 -0
- package/dist-types/ts3.4/GlueClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/BatchGetTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateDataQualityRulesetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetColumnStatisticsTaskRunCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetColumnStatisticsTaskRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetStatementCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTableOptimizerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetTableVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTableVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTriggerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTriggersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListColumnStatisticsTaskRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTableOptimizerRunsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartColumnStatisticsTaskRunCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopColumnStatisticsTaskRunCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateTableOptimizerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -59
- package/dist-types/ts3.4/models/models_1.d.ts +122 -130
- package/dist-types/ts3.4/models/models_2.d.ts +227 -4
- package/dist-types/ts3.4/pagination/GetColumnStatisticsTaskRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListColumnStatisticsTaskRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTableOptimizerRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +132 -0
- package/package.json +35 -35
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.de_UpdateWorkflowCommand = exports.de_UpdateUserDefinedFunctionCommand = exports.de_UpdateTriggerCommand = exports.de_UpdateTableCommand = void 0;
|
|
3
|
+
exports.se_DeleteCrawlerCommand = exports.se_DeleteConnectionCommand = exports.se_DeleteColumnStatisticsForTableCommand = exports.se_DeleteColumnStatisticsForPartitionCommand = exports.se_DeleteClassifierCommand = exports.se_DeleteBlueprintCommand = exports.se_CreateWorkflowCommand = exports.se_CreateUserDefinedFunctionCommand = exports.se_CreateTriggerCommand = exports.se_CreateTableOptimizerCommand = exports.se_CreateTableCommand = exports.se_CreateSessionCommand = exports.se_CreateSecurityConfigurationCommand = exports.se_CreateScriptCommand = exports.se_CreateSchemaCommand = exports.se_CreateRegistryCommand = exports.se_CreatePartitionIndexCommand = exports.se_CreatePartitionCommand = exports.se_CreateMLTransformCommand = exports.se_CreateJobCommand = exports.se_CreateDevEndpointCommand = exports.se_CreateDataQualityRulesetCommand = exports.se_CreateDatabaseCommand = exports.se_CreateCustomEntityTypeCommand = exports.se_CreateCrawlerCommand = exports.se_CreateConnectionCommand = exports.se_CreateClassifierCommand = exports.se_CreateBlueprintCommand = exports.se_CheckSchemaVersionValidityCommand = exports.se_CancelStatementCommand = exports.se_CancelMLTaskRunCommand = exports.se_CancelDataQualityRulesetEvaluationRunCommand = exports.se_CancelDataQualityRuleRecommendationRunCommand = exports.se_BatchUpdatePartitionCommand = exports.se_BatchStopJobRunCommand = exports.se_BatchGetWorkflowsCommand = exports.se_BatchGetTriggersCommand = exports.se_BatchGetTableOptimizerCommand = exports.se_BatchGetPartitionCommand = exports.se_BatchGetJobsCommand = exports.se_BatchGetDevEndpointsCommand = exports.se_BatchGetDataQualityResultCommand = exports.se_BatchGetCustomEntityTypesCommand = exports.se_BatchGetCrawlersCommand = exports.se_BatchGetBlueprintsCommand = exports.se_BatchDeleteTableVersionCommand = exports.se_BatchDeleteTableCommand = exports.se_BatchDeletePartitionCommand = exports.se_BatchDeleteConnectionCommand = exports.se_BatchCreatePartitionCommand = void 0;
|
|
4
|
+
exports.se_GetJobRunsCommand = exports.se_GetJobRunCommand = exports.se_GetJobBookmarkCommand = exports.se_GetJobCommand = exports.se_GetDevEndpointsCommand = exports.se_GetDevEndpointCommand = exports.se_GetDataQualityRulesetEvaluationRunCommand = exports.se_GetDataQualityRulesetCommand = exports.se_GetDataQualityRuleRecommendationRunCommand = exports.se_GetDataQualityResultCommand = exports.se_GetDataflowGraphCommand = exports.se_GetDataCatalogEncryptionSettingsCommand = exports.se_GetDatabasesCommand = exports.se_GetDatabaseCommand = exports.se_GetCustomEntityTypeCommand = exports.se_GetCrawlersCommand = exports.se_GetCrawlerMetricsCommand = exports.se_GetCrawlerCommand = exports.se_GetConnectionsCommand = exports.se_GetConnectionCommand = exports.se_GetColumnStatisticsTaskRunsCommand = exports.se_GetColumnStatisticsTaskRunCommand = exports.se_GetColumnStatisticsForTableCommand = exports.se_GetColumnStatisticsForPartitionCommand = exports.se_GetClassifiersCommand = exports.se_GetClassifierCommand = exports.se_GetCatalogImportStatusCommand = exports.se_GetBlueprintRunsCommand = exports.se_GetBlueprintRunCommand = exports.se_GetBlueprintCommand = exports.se_DeleteWorkflowCommand = exports.se_DeleteUserDefinedFunctionCommand = exports.se_DeleteTriggerCommand = exports.se_DeleteTableVersionCommand = exports.se_DeleteTableOptimizerCommand = exports.se_DeleteTableCommand = exports.se_DeleteSessionCommand = exports.se_DeleteSecurityConfigurationCommand = exports.se_DeleteSchemaVersionsCommand = exports.se_DeleteSchemaCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeleteRegistryCommand = exports.se_DeletePartitionIndexCommand = exports.se_DeletePartitionCommand = exports.se_DeleteMLTransformCommand = exports.se_DeleteJobCommand = exports.se_DeleteDevEndpointCommand = exports.se_DeleteDataQualityRulesetCommand = exports.se_DeleteDatabaseCommand = exports.se_DeleteCustomEntityTypeCommand = void 0;
|
|
5
|
+
exports.se_ListJobsCommand = exports.se_ListDevEndpointsCommand = exports.se_ListDataQualityRulesetsCommand = exports.se_ListDataQualityRulesetEvaluationRunsCommand = exports.se_ListDataQualityRuleRecommendationRunsCommand = exports.se_ListDataQualityResultsCommand = exports.se_ListCustomEntityTypesCommand = exports.se_ListCrawlsCommand = exports.se_ListCrawlersCommand = exports.se_ListColumnStatisticsTaskRunsCommand = exports.se_ListBlueprintsCommand = exports.se_ImportCatalogToGlueCommand = exports.se_GetWorkflowRunsCommand = exports.se_GetWorkflowRunPropertiesCommand = exports.se_GetWorkflowRunCommand = exports.se_GetWorkflowCommand = exports.se_GetUserDefinedFunctionsCommand = exports.se_GetUserDefinedFunctionCommand = exports.se_GetUnfilteredTableMetadataCommand = exports.se_GetUnfilteredPartitionsMetadataCommand = exports.se_GetUnfilteredPartitionMetadataCommand = exports.se_GetTriggersCommand = exports.se_GetTriggerCommand = exports.se_GetTagsCommand = exports.se_GetTableVersionsCommand = exports.se_GetTableVersionCommand = exports.se_GetTablesCommand = exports.se_GetTableOptimizerCommand = exports.se_GetTableCommand = exports.se_GetStatementCommand = exports.se_GetSessionCommand = exports.se_GetSecurityConfigurationsCommand = exports.se_GetSecurityConfigurationCommand = exports.se_GetSchemaVersionsDiffCommand = exports.se_GetSchemaVersionCommand = exports.se_GetSchemaByDefinitionCommand = exports.se_GetSchemaCommand = exports.se_GetResourcePolicyCommand = exports.se_GetResourcePoliciesCommand = exports.se_GetRegistryCommand = exports.se_GetPlanCommand = exports.se_GetPartitionsCommand = exports.se_GetPartitionIndexesCommand = exports.se_GetPartitionCommand = exports.se_GetMLTransformsCommand = exports.se_GetMLTransformCommand = exports.se_GetMLTaskRunsCommand = exports.se_GetMLTaskRunCommand = exports.se_GetMappingCommand = exports.se_GetJobsCommand = void 0;
|
|
6
|
+
exports.se_UpdateDataQualityRulesetCommand = exports.se_UpdateDatabaseCommand = exports.se_UpdateCrawlerScheduleCommand = exports.se_UpdateCrawlerCommand = exports.se_UpdateConnectionCommand = exports.se_UpdateColumnStatisticsForTableCommand = exports.se_UpdateColumnStatisticsForPartitionCommand = exports.se_UpdateClassifierCommand = exports.se_UpdateBlueprintCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopWorkflowRunCommand = exports.se_StopTriggerCommand = exports.se_StopSessionCommand = exports.se_StopCrawlerScheduleCommand = exports.se_StopCrawlerCommand = exports.se_StopColumnStatisticsTaskRunCommand = exports.se_StartWorkflowRunCommand = exports.se_StartTriggerCommand = exports.se_StartMLLabelingSetGenerationTaskRunCommand = exports.se_StartMLEvaluationTaskRunCommand = exports.se_StartJobRunCommand = exports.se_StartImportLabelsTaskRunCommand = exports.se_StartExportLabelsTaskRunCommand = exports.se_StartDataQualityRulesetEvaluationRunCommand = exports.se_StartDataQualityRuleRecommendationRunCommand = exports.se_StartCrawlerScheduleCommand = exports.se_StartCrawlerCommand = exports.se_StartColumnStatisticsTaskRunCommand = exports.se_StartBlueprintRunCommand = exports.se_SearchTablesCommand = exports.se_RunStatementCommand = exports.se_ResumeWorkflowRunCommand = exports.se_ResetJobBookmarkCommand = exports.se_RemoveSchemaVersionMetadataCommand = exports.se_RegisterSchemaVersionCommand = exports.se_QuerySchemaVersionMetadataCommand = exports.se_PutWorkflowRunPropertiesCommand = exports.se_PutSchemaVersionMetadataCommand = exports.se_PutResourcePolicyCommand = exports.se_PutDataCatalogEncryptionSettingsCommand = exports.se_ListWorkflowsCommand = exports.se_ListTriggersCommand = exports.se_ListTableOptimizerRunsCommand = exports.se_ListStatementsCommand = exports.se_ListSessionsCommand = exports.se_ListSchemaVersionsCommand = exports.se_ListSchemasCommand = exports.se_ListRegistriesCommand = exports.se_ListMLTransformsCommand = void 0;
|
|
7
|
+
exports.de_CreateScriptCommand = exports.de_CreateSchemaCommand = exports.de_CreateRegistryCommand = exports.de_CreatePartitionIndexCommand = exports.de_CreatePartitionCommand = exports.de_CreateMLTransformCommand = exports.de_CreateJobCommand = exports.de_CreateDevEndpointCommand = exports.de_CreateDataQualityRulesetCommand = exports.de_CreateDatabaseCommand = exports.de_CreateCustomEntityTypeCommand = exports.de_CreateCrawlerCommand = exports.de_CreateConnectionCommand = exports.de_CreateClassifierCommand = exports.de_CreateBlueprintCommand = exports.de_CheckSchemaVersionValidityCommand = exports.de_CancelStatementCommand = exports.de_CancelMLTaskRunCommand = exports.de_CancelDataQualityRulesetEvaluationRunCommand = exports.de_CancelDataQualityRuleRecommendationRunCommand = exports.de_BatchUpdatePartitionCommand = exports.de_BatchStopJobRunCommand = exports.de_BatchGetWorkflowsCommand = exports.de_BatchGetTriggersCommand = exports.de_BatchGetTableOptimizerCommand = exports.de_BatchGetPartitionCommand = exports.de_BatchGetJobsCommand = exports.de_BatchGetDevEndpointsCommand = exports.de_BatchGetDataQualityResultCommand = exports.de_BatchGetCustomEntityTypesCommand = exports.de_BatchGetCrawlersCommand = exports.de_BatchGetBlueprintsCommand = exports.de_BatchDeleteTableVersionCommand = exports.de_BatchDeleteTableCommand = exports.de_BatchDeletePartitionCommand = exports.de_BatchDeleteConnectionCommand = exports.de_BatchCreatePartitionCommand = exports.se_UpdateWorkflowCommand = exports.se_UpdateUserDefinedFunctionCommand = exports.se_UpdateTriggerCommand = exports.se_UpdateTableOptimizerCommand = exports.se_UpdateTableCommand = exports.se_UpdateSourceControlFromJobCommand = exports.se_UpdateSchemaCommand = exports.se_UpdateRegistryCommand = exports.se_UpdatePartitionCommand = exports.se_UpdateMLTransformCommand = exports.se_UpdateJobFromSourceControlCommand = exports.se_UpdateJobCommand = exports.se_UpdateDevEndpointCommand = void 0;
|
|
8
|
+
exports.de_GetDatabaseCommand = exports.de_GetCustomEntityTypeCommand = exports.de_GetCrawlersCommand = exports.de_GetCrawlerMetricsCommand = exports.de_GetCrawlerCommand = exports.de_GetConnectionsCommand = exports.de_GetConnectionCommand = exports.de_GetColumnStatisticsTaskRunsCommand = exports.de_GetColumnStatisticsTaskRunCommand = exports.de_GetColumnStatisticsForTableCommand = exports.de_GetColumnStatisticsForPartitionCommand = exports.de_GetClassifiersCommand = exports.de_GetClassifierCommand = exports.de_GetCatalogImportStatusCommand = exports.de_GetBlueprintRunsCommand = exports.de_GetBlueprintRunCommand = exports.de_GetBlueprintCommand = exports.de_DeleteWorkflowCommand = exports.de_DeleteUserDefinedFunctionCommand = exports.de_DeleteTriggerCommand = exports.de_DeleteTableVersionCommand = exports.de_DeleteTableOptimizerCommand = exports.de_DeleteTableCommand = exports.de_DeleteSessionCommand = exports.de_DeleteSecurityConfigurationCommand = exports.de_DeleteSchemaVersionsCommand = exports.de_DeleteSchemaCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteRegistryCommand = exports.de_DeletePartitionIndexCommand = exports.de_DeletePartitionCommand = exports.de_DeleteMLTransformCommand = exports.de_DeleteJobCommand = exports.de_DeleteDevEndpointCommand = exports.de_DeleteDataQualityRulesetCommand = exports.de_DeleteDatabaseCommand = exports.de_DeleteCustomEntityTypeCommand = exports.de_DeleteCrawlerCommand = exports.de_DeleteConnectionCommand = exports.de_DeleteColumnStatisticsForTableCommand = exports.de_DeleteColumnStatisticsForPartitionCommand = exports.de_DeleteClassifierCommand = exports.de_DeleteBlueprintCommand = exports.de_CreateWorkflowCommand = exports.de_CreateUserDefinedFunctionCommand = exports.de_CreateTriggerCommand = exports.de_CreateTableOptimizerCommand = exports.de_CreateTableCommand = exports.de_CreateSessionCommand = exports.de_CreateSecurityConfigurationCommand = void 0;
|
|
9
|
+
exports.de_GetWorkflowRunPropertiesCommand = exports.de_GetWorkflowRunCommand = exports.de_GetWorkflowCommand = exports.de_GetUserDefinedFunctionsCommand = exports.de_GetUserDefinedFunctionCommand = exports.de_GetUnfilteredTableMetadataCommand = exports.de_GetUnfilteredPartitionsMetadataCommand = exports.de_GetUnfilteredPartitionMetadataCommand = exports.de_GetTriggersCommand = exports.de_GetTriggerCommand = exports.de_GetTagsCommand = exports.de_GetTableVersionsCommand = exports.de_GetTableVersionCommand = exports.de_GetTablesCommand = exports.de_GetTableOptimizerCommand = exports.de_GetTableCommand = exports.de_GetStatementCommand = exports.de_GetSessionCommand = exports.de_GetSecurityConfigurationsCommand = exports.de_GetSecurityConfigurationCommand = exports.de_GetSchemaVersionsDiffCommand = exports.de_GetSchemaVersionCommand = exports.de_GetSchemaByDefinitionCommand = exports.de_GetSchemaCommand = exports.de_GetResourcePolicyCommand = exports.de_GetResourcePoliciesCommand = exports.de_GetRegistryCommand = exports.de_GetPlanCommand = exports.de_GetPartitionsCommand = exports.de_GetPartitionIndexesCommand = exports.de_GetPartitionCommand = exports.de_GetMLTransformsCommand = exports.de_GetMLTransformCommand = exports.de_GetMLTaskRunsCommand = exports.de_GetMLTaskRunCommand = exports.de_GetMappingCommand = exports.de_GetJobsCommand = exports.de_GetJobRunsCommand = exports.de_GetJobRunCommand = exports.de_GetJobBookmarkCommand = exports.de_GetJobCommand = exports.de_GetDevEndpointsCommand = exports.de_GetDevEndpointCommand = exports.de_GetDataQualityRulesetEvaluationRunCommand = exports.de_GetDataQualityRulesetCommand = exports.de_GetDataQualityRuleRecommendationRunCommand = exports.de_GetDataQualityResultCommand = exports.de_GetDataflowGraphCommand = exports.de_GetDataCatalogEncryptionSettingsCommand = exports.de_GetDatabasesCommand = void 0;
|
|
10
|
+
exports.de_StopSessionCommand = exports.de_StopCrawlerScheduleCommand = exports.de_StopCrawlerCommand = exports.de_StopColumnStatisticsTaskRunCommand = exports.de_StartWorkflowRunCommand = exports.de_StartTriggerCommand = exports.de_StartMLLabelingSetGenerationTaskRunCommand = exports.de_StartMLEvaluationTaskRunCommand = exports.de_StartJobRunCommand = exports.de_StartImportLabelsTaskRunCommand = exports.de_StartExportLabelsTaskRunCommand = exports.de_StartDataQualityRulesetEvaluationRunCommand = exports.de_StartDataQualityRuleRecommendationRunCommand = exports.de_StartCrawlerScheduleCommand = exports.de_StartCrawlerCommand = exports.de_StartColumnStatisticsTaskRunCommand = exports.de_StartBlueprintRunCommand = exports.de_SearchTablesCommand = exports.de_RunStatementCommand = exports.de_ResumeWorkflowRunCommand = exports.de_ResetJobBookmarkCommand = exports.de_RemoveSchemaVersionMetadataCommand = exports.de_RegisterSchemaVersionCommand = exports.de_QuerySchemaVersionMetadataCommand = exports.de_PutWorkflowRunPropertiesCommand = exports.de_PutSchemaVersionMetadataCommand = exports.de_PutResourcePolicyCommand = exports.de_PutDataCatalogEncryptionSettingsCommand = exports.de_ListWorkflowsCommand = exports.de_ListTriggersCommand = exports.de_ListTableOptimizerRunsCommand = exports.de_ListStatementsCommand = exports.de_ListSessionsCommand = exports.de_ListSchemaVersionsCommand = exports.de_ListSchemasCommand = exports.de_ListRegistriesCommand = exports.de_ListMLTransformsCommand = exports.de_ListJobsCommand = exports.de_ListDevEndpointsCommand = exports.de_ListDataQualityRulesetsCommand = exports.de_ListDataQualityRulesetEvaluationRunsCommand = exports.de_ListDataQualityRuleRecommendationRunsCommand = exports.de_ListDataQualityResultsCommand = exports.de_ListCustomEntityTypesCommand = exports.de_ListCrawlsCommand = exports.de_ListCrawlersCommand = exports.de_ListColumnStatisticsTaskRunsCommand = exports.de_ListBlueprintsCommand = exports.de_ImportCatalogToGlueCommand = exports.de_GetWorkflowRunsCommand = void 0;
|
|
11
|
+
exports.de_UpdateWorkflowCommand = exports.de_UpdateUserDefinedFunctionCommand = exports.de_UpdateTriggerCommand = exports.de_UpdateTableOptimizerCommand = exports.de_UpdateTableCommand = exports.de_UpdateSourceControlFromJobCommand = exports.de_UpdateSchemaCommand = exports.de_UpdateRegistryCommand = exports.de_UpdatePartitionCommand = exports.de_UpdateMLTransformCommand = exports.de_UpdateJobFromSourceControlCommand = exports.de_UpdateJobCommand = exports.de_UpdateDevEndpointCommand = exports.de_UpdateDataQualityRulesetCommand = exports.de_UpdateDatabaseCommand = exports.de_UpdateCrawlerScheduleCommand = exports.de_UpdateCrawlerCommand = exports.de_UpdateConnectionCommand = exports.de_UpdateColumnStatisticsForTableCommand = exports.de_UpdateColumnStatisticsForPartitionCommand = exports.de_UpdateClassifierCommand = exports.de_UpdateBlueprintCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopWorkflowRunCommand = exports.de_StopTriggerCommand = void 0;
|
|
12
12
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
13
13
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
14
|
const GlueServiceException_1 = require("../models/GlueServiceException");
|
|
@@ -99,6 +99,13 @@ const se_BatchGetPartitionCommand = async (input, context) => {
|
|
|
99
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
100
|
};
|
|
101
101
|
exports.se_BatchGetPartitionCommand = se_BatchGetPartitionCommand;
|
|
102
|
+
const se_BatchGetTableOptimizerCommand = async (input, context) => {
|
|
103
|
+
const headers = sharedHeaders("BatchGetTableOptimizer");
|
|
104
|
+
let body;
|
|
105
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
106
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
+
};
|
|
108
|
+
exports.se_BatchGetTableOptimizerCommand = se_BatchGetTableOptimizerCommand;
|
|
102
109
|
const se_BatchGetTriggersCommand = async (input, context) => {
|
|
103
110
|
const headers = sharedHeaders("BatchGetTriggers");
|
|
104
111
|
let body;
|
|
@@ -288,6 +295,13 @@ const se_CreateTableCommand = async (input, context) => {
|
|
|
288
295
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
289
296
|
};
|
|
290
297
|
exports.se_CreateTableCommand = se_CreateTableCommand;
|
|
298
|
+
const se_CreateTableOptimizerCommand = async (input, context) => {
|
|
299
|
+
const headers = sharedHeaders("CreateTableOptimizer");
|
|
300
|
+
let body;
|
|
301
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
302
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
303
|
+
};
|
|
304
|
+
exports.se_CreateTableOptimizerCommand = se_CreateTableOptimizerCommand;
|
|
291
305
|
const se_CreateTriggerCommand = async (input, context) => {
|
|
292
306
|
const headers = sharedHeaders("CreateTrigger");
|
|
293
307
|
let body;
|
|
@@ -456,6 +470,13 @@ const se_DeleteTableCommand = async (input, context) => {
|
|
|
456
470
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
457
471
|
};
|
|
458
472
|
exports.se_DeleteTableCommand = se_DeleteTableCommand;
|
|
473
|
+
const se_DeleteTableOptimizerCommand = async (input, context) => {
|
|
474
|
+
const headers = sharedHeaders("DeleteTableOptimizer");
|
|
475
|
+
let body;
|
|
476
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
477
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
478
|
+
};
|
|
479
|
+
exports.se_DeleteTableOptimizerCommand = se_DeleteTableOptimizerCommand;
|
|
459
480
|
const se_DeleteTableVersionCommand = async (input, context) => {
|
|
460
481
|
const headers = sharedHeaders("DeleteTableVersion");
|
|
461
482
|
let body;
|
|
@@ -540,6 +561,20 @@ const se_GetColumnStatisticsForTableCommand = async (input, context) => {
|
|
|
540
561
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
541
562
|
};
|
|
542
563
|
exports.se_GetColumnStatisticsForTableCommand = se_GetColumnStatisticsForTableCommand;
|
|
564
|
+
const se_GetColumnStatisticsTaskRunCommand = async (input, context) => {
|
|
565
|
+
const headers = sharedHeaders("GetColumnStatisticsTaskRun");
|
|
566
|
+
let body;
|
|
567
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
568
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
569
|
+
};
|
|
570
|
+
exports.se_GetColumnStatisticsTaskRunCommand = se_GetColumnStatisticsTaskRunCommand;
|
|
571
|
+
const se_GetColumnStatisticsTaskRunsCommand = async (input, context) => {
|
|
572
|
+
const headers = sharedHeaders("GetColumnStatisticsTaskRuns");
|
|
573
|
+
let body;
|
|
574
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
575
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
576
|
+
};
|
|
577
|
+
exports.se_GetColumnStatisticsTaskRunsCommand = se_GetColumnStatisticsTaskRunsCommand;
|
|
543
578
|
const se_GetConnectionCommand = async (input, context) => {
|
|
544
579
|
const headers = sharedHeaders("GetConnection");
|
|
545
580
|
let body;
|
|
@@ -834,6 +869,13 @@ const se_GetTableCommand = async (input, context) => {
|
|
|
834
869
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
835
870
|
};
|
|
836
871
|
exports.se_GetTableCommand = se_GetTableCommand;
|
|
872
|
+
const se_GetTableOptimizerCommand = async (input, context) => {
|
|
873
|
+
const headers = sharedHeaders("GetTableOptimizer");
|
|
874
|
+
let body;
|
|
875
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
876
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
877
|
+
};
|
|
878
|
+
exports.se_GetTableOptimizerCommand = se_GetTableOptimizerCommand;
|
|
837
879
|
const se_GetTablesCommand = async (input, context) => {
|
|
838
880
|
const headers = sharedHeaders("GetTables");
|
|
839
881
|
let body;
|
|
@@ -953,6 +995,13 @@ const se_ListBlueprintsCommand = async (input, context) => {
|
|
|
953
995
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
954
996
|
};
|
|
955
997
|
exports.se_ListBlueprintsCommand = se_ListBlueprintsCommand;
|
|
998
|
+
const se_ListColumnStatisticsTaskRunsCommand = async (input, context) => {
|
|
999
|
+
const headers = sharedHeaders("ListColumnStatisticsTaskRuns");
|
|
1000
|
+
let body;
|
|
1001
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
1002
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1003
|
+
};
|
|
1004
|
+
exports.se_ListColumnStatisticsTaskRunsCommand = se_ListColumnStatisticsTaskRunsCommand;
|
|
956
1005
|
const se_ListCrawlersCommand = async (input, context) => {
|
|
957
1006
|
const headers = sharedHeaders("ListCrawlers");
|
|
958
1007
|
let body;
|
|
@@ -1058,6 +1107,13 @@ const se_ListStatementsCommand = async (input, context) => {
|
|
|
1058
1107
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1059
1108
|
};
|
|
1060
1109
|
exports.se_ListStatementsCommand = se_ListStatementsCommand;
|
|
1110
|
+
const se_ListTableOptimizerRunsCommand = async (input, context) => {
|
|
1111
|
+
const headers = sharedHeaders("ListTableOptimizerRuns");
|
|
1112
|
+
let body;
|
|
1113
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
1114
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1115
|
+
};
|
|
1116
|
+
exports.se_ListTableOptimizerRunsCommand = se_ListTableOptimizerRunsCommand;
|
|
1061
1117
|
const se_ListTriggersCommand = async (input, context) => {
|
|
1062
1118
|
const headers = sharedHeaders("ListTriggers");
|
|
1063
1119
|
let body;
|
|
@@ -1156,6 +1212,13 @@ const se_StartBlueprintRunCommand = async (input, context) => {
|
|
|
1156
1212
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1157
1213
|
};
|
|
1158
1214
|
exports.se_StartBlueprintRunCommand = se_StartBlueprintRunCommand;
|
|
1215
|
+
const se_StartColumnStatisticsTaskRunCommand = async (input, context) => {
|
|
1216
|
+
const headers = sharedHeaders("StartColumnStatisticsTaskRun");
|
|
1217
|
+
let body;
|
|
1218
|
+
body = JSON.stringify(se_StartColumnStatisticsTaskRunRequest(input, context));
|
|
1219
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1220
|
+
};
|
|
1221
|
+
exports.se_StartColumnStatisticsTaskRunCommand = se_StartColumnStatisticsTaskRunCommand;
|
|
1159
1222
|
const se_StartCrawlerCommand = async (input, context) => {
|
|
1160
1223
|
const headers = sharedHeaders("StartCrawler");
|
|
1161
1224
|
let body;
|
|
@@ -1233,6 +1296,13 @@ const se_StartWorkflowRunCommand = async (input, context) => {
|
|
|
1233
1296
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1234
1297
|
};
|
|
1235
1298
|
exports.se_StartWorkflowRunCommand = se_StartWorkflowRunCommand;
|
|
1299
|
+
const se_StopColumnStatisticsTaskRunCommand = async (input, context) => {
|
|
1300
|
+
const headers = sharedHeaders("StopColumnStatisticsTaskRun");
|
|
1301
|
+
let body;
|
|
1302
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
1303
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1304
|
+
};
|
|
1305
|
+
exports.se_StopColumnStatisticsTaskRunCommand = se_StopColumnStatisticsTaskRunCommand;
|
|
1236
1306
|
const se_StopCrawlerCommand = async (input, context) => {
|
|
1237
1307
|
const headers = sharedHeaders("StopCrawler");
|
|
1238
1308
|
let body;
|
|
@@ -1408,6 +1478,13 @@ const se_UpdateTableCommand = async (input, context) => {
|
|
|
1408
1478
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1409
1479
|
};
|
|
1410
1480
|
exports.se_UpdateTableCommand = se_UpdateTableCommand;
|
|
1481
|
+
const se_UpdateTableOptimizerCommand = async (input, context) => {
|
|
1482
|
+
const headers = sharedHeaders("UpdateTableOptimizer");
|
|
1483
|
+
let body;
|
|
1484
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
1485
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1486
|
+
};
|
|
1487
|
+
exports.se_UpdateTableOptimizerCommand = se_UpdateTableOptimizerCommand;
|
|
1411
1488
|
const se_UpdateTriggerCommand = async (input, context) => {
|
|
1412
1489
|
const headers = sharedHeaders("UpdateTrigger");
|
|
1413
1490
|
let body;
|
|
@@ -1936,6 +2013,39 @@ const de_BatchGetPartitionCommandError = async (output, context) => {
|
|
|
1936
2013
|
});
|
|
1937
2014
|
}
|
|
1938
2015
|
};
|
|
2016
|
+
const de_BatchGetTableOptimizerCommand = async (output, context) => {
|
|
2017
|
+
if (output.statusCode >= 300) {
|
|
2018
|
+
return de_BatchGetTableOptimizerCommandError(output, context);
|
|
2019
|
+
}
|
|
2020
|
+
const data = await parseBody(output.body, context);
|
|
2021
|
+
let contents = {};
|
|
2022
|
+
contents = de_BatchGetTableOptimizerResponse(data, context);
|
|
2023
|
+
const response = {
|
|
2024
|
+
$metadata: deserializeMetadata(output),
|
|
2025
|
+
...contents,
|
|
2026
|
+
};
|
|
2027
|
+
return response;
|
|
2028
|
+
};
|
|
2029
|
+
exports.de_BatchGetTableOptimizerCommand = de_BatchGetTableOptimizerCommand;
|
|
2030
|
+
const de_BatchGetTableOptimizerCommandError = async (output, context) => {
|
|
2031
|
+
const parsedOutput = {
|
|
2032
|
+
...output,
|
|
2033
|
+
body: await parseErrorBody(output.body, context),
|
|
2034
|
+
};
|
|
2035
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2036
|
+
switch (errorCode) {
|
|
2037
|
+
case "InternalServiceException":
|
|
2038
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
2039
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2040
|
+
default:
|
|
2041
|
+
const parsedBody = parsedOutput.body;
|
|
2042
|
+
return throwDefaultError({
|
|
2043
|
+
output,
|
|
2044
|
+
parsedBody,
|
|
2045
|
+
errorCode,
|
|
2046
|
+
});
|
|
2047
|
+
}
|
|
2048
|
+
};
|
|
1939
2049
|
const de_BatchGetTriggersCommand = async (output, context) => {
|
|
1940
2050
|
if (output.statusCode >= 300) {
|
|
1941
2051
|
return de_BatchGetTriggersCommandError(output, context);
|
|
@@ -3184,6 +3294,51 @@ const de_CreateTableCommandError = async (output, context) => {
|
|
|
3184
3294
|
});
|
|
3185
3295
|
}
|
|
3186
3296
|
};
|
|
3297
|
+
const de_CreateTableOptimizerCommand = async (output, context) => {
|
|
3298
|
+
if (output.statusCode >= 300) {
|
|
3299
|
+
return de_CreateTableOptimizerCommandError(output, context);
|
|
3300
|
+
}
|
|
3301
|
+
const data = await parseBody(output.body, context);
|
|
3302
|
+
let contents = {};
|
|
3303
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3304
|
+
const response = {
|
|
3305
|
+
$metadata: deserializeMetadata(output),
|
|
3306
|
+
...contents,
|
|
3307
|
+
};
|
|
3308
|
+
return response;
|
|
3309
|
+
};
|
|
3310
|
+
exports.de_CreateTableOptimizerCommand = de_CreateTableOptimizerCommand;
|
|
3311
|
+
const de_CreateTableOptimizerCommandError = async (output, context) => {
|
|
3312
|
+
const parsedOutput = {
|
|
3313
|
+
...output,
|
|
3314
|
+
body: await parseErrorBody(output.body, context),
|
|
3315
|
+
};
|
|
3316
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3317
|
+
switch (errorCode) {
|
|
3318
|
+
case "AccessDeniedException":
|
|
3319
|
+
case "com.amazonaws.glue#AccessDeniedException":
|
|
3320
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3321
|
+
case "AlreadyExistsException":
|
|
3322
|
+
case "com.amazonaws.glue#AlreadyExistsException":
|
|
3323
|
+
throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
|
|
3324
|
+
case "EntityNotFoundException":
|
|
3325
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
3326
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
3327
|
+
case "InternalServiceException":
|
|
3328
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
3329
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
3330
|
+
case "InvalidInputException":
|
|
3331
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
3332
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3333
|
+
default:
|
|
3334
|
+
const parsedBody = parsedOutput.body;
|
|
3335
|
+
return throwDefaultError({
|
|
3336
|
+
output,
|
|
3337
|
+
parsedBody,
|
|
3338
|
+
errorCode,
|
|
3339
|
+
});
|
|
3340
|
+
}
|
|
3341
|
+
};
|
|
3187
3342
|
const de_CreateTriggerCommand = async (output, context) => {
|
|
3188
3343
|
if (output.statusCode >= 300) {
|
|
3189
3344
|
return de_CreateTriggerCommandError(output, context);
|
|
@@ -4234,6 +4389,48 @@ const de_DeleteTableCommandError = async (output, context) => {
|
|
|
4234
4389
|
});
|
|
4235
4390
|
}
|
|
4236
4391
|
};
|
|
4392
|
+
const de_DeleteTableOptimizerCommand = async (output, context) => {
|
|
4393
|
+
if (output.statusCode >= 300) {
|
|
4394
|
+
return de_DeleteTableOptimizerCommandError(output, context);
|
|
4395
|
+
}
|
|
4396
|
+
const data = await parseBody(output.body, context);
|
|
4397
|
+
let contents = {};
|
|
4398
|
+
contents = (0, smithy_client_1._json)(data);
|
|
4399
|
+
const response = {
|
|
4400
|
+
$metadata: deserializeMetadata(output),
|
|
4401
|
+
...contents,
|
|
4402
|
+
};
|
|
4403
|
+
return response;
|
|
4404
|
+
};
|
|
4405
|
+
exports.de_DeleteTableOptimizerCommand = de_DeleteTableOptimizerCommand;
|
|
4406
|
+
const de_DeleteTableOptimizerCommandError = async (output, context) => {
|
|
4407
|
+
const parsedOutput = {
|
|
4408
|
+
...output,
|
|
4409
|
+
body: await parseErrorBody(output.body, context),
|
|
4410
|
+
};
|
|
4411
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4412
|
+
switch (errorCode) {
|
|
4413
|
+
case "AccessDeniedException":
|
|
4414
|
+
case "com.amazonaws.glue#AccessDeniedException":
|
|
4415
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4416
|
+
case "EntityNotFoundException":
|
|
4417
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
4418
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
4419
|
+
case "InternalServiceException":
|
|
4420
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
4421
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
4422
|
+
case "InvalidInputException":
|
|
4423
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
4424
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
4425
|
+
default:
|
|
4426
|
+
const parsedBody = parsedOutput.body;
|
|
4427
|
+
return throwDefaultError({
|
|
4428
|
+
output,
|
|
4429
|
+
parsedBody,
|
|
4430
|
+
errorCode,
|
|
4431
|
+
});
|
|
4432
|
+
}
|
|
4433
|
+
};
|
|
4237
4434
|
const de_DeleteTableVersionCommand = async (output, context) => {
|
|
4238
4435
|
if (output.statusCode >= 300) {
|
|
4239
4436
|
return de_DeleteTableVersionCommandError(output, context);
|
|
@@ -4720,6 +4917,78 @@ const de_GetColumnStatisticsForTableCommandError = async (output, context) => {
|
|
|
4720
4917
|
});
|
|
4721
4918
|
}
|
|
4722
4919
|
};
|
|
4920
|
+
const de_GetColumnStatisticsTaskRunCommand = async (output, context) => {
|
|
4921
|
+
if (output.statusCode >= 300) {
|
|
4922
|
+
return de_GetColumnStatisticsTaskRunCommandError(output, context);
|
|
4923
|
+
}
|
|
4924
|
+
const data = await parseBody(output.body, context);
|
|
4925
|
+
let contents = {};
|
|
4926
|
+
contents = de_GetColumnStatisticsTaskRunResponse(data, context);
|
|
4927
|
+
const response = {
|
|
4928
|
+
$metadata: deserializeMetadata(output),
|
|
4929
|
+
...contents,
|
|
4930
|
+
};
|
|
4931
|
+
return response;
|
|
4932
|
+
};
|
|
4933
|
+
exports.de_GetColumnStatisticsTaskRunCommand = de_GetColumnStatisticsTaskRunCommand;
|
|
4934
|
+
const de_GetColumnStatisticsTaskRunCommandError = async (output, context) => {
|
|
4935
|
+
const parsedOutput = {
|
|
4936
|
+
...output,
|
|
4937
|
+
body: await parseErrorBody(output.body, context),
|
|
4938
|
+
};
|
|
4939
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4940
|
+
switch (errorCode) {
|
|
4941
|
+
case "EntityNotFoundException":
|
|
4942
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
4943
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
4944
|
+
case "InvalidInputException":
|
|
4945
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
4946
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
4947
|
+
case "OperationTimeoutException":
|
|
4948
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
4949
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
4950
|
+
default:
|
|
4951
|
+
const parsedBody = parsedOutput.body;
|
|
4952
|
+
return throwDefaultError({
|
|
4953
|
+
output,
|
|
4954
|
+
parsedBody,
|
|
4955
|
+
errorCode,
|
|
4956
|
+
});
|
|
4957
|
+
}
|
|
4958
|
+
};
|
|
4959
|
+
const de_GetColumnStatisticsTaskRunsCommand = async (output, context) => {
|
|
4960
|
+
if (output.statusCode >= 300) {
|
|
4961
|
+
return de_GetColumnStatisticsTaskRunsCommandError(output, context);
|
|
4962
|
+
}
|
|
4963
|
+
const data = await parseBody(output.body, context);
|
|
4964
|
+
let contents = {};
|
|
4965
|
+
contents = de_GetColumnStatisticsTaskRunsResponse(data, context);
|
|
4966
|
+
const response = {
|
|
4967
|
+
$metadata: deserializeMetadata(output),
|
|
4968
|
+
...contents,
|
|
4969
|
+
};
|
|
4970
|
+
return response;
|
|
4971
|
+
};
|
|
4972
|
+
exports.de_GetColumnStatisticsTaskRunsCommand = de_GetColumnStatisticsTaskRunsCommand;
|
|
4973
|
+
const de_GetColumnStatisticsTaskRunsCommandError = async (output, context) => {
|
|
4974
|
+
const parsedOutput = {
|
|
4975
|
+
...output,
|
|
4976
|
+
body: await parseErrorBody(output.body, context),
|
|
4977
|
+
};
|
|
4978
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4979
|
+
switch (errorCode) {
|
|
4980
|
+
case "OperationTimeoutException":
|
|
4981
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
4982
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
4983
|
+
default:
|
|
4984
|
+
const parsedBody = parsedOutput.body;
|
|
4985
|
+
return throwDefaultError({
|
|
4986
|
+
output,
|
|
4987
|
+
parsedBody,
|
|
4988
|
+
errorCode,
|
|
4989
|
+
});
|
|
4990
|
+
}
|
|
4991
|
+
};
|
|
4723
4992
|
const de_GetConnectionCommand = async (output, context) => {
|
|
4724
4993
|
if (output.statusCode >= 300) {
|
|
4725
4994
|
return de_GetConnectionCommandError(output, context);
|
|
@@ -6511,6 +6780,48 @@ const de_GetTableCommandError = async (output, context) => {
|
|
|
6511
6780
|
});
|
|
6512
6781
|
}
|
|
6513
6782
|
};
|
|
6783
|
+
const de_GetTableOptimizerCommand = async (output, context) => {
|
|
6784
|
+
if (output.statusCode >= 300) {
|
|
6785
|
+
return de_GetTableOptimizerCommandError(output, context);
|
|
6786
|
+
}
|
|
6787
|
+
const data = await parseBody(output.body, context);
|
|
6788
|
+
let contents = {};
|
|
6789
|
+
contents = de_GetTableOptimizerResponse(data, context);
|
|
6790
|
+
const response = {
|
|
6791
|
+
$metadata: deserializeMetadata(output),
|
|
6792
|
+
...contents,
|
|
6793
|
+
};
|
|
6794
|
+
return response;
|
|
6795
|
+
};
|
|
6796
|
+
exports.de_GetTableOptimizerCommand = de_GetTableOptimizerCommand;
|
|
6797
|
+
const de_GetTableOptimizerCommandError = async (output, context) => {
|
|
6798
|
+
const parsedOutput = {
|
|
6799
|
+
...output,
|
|
6800
|
+
body: await parseErrorBody(output.body, context),
|
|
6801
|
+
};
|
|
6802
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6803
|
+
switch (errorCode) {
|
|
6804
|
+
case "AccessDeniedException":
|
|
6805
|
+
case "com.amazonaws.glue#AccessDeniedException":
|
|
6806
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6807
|
+
case "EntityNotFoundException":
|
|
6808
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
6809
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
6810
|
+
case "InternalServiceException":
|
|
6811
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
6812
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
6813
|
+
case "InvalidInputException":
|
|
6814
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
6815
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
6816
|
+
default:
|
|
6817
|
+
const parsedBody = parsedOutput.body;
|
|
6818
|
+
return throwDefaultError({
|
|
6819
|
+
output,
|
|
6820
|
+
parsedBody,
|
|
6821
|
+
errorCode,
|
|
6822
|
+
});
|
|
6823
|
+
}
|
|
6824
|
+
};
|
|
6514
6825
|
const de_GetTablesCommand = async (output, context) => {
|
|
6515
6826
|
if (output.statusCode >= 300) {
|
|
6516
6827
|
return de_GetTablesCommandError(output, context);
|
|
@@ -7273,9 +7584,9 @@ const de_ListBlueprintsCommandError = async (output, context) => {
|
|
|
7273
7584
|
});
|
|
7274
7585
|
}
|
|
7275
7586
|
};
|
|
7276
|
-
const
|
|
7587
|
+
const de_ListColumnStatisticsTaskRunsCommand = async (output, context) => {
|
|
7277
7588
|
if (output.statusCode >= 300) {
|
|
7278
|
-
return
|
|
7589
|
+
return de_ListColumnStatisticsTaskRunsCommandError(output, context);
|
|
7279
7590
|
}
|
|
7280
7591
|
const data = await parseBody(output.body, context);
|
|
7281
7592
|
let contents = {};
|
|
@@ -7286,8 +7597,8 @@ const de_ListCrawlersCommand = async (output, context) => {
|
|
|
7286
7597
|
};
|
|
7287
7598
|
return response;
|
|
7288
7599
|
};
|
|
7289
|
-
exports.
|
|
7290
|
-
const
|
|
7600
|
+
exports.de_ListColumnStatisticsTaskRunsCommand = de_ListColumnStatisticsTaskRunsCommand;
|
|
7601
|
+
const de_ListColumnStatisticsTaskRunsCommandError = async (output, context) => {
|
|
7291
7602
|
const parsedOutput = {
|
|
7292
7603
|
...output,
|
|
7293
7604
|
body: await parseErrorBody(output.body, context),
|
|
@@ -7306,9 +7617,42 @@ const de_ListCrawlersCommandError = async (output, context) => {
|
|
|
7306
7617
|
});
|
|
7307
7618
|
}
|
|
7308
7619
|
};
|
|
7309
|
-
const
|
|
7620
|
+
const de_ListCrawlersCommand = async (output, context) => {
|
|
7310
7621
|
if (output.statusCode >= 300) {
|
|
7311
|
-
return
|
|
7622
|
+
return de_ListCrawlersCommandError(output, context);
|
|
7623
|
+
}
|
|
7624
|
+
const data = await parseBody(output.body, context);
|
|
7625
|
+
let contents = {};
|
|
7626
|
+
contents = (0, smithy_client_1._json)(data);
|
|
7627
|
+
const response = {
|
|
7628
|
+
$metadata: deserializeMetadata(output),
|
|
7629
|
+
...contents,
|
|
7630
|
+
};
|
|
7631
|
+
return response;
|
|
7632
|
+
};
|
|
7633
|
+
exports.de_ListCrawlersCommand = de_ListCrawlersCommand;
|
|
7634
|
+
const de_ListCrawlersCommandError = async (output, context) => {
|
|
7635
|
+
const parsedOutput = {
|
|
7636
|
+
...output,
|
|
7637
|
+
body: await parseErrorBody(output.body, context),
|
|
7638
|
+
};
|
|
7639
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7640
|
+
switch (errorCode) {
|
|
7641
|
+
case "OperationTimeoutException":
|
|
7642
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
7643
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
7644
|
+
default:
|
|
7645
|
+
const parsedBody = parsedOutput.body;
|
|
7646
|
+
return throwDefaultError({
|
|
7647
|
+
output,
|
|
7648
|
+
parsedBody,
|
|
7649
|
+
errorCode,
|
|
7650
|
+
});
|
|
7651
|
+
}
|
|
7652
|
+
};
|
|
7653
|
+
const de_ListCrawlsCommand = async (output, context) => {
|
|
7654
|
+
if (output.statusCode >= 300) {
|
|
7655
|
+
return de_ListCrawlsCommandError(output, context);
|
|
7312
7656
|
}
|
|
7313
7657
|
const data = await parseBody(output.body, context);
|
|
7314
7658
|
let contents = {};
|
|
@@ -7882,6 +8226,48 @@ const de_ListStatementsCommandError = async (output, context) => {
|
|
|
7882
8226
|
});
|
|
7883
8227
|
}
|
|
7884
8228
|
};
|
|
8229
|
+
const de_ListTableOptimizerRunsCommand = async (output, context) => {
|
|
8230
|
+
if (output.statusCode >= 300) {
|
|
8231
|
+
return de_ListTableOptimizerRunsCommandError(output, context);
|
|
8232
|
+
}
|
|
8233
|
+
const data = await parseBody(output.body, context);
|
|
8234
|
+
let contents = {};
|
|
8235
|
+
contents = de_ListTableOptimizerRunsResponse(data, context);
|
|
8236
|
+
const response = {
|
|
8237
|
+
$metadata: deserializeMetadata(output),
|
|
8238
|
+
...contents,
|
|
8239
|
+
};
|
|
8240
|
+
return response;
|
|
8241
|
+
};
|
|
8242
|
+
exports.de_ListTableOptimizerRunsCommand = de_ListTableOptimizerRunsCommand;
|
|
8243
|
+
const de_ListTableOptimizerRunsCommandError = async (output, context) => {
|
|
8244
|
+
const parsedOutput = {
|
|
8245
|
+
...output,
|
|
8246
|
+
body: await parseErrorBody(output.body, context),
|
|
8247
|
+
};
|
|
8248
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8249
|
+
switch (errorCode) {
|
|
8250
|
+
case "AccessDeniedException":
|
|
8251
|
+
case "com.amazonaws.glue#AccessDeniedException":
|
|
8252
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
8253
|
+
case "EntityNotFoundException":
|
|
8254
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
8255
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
8256
|
+
case "InternalServiceException":
|
|
8257
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
8258
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
8259
|
+
case "InvalidInputException":
|
|
8260
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
8261
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
8262
|
+
default:
|
|
8263
|
+
const parsedBody = parsedOutput.body;
|
|
8264
|
+
return throwDefaultError({
|
|
8265
|
+
output,
|
|
8266
|
+
parsedBody,
|
|
8267
|
+
errorCode,
|
|
8268
|
+
});
|
|
8269
|
+
}
|
|
8270
|
+
};
|
|
7885
8271
|
const de_ListTriggersCommand = async (output, context) => {
|
|
7886
8272
|
if (output.statusCode >= 300) {
|
|
7887
8273
|
return de_ListTriggersCommandError(output, context);
|
|
@@ -8500,6 +8886,54 @@ const de_StartBlueprintRunCommandError = async (output, context) => {
|
|
|
8500
8886
|
});
|
|
8501
8887
|
}
|
|
8502
8888
|
};
|
|
8889
|
+
const de_StartColumnStatisticsTaskRunCommand = async (output, context) => {
|
|
8890
|
+
if (output.statusCode >= 300) {
|
|
8891
|
+
return de_StartColumnStatisticsTaskRunCommandError(output, context);
|
|
8892
|
+
}
|
|
8893
|
+
const data = await parseBody(output.body, context);
|
|
8894
|
+
let contents = {};
|
|
8895
|
+
contents = (0, smithy_client_1._json)(data);
|
|
8896
|
+
const response = {
|
|
8897
|
+
$metadata: deserializeMetadata(output),
|
|
8898
|
+
...contents,
|
|
8899
|
+
};
|
|
8900
|
+
return response;
|
|
8901
|
+
};
|
|
8902
|
+
exports.de_StartColumnStatisticsTaskRunCommand = de_StartColumnStatisticsTaskRunCommand;
|
|
8903
|
+
const de_StartColumnStatisticsTaskRunCommandError = async (output, context) => {
|
|
8904
|
+
const parsedOutput = {
|
|
8905
|
+
...output,
|
|
8906
|
+
body: await parseErrorBody(output.body, context),
|
|
8907
|
+
};
|
|
8908
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8909
|
+
switch (errorCode) {
|
|
8910
|
+
case "AccessDeniedException":
|
|
8911
|
+
case "com.amazonaws.glue#AccessDeniedException":
|
|
8912
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
8913
|
+
case "ColumnStatisticsTaskRunningException":
|
|
8914
|
+
case "com.amazonaws.glue#ColumnStatisticsTaskRunningException":
|
|
8915
|
+
throw await de_ColumnStatisticsTaskRunningExceptionRes(parsedOutput, context);
|
|
8916
|
+
case "EntityNotFoundException":
|
|
8917
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
8918
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
8919
|
+
case "InvalidInputException":
|
|
8920
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
8921
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
8922
|
+
case "OperationTimeoutException":
|
|
8923
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
8924
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
8925
|
+
case "ResourceNumberLimitExceededException":
|
|
8926
|
+
case "com.amazonaws.glue#ResourceNumberLimitExceededException":
|
|
8927
|
+
throw await de_ResourceNumberLimitExceededExceptionRes(parsedOutput, context);
|
|
8928
|
+
default:
|
|
8929
|
+
const parsedBody = parsedOutput.body;
|
|
8930
|
+
return throwDefaultError({
|
|
8931
|
+
output,
|
|
8932
|
+
parsedBody,
|
|
8933
|
+
errorCode,
|
|
8934
|
+
});
|
|
8935
|
+
}
|
|
8936
|
+
};
|
|
8503
8937
|
const de_StartCrawlerCommand = async (output, context) => {
|
|
8504
8938
|
if (output.statusCode >= 300) {
|
|
8505
8939
|
return de_StartCrawlerCommandError(output, context);
|
|
@@ -8995,6 +9429,48 @@ const de_StartWorkflowRunCommandError = async (output, context) => {
|
|
|
8995
9429
|
});
|
|
8996
9430
|
}
|
|
8997
9431
|
};
|
|
9432
|
+
const de_StopColumnStatisticsTaskRunCommand = async (output, context) => {
|
|
9433
|
+
if (output.statusCode >= 300) {
|
|
9434
|
+
return de_StopColumnStatisticsTaskRunCommandError(output, context);
|
|
9435
|
+
}
|
|
9436
|
+
const data = await parseBody(output.body, context);
|
|
9437
|
+
let contents = {};
|
|
9438
|
+
contents = (0, smithy_client_1._json)(data);
|
|
9439
|
+
const response = {
|
|
9440
|
+
$metadata: deserializeMetadata(output),
|
|
9441
|
+
...contents,
|
|
9442
|
+
};
|
|
9443
|
+
return response;
|
|
9444
|
+
};
|
|
9445
|
+
exports.de_StopColumnStatisticsTaskRunCommand = de_StopColumnStatisticsTaskRunCommand;
|
|
9446
|
+
const de_StopColumnStatisticsTaskRunCommandError = async (output, context) => {
|
|
9447
|
+
const parsedOutput = {
|
|
9448
|
+
...output,
|
|
9449
|
+
body: await parseErrorBody(output.body, context),
|
|
9450
|
+
};
|
|
9451
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9452
|
+
switch (errorCode) {
|
|
9453
|
+
case "ColumnStatisticsTaskNotRunningException":
|
|
9454
|
+
case "com.amazonaws.glue#ColumnStatisticsTaskNotRunningException":
|
|
9455
|
+
throw await de_ColumnStatisticsTaskNotRunningExceptionRes(parsedOutput, context);
|
|
9456
|
+
case "ColumnStatisticsTaskStoppingException":
|
|
9457
|
+
case "com.amazonaws.glue#ColumnStatisticsTaskStoppingException":
|
|
9458
|
+
throw await de_ColumnStatisticsTaskStoppingExceptionRes(parsedOutput, context);
|
|
9459
|
+
case "EntityNotFoundException":
|
|
9460
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
9461
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
9462
|
+
case "OperationTimeoutException":
|
|
9463
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
9464
|
+
throw await de_OperationTimeoutExceptionRes(parsedOutput, context);
|
|
9465
|
+
default:
|
|
9466
|
+
const parsedBody = parsedOutput.body;
|
|
9467
|
+
return throwDefaultError({
|
|
9468
|
+
output,
|
|
9469
|
+
parsedBody,
|
|
9470
|
+
errorCode,
|
|
9471
|
+
});
|
|
9472
|
+
}
|
|
9473
|
+
};
|
|
8998
9474
|
const de_StopCrawlerCommand = async (output, context) => {
|
|
8999
9475
|
if (output.statusCode >= 300) {
|
|
9000
9476
|
return de_StopCrawlerCommandError(output, context);
|
|
@@ -10138,6 +10614,48 @@ const de_UpdateTableCommandError = async (output, context) => {
|
|
|
10138
10614
|
});
|
|
10139
10615
|
}
|
|
10140
10616
|
};
|
|
10617
|
+
const de_UpdateTableOptimizerCommand = async (output, context) => {
|
|
10618
|
+
if (output.statusCode >= 300) {
|
|
10619
|
+
return de_UpdateTableOptimizerCommandError(output, context);
|
|
10620
|
+
}
|
|
10621
|
+
const data = await parseBody(output.body, context);
|
|
10622
|
+
let contents = {};
|
|
10623
|
+
contents = (0, smithy_client_1._json)(data);
|
|
10624
|
+
const response = {
|
|
10625
|
+
$metadata: deserializeMetadata(output),
|
|
10626
|
+
...contents,
|
|
10627
|
+
};
|
|
10628
|
+
return response;
|
|
10629
|
+
};
|
|
10630
|
+
exports.de_UpdateTableOptimizerCommand = de_UpdateTableOptimizerCommand;
|
|
10631
|
+
const de_UpdateTableOptimizerCommandError = async (output, context) => {
|
|
10632
|
+
const parsedOutput = {
|
|
10633
|
+
...output,
|
|
10634
|
+
body: await parseErrorBody(output.body, context),
|
|
10635
|
+
};
|
|
10636
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10637
|
+
switch (errorCode) {
|
|
10638
|
+
case "AccessDeniedException":
|
|
10639
|
+
case "com.amazonaws.glue#AccessDeniedException":
|
|
10640
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
10641
|
+
case "EntityNotFoundException":
|
|
10642
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
10643
|
+
throw await de_EntityNotFoundExceptionRes(parsedOutput, context);
|
|
10644
|
+
case "InternalServiceException":
|
|
10645
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
10646
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
10647
|
+
case "InvalidInputException":
|
|
10648
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
10649
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
10650
|
+
default:
|
|
10651
|
+
const parsedBody = parsedOutput.body;
|
|
10652
|
+
return throwDefaultError({
|
|
10653
|
+
output,
|
|
10654
|
+
parsedBody,
|
|
10655
|
+
errorCode,
|
|
10656
|
+
});
|
|
10657
|
+
}
|
|
10658
|
+
};
|
|
10141
10659
|
const de_UpdateTriggerCommand = async (output, context) => {
|
|
10142
10660
|
if (output.statusCode >= 300) {
|
|
10143
10661
|
return de_UpdateTriggerCommandError(output, context);
|
|
@@ -10291,6 +10809,33 @@ const de_AlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
10291
10809
|
});
|
|
10292
10810
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
10293
10811
|
};
|
|
10812
|
+
const de_ColumnStatisticsTaskNotRunningExceptionRes = async (parsedOutput, context) => {
|
|
10813
|
+
const body = parsedOutput.body;
|
|
10814
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
10815
|
+
const exception = new models_2_1.ColumnStatisticsTaskNotRunningException({
|
|
10816
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
10817
|
+
...deserialized,
|
|
10818
|
+
});
|
|
10819
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
10820
|
+
};
|
|
10821
|
+
const de_ColumnStatisticsTaskRunningExceptionRes = async (parsedOutput, context) => {
|
|
10822
|
+
const body = parsedOutput.body;
|
|
10823
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
10824
|
+
const exception = new models_2_1.ColumnStatisticsTaskRunningException({
|
|
10825
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
10826
|
+
...deserialized,
|
|
10827
|
+
});
|
|
10828
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
10829
|
+
};
|
|
10830
|
+
const de_ColumnStatisticsTaskStoppingExceptionRes = async (parsedOutput, context) => {
|
|
10831
|
+
const body = parsedOutput.body;
|
|
10832
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
10833
|
+
const exception = new models_2_1.ColumnStatisticsTaskStoppingException({
|
|
10834
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
10835
|
+
...deserialized,
|
|
10836
|
+
});
|
|
10837
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
10838
|
+
};
|
|
10294
10839
|
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
10295
10840
|
const body = parsedOutput.body;
|
|
10296
10841
|
const deserialized = (0, smithy_client_1._json)(body);
|
|
@@ -10366,7 +10911,7 @@ const de_EntityNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
10366
10911
|
const de_FederatedResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
10367
10912
|
const body = parsedOutput.body;
|
|
10368
10913
|
const deserialized = (0, smithy_client_1._json)(body);
|
|
10369
|
-
const exception = new
|
|
10914
|
+
const exception = new models_1_1.FederatedResourceAlreadyExistsException({
|
|
10370
10915
|
$metadata: deserializeMetadata(parsedOutput),
|
|
10371
10916
|
...deserialized,
|
|
10372
10917
|
});
|
|
@@ -11160,6 +11705,17 @@ const se_Spigot = (input, context) => {
|
|
|
11160
11705
|
Topk: [],
|
|
11161
11706
|
});
|
|
11162
11707
|
};
|
|
11708
|
+
const se_StartColumnStatisticsTaskRunRequest = (input, context) => {
|
|
11709
|
+
return (0, smithy_client_1.take)(input, {
|
|
11710
|
+
CatalogID: [],
|
|
11711
|
+
ColumnNameList: smithy_client_1._json,
|
|
11712
|
+
DatabaseName: [],
|
|
11713
|
+
Role: [],
|
|
11714
|
+
SampleSize: smithy_client_1.serializeFloat,
|
|
11715
|
+
SecurityConfiguration: [],
|
|
11716
|
+
TableName: [],
|
|
11717
|
+
});
|
|
11718
|
+
};
|
|
11163
11719
|
const se_StartJobRunRequest = (input, context) => {
|
|
11164
11720
|
return (0, smithy_client_1.take)(input, {
|
|
11165
11721
|
AllocatedCapacity: [],
|
|
@@ -11352,12 +11908,34 @@ const de_BatchGetPartitionResponse = (output, context) => {
|
|
|
11352
11908
|
UnprocessedKeys: smithy_client_1._json,
|
|
11353
11909
|
});
|
|
11354
11910
|
};
|
|
11911
|
+
const de_BatchGetTableOptimizerResponse = (output, context) => {
|
|
11912
|
+
return (0, smithy_client_1.take)(output, {
|
|
11913
|
+
Failures: smithy_client_1._json,
|
|
11914
|
+
TableOptimizers: (_) => de_BatchTableOptimizers(_, context),
|
|
11915
|
+
});
|
|
11916
|
+
};
|
|
11355
11917
|
const de_BatchGetWorkflowsResponse = (output, context) => {
|
|
11356
11918
|
return (0, smithy_client_1.take)(output, {
|
|
11357
11919
|
MissingWorkflows: smithy_client_1._json,
|
|
11358
11920
|
Workflows: (_) => de_Workflows(_, context),
|
|
11359
11921
|
});
|
|
11360
11922
|
};
|
|
11923
|
+
const de_BatchTableOptimizer = (output, context) => {
|
|
11924
|
+
return (0, smithy_client_1.take)(output, {
|
|
11925
|
+
catalogId: smithy_client_1.expectString,
|
|
11926
|
+
databaseName: smithy_client_1.expectString,
|
|
11927
|
+
tableName: smithy_client_1.expectString,
|
|
11928
|
+
tableOptimizer: (_) => de_TableOptimizer(_, context),
|
|
11929
|
+
});
|
|
11930
|
+
};
|
|
11931
|
+
const de_BatchTableOptimizers = (output, context) => {
|
|
11932
|
+
const retVal = (output || [])
|
|
11933
|
+
.filter((e) => e != null)
|
|
11934
|
+
.map((entry) => {
|
|
11935
|
+
return de_BatchTableOptimizer(entry, context);
|
|
11936
|
+
});
|
|
11937
|
+
return retVal;
|
|
11938
|
+
};
|
|
11361
11939
|
const de_BinaryColumnStatisticsData = (output, context) => {
|
|
11362
11940
|
return (0, smithy_client_1.take)(output, {
|
|
11363
11941
|
AverageLength: smithy_client_1.limitedParseDouble,
|
|
@@ -11594,6 +12172,36 @@ const de_ColumnStatisticsList = (output, context) => {
|
|
|
11594
12172
|
});
|
|
11595
12173
|
return retVal;
|
|
11596
12174
|
};
|
|
12175
|
+
const de_ColumnStatisticsTaskRun = (output, context) => {
|
|
12176
|
+
return (0, smithy_client_1.take)(output, {
|
|
12177
|
+
CatalogID: smithy_client_1.expectString,
|
|
12178
|
+
ColumnNameList: smithy_client_1._json,
|
|
12179
|
+
ColumnStatisticsTaskRunId: smithy_client_1.expectString,
|
|
12180
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
12181
|
+
CustomerId: smithy_client_1.expectString,
|
|
12182
|
+
DPUSeconds: smithy_client_1.limitedParseDouble,
|
|
12183
|
+
DatabaseName: smithy_client_1.expectString,
|
|
12184
|
+
EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
12185
|
+
ErrorMessage: smithy_client_1.expectString,
|
|
12186
|
+
LastUpdated: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
12187
|
+
NumberOfWorkers: smithy_client_1.expectInt32,
|
|
12188
|
+
Role: smithy_client_1.expectString,
|
|
12189
|
+
SampleSize: smithy_client_1.limitedParseDouble,
|
|
12190
|
+
SecurityConfiguration: smithy_client_1.expectString,
|
|
12191
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
12192
|
+
Status: smithy_client_1.expectString,
|
|
12193
|
+
TableName: smithy_client_1.expectString,
|
|
12194
|
+
WorkerType: smithy_client_1.expectString,
|
|
12195
|
+
});
|
|
12196
|
+
};
|
|
12197
|
+
const de_ColumnStatisticsTaskRunsList = (output, context) => {
|
|
12198
|
+
const retVal = (output || [])
|
|
12199
|
+
.filter((e) => e != null)
|
|
12200
|
+
.map((entry) => {
|
|
12201
|
+
return de_ColumnStatisticsTaskRun(entry, context);
|
|
12202
|
+
});
|
|
12203
|
+
return retVal;
|
|
12204
|
+
};
|
|
11597
12205
|
const de_Connection = (output, context) => {
|
|
11598
12206
|
return (0, smithy_client_1.take)(output, {
|
|
11599
12207
|
ConnectionProperties: smithy_client_1._json,
|
|
@@ -12081,6 +12689,17 @@ const de_GetColumnStatisticsForTableResponse = (output, context) => {
|
|
|
12081
12689
|
Errors: smithy_client_1._json,
|
|
12082
12690
|
});
|
|
12083
12691
|
};
|
|
12692
|
+
const de_GetColumnStatisticsTaskRunResponse = (output, context) => {
|
|
12693
|
+
return (0, smithy_client_1.take)(output, {
|
|
12694
|
+
ColumnStatisticsTaskRun: (_) => de_ColumnStatisticsTaskRun(_, context),
|
|
12695
|
+
});
|
|
12696
|
+
};
|
|
12697
|
+
const de_GetColumnStatisticsTaskRunsResponse = (output, context) => {
|
|
12698
|
+
return (0, smithy_client_1.take)(output, {
|
|
12699
|
+
ColumnStatisticsTaskRuns: (_) => de_ColumnStatisticsTaskRunsList(_, context),
|
|
12700
|
+
NextToken: smithy_client_1.expectString,
|
|
12701
|
+
});
|
|
12702
|
+
};
|
|
12084
12703
|
const de_GetConnectionResponse = (output, context) => {
|
|
12085
12704
|
return (0, smithy_client_1.take)(output, {
|
|
12086
12705
|
Connection: (_) => de_Connection(_, context),
|
|
@@ -12318,6 +12937,14 @@ const de_GetStatementResponse = (output, context) => {
|
|
|
12318
12937
|
Statement: (_) => de_Statement(_, context),
|
|
12319
12938
|
});
|
|
12320
12939
|
};
|
|
12940
|
+
const de_GetTableOptimizerResponse = (output, context) => {
|
|
12941
|
+
return (0, smithy_client_1.take)(output, {
|
|
12942
|
+
CatalogId: smithy_client_1.expectString,
|
|
12943
|
+
DatabaseName: smithy_client_1.expectString,
|
|
12944
|
+
TableName: smithy_client_1.expectString,
|
|
12945
|
+
TableOptimizer: (_) => de_TableOptimizer(_, context),
|
|
12946
|
+
});
|
|
12947
|
+
};
|
|
12321
12948
|
const de_GetTableResponse = (output, context) => {
|
|
12322
12949
|
return (0, smithy_client_1.take)(output, {
|
|
12323
12950
|
Table: (_) => de_Table(_, context),
|
|
@@ -12610,6 +13237,15 @@ const de_ListStatementsResponse = (output, context) => {
|
|
|
12610
13237
|
Statements: (_) => de_StatementList(_, context),
|
|
12611
13238
|
});
|
|
12612
13239
|
};
|
|
13240
|
+
const de_ListTableOptimizerRunsResponse = (output, context) => {
|
|
13241
|
+
return (0, smithy_client_1.take)(output, {
|
|
13242
|
+
CatalogId: smithy_client_1.expectString,
|
|
13243
|
+
DatabaseName: smithy_client_1.expectString,
|
|
13244
|
+
NextToken: smithy_client_1.expectString,
|
|
13245
|
+
TableName: smithy_client_1.expectString,
|
|
13246
|
+
TableOptimizerRuns: (_) => de_TableOptimizerRuns(_, context),
|
|
13247
|
+
});
|
|
13248
|
+
};
|
|
12613
13249
|
const de_Mapping = (output, context) => {
|
|
12614
13250
|
return (0, smithy_client_1.take)(output, {
|
|
12615
13251
|
Children: (_) => de_Mappings(_, context),
|
|
@@ -12823,6 +13459,30 @@ const de_TableList = (output, context) => {
|
|
|
12823
13459
|
});
|
|
12824
13460
|
return retVal;
|
|
12825
13461
|
};
|
|
13462
|
+
const de_TableOptimizer = (output, context) => {
|
|
13463
|
+
return (0, smithy_client_1.take)(output, {
|
|
13464
|
+
configuration: smithy_client_1._json,
|
|
13465
|
+
lastRun: (_) => de_TableOptimizerRun(_, context),
|
|
13466
|
+
type: smithy_client_1.expectString,
|
|
13467
|
+
});
|
|
13468
|
+
};
|
|
13469
|
+
const de_TableOptimizerRun = (output, context) => {
|
|
13470
|
+
return (0, smithy_client_1.take)(output, {
|
|
13471
|
+
endTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
13472
|
+
error: smithy_client_1.expectString,
|
|
13473
|
+
eventType: smithy_client_1.expectString,
|
|
13474
|
+
metrics: smithy_client_1._json,
|
|
13475
|
+
startTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
13476
|
+
});
|
|
13477
|
+
};
|
|
13478
|
+
const de_TableOptimizerRuns = (output, context) => {
|
|
13479
|
+
const retVal = (output || [])
|
|
13480
|
+
.filter((e) => e != null)
|
|
13481
|
+
.map((entry) => {
|
|
13482
|
+
return de_TableOptimizerRun(entry, context);
|
|
13483
|
+
});
|
|
13484
|
+
return retVal;
|
|
13485
|
+
};
|
|
12826
13486
|
const de_TableVersion = (output, context) => {
|
|
12827
13487
|
return (0, smithy_client_1.take)(output, {
|
|
12828
13488
|
Table: (_) => de_Table(_, context),
|