@aws-sdk/client-glue 3.71.0 → 3.75.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 +75 -0
- package/dist-cjs/commands/BatchGetCustomEntityTypesCommand.js +36 -0
- package/dist-cjs/commands/CreateCustomEntityTypeCommand.js +36 -0
- package/dist-cjs/commands/DeleteCustomEntityTypeCommand.js +36 -0
- package/dist-cjs/commands/GetColumnStatisticsForPartitionCommand.js +2 -1
- package/dist-cjs/commands/GetColumnStatisticsForTableCommand.js +3 -3
- package/dist-cjs/commands/GetCustomEntityTypeCommand.js +36 -0
- package/dist-cjs/commands/ListCustomEntityTypesCommand.js +36 -0
- package/dist-cjs/commands/UpdateJobCommand.js +2 -1
- 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/index.js +5 -0
- package/dist-cjs/models/models_0.js +61 -65
- package/dist-cjs/models/models_1.js +76 -72
- package/dist-cjs/models/models_2.js +67 -1
- package/dist-cjs/pagination/ListCustomEntityTypesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +421 -8
- package/dist-es/Glue.js +75 -0
- package/dist-es/commands/BatchGetCustomEntityTypesCommand.js +39 -0
- package/dist-es/commands/CreateCustomEntityTypeCommand.js +39 -0
- package/dist-es/commands/DeleteCustomEntityTypeCommand.js +39 -0
- package/dist-es/commands/GetColumnStatisticsForPartitionCommand.js +2 -1
- package/dist-es/commands/GetColumnStatisticsForTableCommand.js +1 -1
- package/dist-es/commands/GetCustomEntityTypeCommand.js +39 -0
- package/dist-es/commands/ListCustomEntityTypesCommand.js +39 -0
- package/dist-es/commands/UpdateJobCommand.js +2 -1
- package/dist-es/commands/UpdateMLTransformCommand.js +1 -1
- package/dist-es/commands/UpdatePartitionCommand.js +1 -1
- package/dist-es/commands/UpdateRegistryCommand.js +1 -1
- package/dist-es/commands/UpdateSchemaCommand.js +1 -1
- package/dist-es/commands/UpdateTableCommand.js +1 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +41 -47
- package/dist-es/models/models_1.js +50 -44
- package/dist-es/models/models_2.js +44 -0
- package/dist-es/pagination/ListCustomEntityTypesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +493 -0
- package/dist-types/Glue.d.ts +20 -0
- package/dist-types/GlueClient.d.ts +7 -2
- package/dist-types/commands/BatchGetCustomEntityTypesCommand.d.ts +18 -0
- package/dist-types/commands/CreateCustomEntityTypeCommand.d.ts +18 -0
- package/dist-types/commands/DeleteCustomEntityTypeCommand.d.ts +18 -0
- package/dist-types/commands/GetColumnStatisticsForPartitionCommand.d.ts +2 -1
- package/dist-types/commands/GetColumnStatisticsForTableCommand.d.ts +1 -1
- package/dist-types/commands/GetCustomEntityTypeCommand.d.ts +18 -0
- package/dist-types/commands/ListCustomEntityTypesCommand.d.ts +18 -0
- package/dist-types/commands/UpdateJobCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMLTransformCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePartitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRegistryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSchemaCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTableCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +83 -170
- package/dist-types/models/models_1.d.ts +196 -261
- package/dist-types/models/models_2.d.ts +262 -1
- package/dist-types/pagination/ListCustomEntityTypesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/Glue.d.ts +20 -0
- package/dist-types/ts3.4/GlueClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/BatchGetCustomEntityTypesCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/CreateCustomEntityTypeCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/DeleteCustomEntityTypeCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetColumnStatisticsForPartitionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetColumnStatisticsForTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCustomEntityTypeCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/ListCustomEntityTypesCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateMLTransformCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePartitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSchemaCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -0
- package/dist-types/ts3.4/models/models_1.d.ts +125 -1
- package/dist-types/ts3.4/models/models_2.d.ts +137 -1
- package/dist-types/ts3.4/pagination/ListCustomEntityTypesPaginator.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 +15 -0
- package/package.json +11 -11
|
@@ -1,13 +1,13 @@
|
|
|
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.deserializeAws_json1_1UpdateWorkflowCommand = exports.deserializeAws_json1_1UpdateUserDefinedFunctionCommand = exports.deserializeAws_json1_1UpdateTriggerCommand = exports.deserializeAws_json1_1UpdateTableCommand = exports.deserializeAws_json1_1UpdateSchemaCommand = exports.deserializeAws_json1_1UpdateRegistryCommand = void 0;
|
|
3
|
+
exports.serializeAws_json1_1DeletePartitionCommand = exports.serializeAws_json1_1DeleteMLTransformCommand = exports.serializeAws_json1_1DeleteJobCommand = exports.serializeAws_json1_1DeleteDevEndpointCommand = exports.serializeAws_json1_1DeleteDatabaseCommand = exports.serializeAws_json1_1DeleteCustomEntityTypeCommand = exports.serializeAws_json1_1DeleteCrawlerCommand = exports.serializeAws_json1_1DeleteConnectionCommand = exports.serializeAws_json1_1DeleteColumnStatisticsForTableCommand = exports.serializeAws_json1_1DeleteColumnStatisticsForPartitionCommand = exports.serializeAws_json1_1DeleteClassifierCommand = exports.serializeAws_json1_1DeleteBlueprintCommand = exports.serializeAws_json1_1CreateWorkflowCommand = exports.serializeAws_json1_1CreateUserDefinedFunctionCommand = exports.serializeAws_json1_1CreateTriggerCommand = exports.serializeAws_json1_1CreateTableCommand = exports.serializeAws_json1_1CreateSessionCommand = exports.serializeAws_json1_1CreateSecurityConfigurationCommand = exports.serializeAws_json1_1CreateScriptCommand = exports.serializeAws_json1_1CreateSchemaCommand = exports.serializeAws_json1_1CreateRegistryCommand = exports.serializeAws_json1_1CreatePartitionIndexCommand = exports.serializeAws_json1_1CreatePartitionCommand = exports.serializeAws_json1_1CreateMLTransformCommand = exports.serializeAws_json1_1CreateJobCommand = exports.serializeAws_json1_1CreateDevEndpointCommand = exports.serializeAws_json1_1CreateDatabaseCommand = exports.serializeAws_json1_1CreateCustomEntityTypeCommand = exports.serializeAws_json1_1CreateCrawlerCommand = exports.serializeAws_json1_1CreateConnectionCommand = exports.serializeAws_json1_1CreateClassifierCommand = exports.serializeAws_json1_1CreateBlueprintCommand = exports.serializeAws_json1_1CheckSchemaVersionValidityCommand = exports.serializeAws_json1_1CancelStatementCommand = exports.serializeAws_json1_1CancelMLTaskRunCommand = exports.serializeAws_json1_1BatchUpdatePartitionCommand = exports.serializeAws_json1_1BatchStopJobRunCommand = exports.serializeAws_json1_1BatchGetWorkflowsCommand = exports.serializeAws_json1_1BatchGetTriggersCommand = exports.serializeAws_json1_1BatchGetPartitionCommand = exports.serializeAws_json1_1BatchGetJobsCommand = exports.serializeAws_json1_1BatchGetDevEndpointsCommand = exports.serializeAws_json1_1BatchGetCustomEntityTypesCommand = exports.serializeAws_json1_1BatchGetCrawlersCommand = exports.serializeAws_json1_1BatchGetBlueprintsCommand = exports.serializeAws_json1_1BatchDeleteTableVersionCommand = exports.serializeAws_json1_1BatchDeleteTableCommand = exports.serializeAws_json1_1BatchDeletePartitionCommand = exports.serializeAws_json1_1BatchDeleteConnectionCommand = exports.serializeAws_json1_1BatchCreatePartitionCommand = void 0;
|
|
4
|
+
exports.serializeAws_json1_1GetSchemaCommand = exports.serializeAws_json1_1GetResourcePolicyCommand = exports.serializeAws_json1_1GetResourcePoliciesCommand = exports.serializeAws_json1_1GetRegistryCommand = exports.serializeAws_json1_1GetPlanCommand = exports.serializeAws_json1_1GetPartitionsCommand = exports.serializeAws_json1_1GetPartitionIndexesCommand = exports.serializeAws_json1_1GetPartitionCommand = exports.serializeAws_json1_1GetMLTransformsCommand = exports.serializeAws_json1_1GetMLTransformCommand = exports.serializeAws_json1_1GetMLTaskRunsCommand = exports.serializeAws_json1_1GetMLTaskRunCommand = exports.serializeAws_json1_1GetMappingCommand = exports.serializeAws_json1_1GetJobsCommand = exports.serializeAws_json1_1GetJobRunsCommand = exports.serializeAws_json1_1GetJobRunCommand = exports.serializeAws_json1_1GetJobBookmarkCommand = exports.serializeAws_json1_1GetJobCommand = exports.serializeAws_json1_1GetDevEndpointsCommand = exports.serializeAws_json1_1GetDevEndpointCommand = exports.serializeAws_json1_1GetDataflowGraphCommand = exports.serializeAws_json1_1GetDataCatalogEncryptionSettingsCommand = exports.serializeAws_json1_1GetDatabasesCommand = exports.serializeAws_json1_1GetDatabaseCommand = exports.serializeAws_json1_1GetCustomEntityTypeCommand = exports.serializeAws_json1_1GetCrawlersCommand = exports.serializeAws_json1_1GetCrawlerMetricsCommand = exports.serializeAws_json1_1GetCrawlerCommand = exports.serializeAws_json1_1GetConnectionsCommand = exports.serializeAws_json1_1GetConnectionCommand = exports.serializeAws_json1_1GetColumnStatisticsForTableCommand = exports.serializeAws_json1_1GetColumnStatisticsForPartitionCommand = exports.serializeAws_json1_1GetClassifiersCommand = exports.serializeAws_json1_1GetClassifierCommand = exports.serializeAws_json1_1GetCatalogImportStatusCommand = exports.serializeAws_json1_1GetBlueprintRunsCommand = exports.serializeAws_json1_1GetBlueprintRunCommand = exports.serializeAws_json1_1GetBlueprintCommand = exports.serializeAws_json1_1DeleteWorkflowCommand = exports.serializeAws_json1_1DeleteUserDefinedFunctionCommand = exports.serializeAws_json1_1DeleteTriggerCommand = exports.serializeAws_json1_1DeleteTableVersionCommand = exports.serializeAws_json1_1DeleteTableCommand = exports.serializeAws_json1_1DeleteSessionCommand = exports.serializeAws_json1_1DeleteSecurityConfigurationCommand = exports.serializeAws_json1_1DeleteSchemaVersionsCommand = exports.serializeAws_json1_1DeleteSchemaCommand = exports.serializeAws_json1_1DeleteResourcePolicyCommand = exports.serializeAws_json1_1DeleteRegistryCommand = exports.serializeAws_json1_1DeletePartitionIndexCommand = void 0;
|
|
5
|
+
exports.serializeAws_json1_1StartCrawlerCommand = exports.serializeAws_json1_1StartBlueprintRunCommand = exports.serializeAws_json1_1SearchTablesCommand = exports.serializeAws_json1_1RunStatementCommand = exports.serializeAws_json1_1ResumeWorkflowRunCommand = exports.serializeAws_json1_1ResetJobBookmarkCommand = exports.serializeAws_json1_1RemoveSchemaVersionMetadataCommand = exports.serializeAws_json1_1RegisterSchemaVersionCommand = exports.serializeAws_json1_1QuerySchemaVersionMetadataCommand = exports.serializeAws_json1_1PutWorkflowRunPropertiesCommand = exports.serializeAws_json1_1PutSchemaVersionMetadataCommand = exports.serializeAws_json1_1PutResourcePolicyCommand = exports.serializeAws_json1_1PutDataCatalogEncryptionSettingsCommand = exports.serializeAws_json1_1ListWorkflowsCommand = exports.serializeAws_json1_1ListTriggersCommand = exports.serializeAws_json1_1ListStatementsCommand = exports.serializeAws_json1_1ListSessionsCommand = exports.serializeAws_json1_1ListSchemaVersionsCommand = exports.serializeAws_json1_1ListSchemasCommand = exports.serializeAws_json1_1ListRegistriesCommand = exports.serializeAws_json1_1ListMLTransformsCommand = exports.serializeAws_json1_1ListJobsCommand = exports.serializeAws_json1_1ListDevEndpointsCommand = exports.serializeAws_json1_1ListCustomEntityTypesCommand = exports.serializeAws_json1_1ListCrawlersCommand = exports.serializeAws_json1_1ListBlueprintsCommand = exports.serializeAws_json1_1ImportCatalogToGlueCommand = exports.serializeAws_json1_1GetWorkflowRunsCommand = exports.serializeAws_json1_1GetWorkflowRunPropertiesCommand = exports.serializeAws_json1_1GetWorkflowRunCommand = exports.serializeAws_json1_1GetWorkflowCommand = exports.serializeAws_json1_1GetUserDefinedFunctionsCommand = exports.serializeAws_json1_1GetUserDefinedFunctionCommand = exports.serializeAws_json1_1GetUnfilteredTableMetadataCommand = exports.serializeAws_json1_1GetUnfilteredPartitionsMetadataCommand = exports.serializeAws_json1_1GetUnfilteredPartitionMetadataCommand = exports.serializeAws_json1_1GetTriggersCommand = exports.serializeAws_json1_1GetTriggerCommand = exports.serializeAws_json1_1GetTagsCommand = exports.serializeAws_json1_1GetTableVersionsCommand = exports.serializeAws_json1_1GetTableVersionCommand = exports.serializeAws_json1_1GetTablesCommand = exports.serializeAws_json1_1GetTableCommand = exports.serializeAws_json1_1GetStatementCommand = exports.serializeAws_json1_1GetSessionCommand = exports.serializeAws_json1_1GetSecurityConfigurationsCommand = exports.serializeAws_json1_1GetSecurityConfigurationCommand = exports.serializeAws_json1_1GetSchemaVersionsDiffCommand = exports.serializeAws_json1_1GetSchemaVersionCommand = exports.serializeAws_json1_1GetSchemaByDefinitionCommand = void 0;
|
|
6
|
+
exports.deserializeAws_json1_1CancelStatementCommand = exports.deserializeAws_json1_1CancelMLTaskRunCommand = exports.deserializeAws_json1_1BatchUpdatePartitionCommand = exports.deserializeAws_json1_1BatchStopJobRunCommand = exports.deserializeAws_json1_1BatchGetWorkflowsCommand = exports.deserializeAws_json1_1BatchGetTriggersCommand = exports.deserializeAws_json1_1BatchGetPartitionCommand = exports.deserializeAws_json1_1BatchGetJobsCommand = exports.deserializeAws_json1_1BatchGetDevEndpointsCommand = exports.deserializeAws_json1_1BatchGetCustomEntityTypesCommand = exports.deserializeAws_json1_1BatchGetCrawlersCommand = exports.deserializeAws_json1_1BatchGetBlueprintsCommand = exports.deserializeAws_json1_1BatchDeleteTableVersionCommand = exports.deserializeAws_json1_1BatchDeleteTableCommand = exports.deserializeAws_json1_1BatchDeletePartitionCommand = exports.deserializeAws_json1_1BatchDeleteConnectionCommand = exports.deserializeAws_json1_1BatchCreatePartitionCommand = exports.serializeAws_json1_1UpdateWorkflowCommand = exports.serializeAws_json1_1UpdateUserDefinedFunctionCommand = exports.serializeAws_json1_1UpdateTriggerCommand = exports.serializeAws_json1_1UpdateTableCommand = exports.serializeAws_json1_1UpdateSchemaCommand = exports.serializeAws_json1_1UpdateRegistryCommand = exports.serializeAws_json1_1UpdatePartitionCommand = exports.serializeAws_json1_1UpdateMLTransformCommand = exports.serializeAws_json1_1UpdateJobCommand = exports.serializeAws_json1_1UpdateDevEndpointCommand = exports.serializeAws_json1_1UpdateDatabaseCommand = exports.serializeAws_json1_1UpdateCrawlerScheduleCommand = exports.serializeAws_json1_1UpdateCrawlerCommand = exports.serializeAws_json1_1UpdateConnectionCommand = exports.serializeAws_json1_1UpdateColumnStatisticsForTableCommand = exports.serializeAws_json1_1UpdateColumnStatisticsForPartitionCommand = exports.serializeAws_json1_1UpdateClassifierCommand = exports.serializeAws_json1_1UpdateBlueprintCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1StopWorkflowRunCommand = exports.serializeAws_json1_1StopTriggerCommand = exports.serializeAws_json1_1StopSessionCommand = exports.serializeAws_json1_1StopCrawlerScheduleCommand = exports.serializeAws_json1_1StopCrawlerCommand = exports.serializeAws_json1_1StartWorkflowRunCommand = exports.serializeAws_json1_1StartTriggerCommand = exports.serializeAws_json1_1StartMLLabelingSetGenerationTaskRunCommand = exports.serializeAws_json1_1StartMLEvaluationTaskRunCommand = exports.serializeAws_json1_1StartJobRunCommand = exports.serializeAws_json1_1StartImportLabelsTaskRunCommand = exports.serializeAws_json1_1StartExportLabelsTaskRunCommand = exports.serializeAws_json1_1StartCrawlerScheduleCommand = void 0;
|
|
7
|
+
exports.deserializeAws_json1_1GetClassifierCommand = exports.deserializeAws_json1_1GetCatalogImportStatusCommand = exports.deserializeAws_json1_1GetBlueprintRunsCommand = exports.deserializeAws_json1_1GetBlueprintRunCommand = exports.deserializeAws_json1_1GetBlueprintCommand = exports.deserializeAws_json1_1DeleteWorkflowCommand = exports.deserializeAws_json1_1DeleteUserDefinedFunctionCommand = exports.deserializeAws_json1_1DeleteTriggerCommand = exports.deserializeAws_json1_1DeleteTableVersionCommand = exports.deserializeAws_json1_1DeleteTableCommand = exports.deserializeAws_json1_1DeleteSessionCommand = exports.deserializeAws_json1_1DeleteSecurityConfigurationCommand = exports.deserializeAws_json1_1DeleteSchemaVersionsCommand = exports.deserializeAws_json1_1DeleteSchemaCommand = exports.deserializeAws_json1_1DeleteResourcePolicyCommand = exports.deserializeAws_json1_1DeleteRegistryCommand = exports.deserializeAws_json1_1DeletePartitionIndexCommand = exports.deserializeAws_json1_1DeletePartitionCommand = exports.deserializeAws_json1_1DeleteMLTransformCommand = exports.deserializeAws_json1_1DeleteJobCommand = exports.deserializeAws_json1_1DeleteDevEndpointCommand = exports.deserializeAws_json1_1DeleteDatabaseCommand = exports.deserializeAws_json1_1DeleteCustomEntityTypeCommand = exports.deserializeAws_json1_1DeleteCrawlerCommand = exports.deserializeAws_json1_1DeleteConnectionCommand = exports.deserializeAws_json1_1DeleteColumnStatisticsForTableCommand = exports.deserializeAws_json1_1DeleteColumnStatisticsForPartitionCommand = exports.deserializeAws_json1_1DeleteClassifierCommand = exports.deserializeAws_json1_1DeleteBlueprintCommand = exports.deserializeAws_json1_1CreateWorkflowCommand = exports.deserializeAws_json1_1CreateUserDefinedFunctionCommand = exports.deserializeAws_json1_1CreateTriggerCommand = exports.deserializeAws_json1_1CreateTableCommand = exports.deserializeAws_json1_1CreateSessionCommand = exports.deserializeAws_json1_1CreateSecurityConfigurationCommand = exports.deserializeAws_json1_1CreateScriptCommand = exports.deserializeAws_json1_1CreateSchemaCommand = exports.deserializeAws_json1_1CreateRegistryCommand = exports.deserializeAws_json1_1CreatePartitionIndexCommand = exports.deserializeAws_json1_1CreatePartitionCommand = exports.deserializeAws_json1_1CreateMLTransformCommand = exports.deserializeAws_json1_1CreateJobCommand = exports.deserializeAws_json1_1CreateDevEndpointCommand = exports.deserializeAws_json1_1CreateDatabaseCommand = exports.deserializeAws_json1_1CreateCustomEntityTypeCommand = exports.deserializeAws_json1_1CreateCrawlerCommand = exports.deserializeAws_json1_1CreateConnectionCommand = exports.deserializeAws_json1_1CreateClassifierCommand = exports.deserializeAws_json1_1CreateBlueprintCommand = exports.deserializeAws_json1_1CheckSchemaVersionValidityCommand = void 0;
|
|
8
|
+
exports.deserializeAws_json1_1GetUnfilteredTableMetadataCommand = exports.deserializeAws_json1_1GetUnfilteredPartitionsMetadataCommand = exports.deserializeAws_json1_1GetUnfilteredPartitionMetadataCommand = exports.deserializeAws_json1_1GetTriggersCommand = exports.deserializeAws_json1_1GetTriggerCommand = exports.deserializeAws_json1_1GetTagsCommand = exports.deserializeAws_json1_1GetTableVersionsCommand = exports.deserializeAws_json1_1GetTableVersionCommand = exports.deserializeAws_json1_1GetTablesCommand = exports.deserializeAws_json1_1GetTableCommand = exports.deserializeAws_json1_1GetStatementCommand = exports.deserializeAws_json1_1GetSessionCommand = exports.deserializeAws_json1_1GetSecurityConfigurationsCommand = exports.deserializeAws_json1_1GetSecurityConfigurationCommand = exports.deserializeAws_json1_1GetSchemaVersionsDiffCommand = exports.deserializeAws_json1_1GetSchemaVersionCommand = exports.deserializeAws_json1_1GetSchemaByDefinitionCommand = exports.deserializeAws_json1_1GetSchemaCommand = exports.deserializeAws_json1_1GetResourcePolicyCommand = exports.deserializeAws_json1_1GetResourcePoliciesCommand = exports.deserializeAws_json1_1GetRegistryCommand = exports.deserializeAws_json1_1GetPlanCommand = exports.deserializeAws_json1_1GetPartitionsCommand = exports.deserializeAws_json1_1GetPartitionIndexesCommand = exports.deserializeAws_json1_1GetPartitionCommand = exports.deserializeAws_json1_1GetMLTransformsCommand = exports.deserializeAws_json1_1GetMLTransformCommand = exports.deserializeAws_json1_1GetMLTaskRunsCommand = exports.deserializeAws_json1_1GetMLTaskRunCommand = exports.deserializeAws_json1_1GetMappingCommand = exports.deserializeAws_json1_1GetJobsCommand = exports.deserializeAws_json1_1GetJobRunsCommand = exports.deserializeAws_json1_1GetJobRunCommand = exports.deserializeAws_json1_1GetJobBookmarkCommand = exports.deserializeAws_json1_1GetJobCommand = exports.deserializeAws_json1_1GetDevEndpointsCommand = exports.deserializeAws_json1_1GetDevEndpointCommand = exports.deserializeAws_json1_1GetDataflowGraphCommand = exports.deserializeAws_json1_1GetDataCatalogEncryptionSettingsCommand = exports.deserializeAws_json1_1GetDatabasesCommand = exports.deserializeAws_json1_1GetDatabaseCommand = exports.deserializeAws_json1_1GetCustomEntityTypeCommand = exports.deserializeAws_json1_1GetCrawlersCommand = exports.deserializeAws_json1_1GetCrawlerMetricsCommand = exports.deserializeAws_json1_1GetCrawlerCommand = exports.deserializeAws_json1_1GetConnectionsCommand = exports.deserializeAws_json1_1GetConnectionCommand = exports.deserializeAws_json1_1GetColumnStatisticsForTableCommand = exports.deserializeAws_json1_1GetColumnStatisticsForPartitionCommand = exports.deserializeAws_json1_1GetClassifiersCommand = void 0;
|
|
9
|
+
exports.deserializeAws_json1_1UpdateClassifierCommand = exports.deserializeAws_json1_1UpdateBlueprintCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1StopWorkflowRunCommand = exports.deserializeAws_json1_1StopTriggerCommand = exports.deserializeAws_json1_1StopSessionCommand = exports.deserializeAws_json1_1StopCrawlerScheduleCommand = exports.deserializeAws_json1_1StopCrawlerCommand = exports.deserializeAws_json1_1StartWorkflowRunCommand = exports.deserializeAws_json1_1StartTriggerCommand = exports.deserializeAws_json1_1StartMLLabelingSetGenerationTaskRunCommand = exports.deserializeAws_json1_1StartMLEvaluationTaskRunCommand = exports.deserializeAws_json1_1StartJobRunCommand = exports.deserializeAws_json1_1StartImportLabelsTaskRunCommand = exports.deserializeAws_json1_1StartExportLabelsTaskRunCommand = exports.deserializeAws_json1_1StartCrawlerScheduleCommand = exports.deserializeAws_json1_1StartCrawlerCommand = exports.deserializeAws_json1_1StartBlueprintRunCommand = exports.deserializeAws_json1_1SearchTablesCommand = exports.deserializeAws_json1_1RunStatementCommand = exports.deserializeAws_json1_1ResumeWorkflowRunCommand = exports.deserializeAws_json1_1ResetJobBookmarkCommand = exports.deserializeAws_json1_1RemoveSchemaVersionMetadataCommand = exports.deserializeAws_json1_1RegisterSchemaVersionCommand = exports.deserializeAws_json1_1QuerySchemaVersionMetadataCommand = exports.deserializeAws_json1_1PutWorkflowRunPropertiesCommand = exports.deserializeAws_json1_1PutSchemaVersionMetadataCommand = exports.deserializeAws_json1_1PutResourcePolicyCommand = exports.deserializeAws_json1_1PutDataCatalogEncryptionSettingsCommand = exports.deserializeAws_json1_1ListWorkflowsCommand = exports.deserializeAws_json1_1ListTriggersCommand = exports.deserializeAws_json1_1ListStatementsCommand = exports.deserializeAws_json1_1ListSessionsCommand = exports.deserializeAws_json1_1ListSchemaVersionsCommand = exports.deserializeAws_json1_1ListSchemasCommand = exports.deserializeAws_json1_1ListRegistriesCommand = exports.deserializeAws_json1_1ListMLTransformsCommand = exports.deserializeAws_json1_1ListJobsCommand = exports.deserializeAws_json1_1ListDevEndpointsCommand = exports.deserializeAws_json1_1ListCustomEntityTypesCommand = exports.deserializeAws_json1_1ListCrawlersCommand = exports.deserializeAws_json1_1ListBlueprintsCommand = exports.deserializeAws_json1_1ImportCatalogToGlueCommand = exports.deserializeAws_json1_1GetWorkflowRunsCommand = exports.deserializeAws_json1_1GetWorkflowRunPropertiesCommand = exports.deserializeAws_json1_1GetWorkflowRunCommand = exports.deserializeAws_json1_1GetWorkflowCommand = exports.deserializeAws_json1_1GetUserDefinedFunctionsCommand = exports.deserializeAws_json1_1GetUserDefinedFunctionCommand = void 0;
|
|
10
|
+
exports.deserializeAws_json1_1UpdateWorkflowCommand = exports.deserializeAws_json1_1UpdateUserDefinedFunctionCommand = exports.deserializeAws_json1_1UpdateTriggerCommand = exports.deserializeAws_json1_1UpdateTableCommand = exports.deserializeAws_json1_1UpdateSchemaCommand = exports.deserializeAws_json1_1UpdateRegistryCommand = exports.deserializeAws_json1_1UpdatePartitionCommand = exports.deserializeAws_json1_1UpdateMLTransformCommand = exports.deserializeAws_json1_1UpdateJobCommand = exports.deserializeAws_json1_1UpdateDevEndpointCommand = exports.deserializeAws_json1_1UpdateDatabaseCommand = exports.deserializeAws_json1_1UpdateCrawlerScheduleCommand = exports.deserializeAws_json1_1UpdateCrawlerCommand = exports.deserializeAws_json1_1UpdateConnectionCommand = exports.deserializeAws_json1_1UpdateColumnStatisticsForTableCommand = exports.deserializeAws_json1_1UpdateColumnStatisticsForPartitionCommand = void 0;
|
|
11
11
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
12
12
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
13
|
const GlueServiceException_1 = require("../models/GlueServiceException");
|
|
@@ -83,6 +83,16 @@ const serializeAws_json1_1BatchGetCrawlersCommand = async (input, context) => {
|
|
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
84
|
};
|
|
85
85
|
exports.serializeAws_json1_1BatchGetCrawlersCommand = serializeAws_json1_1BatchGetCrawlersCommand;
|
|
86
|
+
const serializeAws_json1_1BatchGetCustomEntityTypesCommand = async (input, context) => {
|
|
87
|
+
const headers = {
|
|
88
|
+
"content-type": "application/x-amz-json-1.1",
|
|
89
|
+
"x-amz-target": "AWSGlue.BatchGetCustomEntityTypes",
|
|
90
|
+
};
|
|
91
|
+
let body;
|
|
92
|
+
body = JSON.stringify(serializeAws_json1_1BatchGetCustomEntityTypesRequest(input, context));
|
|
93
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
|
+
};
|
|
95
|
+
exports.serializeAws_json1_1BatchGetCustomEntityTypesCommand = serializeAws_json1_1BatchGetCustomEntityTypesCommand;
|
|
86
96
|
const serializeAws_json1_1BatchGetDevEndpointsCommand = async (input, context) => {
|
|
87
97
|
const headers = {
|
|
88
98
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -223,6 +233,16 @@ const serializeAws_json1_1CreateCrawlerCommand = async (input, context) => {
|
|
|
223
233
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
234
|
};
|
|
225
235
|
exports.serializeAws_json1_1CreateCrawlerCommand = serializeAws_json1_1CreateCrawlerCommand;
|
|
236
|
+
const serializeAws_json1_1CreateCustomEntityTypeCommand = async (input, context) => {
|
|
237
|
+
const headers = {
|
|
238
|
+
"content-type": "application/x-amz-json-1.1",
|
|
239
|
+
"x-amz-target": "AWSGlue.CreateCustomEntityType",
|
|
240
|
+
};
|
|
241
|
+
let body;
|
|
242
|
+
body = JSON.stringify(serializeAws_json1_1CreateCustomEntityTypeRequest(input, context));
|
|
243
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
244
|
+
};
|
|
245
|
+
exports.serializeAws_json1_1CreateCustomEntityTypeCommand = serializeAws_json1_1CreateCustomEntityTypeCommand;
|
|
226
246
|
const serializeAws_json1_1CreateDatabaseCommand = async (input, context) => {
|
|
227
247
|
const headers = {
|
|
228
248
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -433,6 +453,16 @@ const serializeAws_json1_1DeleteCrawlerCommand = async (input, context) => {
|
|
|
433
453
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
434
454
|
};
|
|
435
455
|
exports.serializeAws_json1_1DeleteCrawlerCommand = serializeAws_json1_1DeleteCrawlerCommand;
|
|
456
|
+
const serializeAws_json1_1DeleteCustomEntityTypeCommand = async (input, context) => {
|
|
457
|
+
const headers = {
|
|
458
|
+
"content-type": "application/x-amz-json-1.1",
|
|
459
|
+
"x-amz-target": "AWSGlue.DeleteCustomEntityType",
|
|
460
|
+
};
|
|
461
|
+
let body;
|
|
462
|
+
body = JSON.stringify(serializeAws_json1_1DeleteCustomEntityTypeRequest(input, context));
|
|
463
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
464
|
+
};
|
|
465
|
+
exports.serializeAws_json1_1DeleteCustomEntityTypeCommand = serializeAws_json1_1DeleteCustomEntityTypeCommand;
|
|
436
466
|
const serializeAws_json1_1DeleteDatabaseCommand = async (input, context) => {
|
|
437
467
|
const headers = {
|
|
438
468
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -733,6 +763,16 @@ const serializeAws_json1_1GetCrawlersCommand = async (input, context) => {
|
|
|
733
763
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
734
764
|
};
|
|
735
765
|
exports.serializeAws_json1_1GetCrawlersCommand = serializeAws_json1_1GetCrawlersCommand;
|
|
766
|
+
const serializeAws_json1_1GetCustomEntityTypeCommand = async (input, context) => {
|
|
767
|
+
const headers = {
|
|
768
|
+
"content-type": "application/x-amz-json-1.1",
|
|
769
|
+
"x-amz-target": "AWSGlue.GetCustomEntityType",
|
|
770
|
+
};
|
|
771
|
+
let body;
|
|
772
|
+
body = JSON.stringify(serializeAws_json1_1GetCustomEntityTypeRequest(input, context));
|
|
773
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
774
|
+
};
|
|
775
|
+
exports.serializeAws_json1_1GetCustomEntityTypeCommand = serializeAws_json1_1GetCustomEntityTypeCommand;
|
|
736
776
|
const serializeAws_json1_1GetDatabaseCommand = async (input, context) => {
|
|
737
777
|
const headers = {
|
|
738
778
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1233,6 +1273,16 @@ const serializeAws_json1_1ListCrawlersCommand = async (input, context) => {
|
|
|
1233
1273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1234
1274
|
};
|
|
1235
1275
|
exports.serializeAws_json1_1ListCrawlersCommand = serializeAws_json1_1ListCrawlersCommand;
|
|
1276
|
+
const serializeAws_json1_1ListCustomEntityTypesCommand = async (input, context) => {
|
|
1277
|
+
const headers = {
|
|
1278
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1279
|
+
"x-amz-target": "AWSGlue.ListCustomEntityTypes",
|
|
1280
|
+
};
|
|
1281
|
+
let body;
|
|
1282
|
+
body = JSON.stringify(serializeAws_json1_1ListCustomEntityTypesRequest(input, context));
|
|
1283
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1284
|
+
};
|
|
1285
|
+
exports.serializeAws_json1_1ListCustomEntityTypesCommand = serializeAws_json1_1ListCustomEntityTypesCommand;
|
|
1236
1286
|
const serializeAws_json1_1ListDevEndpointsCommand = async (input, context) => {
|
|
1237
1287
|
const headers = {
|
|
1238
1288
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2108,6 +2158,48 @@ const deserializeAws_json1_1BatchGetCrawlersCommandError = async (output, contex
|
|
|
2108
2158
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2109
2159
|
}
|
|
2110
2160
|
};
|
|
2161
|
+
const deserializeAws_json1_1BatchGetCustomEntityTypesCommand = async (output, context) => {
|
|
2162
|
+
if (output.statusCode >= 300) {
|
|
2163
|
+
return deserializeAws_json1_1BatchGetCustomEntityTypesCommandError(output, context);
|
|
2164
|
+
}
|
|
2165
|
+
const data = await parseBody(output.body, context);
|
|
2166
|
+
let contents = {};
|
|
2167
|
+
contents = deserializeAws_json1_1BatchGetCustomEntityTypesResponse(data, context);
|
|
2168
|
+
const response = {
|
|
2169
|
+
$metadata: deserializeMetadata(output),
|
|
2170
|
+
...contents,
|
|
2171
|
+
};
|
|
2172
|
+
return Promise.resolve(response);
|
|
2173
|
+
};
|
|
2174
|
+
exports.deserializeAws_json1_1BatchGetCustomEntityTypesCommand = deserializeAws_json1_1BatchGetCustomEntityTypesCommand;
|
|
2175
|
+
const deserializeAws_json1_1BatchGetCustomEntityTypesCommandError = async (output, context) => {
|
|
2176
|
+
const parsedOutput = {
|
|
2177
|
+
...output,
|
|
2178
|
+
body: await parseBody(output.body, context),
|
|
2179
|
+
};
|
|
2180
|
+
let response;
|
|
2181
|
+
let errorCode = "UnknownError";
|
|
2182
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2183
|
+
switch (errorCode) {
|
|
2184
|
+
case "InternalServiceException":
|
|
2185
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
2186
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
2187
|
+
case "InvalidInputException":
|
|
2188
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
2189
|
+
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
2190
|
+
case "OperationTimeoutException":
|
|
2191
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
2192
|
+
throw await deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context);
|
|
2193
|
+
default:
|
|
2194
|
+
const parsedBody = parsedOutput.body;
|
|
2195
|
+
response = new GlueServiceException_1.GlueServiceException({
|
|
2196
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2197
|
+
$fault: "client",
|
|
2198
|
+
$metadata: deserializeMetadata(output),
|
|
2199
|
+
});
|
|
2200
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2201
|
+
}
|
|
2202
|
+
};
|
|
2111
2203
|
const deserializeAws_json1_1BatchGetDevEndpointsCommand = async (output, context) => {
|
|
2112
2204
|
if (output.statusCode >= 300) {
|
|
2113
2205
|
return deserializeAws_json1_1BatchGetDevEndpointsCommandError(output, context);
|
|
@@ -2741,6 +2833,60 @@ const deserializeAws_json1_1CreateCrawlerCommandError = async (output, context)
|
|
|
2741
2833
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2742
2834
|
}
|
|
2743
2835
|
};
|
|
2836
|
+
const deserializeAws_json1_1CreateCustomEntityTypeCommand = async (output, context) => {
|
|
2837
|
+
if (output.statusCode >= 300) {
|
|
2838
|
+
return deserializeAws_json1_1CreateCustomEntityTypeCommandError(output, context);
|
|
2839
|
+
}
|
|
2840
|
+
const data = await parseBody(output.body, context);
|
|
2841
|
+
let contents = {};
|
|
2842
|
+
contents = deserializeAws_json1_1CreateCustomEntityTypeResponse(data, context);
|
|
2843
|
+
const response = {
|
|
2844
|
+
$metadata: deserializeMetadata(output),
|
|
2845
|
+
...contents,
|
|
2846
|
+
};
|
|
2847
|
+
return Promise.resolve(response);
|
|
2848
|
+
};
|
|
2849
|
+
exports.deserializeAws_json1_1CreateCustomEntityTypeCommand = deserializeAws_json1_1CreateCustomEntityTypeCommand;
|
|
2850
|
+
const deserializeAws_json1_1CreateCustomEntityTypeCommandError = async (output, context) => {
|
|
2851
|
+
const parsedOutput = {
|
|
2852
|
+
...output,
|
|
2853
|
+
body: await parseBody(output.body, context),
|
|
2854
|
+
};
|
|
2855
|
+
let response;
|
|
2856
|
+
let errorCode = "UnknownError";
|
|
2857
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2858
|
+
switch (errorCode) {
|
|
2859
|
+
case "AccessDeniedException":
|
|
2860
|
+
case "com.amazonaws.glue#AccessDeniedException":
|
|
2861
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2862
|
+
case "AlreadyExistsException":
|
|
2863
|
+
case "com.amazonaws.glue#AlreadyExistsException":
|
|
2864
|
+
throw await deserializeAws_json1_1AlreadyExistsExceptionResponse(parsedOutput, context);
|
|
2865
|
+
case "IdempotentParameterMismatchException":
|
|
2866
|
+
case "com.amazonaws.glue#IdempotentParameterMismatchException":
|
|
2867
|
+
throw await deserializeAws_json1_1IdempotentParameterMismatchExceptionResponse(parsedOutput, context);
|
|
2868
|
+
case "InternalServiceException":
|
|
2869
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
2870
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
2871
|
+
case "InvalidInputException":
|
|
2872
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
2873
|
+
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
2874
|
+
case "OperationTimeoutException":
|
|
2875
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
2876
|
+
throw await deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context);
|
|
2877
|
+
case "ResourceNumberLimitExceededException":
|
|
2878
|
+
case "com.amazonaws.glue#ResourceNumberLimitExceededException":
|
|
2879
|
+
throw await deserializeAws_json1_1ResourceNumberLimitExceededExceptionResponse(parsedOutput, context);
|
|
2880
|
+
default:
|
|
2881
|
+
const parsedBody = parsedOutput.body;
|
|
2882
|
+
response = new GlueServiceException_1.GlueServiceException({
|
|
2883
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2884
|
+
$fault: "client",
|
|
2885
|
+
$metadata: deserializeMetadata(output),
|
|
2886
|
+
});
|
|
2887
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2888
|
+
}
|
|
2889
|
+
};
|
|
2744
2890
|
const deserializeAws_json1_1CreateDatabaseCommand = async (output, context) => {
|
|
2745
2891
|
if (output.statusCode >= 300) {
|
|
2746
2892
|
return deserializeAws_json1_1CreateDatabaseCommandError(output, context);
|
|
@@ -3803,6 +3949,54 @@ const deserializeAws_json1_1DeleteCrawlerCommandError = async (output, context)
|
|
|
3803
3949
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3804
3950
|
}
|
|
3805
3951
|
};
|
|
3952
|
+
const deserializeAws_json1_1DeleteCustomEntityTypeCommand = async (output, context) => {
|
|
3953
|
+
if (output.statusCode >= 300) {
|
|
3954
|
+
return deserializeAws_json1_1DeleteCustomEntityTypeCommandError(output, context);
|
|
3955
|
+
}
|
|
3956
|
+
const data = await parseBody(output.body, context);
|
|
3957
|
+
let contents = {};
|
|
3958
|
+
contents = deserializeAws_json1_1DeleteCustomEntityTypeResponse(data, context);
|
|
3959
|
+
const response = {
|
|
3960
|
+
$metadata: deserializeMetadata(output),
|
|
3961
|
+
...contents,
|
|
3962
|
+
};
|
|
3963
|
+
return Promise.resolve(response);
|
|
3964
|
+
};
|
|
3965
|
+
exports.deserializeAws_json1_1DeleteCustomEntityTypeCommand = deserializeAws_json1_1DeleteCustomEntityTypeCommand;
|
|
3966
|
+
const deserializeAws_json1_1DeleteCustomEntityTypeCommandError = async (output, context) => {
|
|
3967
|
+
const parsedOutput = {
|
|
3968
|
+
...output,
|
|
3969
|
+
body: await parseBody(output.body, context),
|
|
3970
|
+
};
|
|
3971
|
+
let response;
|
|
3972
|
+
let errorCode = "UnknownError";
|
|
3973
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3974
|
+
switch (errorCode) {
|
|
3975
|
+
case "AccessDeniedException":
|
|
3976
|
+
case "com.amazonaws.glue#AccessDeniedException":
|
|
3977
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
3978
|
+
case "EntityNotFoundException":
|
|
3979
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
3980
|
+
throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
|
|
3981
|
+
case "InternalServiceException":
|
|
3982
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
3983
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
3984
|
+
case "InvalidInputException":
|
|
3985
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
3986
|
+
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
3987
|
+
case "OperationTimeoutException":
|
|
3988
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
3989
|
+
throw await deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context);
|
|
3990
|
+
default:
|
|
3991
|
+
const parsedBody = parsedOutput.body;
|
|
3992
|
+
response = new GlueServiceException_1.GlueServiceException({
|
|
3993
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3994
|
+
$fault: "client",
|
|
3995
|
+
$metadata: deserializeMetadata(output),
|
|
3996
|
+
});
|
|
3997
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3998
|
+
}
|
|
3999
|
+
};
|
|
3806
4000
|
const deserializeAws_json1_1DeleteDatabaseCommand = async (output, context) => {
|
|
3807
4001
|
if (output.statusCode >= 300) {
|
|
3808
4002
|
return deserializeAws_json1_1DeleteDatabaseCommandError(output, context);
|
|
@@ -5132,6 +5326,54 @@ const deserializeAws_json1_1GetCrawlersCommandError = async (output, context) =>
|
|
|
5132
5326
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5133
5327
|
}
|
|
5134
5328
|
};
|
|
5329
|
+
const deserializeAws_json1_1GetCustomEntityTypeCommand = async (output, context) => {
|
|
5330
|
+
if (output.statusCode >= 300) {
|
|
5331
|
+
return deserializeAws_json1_1GetCustomEntityTypeCommandError(output, context);
|
|
5332
|
+
}
|
|
5333
|
+
const data = await parseBody(output.body, context);
|
|
5334
|
+
let contents = {};
|
|
5335
|
+
contents = deserializeAws_json1_1GetCustomEntityTypeResponse(data, context);
|
|
5336
|
+
const response = {
|
|
5337
|
+
$metadata: deserializeMetadata(output),
|
|
5338
|
+
...contents,
|
|
5339
|
+
};
|
|
5340
|
+
return Promise.resolve(response);
|
|
5341
|
+
};
|
|
5342
|
+
exports.deserializeAws_json1_1GetCustomEntityTypeCommand = deserializeAws_json1_1GetCustomEntityTypeCommand;
|
|
5343
|
+
const deserializeAws_json1_1GetCustomEntityTypeCommandError = async (output, context) => {
|
|
5344
|
+
const parsedOutput = {
|
|
5345
|
+
...output,
|
|
5346
|
+
body: await parseBody(output.body, context),
|
|
5347
|
+
};
|
|
5348
|
+
let response;
|
|
5349
|
+
let errorCode = "UnknownError";
|
|
5350
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5351
|
+
switch (errorCode) {
|
|
5352
|
+
case "AccessDeniedException":
|
|
5353
|
+
case "com.amazonaws.glue#AccessDeniedException":
|
|
5354
|
+
throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
5355
|
+
case "EntityNotFoundException":
|
|
5356
|
+
case "com.amazonaws.glue#EntityNotFoundException":
|
|
5357
|
+
throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
|
|
5358
|
+
case "InternalServiceException":
|
|
5359
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
5360
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
5361
|
+
case "InvalidInputException":
|
|
5362
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
5363
|
+
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
5364
|
+
case "OperationTimeoutException":
|
|
5365
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
5366
|
+
throw await deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context);
|
|
5367
|
+
default:
|
|
5368
|
+
const parsedBody = parsedOutput.body;
|
|
5369
|
+
response = new GlueServiceException_1.GlueServiceException({
|
|
5370
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
5371
|
+
$fault: "client",
|
|
5372
|
+
$metadata: deserializeMetadata(output),
|
|
5373
|
+
});
|
|
5374
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5375
|
+
}
|
|
5376
|
+
};
|
|
5135
5377
|
const deserializeAws_json1_1GetDatabaseCommand = async (output, context) => {
|
|
5136
5378
|
if (output.statusCode >= 300) {
|
|
5137
5379
|
return deserializeAws_json1_1GetDatabaseCommandError(output, context);
|
|
@@ -7424,6 +7666,48 @@ const deserializeAws_json1_1ListCrawlersCommandError = async (output, context) =
|
|
|
7424
7666
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7425
7667
|
}
|
|
7426
7668
|
};
|
|
7669
|
+
const deserializeAws_json1_1ListCustomEntityTypesCommand = async (output, context) => {
|
|
7670
|
+
if (output.statusCode >= 300) {
|
|
7671
|
+
return deserializeAws_json1_1ListCustomEntityTypesCommandError(output, context);
|
|
7672
|
+
}
|
|
7673
|
+
const data = await parseBody(output.body, context);
|
|
7674
|
+
let contents = {};
|
|
7675
|
+
contents = deserializeAws_json1_1ListCustomEntityTypesResponse(data, context);
|
|
7676
|
+
const response = {
|
|
7677
|
+
$metadata: deserializeMetadata(output),
|
|
7678
|
+
...contents,
|
|
7679
|
+
};
|
|
7680
|
+
return Promise.resolve(response);
|
|
7681
|
+
};
|
|
7682
|
+
exports.deserializeAws_json1_1ListCustomEntityTypesCommand = deserializeAws_json1_1ListCustomEntityTypesCommand;
|
|
7683
|
+
const deserializeAws_json1_1ListCustomEntityTypesCommandError = async (output, context) => {
|
|
7684
|
+
const parsedOutput = {
|
|
7685
|
+
...output,
|
|
7686
|
+
body: await parseBody(output.body, context),
|
|
7687
|
+
};
|
|
7688
|
+
let response;
|
|
7689
|
+
let errorCode = "UnknownError";
|
|
7690
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7691
|
+
switch (errorCode) {
|
|
7692
|
+
case "InternalServiceException":
|
|
7693
|
+
case "com.amazonaws.glue#InternalServiceException":
|
|
7694
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
7695
|
+
case "InvalidInputException":
|
|
7696
|
+
case "com.amazonaws.glue#InvalidInputException":
|
|
7697
|
+
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
7698
|
+
case "OperationTimeoutException":
|
|
7699
|
+
case "com.amazonaws.glue#OperationTimeoutException":
|
|
7700
|
+
throw await deserializeAws_json1_1OperationTimeoutExceptionResponse(parsedOutput, context);
|
|
7701
|
+
default:
|
|
7702
|
+
const parsedBody = parsedOutput.body;
|
|
7703
|
+
response = new GlueServiceException_1.GlueServiceException({
|
|
7704
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
7705
|
+
$fault: "client",
|
|
7706
|
+
$metadata: deserializeMetadata(output),
|
|
7707
|
+
});
|
|
7708
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7709
|
+
}
|
|
7710
|
+
};
|
|
7427
7711
|
const deserializeAws_json1_1ListDevEndpointsCommand = async (output, context) => {
|
|
7428
7712
|
if (output.statusCode >= 300) {
|
|
7429
7713
|
return deserializeAws_json1_1ListDevEndpointsCommandError(output, context);
|
|
@@ -10512,6 +10796,12 @@ const serializeAws_json1_1BatchGetCrawlersRequest = (input, context) => {
|
|
|
10512
10796
|
}),
|
|
10513
10797
|
};
|
|
10514
10798
|
};
|
|
10799
|
+
const serializeAws_json1_1BatchGetCustomEntityTypesRequest = (input, context) => {
|
|
10800
|
+
return {
|
|
10801
|
+
...(input.Names !== undefined &&
|
|
10802
|
+
input.Names !== null && { Names: serializeAws_json1_1CustomEntityTypeNames(input.Names, context) }),
|
|
10803
|
+
};
|
|
10804
|
+
};
|
|
10515
10805
|
const serializeAws_json1_1BatchGetDevEndpointsRequest = (input, context) => {
|
|
10516
10806
|
return {
|
|
10517
10807
|
...(input.DevEndpointNames !== undefined &&
|
|
@@ -10898,6 +11188,16 @@ const serializeAws_json1_1ConnectionsList = (input, context) => {
|
|
|
10898
11188
|
}),
|
|
10899
11189
|
};
|
|
10900
11190
|
};
|
|
11191
|
+
const serializeAws_json1_1ContextWords = (input, context) => {
|
|
11192
|
+
return input
|
|
11193
|
+
.filter((e) => e != null)
|
|
11194
|
+
.map((entry) => {
|
|
11195
|
+
if (entry === null) {
|
|
11196
|
+
return null;
|
|
11197
|
+
}
|
|
11198
|
+
return entry;
|
|
11199
|
+
});
|
|
11200
|
+
};
|
|
10901
11201
|
const serializeAws_json1_1CrawlerNameList = (input, context) => {
|
|
10902
11202
|
return input
|
|
10903
11203
|
.filter((e) => e != null)
|
|
@@ -11024,6 +11324,14 @@ const serializeAws_json1_1CreateCsvClassifierRequest = (input, context) => {
|
|
|
11024
11324
|
...(input.QuoteSymbol !== undefined && input.QuoteSymbol !== null && { QuoteSymbol: input.QuoteSymbol }),
|
|
11025
11325
|
};
|
|
11026
11326
|
};
|
|
11327
|
+
const serializeAws_json1_1CreateCustomEntityTypeRequest = (input, context) => {
|
|
11328
|
+
return {
|
|
11329
|
+
...(input.ContextWords !== undefined &&
|
|
11330
|
+
input.ContextWords !== null && { ContextWords: serializeAws_json1_1ContextWords(input.ContextWords, context) }),
|
|
11331
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
11332
|
+
...(input.RegexString !== undefined && input.RegexString !== null && { RegexString: input.RegexString }),
|
|
11333
|
+
};
|
|
11334
|
+
};
|
|
11027
11335
|
const serializeAws_json1_1CreateDatabaseRequest = (input, context) => {
|
|
11028
11336
|
return {
|
|
11029
11337
|
...(input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId }),
|
|
@@ -11305,6 +11613,16 @@ const serializeAws_json1_1CsvHeader = (input, context) => {
|
|
|
11305
11613
|
return entry;
|
|
11306
11614
|
});
|
|
11307
11615
|
};
|
|
11616
|
+
const serializeAws_json1_1CustomEntityTypeNames = (input, context) => {
|
|
11617
|
+
return input
|
|
11618
|
+
.filter((e) => e != null)
|
|
11619
|
+
.map((entry) => {
|
|
11620
|
+
if (entry === null) {
|
|
11621
|
+
return null;
|
|
11622
|
+
}
|
|
11623
|
+
return entry;
|
|
11624
|
+
});
|
|
11625
|
+
};
|
|
11308
11626
|
const serializeAws_json1_1DagEdges = (input, context) => {
|
|
11309
11627
|
return input
|
|
11310
11628
|
.filter((e) => e != null)
|
|
@@ -11447,6 +11765,11 @@ const serializeAws_json1_1DeleteCrawlerRequest = (input, context) => {
|
|
|
11447
11765
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
11448
11766
|
};
|
|
11449
11767
|
};
|
|
11768
|
+
const serializeAws_json1_1DeleteCustomEntityTypeRequest = (input, context) => {
|
|
11769
|
+
return {
|
|
11770
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
11771
|
+
};
|
|
11772
|
+
};
|
|
11450
11773
|
const serializeAws_json1_1DeleteDatabaseRequest = (input, context) => {
|
|
11451
11774
|
return {
|
|
11452
11775
|
...(input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId }),
|
|
@@ -11805,6 +12128,11 @@ const serializeAws_json1_1GetCrawlersRequest = (input, context) => {
|
|
|
11805
12128
|
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
11806
12129
|
};
|
|
11807
12130
|
};
|
|
12131
|
+
const serializeAws_json1_1GetCustomEntityTypeRequest = (input, context) => {
|
|
12132
|
+
return {
|
|
12133
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
12134
|
+
};
|
|
12135
|
+
};
|
|
11808
12136
|
const serializeAws_json1_1GetDatabaseRequest = (input, context) => {
|
|
11809
12137
|
return {
|
|
11810
12138
|
...(input.CatalogId !== undefined && input.CatalogId !== null && { CatalogId: input.CatalogId }),
|
|
@@ -12343,6 +12671,12 @@ const serializeAws_json1_1ListCrawlersRequest = (input, context) => {
|
|
|
12343
12671
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsMap(input.Tags, context) }),
|
|
12344
12672
|
};
|
|
12345
12673
|
};
|
|
12674
|
+
const serializeAws_json1_1ListCustomEntityTypesRequest = (input, context) => {
|
|
12675
|
+
return {
|
|
12676
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
12677
|
+
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
12678
|
+
};
|
|
12679
|
+
};
|
|
12346
12680
|
const serializeAws_json1_1ListDevEndpointsRequest = (input, context) => {
|
|
12347
12681
|
return {
|
|
12348
12682
|
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
@@ -13831,6 +14165,16 @@ const deserializeAws_json1_1BatchGetCrawlersResponse = (output, context) => {
|
|
|
13831
14165
|
: undefined,
|
|
13832
14166
|
};
|
|
13833
14167
|
};
|
|
14168
|
+
const deserializeAws_json1_1BatchGetCustomEntityTypesResponse = (output, context) => {
|
|
14169
|
+
return {
|
|
14170
|
+
CustomEntityTypes: output.CustomEntityTypes !== undefined && output.CustomEntityTypes !== null
|
|
14171
|
+
? deserializeAws_json1_1CustomEntityTypes(output.CustomEntityTypes, context)
|
|
14172
|
+
: undefined,
|
|
14173
|
+
CustomEntityTypesNotFound: output.CustomEntityTypesNotFound !== undefined && output.CustomEntityTypesNotFound !== null
|
|
14174
|
+
? deserializeAws_json1_1CustomEntityTypeNames(output.CustomEntityTypesNotFound, context)
|
|
14175
|
+
: undefined,
|
|
14176
|
+
};
|
|
14177
|
+
};
|
|
13834
14178
|
const deserializeAws_json1_1BatchGetDevEndpointsResponse = (output, context) => {
|
|
13835
14179
|
return {
|
|
13836
14180
|
DevEndpoints: output.DevEndpoints !== undefined && output.DevEndpoints !== null
|
|
@@ -14465,6 +14809,17 @@ const deserializeAws_json1_1ConnectionsList = (output, context) => {
|
|
|
14465
14809
|
: undefined,
|
|
14466
14810
|
};
|
|
14467
14811
|
};
|
|
14812
|
+
const deserializeAws_json1_1ContextWords = (output, context) => {
|
|
14813
|
+
const retVal = (output || [])
|
|
14814
|
+
.filter((e) => e != null)
|
|
14815
|
+
.map((entry) => {
|
|
14816
|
+
if (entry === null) {
|
|
14817
|
+
return null;
|
|
14818
|
+
}
|
|
14819
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
14820
|
+
});
|
|
14821
|
+
return retVal;
|
|
14822
|
+
};
|
|
14468
14823
|
const deserializeAws_json1_1Crawl = (output, context) => {
|
|
14469
14824
|
return {
|
|
14470
14825
|
CompletedOn: output.CompletedOn !== undefined && output.CompletedOn !== null
|
|
@@ -14637,6 +14992,11 @@ const deserializeAws_json1_1CreateConnectionResponse = (output, context) => {
|
|
|
14637
14992
|
const deserializeAws_json1_1CreateCrawlerResponse = (output, context) => {
|
|
14638
14993
|
return {};
|
|
14639
14994
|
};
|
|
14995
|
+
const deserializeAws_json1_1CreateCustomEntityTypeResponse = (output, context) => {
|
|
14996
|
+
return {
|
|
14997
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
14998
|
+
};
|
|
14999
|
+
};
|
|
14640
15000
|
const deserializeAws_json1_1CreateDatabaseResponse = (output, context) => {
|
|
14641
15001
|
return {};
|
|
14642
15002
|
};
|
|
@@ -14783,6 +15143,37 @@ const deserializeAws_json1_1CsvHeader = (output, context) => {
|
|
|
14783
15143
|
});
|
|
14784
15144
|
return retVal;
|
|
14785
15145
|
};
|
|
15146
|
+
const deserializeAws_json1_1CustomEntityType = (output, context) => {
|
|
15147
|
+
return {
|
|
15148
|
+
ContextWords: output.ContextWords !== undefined && output.ContextWords !== null
|
|
15149
|
+
? deserializeAws_json1_1ContextWords(output.ContextWords, context)
|
|
15150
|
+
: undefined,
|
|
15151
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
15152
|
+
RegexString: (0, smithy_client_1.expectString)(output.RegexString),
|
|
15153
|
+
};
|
|
15154
|
+
};
|
|
15155
|
+
const deserializeAws_json1_1CustomEntityTypeNames = (output, context) => {
|
|
15156
|
+
const retVal = (output || [])
|
|
15157
|
+
.filter((e) => e != null)
|
|
15158
|
+
.map((entry) => {
|
|
15159
|
+
if (entry === null) {
|
|
15160
|
+
return null;
|
|
15161
|
+
}
|
|
15162
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
15163
|
+
});
|
|
15164
|
+
return retVal;
|
|
15165
|
+
};
|
|
15166
|
+
const deserializeAws_json1_1CustomEntityTypes = (output, context) => {
|
|
15167
|
+
const retVal = (output || [])
|
|
15168
|
+
.filter((e) => e != null)
|
|
15169
|
+
.map((entry) => {
|
|
15170
|
+
if (entry === null) {
|
|
15171
|
+
return null;
|
|
15172
|
+
}
|
|
15173
|
+
return deserializeAws_json1_1CustomEntityType(entry, context);
|
|
15174
|
+
});
|
|
15175
|
+
return retVal;
|
|
15176
|
+
};
|
|
14786
15177
|
const deserializeAws_json1_1DagEdges = (output, context) => {
|
|
14787
15178
|
const retVal = (output || [])
|
|
14788
15179
|
.filter((e) => e != null)
|
|
@@ -14909,6 +15300,11 @@ const deserializeAws_json1_1DeleteConnectionResponse = (output, context) => {
|
|
|
14909
15300
|
const deserializeAws_json1_1DeleteCrawlerResponse = (output, context) => {
|
|
14910
15301
|
return {};
|
|
14911
15302
|
};
|
|
15303
|
+
const deserializeAws_json1_1DeleteCustomEntityTypeResponse = (output, context) => {
|
|
15304
|
+
return {
|
|
15305
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
15306
|
+
};
|
|
15307
|
+
};
|
|
14912
15308
|
const deserializeAws_json1_1DeleteDatabaseResponse = (output, context) => {
|
|
14913
15309
|
return {};
|
|
14914
15310
|
};
|
|
@@ -15330,6 +15726,15 @@ const deserializeAws_json1_1GetCrawlersResponse = (output, context) => {
|
|
|
15330
15726
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
15331
15727
|
};
|
|
15332
15728
|
};
|
|
15729
|
+
const deserializeAws_json1_1GetCustomEntityTypeResponse = (output, context) => {
|
|
15730
|
+
return {
|
|
15731
|
+
ContextWords: output.ContextWords !== undefined && output.ContextWords !== null
|
|
15732
|
+
? deserializeAws_json1_1ContextWords(output.ContextWords, context)
|
|
15733
|
+
: undefined,
|
|
15734
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
15735
|
+
RegexString: (0, smithy_client_1.expectString)(output.RegexString),
|
|
15736
|
+
};
|
|
15737
|
+
};
|
|
15333
15738
|
const deserializeAws_json1_1GetDatabaseResponse = (output, context) => {
|
|
15334
15739
|
return {
|
|
15335
15740
|
Database: output.Database !== undefined && output.Database !== null
|
|
@@ -16118,6 +16523,14 @@ const deserializeAws_json1_1ListCrawlersResponse = (output, context) => {
|
|
|
16118
16523
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
16119
16524
|
};
|
|
16120
16525
|
};
|
|
16526
|
+
const deserializeAws_json1_1ListCustomEntityTypesResponse = (output, context) => {
|
|
16527
|
+
return {
|
|
16528
|
+
CustomEntityTypes: output.CustomEntityTypes !== undefined && output.CustomEntityTypes !== null
|
|
16529
|
+
? deserializeAws_json1_1CustomEntityTypes(output.CustomEntityTypes, context)
|
|
16530
|
+
: undefined,
|
|
16531
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
16532
|
+
};
|
|
16533
|
+
};
|
|
16121
16534
|
const deserializeAws_json1_1ListDevEndpointsResponse = (output, context) => {
|
|
16122
16535
|
return {
|
|
16123
16536
|
DevEndpointNames: output.DevEndpointNames !== undefined && output.DevEndpointNames !== null
|