@aws-sdk/client-database-migration-service 3.379.1 → 3.384.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 +224 -0
- package/dist-cjs/DatabaseMigrationService.js +56 -0
- package/dist-cjs/commands/CreateDataProviderCommand.js +46 -0
- package/dist-cjs/commands/CreateInstanceProfileCommand.js +46 -0
- package/dist-cjs/commands/CreateMigrationProjectCommand.js +46 -0
- package/dist-cjs/commands/DeleteDataProviderCommand.js +46 -0
- package/dist-cjs/commands/DeleteInstanceProfileCommand.js +46 -0
- package/dist-cjs/commands/DeleteMigrationProjectCommand.js +46 -0
- package/dist-cjs/commands/DescribeConversionConfigurationCommand.js +46 -0
- package/dist-cjs/commands/DescribeDataProvidersCommand.js +46 -0
- package/dist-cjs/commands/DescribeEngineVersionsCommand.js +46 -0
- package/dist-cjs/commands/DescribeExtensionPackAssociationsCommand.js +46 -0
- package/dist-cjs/commands/DescribeInstanceProfilesCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelAssessmentsCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelConversionsCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelExportsAsScriptCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelExportsToTargetCommand.js +46 -0
- package/dist-cjs/commands/DescribeMetadataModelImportsCommand.js +46 -0
- package/dist-cjs/commands/DescribeMigrationProjectsCommand.js +46 -0
- package/dist-cjs/commands/ExportMetadataModelAssessmentCommand.js +46 -0
- package/dist-cjs/commands/ModifyConversionConfigurationCommand.js +46 -0
- package/dist-cjs/commands/ModifyDataProviderCommand.js +46 -0
- package/dist-cjs/commands/ModifyInstanceProfileCommand.js +46 -0
- package/dist-cjs/commands/ModifyMigrationProjectCommand.js +46 -0
- package/dist-cjs/commands/StartExtensionPackAssociationCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelAssessmentCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelConversionCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelExportAsScriptCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelExportToTargetCommand.js +46 -0
- package/dist-cjs/commands/StartMetadataModelImportCommand.js +46 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +65 -87
- package/dist-cjs/models/models_1.js +56 -0
- package/dist-cjs/pagination/DescribeDataProvidersPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeEngineVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeExtensionPackAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeInstanceProfilesPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelAssessmentsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelConversionsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelExportsAsScriptPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelExportsToTargetPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMetadataModelImportsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeMigrationProjectsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +11 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1601 -109
- package/dist-es/DatabaseMigrationService.js +56 -0
- package/dist-es/commands/CreateDataProviderCommand.js +42 -0
- package/dist-es/commands/CreateInstanceProfileCommand.js +42 -0
- package/dist-es/commands/CreateMigrationProjectCommand.js +42 -0
- package/dist-es/commands/DeleteDataProviderCommand.js +42 -0
- package/dist-es/commands/DeleteInstanceProfileCommand.js +42 -0
- package/dist-es/commands/DeleteMigrationProjectCommand.js +42 -0
- package/dist-es/commands/DescribeConversionConfigurationCommand.js +42 -0
- package/dist-es/commands/DescribeDataProvidersCommand.js +42 -0
- package/dist-es/commands/DescribeEngineVersionsCommand.js +42 -0
- package/dist-es/commands/DescribeExtensionPackAssociationsCommand.js +42 -0
- package/dist-es/commands/DescribeInstanceProfilesCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelAssessmentsCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelConversionsCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelExportsAsScriptCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelExportsToTargetCommand.js +42 -0
- package/dist-es/commands/DescribeMetadataModelImportsCommand.js +42 -0
- package/dist-es/commands/DescribeMigrationProjectsCommand.js +42 -0
- package/dist-es/commands/ExportMetadataModelAssessmentCommand.js +42 -0
- package/dist-es/commands/ModifyConversionConfigurationCommand.js +42 -0
- package/dist-es/commands/ModifyDataProviderCommand.js +42 -0
- package/dist-es/commands/ModifyInstanceProfileCommand.js +42 -0
- package/dist-es/commands/ModifyMigrationProjectCommand.js +42 -0
- package/dist-es/commands/StartExtensionPackAssociationCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelAssessmentCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelConversionCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelExportAsScriptCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelExportToTargetCommand.js +42 -0
- package/dist-es/commands/StartMetadataModelImportCommand.js +42 -0
- package/dist-es/commands/index.js +28 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +61 -80
- package/dist-es/models/models_1.js +50 -0
- package/dist-es/pagination/DescribeDataProvidersPaginator.js +25 -0
- package/dist-es/pagination/DescribeEngineVersionsPaginator.js +25 -0
- package/dist-es/pagination/DescribeExtensionPackAssociationsPaginator.js +25 -0
- package/dist-es/pagination/DescribeInstanceProfilesPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelAssessmentsPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelConversionsPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelExportsAsScriptPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelExportsToTargetPaginator.js +25 -0
- package/dist-es/pagination/DescribeMetadataModelImportsPaginator.js +25 -0
- package/dist-es/pagination/DescribeMigrationProjectsPaginator.js +25 -0
- package/dist-es/pagination/index.js +11 -1
- package/dist-es/protocols/Aws_json1_1.js +1539 -104
- package/dist-types/DatabaseMigrationService.d.ts +196 -0
- package/dist-types/DatabaseMigrationServiceClient.d.ts +30 -2
- package/dist-types/commands/CreateDataProviderCommand.d.ts +167 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +128 -0
- package/dist-types/commands/CreateMigrationProjectCommand.d.ts +151 -0
- package/dist-types/commands/DeleteDataProviderCommand.d.ts +127 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +100 -0
- package/dist-types/commands/DeleteMigrationProjectCommand.d.ts +114 -0
- package/dist-types/commands/DescribeConversionConfigurationCommand.d.ts +77 -0
- package/dist-types/commands/DescribeDataProvidersCommand.d.ts +132 -0
- package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +88 -0
- package/dist-types/commands/DescribeExtensionPackAssociationsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeInstanceProfilesCommand.d.ts +105 -0
- package/dist-types/commands/DescribeMetadataModelAssessmentsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMetadataModelConversionsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMetadataModelExportsAsScriptCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMetadataModelExportsToTargetCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMetadataModelImportsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeMigrationProjectsCommand.d.ts +120 -0
- package/dist-types/commands/ExportMetadataModelAssessmentCommand.d.ts +89 -0
- package/dist-types/commands/ModifyConversionConfigurationCommand.d.ts +80 -0
- package/dist-types/commands/ModifyDataProviderCommand.d.ts +164 -0
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceProfileCommand.d.ts +120 -0
- package/dist-types/commands/ModifyMigrationProjectCommand.d.ts +143 -0
- package/dist-types/commands/ModifyReplicationConfigCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReplicationInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReplicationSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReplicationTaskCommand.d.ts +1 -1
- package/dist-types/commands/MoveReplicationTaskCommand.d.ts +1 -1
- package/dist-types/commands/RebootReplicationInstanceCommand.d.ts +1 -1
- package/dist-types/commands/RefreshSchemasCommand.d.ts +1 -1
- package/dist-types/commands/ReloadReplicationTablesCommand.d.ts +1 -1
- package/dist-types/commands/ReloadTablesCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/dist-types/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartExtensionPackAssociationCommand.d.ts +102 -0
- package/dist-types/commands/StartMetadataModelAssessmentCommand.d.ts +103 -0
- package/dist-types/commands/StartMetadataModelConversionCommand.d.ts +100 -0
- package/dist-types/commands/StartMetadataModelExportAsScriptCommand.d.ts +102 -0
- package/dist-types/commands/StartMetadataModelExportToTargetCommand.d.ts +101 -0
- package/dist-types/commands/StartMetadataModelImportCommand.d.ts +103 -0
- package/dist-types/commands/StartRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationTaskAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationTaskAssessmentRunCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationTaskCommand.d.ts +1 -1
- package/dist-types/commands/StopReplicationCommand.d.ts +1 -1
- package/dist-types/commands/StopReplicationTaskCommand.d.ts +1 -1
- package/dist-types/commands/TestConnectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +28 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2691 -1072
- package/dist-types/models/models_1.d.ts +1322 -0
- package/dist-types/pagination/DescribeDataProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeEngineVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeExtensionPackAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeInstanceProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelAssessmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelConversionsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelExportsAsScriptPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelExportsToTargetPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMetadataModelImportsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeMigrationProjectsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +11 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +252 -0
- package/dist-types/ts3.4/DatabaseMigrationService.d.ts +494 -0
- package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +168 -0
- package/dist-types/ts3.4/commands/CreateDataProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateMigrationProjectCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteDataProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteMigrationProjectCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeConversionConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDataProvidersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeExtensionPackAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeInstanceProfilesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelAssessmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelConversionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelExportsAsScriptCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelExportsToTargetCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMetadataModelImportsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeMigrationProjectsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ExportMetadataModelAssessmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyConversionConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyDataProviderCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyMigrationProjectCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyReplicationConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReplicationInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReplicationSubnetGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReplicationTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MoveReplicationTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RebootReplicationInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RefreshSchemasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReloadReplicationTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReloadTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartExtensionPackAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelAssessmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelConversionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelExportAsScriptCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelExportToTargetCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMetadataModelImportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartRecommendationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartReplicationTaskAssessmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartReplicationTaskAssessmentRunCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartReplicationTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopReplicationTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +28 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +398 -242
- package/dist-types/ts3.4/models/models_1.d.ts +312 -0
- package/dist-types/ts3.4/pagination/DescribeDataProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeEngineVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeExtensionPackAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeInstanceProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelAssessmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelConversionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelExportsAsScriptPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelExportsToTargetPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMetadataModelImportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeMigrationProjectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +11 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +336 -0
- package/package.json +5 -5
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
3
|
+
exports.se_DescribeMetadataModelConversionsCommand = exports.se_DescribeMetadataModelAssessmentsCommand = exports.se_DescribeInstanceProfilesCommand = exports.se_DescribeFleetAdvisorSchemasCommand = exports.se_DescribeFleetAdvisorSchemaObjectSummaryCommand = exports.se_DescribeFleetAdvisorLsaAnalysisCommand = exports.se_DescribeFleetAdvisorDatabasesCommand = exports.se_DescribeFleetAdvisorCollectorsCommand = exports.se_DescribeExtensionPackAssociationsCommand = exports.se_DescribeEventSubscriptionsCommand = exports.se_DescribeEventsCommand = exports.se_DescribeEventCategoriesCommand = exports.se_DescribeEngineVersionsCommand = exports.se_DescribeEndpointTypesCommand = exports.se_DescribeEndpointSettingsCommand = exports.se_DescribeEndpointsCommand = exports.se_DescribeDataProvidersCommand = exports.se_DescribeConversionConfigurationCommand = exports.se_DescribeConnectionsCommand = exports.se_DescribeCertificatesCommand = exports.se_DescribeApplicableIndividualAssessmentsCommand = exports.se_DescribeAccountAttributesCommand = exports.se_DeleteReplicationTaskAssessmentRunCommand = exports.se_DeleteReplicationTaskCommand = exports.se_DeleteReplicationSubnetGroupCommand = exports.se_DeleteReplicationInstanceCommand = exports.se_DeleteReplicationConfigCommand = exports.se_DeleteMigrationProjectCommand = exports.se_DeleteInstanceProfileCommand = exports.se_DeleteFleetAdvisorDatabasesCommand = exports.se_DeleteFleetAdvisorCollectorCommand = exports.se_DeleteEventSubscriptionCommand = exports.se_DeleteEndpointCommand = exports.se_DeleteDataProviderCommand = exports.se_DeleteConnectionCommand = exports.se_DeleteCertificateCommand = exports.se_CreateReplicationTaskCommand = exports.se_CreateReplicationSubnetGroupCommand = exports.se_CreateReplicationInstanceCommand = exports.se_CreateReplicationConfigCommand = exports.se_CreateMigrationProjectCommand = exports.se_CreateInstanceProfileCommand = exports.se_CreateFleetAdvisorCollectorCommand = exports.se_CreateEventSubscriptionCommand = exports.se_CreateEndpointCommand = exports.se_CreateDataProviderCommand = exports.se_CancelReplicationTaskAssessmentRunCommand = exports.se_BatchStartRecommendationsCommand = exports.se_ApplyPendingMaintenanceActionCommand = exports.se_AddTagsToResourceCommand = void 0;
|
|
4
|
+
exports.se_StartReplicationTaskCommand = exports.se_StartReplicationCommand = exports.se_StartRecommendationsCommand = exports.se_StartMetadataModelImportCommand = exports.se_StartMetadataModelExportToTargetCommand = exports.se_StartMetadataModelExportAsScriptCommand = exports.se_StartMetadataModelConversionCommand = exports.se_StartMetadataModelAssessmentCommand = exports.se_StartExtensionPackAssociationCommand = exports.se_RunFleetAdvisorLsaAnalysisCommand = exports.se_RemoveTagsFromResourceCommand = exports.se_ReloadTablesCommand = exports.se_ReloadReplicationTablesCommand = exports.se_RefreshSchemasCommand = exports.se_RebootReplicationInstanceCommand = exports.se_MoveReplicationTaskCommand = exports.se_ModifyReplicationTaskCommand = exports.se_ModifyReplicationSubnetGroupCommand = exports.se_ModifyReplicationInstanceCommand = exports.se_ModifyReplicationConfigCommand = exports.se_ModifyMigrationProjectCommand = exports.se_ModifyInstanceProfileCommand = exports.se_ModifyEventSubscriptionCommand = exports.se_ModifyEndpointCommand = exports.se_ModifyDataProviderCommand = exports.se_ModifyConversionConfigurationCommand = exports.se_ListTagsForResourceCommand = exports.se_ImportCertificateCommand = exports.se_ExportMetadataModelAssessmentCommand = exports.se_DescribeTableStatisticsCommand = exports.se_DescribeSchemasCommand = exports.se_DescribeReplicationTasksCommand = exports.se_DescribeReplicationTaskIndividualAssessmentsCommand = exports.se_DescribeReplicationTaskAssessmentRunsCommand = exports.se_DescribeReplicationTaskAssessmentResultsCommand = exports.se_DescribeReplicationTableStatisticsCommand = exports.se_DescribeReplicationSubnetGroupsCommand = exports.se_DescribeReplicationsCommand = exports.se_DescribeReplicationInstanceTaskLogsCommand = exports.se_DescribeReplicationInstancesCommand = exports.se_DescribeReplicationConfigsCommand = exports.se_DescribeRefreshSchemasStatusCommand = exports.se_DescribeRecommendationsCommand = exports.se_DescribeRecommendationLimitationsCommand = exports.se_DescribePendingMaintenanceActionsCommand = exports.se_DescribeOrderableReplicationInstancesCommand = exports.se_DescribeMigrationProjectsCommand = exports.se_DescribeMetadataModelImportsCommand = exports.se_DescribeMetadataModelExportsToTargetCommand = exports.se_DescribeMetadataModelExportsAsScriptCommand = void 0;
|
|
5
|
+
exports.de_DescribeFleetAdvisorDatabasesCommand = exports.de_DescribeFleetAdvisorCollectorsCommand = exports.de_DescribeExtensionPackAssociationsCommand = exports.de_DescribeEventSubscriptionsCommand = exports.de_DescribeEventsCommand = exports.de_DescribeEventCategoriesCommand = exports.de_DescribeEngineVersionsCommand = exports.de_DescribeEndpointTypesCommand = exports.de_DescribeEndpointSettingsCommand = exports.de_DescribeEndpointsCommand = exports.de_DescribeDataProvidersCommand = exports.de_DescribeConversionConfigurationCommand = exports.de_DescribeConnectionsCommand = exports.de_DescribeCertificatesCommand = exports.de_DescribeApplicableIndividualAssessmentsCommand = exports.de_DescribeAccountAttributesCommand = exports.de_DeleteReplicationTaskAssessmentRunCommand = exports.de_DeleteReplicationTaskCommand = exports.de_DeleteReplicationSubnetGroupCommand = exports.de_DeleteReplicationInstanceCommand = exports.de_DeleteReplicationConfigCommand = exports.de_DeleteMigrationProjectCommand = exports.de_DeleteInstanceProfileCommand = exports.de_DeleteFleetAdvisorDatabasesCommand = exports.de_DeleteFleetAdvisorCollectorCommand = exports.de_DeleteEventSubscriptionCommand = exports.de_DeleteEndpointCommand = exports.de_DeleteDataProviderCommand = exports.de_DeleteConnectionCommand = exports.de_DeleteCertificateCommand = exports.de_CreateReplicationTaskCommand = exports.de_CreateReplicationSubnetGroupCommand = exports.de_CreateReplicationInstanceCommand = exports.de_CreateReplicationConfigCommand = exports.de_CreateMigrationProjectCommand = exports.de_CreateInstanceProfileCommand = exports.de_CreateFleetAdvisorCollectorCommand = exports.de_CreateEventSubscriptionCommand = exports.de_CreateEndpointCommand = exports.de_CreateDataProviderCommand = exports.de_CancelReplicationTaskAssessmentRunCommand = exports.de_BatchStartRecommendationsCommand = exports.de_ApplyPendingMaintenanceActionCommand = exports.de_AddTagsToResourceCommand = exports.se_UpdateSubscriptionsToEventBridgeCommand = exports.se_TestConnectionCommand = exports.se_StopReplicationTaskCommand = exports.se_StopReplicationCommand = exports.se_StartReplicationTaskAssessmentRunCommand = exports.se_StartReplicationTaskAssessmentCommand = void 0;
|
|
6
|
+
exports.de_StartMetadataModelConversionCommand = exports.de_StartMetadataModelAssessmentCommand = exports.de_StartExtensionPackAssociationCommand = exports.de_RunFleetAdvisorLsaAnalysisCommand = exports.de_RemoveTagsFromResourceCommand = exports.de_ReloadTablesCommand = exports.de_ReloadReplicationTablesCommand = exports.de_RefreshSchemasCommand = exports.de_RebootReplicationInstanceCommand = exports.de_MoveReplicationTaskCommand = exports.de_ModifyReplicationTaskCommand = exports.de_ModifyReplicationSubnetGroupCommand = exports.de_ModifyReplicationInstanceCommand = exports.de_ModifyReplicationConfigCommand = exports.de_ModifyMigrationProjectCommand = exports.de_ModifyInstanceProfileCommand = exports.de_ModifyEventSubscriptionCommand = exports.de_ModifyEndpointCommand = exports.de_ModifyDataProviderCommand = exports.de_ModifyConversionConfigurationCommand = exports.de_ListTagsForResourceCommand = exports.de_ImportCertificateCommand = exports.de_ExportMetadataModelAssessmentCommand = exports.de_DescribeTableStatisticsCommand = exports.de_DescribeSchemasCommand = exports.de_DescribeReplicationTasksCommand = exports.de_DescribeReplicationTaskIndividualAssessmentsCommand = exports.de_DescribeReplicationTaskAssessmentRunsCommand = exports.de_DescribeReplicationTaskAssessmentResultsCommand = exports.de_DescribeReplicationTableStatisticsCommand = exports.de_DescribeReplicationSubnetGroupsCommand = exports.de_DescribeReplicationsCommand = exports.de_DescribeReplicationInstanceTaskLogsCommand = exports.de_DescribeReplicationInstancesCommand = exports.de_DescribeReplicationConfigsCommand = exports.de_DescribeRefreshSchemasStatusCommand = exports.de_DescribeRecommendationsCommand = exports.de_DescribeRecommendationLimitationsCommand = exports.de_DescribePendingMaintenanceActionsCommand = exports.de_DescribeOrderableReplicationInstancesCommand = exports.de_DescribeMigrationProjectsCommand = exports.de_DescribeMetadataModelImportsCommand = exports.de_DescribeMetadataModelExportsToTargetCommand = exports.de_DescribeMetadataModelExportsAsScriptCommand = exports.de_DescribeMetadataModelConversionsCommand = exports.de_DescribeMetadataModelAssessmentsCommand = exports.de_DescribeInstanceProfilesCommand = exports.de_DescribeFleetAdvisorSchemasCommand = exports.de_DescribeFleetAdvisorSchemaObjectSummaryCommand = exports.de_DescribeFleetAdvisorLsaAnalysisCommand = void 0;
|
|
7
|
+
exports.de_UpdateSubscriptionsToEventBridgeCommand = exports.de_TestConnectionCommand = exports.de_StopReplicationTaskCommand = exports.de_StopReplicationCommand = exports.de_StartReplicationTaskAssessmentRunCommand = exports.de_StartReplicationTaskAssessmentCommand = exports.de_StartReplicationTaskCommand = exports.de_StartReplicationCommand = exports.de_StartRecommendationsCommand = exports.de_StartMetadataModelImportCommand = exports.de_StartMetadataModelExportToTargetCommand = exports.de_StartMetadataModelExportAsScriptCommand = void 0;
|
|
7
8
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
8
9
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
10
|
const DatabaseMigrationServiceServiceException_1 = require("../models/DatabaseMigrationServiceServiceException");
|
|
10
11
|
const models_0_1 = require("../models/models_0");
|
|
12
|
+
const models_1_1 = require("../models/models_1");
|
|
11
13
|
const se_AddTagsToResourceCommand = async (input, context) => {
|
|
12
14
|
const headers = sharedHeaders("AddTagsToResource");
|
|
13
15
|
let body;
|
|
@@ -36,6 +38,13 @@ const se_CancelReplicationTaskAssessmentRunCommand = async (input, context) => {
|
|
|
36
38
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
39
|
};
|
|
38
40
|
exports.se_CancelReplicationTaskAssessmentRunCommand = se_CancelReplicationTaskAssessmentRunCommand;
|
|
41
|
+
const se_CreateDataProviderCommand = async (input, context) => {
|
|
42
|
+
const headers = sharedHeaders("CreateDataProvider");
|
|
43
|
+
let body;
|
|
44
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
45
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
|
+
};
|
|
47
|
+
exports.se_CreateDataProviderCommand = se_CreateDataProviderCommand;
|
|
39
48
|
const se_CreateEndpointCommand = async (input, context) => {
|
|
40
49
|
const headers = sharedHeaders("CreateEndpoint");
|
|
41
50
|
let body;
|
|
@@ -57,6 +66,20 @@ const se_CreateFleetAdvisorCollectorCommand = async (input, context) => {
|
|
|
57
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
67
|
};
|
|
59
68
|
exports.se_CreateFleetAdvisorCollectorCommand = se_CreateFleetAdvisorCollectorCommand;
|
|
69
|
+
const se_CreateInstanceProfileCommand = async (input, context) => {
|
|
70
|
+
const headers = sharedHeaders("CreateInstanceProfile");
|
|
71
|
+
let body;
|
|
72
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
73
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
74
|
+
};
|
|
75
|
+
exports.se_CreateInstanceProfileCommand = se_CreateInstanceProfileCommand;
|
|
76
|
+
const se_CreateMigrationProjectCommand = async (input, context) => {
|
|
77
|
+
const headers = sharedHeaders("CreateMigrationProject");
|
|
78
|
+
let body;
|
|
79
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
80
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
81
|
+
};
|
|
82
|
+
exports.se_CreateMigrationProjectCommand = se_CreateMigrationProjectCommand;
|
|
60
83
|
const se_CreateReplicationConfigCommand = async (input, context) => {
|
|
61
84
|
const headers = sharedHeaders("CreateReplicationConfig");
|
|
62
85
|
let body;
|
|
@@ -99,6 +122,13 @@ const se_DeleteConnectionCommand = async (input, context) => {
|
|
|
99
122
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
123
|
};
|
|
101
124
|
exports.se_DeleteConnectionCommand = se_DeleteConnectionCommand;
|
|
125
|
+
const se_DeleteDataProviderCommand = async (input, context) => {
|
|
126
|
+
const headers = sharedHeaders("DeleteDataProvider");
|
|
127
|
+
let body;
|
|
128
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
129
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
|
+
};
|
|
131
|
+
exports.se_DeleteDataProviderCommand = se_DeleteDataProviderCommand;
|
|
102
132
|
const se_DeleteEndpointCommand = async (input, context) => {
|
|
103
133
|
const headers = sharedHeaders("DeleteEndpoint");
|
|
104
134
|
let body;
|
|
@@ -127,6 +157,20 @@ const se_DeleteFleetAdvisorDatabasesCommand = async (input, context) => {
|
|
|
127
157
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
158
|
};
|
|
129
159
|
exports.se_DeleteFleetAdvisorDatabasesCommand = se_DeleteFleetAdvisorDatabasesCommand;
|
|
160
|
+
const se_DeleteInstanceProfileCommand = async (input, context) => {
|
|
161
|
+
const headers = sharedHeaders("DeleteInstanceProfile");
|
|
162
|
+
let body;
|
|
163
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
164
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
165
|
+
};
|
|
166
|
+
exports.se_DeleteInstanceProfileCommand = se_DeleteInstanceProfileCommand;
|
|
167
|
+
const se_DeleteMigrationProjectCommand = async (input, context) => {
|
|
168
|
+
const headers = sharedHeaders("DeleteMigrationProject");
|
|
169
|
+
let body;
|
|
170
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
171
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
172
|
+
};
|
|
173
|
+
exports.se_DeleteMigrationProjectCommand = se_DeleteMigrationProjectCommand;
|
|
130
174
|
const se_DeleteReplicationConfigCommand = async (input, context) => {
|
|
131
175
|
const headers = sharedHeaders("DeleteReplicationConfig");
|
|
132
176
|
let body;
|
|
@@ -190,6 +234,20 @@ const se_DescribeConnectionsCommand = async (input, context) => {
|
|
|
190
234
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
235
|
};
|
|
192
236
|
exports.se_DescribeConnectionsCommand = se_DescribeConnectionsCommand;
|
|
237
|
+
const se_DescribeConversionConfigurationCommand = async (input, context) => {
|
|
238
|
+
const headers = sharedHeaders("DescribeConversionConfiguration");
|
|
239
|
+
let body;
|
|
240
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
241
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
242
|
+
};
|
|
243
|
+
exports.se_DescribeConversionConfigurationCommand = se_DescribeConversionConfigurationCommand;
|
|
244
|
+
const se_DescribeDataProvidersCommand = async (input, context) => {
|
|
245
|
+
const headers = sharedHeaders("DescribeDataProviders");
|
|
246
|
+
let body;
|
|
247
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
248
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
249
|
+
};
|
|
250
|
+
exports.se_DescribeDataProvidersCommand = se_DescribeDataProvidersCommand;
|
|
193
251
|
const se_DescribeEndpointsCommand = async (input, context) => {
|
|
194
252
|
const headers = sharedHeaders("DescribeEndpoints");
|
|
195
253
|
let body;
|
|
@@ -211,6 +269,13 @@ const se_DescribeEndpointTypesCommand = async (input, context) => {
|
|
|
211
269
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
212
270
|
};
|
|
213
271
|
exports.se_DescribeEndpointTypesCommand = se_DescribeEndpointTypesCommand;
|
|
272
|
+
const se_DescribeEngineVersionsCommand = async (input, context) => {
|
|
273
|
+
const headers = sharedHeaders("DescribeEngineVersions");
|
|
274
|
+
let body;
|
|
275
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
276
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
|
+
};
|
|
278
|
+
exports.se_DescribeEngineVersionsCommand = se_DescribeEngineVersionsCommand;
|
|
214
279
|
const se_DescribeEventCategoriesCommand = async (input, context) => {
|
|
215
280
|
const headers = sharedHeaders("DescribeEventCategories");
|
|
216
281
|
let body;
|
|
@@ -232,6 +297,13 @@ const se_DescribeEventSubscriptionsCommand = async (input, context) => {
|
|
|
232
297
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
298
|
};
|
|
234
299
|
exports.se_DescribeEventSubscriptionsCommand = se_DescribeEventSubscriptionsCommand;
|
|
300
|
+
const se_DescribeExtensionPackAssociationsCommand = async (input, context) => {
|
|
301
|
+
const headers = sharedHeaders("DescribeExtensionPackAssociations");
|
|
302
|
+
let body;
|
|
303
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
304
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
+
};
|
|
306
|
+
exports.se_DescribeExtensionPackAssociationsCommand = se_DescribeExtensionPackAssociationsCommand;
|
|
235
307
|
const se_DescribeFleetAdvisorCollectorsCommand = async (input, context) => {
|
|
236
308
|
const headers = sharedHeaders("DescribeFleetAdvisorCollectors");
|
|
237
309
|
let body;
|
|
@@ -267,6 +339,55 @@ const se_DescribeFleetAdvisorSchemasCommand = async (input, context) => {
|
|
|
267
339
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
340
|
};
|
|
269
341
|
exports.se_DescribeFleetAdvisorSchemasCommand = se_DescribeFleetAdvisorSchemasCommand;
|
|
342
|
+
const se_DescribeInstanceProfilesCommand = async (input, context) => {
|
|
343
|
+
const headers = sharedHeaders("DescribeInstanceProfiles");
|
|
344
|
+
let body;
|
|
345
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
346
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
|
+
};
|
|
348
|
+
exports.se_DescribeInstanceProfilesCommand = se_DescribeInstanceProfilesCommand;
|
|
349
|
+
const se_DescribeMetadataModelAssessmentsCommand = async (input, context) => {
|
|
350
|
+
const headers = sharedHeaders("DescribeMetadataModelAssessments");
|
|
351
|
+
let body;
|
|
352
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
353
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
354
|
+
};
|
|
355
|
+
exports.se_DescribeMetadataModelAssessmentsCommand = se_DescribeMetadataModelAssessmentsCommand;
|
|
356
|
+
const se_DescribeMetadataModelConversionsCommand = async (input, context) => {
|
|
357
|
+
const headers = sharedHeaders("DescribeMetadataModelConversions");
|
|
358
|
+
let body;
|
|
359
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
360
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
361
|
+
};
|
|
362
|
+
exports.se_DescribeMetadataModelConversionsCommand = se_DescribeMetadataModelConversionsCommand;
|
|
363
|
+
const se_DescribeMetadataModelExportsAsScriptCommand = async (input, context) => {
|
|
364
|
+
const headers = sharedHeaders("DescribeMetadataModelExportsAsScript");
|
|
365
|
+
let body;
|
|
366
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
367
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
368
|
+
};
|
|
369
|
+
exports.se_DescribeMetadataModelExportsAsScriptCommand = se_DescribeMetadataModelExportsAsScriptCommand;
|
|
370
|
+
const se_DescribeMetadataModelExportsToTargetCommand = async (input, context) => {
|
|
371
|
+
const headers = sharedHeaders("DescribeMetadataModelExportsToTarget");
|
|
372
|
+
let body;
|
|
373
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
374
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
375
|
+
};
|
|
376
|
+
exports.se_DescribeMetadataModelExportsToTargetCommand = se_DescribeMetadataModelExportsToTargetCommand;
|
|
377
|
+
const se_DescribeMetadataModelImportsCommand = async (input, context) => {
|
|
378
|
+
const headers = sharedHeaders("DescribeMetadataModelImports");
|
|
379
|
+
let body;
|
|
380
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
381
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
|
+
};
|
|
383
|
+
exports.se_DescribeMetadataModelImportsCommand = se_DescribeMetadataModelImportsCommand;
|
|
384
|
+
const se_DescribeMigrationProjectsCommand = async (input, context) => {
|
|
385
|
+
const headers = sharedHeaders("DescribeMigrationProjects");
|
|
386
|
+
let body;
|
|
387
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
388
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
389
|
+
};
|
|
390
|
+
exports.se_DescribeMigrationProjectsCommand = se_DescribeMigrationProjectsCommand;
|
|
270
391
|
const se_DescribeOrderableReplicationInstancesCommand = async (input, context) => {
|
|
271
392
|
const headers = sharedHeaders("DescribeOrderableReplicationInstances");
|
|
272
393
|
let body;
|
|
@@ -386,6 +507,13 @@ const se_DescribeTableStatisticsCommand = async (input, context) => {
|
|
|
386
507
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
387
508
|
};
|
|
388
509
|
exports.se_DescribeTableStatisticsCommand = se_DescribeTableStatisticsCommand;
|
|
510
|
+
const se_ExportMetadataModelAssessmentCommand = async (input, context) => {
|
|
511
|
+
const headers = sharedHeaders("ExportMetadataModelAssessment");
|
|
512
|
+
let body;
|
|
513
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
514
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
515
|
+
};
|
|
516
|
+
exports.se_ExportMetadataModelAssessmentCommand = se_ExportMetadataModelAssessmentCommand;
|
|
389
517
|
const se_ImportCertificateCommand = async (input, context) => {
|
|
390
518
|
const headers = sharedHeaders("ImportCertificate");
|
|
391
519
|
let body;
|
|
@@ -400,6 +528,20 @@ const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
400
528
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
529
|
};
|
|
402
530
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
531
|
+
const se_ModifyConversionConfigurationCommand = async (input, context) => {
|
|
532
|
+
const headers = sharedHeaders("ModifyConversionConfiguration");
|
|
533
|
+
let body;
|
|
534
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
535
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
536
|
+
};
|
|
537
|
+
exports.se_ModifyConversionConfigurationCommand = se_ModifyConversionConfigurationCommand;
|
|
538
|
+
const se_ModifyDataProviderCommand = async (input, context) => {
|
|
539
|
+
const headers = sharedHeaders("ModifyDataProvider");
|
|
540
|
+
let body;
|
|
541
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
542
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
543
|
+
};
|
|
544
|
+
exports.se_ModifyDataProviderCommand = se_ModifyDataProviderCommand;
|
|
403
545
|
const se_ModifyEndpointCommand = async (input, context) => {
|
|
404
546
|
const headers = sharedHeaders("ModifyEndpoint");
|
|
405
547
|
let body;
|
|
@@ -414,6 +556,20 @@ const se_ModifyEventSubscriptionCommand = async (input, context) => {
|
|
|
414
556
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
415
557
|
};
|
|
416
558
|
exports.se_ModifyEventSubscriptionCommand = se_ModifyEventSubscriptionCommand;
|
|
559
|
+
const se_ModifyInstanceProfileCommand = async (input, context) => {
|
|
560
|
+
const headers = sharedHeaders("ModifyInstanceProfile");
|
|
561
|
+
let body;
|
|
562
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
563
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
564
|
+
};
|
|
565
|
+
exports.se_ModifyInstanceProfileCommand = se_ModifyInstanceProfileCommand;
|
|
566
|
+
const se_ModifyMigrationProjectCommand = async (input, context) => {
|
|
567
|
+
const headers = sharedHeaders("ModifyMigrationProject");
|
|
568
|
+
let body;
|
|
569
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
570
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
571
|
+
};
|
|
572
|
+
exports.se_ModifyMigrationProjectCommand = se_ModifyMigrationProjectCommand;
|
|
417
573
|
const se_ModifyReplicationConfigCommand = async (input, context) => {
|
|
418
574
|
const headers = sharedHeaders("ModifyReplicationConfig");
|
|
419
575
|
let body;
|
|
@@ -490,6 +646,48 @@ const se_RunFleetAdvisorLsaAnalysisCommand = async (input, context) => {
|
|
|
490
646
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
491
647
|
};
|
|
492
648
|
exports.se_RunFleetAdvisorLsaAnalysisCommand = se_RunFleetAdvisorLsaAnalysisCommand;
|
|
649
|
+
const se_StartExtensionPackAssociationCommand = async (input, context) => {
|
|
650
|
+
const headers = sharedHeaders("StartExtensionPackAssociation");
|
|
651
|
+
let body;
|
|
652
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
653
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
654
|
+
};
|
|
655
|
+
exports.se_StartExtensionPackAssociationCommand = se_StartExtensionPackAssociationCommand;
|
|
656
|
+
const se_StartMetadataModelAssessmentCommand = async (input, context) => {
|
|
657
|
+
const headers = sharedHeaders("StartMetadataModelAssessment");
|
|
658
|
+
let body;
|
|
659
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
660
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
661
|
+
};
|
|
662
|
+
exports.se_StartMetadataModelAssessmentCommand = se_StartMetadataModelAssessmentCommand;
|
|
663
|
+
const se_StartMetadataModelConversionCommand = async (input, context) => {
|
|
664
|
+
const headers = sharedHeaders("StartMetadataModelConversion");
|
|
665
|
+
let body;
|
|
666
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
667
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
668
|
+
};
|
|
669
|
+
exports.se_StartMetadataModelConversionCommand = se_StartMetadataModelConversionCommand;
|
|
670
|
+
const se_StartMetadataModelExportAsScriptCommand = async (input, context) => {
|
|
671
|
+
const headers = sharedHeaders("StartMetadataModelExportAsScript");
|
|
672
|
+
let body;
|
|
673
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
674
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
675
|
+
};
|
|
676
|
+
exports.se_StartMetadataModelExportAsScriptCommand = se_StartMetadataModelExportAsScriptCommand;
|
|
677
|
+
const se_StartMetadataModelExportToTargetCommand = async (input, context) => {
|
|
678
|
+
const headers = sharedHeaders("StartMetadataModelExportToTarget");
|
|
679
|
+
let body;
|
|
680
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
681
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
682
|
+
};
|
|
683
|
+
exports.se_StartMetadataModelExportToTargetCommand = se_StartMetadataModelExportToTargetCommand;
|
|
684
|
+
const se_StartMetadataModelImportCommand = async (input, context) => {
|
|
685
|
+
const headers = sharedHeaders("StartMetadataModelImport");
|
|
686
|
+
let body;
|
|
687
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
688
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
689
|
+
};
|
|
690
|
+
exports.se_StartMetadataModelImportCommand = se_StartMetadataModelImportCommand;
|
|
493
691
|
const se_StartRecommendationsCommand = async (input, context) => {
|
|
494
692
|
const headers = sharedHeaders("StartRecommendations");
|
|
495
693
|
let body;
|
|
@@ -697,6 +895,45 @@ const de_CancelReplicationTaskAssessmentRunCommandError = async (output, context
|
|
|
697
895
|
});
|
|
698
896
|
}
|
|
699
897
|
};
|
|
898
|
+
const de_CreateDataProviderCommand = async (output, context) => {
|
|
899
|
+
if (output.statusCode >= 300) {
|
|
900
|
+
return de_CreateDataProviderCommandError(output, context);
|
|
901
|
+
}
|
|
902
|
+
const data = await parseBody(output.body, context);
|
|
903
|
+
let contents = {};
|
|
904
|
+
contents = de_CreateDataProviderResponse(data, context);
|
|
905
|
+
const response = {
|
|
906
|
+
$metadata: deserializeMetadata(output),
|
|
907
|
+
...contents,
|
|
908
|
+
};
|
|
909
|
+
return response;
|
|
910
|
+
};
|
|
911
|
+
exports.de_CreateDataProviderCommand = de_CreateDataProviderCommand;
|
|
912
|
+
const de_CreateDataProviderCommandError = async (output, context) => {
|
|
913
|
+
const parsedOutput = {
|
|
914
|
+
...output,
|
|
915
|
+
body: await parseErrorBody(output.body, context),
|
|
916
|
+
};
|
|
917
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
918
|
+
switch (errorCode) {
|
|
919
|
+
case "AccessDeniedFault":
|
|
920
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
921
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
922
|
+
case "ResourceAlreadyExistsFault":
|
|
923
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
924
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
925
|
+
case "ResourceQuotaExceededFault":
|
|
926
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
927
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
928
|
+
default:
|
|
929
|
+
const parsedBody = parsedOutput.body;
|
|
930
|
+
return throwDefaultError({
|
|
931
|
+
output,
|
|
932
|
+
parsedBody,
|
|
933
|
+
errorCode,
|
|
934
|
+
});
|
|
935
|
+
}
|
|
936
|
+
};
|
|
700
937
|
const de_CreateEndpointCommand = async (output, context) => {
|
|
701
938
|
if (output.statusCode >= 300) {
|
|
702
939
|
return de_CreateEndpointCommandError(output, context);
|
|
@@ -853,6 +1090,108 @@ const de_CreateFleetAdvisorCollectorCommandError = async (output, context) => {
|
|
|
853
1090
|
});
|
|
854
1091
|
}
|
|
855
1092
|
};
|
|
1093
|
+
const de_CreateInstanceProfileCommand = async (output, context) => {
|
|
1094
|
+
if (output.statusCode >= 300) {
|
|
1095
|
+
return de_CreateInstanceProfileCommandError(output, context);
|
|
1096
|
+
}
|
|
1097
|
+
const data = await parseBody(output.body, context);
|
|
1098
|
+
let contents = {};
|
|
1099
|
+
contents = de_CreateInstanceProfileResponse(data, context);
|
|
1100
|
+
const response = {
|
|
1101
|
+
$metadata: deserializeMetadata(output),
|
|
1102
|
+
...contents,
|
|
1103
|
+
};
|
|
1104
|
+
return response;
|
|
1105
|
+
};
|
|
1106
|
+
exports.de_CreateInstanceProfileCommand = de_CreateInstanceProfileCommand;
|
|
1107
|
+
const de_CreateInstanceProfileCommandError = async (output, context) => {
|
|
1108
|
+
const parsedOutput = {
|
|
1109
|
+
...output,
|
|
1110
|
+
body: await parseErrorBody(output.body, context),
|
|
1111
|
+
};
|
|
1112
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1113
|
+
switch (errorCode) {
|
|
1114
|
+
case "AccessDeniedFault":
|
|
1115
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
1116
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
1117
|
+
case "InvalidResourceStateFault":
|
|
1118
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
1119
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
1120
|
+
case "KMSKeyNotAccessibleFault":
|
|
1121
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
1122
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
1123
|
+
case "ResourceAlreadyExistsFault":
|
|
1124
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
1125
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
1126
|
+
case "ResourceNotFoundFault":
|
|
1127
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
1128
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1129
|
+
case "ResourceQuotaExceededFault":
|
|
1130
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
1131
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
1132
|
+
case "S3AccessDeniedFault":
|
|
1133
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
1134
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
1135
|
+
case "S3ResourceNotFoundFault":
|
|
1136
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
1137
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1138
|
+
default:
|
|
1139
|
+
const parsedBody = parsedOutput.body;
|
|
1140
|
+
return throwDefaultError({
|
|
1141
|
+
output,
|
|
1142
|
+
parsedBody,
|
|
1143
|
+
errorCode,
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
};
|
|
1147
|
+
const de_CreateMigrationProjectCommand = async (output, context) => {
|
|
1148
|
+
if (output.statusCode >= 300) {
|
|
1149
|
+
return de_CreateMigrationProjectCommandError(output, context);
|
|
1150
|
+
}
|
|
1151
|
+
const data = await parseBody(output.body, context);
|
|
1152
|
+
let contents = {};
|
|
1153
|
+
contents = de_CreateMigrationProjectResponse(data, context);
|
|
1154
|
+
const response = {
|
|
1155
|
+
$metadata: deserializeMetadata(output),
|
|
1156
|
+
...contents,
|
|
1157
|
+
};
|
|
1158
|
+
return response;
|
|
1159
|
+
};
|
|
1160
|
+
exports.de_CreateMigrationProjectCommand = de_CreateMigrationProjectCommand;
|
|
1161
|
+
const de_CreateMigrationProjectCommandError = async (output, context) => {
|
|
1162
|
+
const parsedOutput = {
|
|
1163
|
+
...output,
|
|
1164
|
+
body: await parseErrorBody(output.body, context),
|
|
1165
|
+
};
|
|
1166
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1167
|
+
switch (errorCode) {
|
|
1168
|
+
case "AccessDeniedFault":
|
|
1169
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
1170
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
1171
|
+
case "ResourceAlreadyExistsFault":
|
|
1172
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
1173
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
1174
|
+
case "ResourceNotFoundFault":
|
|
1175
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
1176
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1177
|
+
case "ResourceQuotaExceededFault":
|
|
1178
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
1179
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
1180
|
+
case "S3AccessDeniedFault":
|
|
1181
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
1182
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
1183
|
+
case "S3ResourceNotFoundFault":
|
|
1184
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
1185
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1186
|
+
default:
|
|
1187
|
+
const parsedBody = parsedOutput.body;
|
|
1188
|
+
return throwDefaultError({
|
|
1189
|
+
output,
|
|
1190
|
+
parsedBody,
|
|
1191
|
+
errorCode,
|
|
1192
|
+
});
|
|
1193
|
+
}
|
|
1194
|
+
};
|
|
856
1195
|
const de_CreateReplicationConfigCommand = async (output, context) => {
|
|
857
1196
|
if (output.statusCode >= 300) {
|
|
858
1197
|
return de_CreateReplicationConfigCommandError(output, context);
|
|
@@ -1138,27 +1477,30 @@ const de_DeleteConnectionCommandError = async (output, context) => {
|
|
|
1138
1477
|
});
|
|
1139
1478
|
}
|
|
1140
1479
|
};
|
|
1141
|
-
const
|
|
1480
|
+
const de_DeleteDataProviderCommand = async (output, context) => {
|
|
1142
1481
|
if (output.statusCode >= 300) {
|
|
1143
|
-
return
|
|
1482
|
+
return de_DeleteDataProviderCommandError(output, context);
|
|
1144
1483
|
}
|
|
1145
1484
|
const data = await parseBody(output.body, context);
|
|
1146
1485
|
let contents = {};
|
|
1147
|
-
contents = (
|
|
1486
|
+
contents = de_DeleteDataProviderResponse(data, context);
|
|
1148
1487
|
const response = {
|
|
1149
1488
|
$metadata: deserializeMetadata(output),
|
|
1150
1489
|
...contents,
|
|
1151
1490
|
};
|
|
1152
1491
|
return response;
|
|
1153
1492
|
};
|
|
1154
|
-
exports.
|
|
1155
|
-
const
|
|
1493
|
+
exports.de_DeleteDataProviderCommand = de_DeleteDataProviderCommand;
|
|
1494
|
+
const de_DeleteDataProviderCommandError = async (output, context) => {
|
|
1156
1495
|
const parsedOutput = {
|
|
1157
1496
|
...output,
|
|
1158
1497
|
body: await parseErrorBody(output.body, context),
|
|
1159
1498
|
};
|
|
1160
1499
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1161
1500
|
switch (errorCode) {
|
|
1501
|
+
case "AccessDeniedFault":
|
|
1502
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
1503
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
1162
1504
|
case "InvalidResourceStateFault":
|
|
1163
1505
|
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
1164
1506
|
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
@@ -1174,9 +1516,9 @@ const de_DeleteEndpointCommandError = async (output, context) => {
|
|
|
1174
1516
|
});
|
|
1175
1517
|
}
|
|
1176
1518
|
};
|
|
1177
|
-
const
|
|
1519
|
+
const de_DeleteEndpointCommand = async (output, context) => {
|
|
1178
1520
|
if (output.statusCode >= 300) {
|
|
1179
|
-
return
|
|
1521
|
+
return de_DeleteEndpointCommandError(output, context);
|
|
1180
1522
|
}
|
|
1181
1523
|
const data = await parseBody(output.body, context);
|
|
1182
1524
|
let contents = {};
|
|
@@ -1187,8 +1529,8 @@ const de_DeleteEventSubscriptionCommand = async (output, context) => {
|
|
|
1187
1529
|
};
|
|
1188
1530
|
return response;
|
|
1189
1531
|
};
|
|
1190
|
-
exports.
|
|
1191
|
-
const
|
|
1532
|
+
exports.de_DeleteEndpointCommand = de_DeleteEndpointCommand;
|
|
1533
|
+
const de_DeleteEndpointCommandError = async (output, context) => {
|
|
1192
1534
|
const parsedOutput = {
|
|
1193
1535
|
...output,
|
|
1194
1536
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1210,7 +1552,43 @@ const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
|
1210
1552
|
});
|
|
1211
1553
|
}
|
|
1212
1554
|
};
|
|
1213
|
-
const
|
|
1555
|
+
const de_DeleteEventSubscriptionCommand = async (output, context) => {
|
|
1556
|
+
if (output.statusCode >= 300) {
|
|
1557
|
+
return de_DeleteEventSubscriptionCommandError(output, context);
|
|
1558
|
+
}
|
|
1559
|
+
const data = await parseBody(output.body, context);
|
|
1560
|
+
let contents = {};
|
|
1561
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1562
|
+
const response = {
|
|
1563
|
+
$metadata: deserializeMetadata(output),
|
|
1564
|
+
...contents,
|
|
1565
|
+
};
|
|
1566
|
+
return response;
|
|
1567
|
+
};
|
|
1568
|
+
exports.de_DeleteEventSubscriptionCommand = de_DeleteEventSubscriptionCommand;
|
|
1569
|
+
const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
1570
|
+
const parsedOutput = {
|
|
1571
|
+
...output,
|
|
1572
|
+
body: await parseErrorBody(output.body, context),
|
|
1573
|
+
};
|
|
1574
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1575
|
+
switch (errorCode) {
|
|
1576
|
+
case "InvalidResourceStateFault":
|
|
1577
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
1578
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
1579
|
+
case "ResourceNotFoundFault":
|
|
1580
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
1581
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1582
|
+
default:
|
|
1583
|
+
const parsedBody = parsedOutput.body;
|
|
1584
|
+
return throwDefaultError({
|
|
1585
|
+
output,
|
|
1586
|
+
parsedBody,
|
|
1587
|
+
errorCode,
|
|
1588
|
+
});
|
|
1589
|
+
}
|
|
1590
|
+
};
|
|
1591
|
+
const de_DeleteFleetAdvisorCollectorCommand = async (output, context) => {
|
|
1214
1592
|
if (output.statusCode >= 300) {
|
|
1215
1593
|
return de_DeleteFleetAdvisorCollectorCommandError(output, context);
|
|
1216
1594
|
}
|
|
@@ -1279,6 +1657,84 @@ const de_DeleteFleetAdvisorDatabasesCommandError = async (output, context) => {
|
|
|
1279
1657
|
});
|
|
1280
1658
|
}
|
|
1281
1659
|
};
|
|
1660
|
+
const de_DeleteInstanceProfileCommand = async (output, context) => {
|
|
1661
|
+
if (output.statusCode >= 300) {
|
|
1662
|
+
return de_DeleteInstanceProfileCommandError(output, context);
|
|
1663
|
+
}
|
|
1664
|
+
const data = await parseBody(output.body, context);
|
|
1665
|
+
let contents = {};
|
|
1666
|
+
contents = de_DeleteInstanceProfileResponse(data, context);
|
|
1667
|
+
const response = {
|
|
1668
|
+
$metadata: deserializeMetadata(output),
|
|
1669
|
+
...contents,
|
|
1670
|
+
};
|
|
1671
|
+
return response;
|
|
1672
|
+
};
|
|
1673
|
+
exports.de_DeleteInstanceProfileCommand = de_DeleteInstanceProfileCommand;
|
|
1674
|
+
const de_DeleteInstanceProfileCommandError = async (output, context) => {
|
|
1675
|
+
const parsedOutput = {
|
|
1676
|
+
...output,
|
|
1677
|
+
body: await parseErrorBody(output.body, context),
|
|
1678
|
+
};
|
|
1679
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1680
|
+
switch (errorCode) {
|
|
1681
|
+
case "AccessDeniedFault":
|
|
1682
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
1683
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
1684
|
+
case "InvalidResourceStateFault":
|
|
1685
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
1686
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
1687
|
+
case "ResourceNotFoundFault":
|
|
1688
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
1689
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1690
|
+
default:
|
|
1691
|
+
const parsedBody = parsedOutput.body;
|
|
1692
|
+
return throwDefaultError({
|
|
1693
|
+
output,
|
|
1694
|
+
parsedBody,
|
|
1695
|
+
errorCode,
|
|
1696
|
+
});
|
|
1697
|
+
}
|
|
1698
|
+
};
|
|
1699
|
+
const de_DeleteMigrationProjectCommand = async (output, context) => {
|
|
1700
|
+
if (output.statusCode >= 300) {
|
|
1701
|
+
return de_DeleteMigrationProjectCommandError(output, context);
|
|
1702
|
+
}
|
|
1703
|
+
const data = await parseBody(output.body, context);
|
|
1704
|
+
let contents = {};
|
|
1705
|
+
contents = de_DeleteMigrationProjectResponse(data, context);
|
|
1706
|
+
const response = {
|
|
1707
|
+
$metadata: deserializeMetadata(output),
|
|
1708
|
+
...contents,
|
|
1709
|
+
};
|
|
1710
|
+
return response;
|
|
1711
|
+
};
|
|
1712
|
+
exports.de_DeleteMigrationProjectCommand = de_DeleteMigrationProjectCommand;
|
|
1713
|
+
const de_DeleteMigrationProjectCommandError = async (output, context) => {
|
|
1714
|
+
const parsedOutput = {
|
|
1715
|
+
...output,
|
|
1716
|
+
body: await parseErrorBody(output.body, context),
|
|
1717
|
+
};
|
|
1718
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1719
|
+
switch (errorCode) {
|
|
1720
|
+
case "AccessDeniedFault":
|
|
1721
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
1722
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
1723
|
+
case "InvalidResourceStateFault":
|
|
1724
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
1725
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
1726
|
+
case "ResourceNotFoundFault":
|
|
1727
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
1728
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1729
|
+
default:
|
|
1730
|
+
const parsedBody = parsedOutput.body;
|
|
1731
|
+
return throwDefaultError({
|
|
1732
|
+
output,
|
|
1733
|
+
parsedBody,
|
|
1734
|
+
errorCode,
|
|
1735
|
+
});
|
|
1736
|
+
}
|
|
1737
|
+
};
|
|
1282
1738
|
const de_DeleteReplicationConfigCommand = async (output, context) => {
|
|
1283
1739
|
if (output.statusCode >= 300) {
|
|
1284
1740
|
return de_DeleteReplicationConfigCommandError(output, context);
|
|
@@ -1597,6 +2053,75 @@ const de_DescribeConnectionsCommandError = async (output, context) => {
|
|
|
1597
2053
|
});
|
|
1598
2054
|
}
|
|
1599
2055
|
};
|
|
2056
|
+
const de_DescribeConversionConfigurationCommand = async (output, context) => {
|
|
2057
|
+
if (output.statusCode >= 300) {
|
|
2058
|
+
return de_DescribeConversionConfigurationCommandError(output, context);
|
|
2059
|
+
}
|
|
2060
|
+
const data = await parseBody(output.body, context);
|
|
2061
|
+
let contents = {};
|
|
2062
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2063
|
+
const response = {
|
|
2064
|
+
$metadata: deserializeMetadata(output),
|
|
2065
|
+
...contents,
|
|
2066
|
+
};
|
|
2067
|
+
return response;
|
|
2068
|
+
};
|
|
2069
|
+
exports.de_DescribeConversionConfigurationCommand = de_DescribeConversionConfigurationCommand;
|
|
2070
|
+
const de_DescribeConversionConfigurationCommandError = async (output, context) => {
|
|
2071
|
+
const parsedOutput = {
|
|
2072
|
+
...output,
|
|
2073
|
+
body: await parseErrorBody(output.body, context),
|
|
2074
|
+
};
|
|
2075
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2076
|
+
switch (errorCode) {
|
|
2077
|
+
case "ResourceNotFoundFault":
|
|
2078
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2079
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2080
|
+
default:
|
|
2081
|
+
const parsedBody = parsedOutput.body;
|
|
2082
|
+
return throwDefaultError({
|
|
2083
|
+
output,
|
|
2084
|
+
parsedBody,
|
|
2085
|
+
errorCode,
|
|
2086
|
+
});
|
|
2087
|
+
}
|
|
2088
|
+
};
|
|
2089
|
+
const de_DescribeDataProvidersCommand = async (output, context) => {
|
|
2090
|
+
if (output.statusCode >= 300) {
|
|
2091
|
+
return de_DescribeDataProvidersCommandError(output, context);
|
|
2092
|
+
}
|
|
2093
|
+
const data = await parseBody(output.body, context);
|
|
2094
|
+
let contents = {};
|
|
2095
|
+
contents = de_DescribeDataProvidersResponse(data, context);
|
|
2096
|
+
const response = {
|
|
2097
|
+
$metadata: deserializeMetadata(output),
|
|
2098
|
+
...contents,
|
|
2099
|
+
};
|
|
2100
|
+
return response;
|
|
2101
|
+
};
|
|
2102
|
+
exports.de_DescribeDataProvidersCommand = de_DescribeDataProvidersCommand;
|
|
2103
|
+
const de_DescribeDataProvidersCommandError = async (output, context) => {
|
|
2104
|
+
const parsedOutput = {
|
|
2105
|
+
...output,
|
|
2106
|
+
body: await parseErrorBody(output.body, context),
|
|
2107
|
+
};
|
|
2108
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2109
|
+
switch (errorCode) {
|
|
2110
|
+
case "AccessDeniedFault":
|
|
2111
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
2112
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
2113
|
+
case "ResourceNotFoundFault":
|
|
2114
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2115
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2116
|
+
default:
|
|
2117
|
+
const parsedBody = parsedOutput.body;
|
|
2118
|
+
return throwDefaultError({
|
|
2119
|
+
output,
|
|
2120
|
+
parsedBody,
|
|
2121
|
+
errorCode,
|
|
2122
|
+
});
|
|
2123
|
+
}
|
|
2124
|
+
};
|
|
1600
2125
|
const de_DescribeEndpointsCommand = async (output, context) => {
|
|
1601
2126
|
if (output.statusCode >= 300) {
|
|
1602
2127
|
return de_DescribeEndpointsCommandError(output, context);
|
|
@@ -1684,6 +2209,33 @@ const de_DescribeEndpointTypesCommandError = async (output, context) => {
|
|
|
1684
2209
|
errorCode,
|
|
1685
2210
|
});
|
|
1686
2211
|
};
|
|
2212
|
+
const de_DescribeEngineVersionsCommand = async (output, context) => {
|
|
2213
|
+
if (output.statusCode >= 300) {
|
|
2214
|
+
return de_DescribeEngineVersionsCommandError(output, context);
|
|
2215
|
+
}
|
|
2216
|
+
const data = await parseBody(output.body, context);
|
|
2217
|
+
let contents = {};
|
|
2218
|
+
contents = de_DescribeEngineVersionsResponse(data, context);
|
|
2219
|
+
const response = {
|
|
2220
|
+
$metadata: deserializeMetadata(output),
|
|
2221
|
+
...contents,
|
|
2222
|
+
};
|
|
2223
|
+
return response;
|
|
2224
|
+
};
|
|
2225
|
+
exports.de_DescribeEngineVersionsCommand = de_DescribeEngineVersionsCommand;
|
|
2226
|
+
const de_DescribeEngineVersionsCommandError = async (output, context) => {
|
|
2227
|
+
const parsedOutput = {
|
|
2228
|
+
...output,
|
|
2229
|
+
body: await parseErrorBody(output.body, context),
|
|
2230
|
+
};
|
|
2231
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2232
|
+
const parsedBody = parsedOutput.body;
|
|
2233
|
+
return throwDefaultError({
|
|
2234
|
+
output,
|
|
2235
|
+
parsedBody,
|
|
2236
|
+
errorCode,
|
|
2237
|
+
});
|
|
2238
|
+
};
|
|
1687
2239
|
const de_DescribeEventCategoriesCommand = async (output, context) => {
|
|
1688
2240
|
if (output.statusCode >= 300) {
|
|
1689
2241
|
return de_DescribeEventCategoriesCommandError(output, context);
|
|
@@ -1771,6 +2323,33 @@ const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
|
1771
2323
|
});
|
|
1772
2324
|
}
|
|
1773
2325
|
};
|
|
2326
|
+
const de_DescribeExtensionPackAssociationsCommand = async (output, context) => {
|
|
2327
|
+
if (output.statusCode >= 300) {
|
|
2328
|
+
return de_DescribeExtensionPackAssociationsCommandError(output, context);
|
|
2329
|
+
}
|
|
2330
|
+
const data = await parseBody(output.body, context);
|
|
2331
|
+
let contents = {};
|
|
2332
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2333
|
+
const response = {
|
|
2334
|
+
$metadata: deserializeMetadata(output),
|
|
2335
|
+
...contents,
|
|
2336
|
+
};
|
|
2337
|
+
return response;
|
|
2338
|
+
};
|
|
2339
|
+
exports.de_DescribeExtensionPackAssociationsCommand = de_DescribeExtensionPackAssociationsCommand;
|
|
2340
|
+
const de_DescribeExtensionPackAssociationsCommandError = async (output, context) => {
|
|
2341
|
+
const parsedOutput = {
|
|
2342
|
+
...output,
|
|
2343
|
+
body: await parseErrorBody(output.body, context),
|
|
2344
|
+
};
|
|
2345
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2346
|
+
const parsedBody = parsedOutput.body;
|
|
2347
|
+
return throwDefaultError({
|
|
2348
|
+
output,
|
|
2349
|
+
parsedBody,
|
|
2350
|
+
errorCode,
|
|
2351
|
+
});
|
|
2352
|
+
};
|
|
1774
2353
|
const de_DescribeFleetAdvisorCollectorsCommand = async (output, context) => {
|
|
1775
2354
|
if (output.statusCode >= 300) {
|
|
1776
2355
|
return de_DescribeFleetAdvisorCollectorsCommandError(output, context);
|
|
@@ -1936,48 +2515,57 @@ const de_DescribeFleetAdvisorSchemasCommandError = async (output, context) => {
|
|
|
1936
2515
|
});
|
|
1937
2516
|
}
|
|
1938
2517
|
};
|
|
1939
|
-
const
|
|
2518
|
+
const de_DescribeInstanceProfilesCommand = async (output, context) => {
|
|
1940
2519
|
if (output.statusCode >= 300) {
|
|
1941
|
-
return
|
|
2520
|
+
return de_DescribeInstanceProfilesCommandError(output, context);
|
|
1942
2521
|
}
|
|
1943
2522
|
const data = await parseBody(output.body, context);
|
|
1944
2523
|
let contents = {};
|
|
1945
|
-
contents = (
|
|
2524
|
+
contents = de_DescribeInstanceProfilesResponse(data, context);
|
|
1946
2525
|
const response = {
|
|
1947
2526
|
$metadata: deserializeMetadata(output),
|
|
1948
2527
|
...contents,
|
|
1949
2528
|
};
|
|
1950
2529
|
return response;
|
|
1951
2530
|
};
|
|
1952
|
-
exports.
|
|
1953
|
-
const
|
|
2531
|
+
exports.de_DescribeInstanceProfilesCommand = de_DescribeInstanceProfilesCommand;
|
|
2532
|
+
const de_DescribeInstanceProfilesCommandError = async (output, context) => {
|
|
1954
2533
|
const parsedOutput = {
|
|
1955
2534
|
...output,
|
|
1956
2535
|
body: await parseErrorBody(output.body, context),
|
|
1957
2536
|
};
|
|
1958
2537
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
2538
|
+
switch (errorCode) {
|
|
2539
|
+
case "AccessDeniedFault":
|
|
2540
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
2541
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
2542
|
+
case "ResourceNotFoundFault":
|
|
2543
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2544
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2545
|
+
default:
|
|
2546
|
+
const parsedBody = parsedOutput.body;
|
|
2547
|
+
return throwDefaultError({
|
|
2548
|
+
output,
|
|
2549
|
+
parsedBody,
|
|
2550
|
+
errorCode,
|
|
2551
|
+
});
|
|
2552
|
+
}
|
|
1965
2553
|
};
|
|
1966
|
-
const
|
|
2554
|
+
const de_DescribeMetadataModelAssessmentsCommand = async (output, context) => {
|
|
1967
2555
|
if (output.statusCode >= 300) {
|
|
1968
|
-
return
|
|
2556
|
+
return de_DescribeMetadataModelAssessmentsCommandError(output, context);
|
|
1969
2557
|
}
|
|
1970
2558
|
const data = await parseBody(output.body, context);
|
|
1971
2559
|
let contents = {};
|
|
1972
|
-
contents =
|
|
2560
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1973
2561
|
const response = {
|
|
1974
2562
|
$metadata: deserializeMetadata(output),
|
|
1975
2563
|
...contents,
|
|
1976
2564
|
};
|
|
1977
2565
|
return response;
|
|
1978
2566
|
};
|
|
1979
|
-
exports.
|
|
1980
|
-
const
|
|
2567
|
+
exports.de_DescribeMetadataModelAssessmentsCommand = de_DescribeMetadataModelAssessmentsCommand;
|
|
2568
|
+
const de_DescribeMetadataModelAssessmentsCommandError = async (output, context) => {
|
|
1981
2569
|
const parsedOutput = {
|
|
1982
2570
|
...output,
|
|
1983
2571
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1996,9 +2584,9 @@ const de_DescribePendingMaintenanceActionsCommandError = async (output, context)
|
|
|
1996
2584
|
});
|
|
1997
2585
|
}
|
|
1998
2586
|
};
|
|
1999
|
-
const
|
|
2587
|
+
const de_DescribeMetadataModelConversionsCommand = async (output, context) => {
|
|
2000
2588
|
if (output.statusCode >= 300) {
|
|
2001
|
-
return
|
|
2589
|
+
return de_DescribeMetadataModelConversionsCommandError(output, context);
|
|
2002
2590
|
}
|
|
2003
2591
|
const data = await parseBody(output.body, context);
|
|
2004
2592
|
let contents = {};
|
|
@@ -2009,20 +2597,17 @@ const de_DescribeRecommendationLimitationsCommand = async (output, context) => {
|
|
|
2009
2597
|
};
|
|
2010
2598
|
return response;
|
|
2011
2599
|
};
|
|
2012
|
-
exports.
|
|
2013
|
-
const
|
|
2600
|
+
exports.de_DescribeMetadataModelConversionsCommand = de_DescribeMetadataModelConversionsCommand;
|
|
2601
|
+
const de_DescribeMetadataModelConversionsCommandError = async (output, context) => {
|
|
2014
2602
|
const parsedOutput = {
|
|
2015
2603
|
...output,
|
|
2016
2604
|
body: await parseErrorBody(output.body, context),
|
|
2017
2605
|
};
|
|
2018
2606
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2019
2607
|
switch (errorCode) {
|
|
2020
|
-
case "
|
|
2021
|
-
case "com.amazonaws.databasemigrationservice#
|
|
2022
|
-
throw await
|
|
2023
|
-
case "InvalidResourceStateFault":
|
|
2024
|
-
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
2025
|
-
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
2608
|
+
case "ResourceNotFoundFault":
|
|
2609
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2610
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2026
2611
|
default:
|
|
2027
2612
|
const parsedBody = parsedOutput.body;
|
|
2028
2613
|
return throwDefaultError({
|
|
@@ -2032,9 +2617,240 @@ const de_DescribeRecommendationLimitationsCommandError = async (output, context)
|
|
|
2032
2617
|
});
|
|
2033
2618
|
}
|
|
2034
2619
|
};
|
|
2035
|
-
const
|
|
2620
|
+
const de_DescribeMetadataModelExportsAsScriptCommand = async (output, context) => {
|
|
2036
2621
|
if (output.statusCode >= 300) {
|
|
2037
|
-
return
|
|
2622
|
+
return de_DescribeMetadataModelExportsAsScriptCommandError(output, context);
|
|
2623
|
+
}
|
|
2624
|
+
const data = await parseBody(output.body, context);
|
|
2625
|
+
let contents = {};
|
|
2626
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2627
|
+
const response = {
|
|
2628
|
+
$metadata: deserializeMetadata(output),
|
|
2629
|
+
...contents,
|
|
2630
|
+
};
|
|
2631
|
+
return response;
|
|
2632
|
+
};
|
|
2633
|
+
exports.de_DescribeMetadataModelExportsAsScriptCommand = de_DescribeMetadataModelExportsAsScriptCommand;
|
|
2634
|
+
const de_DescribeMetadataModelExportsAsScriptCommandError = async (output, context) => {
|
|
2635
|
+
const parsedOutput = {
|
|
2636
|
+
...output,
|
|
2637
|
+
body: await parseErrorBody(output.body, context),
|
|
2638
|
+
};
|
|
2639
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2640
|
+
switch (errorCode) {
|
|
2641
|
+
case "ResourceNotFoundFault":
|
|
2642
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2643
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2644
|
+
default:
|
|
2645
|
+
const parsedBody = parsedOutput.body;
|
|
2646
|
+
return throwDefaultError({
|
|
2647
|
+
output,
|
|
2648
|
+
parsedBody,
|
|
2649
|
+
errorCode,
|
|
2650
|
+
});
|
|
2651
|
+
}
|
|
2652
|
+
};
|
|
2653
|
+
const de_DescribeMetadataModelExportsToTargetCommand = async (output, context) => {
|
|
2654
|
+
if (output.statusCode >= 300) {
|
|
2655
|
+
return de_DescribeMetadataModelExportsToTargetCommandError(output, context);
|
|
2656
|
+
}
|
|
2657
|
+
const data = await parseBody(output.body, context);
|
|
2658
|
+
let contents = {};
|
|
2659
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2660
|
+
const response = {
|
|
2661
|
+
$metadata: deserializeMetadata(output),
|
|
2662
|
+
...contents,
|
|
2663
|
+
};
|
|
2664
|
+
return response;
|
|
2665
|
+
};
|
|
2666
|
+
exports.de_DescribeMetadataModelExportsToTargetCommand = de_DescribeMetadataModelExportsToTargetCommand;
|
|
2667
|
+
const de_DescribeMetadataModelExportsToTargetCommandError = async (output, context) => {
|
|
2668
|
+
const parsedOutput = {
|
|
2669
|
+
...output,
|
|
2670
|
+
body: await parseErrorBody(output.body, context),
|
|
2671
|
+
};
|
|
2672
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2673
|
+
switch (errorCode) {
|
|
2674
|
+
case "ResourceNotFoundFault":
|
|
2675
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2676
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2677
|
+
default:
|
|
2678
|
+
const parsedBody = parsedOutput.body;
|
|
2679
|
+
return throwDefaultError({
|
|
2680
|
+
output,
|
|
2681
|
+
parsedBody,
|
|
2682
|
+
errorCode,
|
|
2683
|
+
});
|
|
2684
|
+
}
|
|
2685
|
+
};
|
|
2686
|
+
const de_DescribeMetadataModelImportsCommand = async (output, context) => {
|
|
2687
|
+
if (output.statusCode >= 300) {
|
|
2688
|
+
return de_DescribeMetadataModelImportsCommandError(output, context);
|
|
2689
|
+
}
|
|
2690
|
+
const data = await parseBody(output.body, context);
|
|
2691
|
+
let contents = {};
|
|
2692
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2693
|
+
const response = {
|
|
2694
|
+
$metadata: deserializeMetadata(output),
|
|
2695
|
+
...contents,
|
|
2696
|
+
};
|
|
2697
|
+
return response;
|
|
2698
|
+
};
|
|
2699
|
+
exports.de_DescribeMetadataModelImportsCommand = de_DescribeMetadataModelImportsCommand;
|
|
2700
|
+
const de_DescribeMetadataModelImportsCommandError = async (output, context) => {
|
|
2701
|
+
const parsedOutput = {
|
|
2702
|
+
...output,
|
|
2703
|
+
body: await parseErrorBody(output.body, context),
|
|
2704
|
+
};
|
|
2705
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2706
|
+
switch (errorCode) {
|
|
2707
|
+
case "ResourceNotFoundFault":
|
|
2708
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2709
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2710
|
+
default:
|
|
2711
|
+
const parsedBody = parsedOutput.body;
|
|
2712
|
+
return throwDefaultError({
|
|
2713
|
+
output,
|
|
2714
|
+
parsedBody,
|
|
2715
|
+
errorCode,
|
|
2716
|
+
});
|
|
2717
|
+
}
|
|
2718
|
+
};
|
|
2719
|
+
const de_DescribeMigrationProjectsCommand = async (output, context) => {
|
|
2720
|
+
if (output.statusCode >= 300) {
|
|
2721
|
+
return de_DescribeMigrationProjectsCommandError(output, context);
|
|
2722
|
+
}
|
|
2723
|
+
const data = await parseBody(output.body, context);
|
|
2724
|
+
let contents = {};
|
|
2725
|
+
contents = de_DescribeMigrationProjectsResponse(data, context);
|
|
2726
|
+
const response = {
|
|
2727
|
+
$metadata: deserializeMetadata(output),
|
|
2728
|
+
...contents,
|
|
2729
|
+
};
|
|
2730
|
+
return response;
|
|
2731
|
+
};
|
|
2732
|
+
exports.de_DescribeMigrationProjectsCommand = de_DescribeMigrationProjectsCommand;
|
|
2733
|
+
const de_DescribeMigrationProjectsCommandError = async (output, context) => {
|
|
2734
|
+
const parsedOutput = {
|
|
2735
|
+
...output,
|
|
2736
|
+
body: await parseErrorBody(output.body, context),
|
|
2737
|
+
};
|
|
2738
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2739
|
+
switch (errorCode) {
|
|
2740
|
+
case "AccessDeniedFault":
|
|
2741
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
2742
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
2743
|
+
case "ResourceNotFoundFault":
|
|
2744
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2745
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2746
|
+
default:
|
|
2747
|
+
const parsedBody = parsedOutput.body;
|
|
2748
|
+
return throwDefaultError({
|
|
2749
|
+
output,
|
|
2750
|
+
parsedBody,
|
|
2751
|
+
errorCode,
|
|
2752
|
+
});
|
|
2753
|
+
}
|
|
2754
|
+
};
|
|
2755
|
+
const de_DescribeOrderableReplicationInstancesCommand = async (output, context) => {
|
|
2756
|
+
if (output.statusCode >= 300) {
|
|
2757
|
+
return de_DescribeOrderableReplicationInstancesCommandError(output, context);
|
|
2758
|
+
}
|
|
2759
|
+
const data = await parseBody(output.body, context);
|
|
2760
|
+
let contents = {};
|
|
2761
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2762
|
+
const response = {
|
|
2763
|
+
$metadata: deserializeMetadata(output),
|
|
2764
|
+
...contents,
|
|
2765
|
+
};
|
|
2766
|
+
return response;
|
|
2767
|
+
};
|
|
2768
|
+
exports.de_DescribeOrderableReplicationInstancesCommand = de_DescribeOrderableReplicationInstancesCommand;
|
|
2769
|
+
const de_DescribeOrderableReplicationInstancesCommandError = async (output, context) => {
|
|
2770
|
+
const parsedOutput = {
|
|
2771
|
+
...output,
|
|
2772
|
+
body: await parseErrorBody(output.body, context),
|
|
2773
|
+
};
|
|
2774
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2775
|
+
const parsedBody = parsedOutput.body;
|
|
2776
|
+
return throwDefaultError({
|
|
2777
|
+
output,
|
|
2778
|
+
parsedBody,
|
|
2779
|
+
errorCode,
|
|
2780
|
+
});
|
|
2781
|
+
};
|
|
2782
|
+
const de_DescribePendingMaintenanceActionsCommand = async (output, context) => {
|
|
2783
|
+
if (output.statusCode >= 300) {
|
|
2784
|
+
return de_DescribePendingMaintenanceActionsCommandError(output, context);
|
|
2785
|
+
}
|
|
2786
|
+
const data = await parseBody(output.body, context);
|
|
2787
|
+
let contents = {};
|
|
2788
|
+
contents = de_DescribePendingMaintenanceActionsResponse(data, context);
|
|
2789
|
+
const response = {
|
|
2790
|
+
$metadata: deserializeMetadata(output),
|
|
2791
|
+
...contents,
|
|
2792
|
+
};
|
|
2793
|
+
return response;
|
|
2794
|
+
};
|
|
2795
|
+
exports.de_DescribePendingMaintenanceActionsCommand = de_DescribePendingMaintenanceActionsCommand;
|
|
2796
|
+
const de_DescribePendingMaintenanceActionsCommandError = async (output, context) => {
|
|
2797
|
+
const parsedOutput = {
|
|
2798
|
+
...output,
|
|
2799
|
+
body: await parseErrorBody(output.body, context),
|
|
2800
|
+
};
|
|
2801
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2802
|
+
switch (errorCode) {
|
|
2803
|
+
case "ResourceNotFoundFault":
|
|
2804
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2805
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2806
|
+
default:
|
|
2807
|
+
const parsedBody = parsedOutput.body;
|
|
2808
|
+
return throwDefaultError({
|
|
2809
|
+
output,
|
|
2810
|
+
parsedBody,
|
|
2811
|
+
errorCode,
|
|
2812
|
+
});
|
|
2813
|
+
}
|
|
2814
|
+
};
|
|
2815
|
+
const de_DescribeRecommendationLimitationsCommand = async (output, context) => {
|
|
2816
|
+
if (output.statusCode >= 300) {
|
|
2817
|
+
return de_DescribeRecommendationLimitationsCommandError(output, context);
|
|
2818
|
+
}
|
|
2819
|
+
const data = await parseBody(output.body, context);
|
|
2820
|
+
let contents = {};
|
|
2821
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2822
|
+
const response = {
|
|
2823
|
+
$metadata: deserializeMetadata(output),
|
|
2824
|
+
...contents,
|
|
2825
|
+
};
|
|
2826
|
+
return response;
|
|
2827
|
+
};
|
|
2828
|
+
exports.de_DescribeRecommendationLimitationsCommand = de_DescribeRecommendationLimitationsCommand;
|
|
2829
|
+
const de_DescribeRecommendationLimitationsCommandError = async (output, context) => {
|
|
2830
|
+
const parsedOutput = {
|
|
2831
|
+
...output,
|
|
2832
|
+
body: await parseErrorBody(output.body, context),
|
|
2833
|
+
};
|
|
2834
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2835
|
+
switch (errorCode) {
|
|
2836
|
+
case "AccessDeniedFault":
|
|
2837
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
2838
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
2839
|
+
case "InvalidResourceStateFault":
|
|
2840
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
2841
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
2842
|
+
default:
|
|
2843
|
+
const parsedBody = parsedOutput.body;
|
|
2844
|
+
return throwDefaultError({
|
|
2845
|
+
output,
|
|
2846
|
+
parsedBody,
|
|
2847
|
+
errorCode,
|
|
2848
|
+
});
|
|
2849
|
+
}
|
|
2850
|
+
};
|
|
2851
|
+
const de_DescribeRecommendationsCommand = async (output, context) => {
|
|
2852
|
+
if (output.statusCode >= 300) {
|
|
2853
|
+
return de_DescribeRecommendationsCommandError(output, context);
|
|
2038
2854
|
}
|
|
2039
2855
|
const data = await parseBody(output.body, context);
|
|
2040
2856
|
let contents = {};
|
|
@@ -2512,6 +3328,39 @@ const de_DescribeTableStatisticsCommandError = async (output, context) => {
|
|
|
2512
3328
|
});
|
|
2513
3329
|
}
|
|
2514
3330
|
};
|
|
3331
|
+
const de_ExportMetadataModelAssessmentCommand = async (output, context) => {
|
|
3332
|
+
if (output.statusCode >= 300) {
|
|
3333
|
+
return de_ExportMetadataModelAssessmentCommandError(output, context);
|
|
3334
|
+
}
|
|
3335
|
+
const data = await parseBody(output.body, context);
|
|
3336
|
+
let contents = {};
|
|
3337
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3338
|
+
const response = {
|
|
3339
|
+
$metadata: deserializeMetadata(output),
|
|
3340
|
+
...contents,
|
|
3341
|
+
};
|
|
3342
|
+
return response;
|
|
3343
|
+
};
|
|
3344
|
+
exports.de_ExportMetadataModelAssessmentCommand = de_ExportMetadataModelAssessmentCommand;
|
|
3345
|
+
const de_ExportMetadataModelAssessmentCommandError = async (output, context) => {
|
|
3346
|
+
const parsedOutput = {
|
|
3347
|
+
...output,
|
|
3348
|
+
body: await parseErrorBody(output.body, context),
|
|
3349
|
+
};
|
|
3350
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3351
|
+
switch (errorCode) {
|
|
3352
|
+
case "ResourceNotFoundFault":
|
|
3353
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3354
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3355
|
+
default:
|
|
3356
|
+
const parsedBody = parsedOutput.body;
|
|
3357
|
+
return throwDefaultError({
|
|
3358
|
+
output,
|
|
3359
|
+
parsedBody,
|
|
3360
|
+
errorCode,
|
|
3361
|
+
});
|
|
3362
|
+
}
|
|
3363
|
+
};
|
|
2515
3364
|
const de_ImportCertificateCommand = async (output, context) => {
|
|
2516
3365
|
if (output.statusCode >= 300) {
|
|
2517
3366
|
return de_ImportCertificateCommandError(output, context);
|
|
@@ -2584,9 +3433,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2584
3433
|
});
|
|
2585
3434
|
}
|
|
2586
3435
|
};
|
|
2587
|
-
const
|
|
3436
|
+
const de_ModifyConversionConfigurationCommand = async (output, context) => {
|
|
2588
3437
|
if (output.statusCode >= 300) {
|
|
2589
|
-
return
|
|
3438
|
+
return de_ModifyConversionConfigurationCommandError(output, context);
|
|
2590
3439
|
}
|
|
2591
3440
|
const data = await parseBody(output.body, context);
|
|
2592
3441
|
let contents = {};
|
|
@@ -2597,24 +3446,99 @@ const de_ModifyEndpointCommand = async (output, context) => {
|
|
|
2597
3446
|
};
|
|
2598
3447
|
return response;
|
|
2599
3448
|
};
|
|
2600
|
-
exports.
|
|
2601
|
-
const
|
|
3449
|
+
exports.de_ModifyConversionConfigurationCommand = de_ModifyConversionConfigurationCommand;
|
|
3450
|
+
const de_ModifyConversionConfigurationCommandError = async (output, context) => {
|
|
2602
3451
|
const parsedOutput = {
|
|
2603
3452
|
...output,
|
|
2604
3453
|
body: await parseErrorBody(output.body, context),
|
|
2605
3454
|
};
|
|
2606
3455
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2607
3456
|
switch (errorCode) {
|
|
2608
|
-
case "AccessDeniedFault":
|
|
2609
|
-
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
2610
|
-
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
2611
3457
|
case "InvalidResourceStateFault":
|
|
2612
3458
|
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
2613
3459
|
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
2614
|
-
case "
|
|
2615
|
-
case "com.amazonaws.databasemigrationservice#
|
|
2616
|
-
throw await
|
|
2617
|
-
|
|
3460
|
+
case "ResourceNotFoundFault":
|
|
3461
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3462
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3463
|
+
default:
|
|
3464
|
+
const parsedBody = parsedOutput.body;
|
|
3465
|
+
return throwDefaultError({
|
|
3466
|
+
output,
|
|
3467
|
+
parsedBody,
|
|
3468
|
+
errorCode,
|
|
3469
|
+
});
|
|
3470
|
+
}
|
|
3471
|
+
};
|
|
3472
|
+
const de_ModifyDataProviderCommand = async (output, context) => {
|
|
3473
|
+
if (output.statusCode >= 300) {
|
|
3474
|
+
return de_ModifyDataProviderCommandError(output, context);
|
|
3475
|
+
}
|
|
3476
|
+
const data = await parseBody(output.body, context);
|
|
3477
|
+
let contents = {};
|
|
3478
|
+
contents = de_ModifyDataProviderResponse(data, context);
|
|
3479
|
+
const response = {
|
|
3480
|
+
$metadata: deserializeMetadata(output),
|
|
3481
|
+
...contents,
|
|
3482
|
+
};
|
|
3483
|
+
return response;
|
|
3484
|
+
};
|
|
3485
|
+
exports.de_ModifyDataProviderCommand = de_ModifyDataProviderCommand;
|
|
3486
|
+
const de_ModifyDataProviderCommandError = async (output, context) => {
|
|
3487
|
+
const parsedOutput = {
|
|
3488
|
+
...output,
|
|
3489
|
+
body: await parseErrorBody(output.body, context),
|
|
3490
|
+
};
|
|
3491
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3492
|
+
switch (errorCode) {
|
|
3493
|
+
case "AccessDeniedFault":
|
|
3494
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
3495
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
3496
|
+
case "InvalidResourceStateFault":
|
|
3497
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3498
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
3499
|
+
case "ResourceNotFoundFault":
|
|
3500
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3501
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3502
|
+
default:
|
|
3503
|
+
const parsedBody = parsedOutput.body;
|
|
3504
|
+
return throwDefaultError({
|
|
3505
|
+
output,
|
|
3506
|
+
parsedBody,
|
|
3507
|
+
errorCode,
|
|
3508
|
+
});
|
|
3509
|
+
}
|
|
3510
|
+
};
|
|
3511
|
+
const de_ModifyEndpointCommand = async (output, context) => {
|
|
3512
|
+
if (output.statusCode >= 300) {
|
|
3513
|
+
return de_ModifyEndpointCommandError(output, context);
|
|
3514
|
+
}
|
|
3515
|
+
const data = await parseBody(output.body, context);
|
|
3516
|
+
let contents = {};
|
|
3517
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3518
|
+
const response = {
|
|
3519
|
+
$metadata: deserializeMetadata(output),
|
|
3520
|
+
...contents,
|
|
3521
|
+
};
|
|
3522
|
+
return response;
|
|
3523
|
+
};
|
|
3524
|
+
exports.de_ModifyEndpointCommand = de_ModifyEndpointCommand;
|
|
3525
|
+
const de_ModifyEndpointCommandError = async (output, context) => {
|
|
3526
|
+
const parsedOutput = {
|
|
3527
|
+
...output,
|
|
3528
|
+
body: await parseErrorBody(output.body, context),
|
|
3529
|
+
};
|
|
3530
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3531
|
+
switch (errorCode) {
|
|
3532
|
+
case "AccessDeniedFault":
|
|
3533
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
3534
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
3535
|
+
case "InvalidResourceStateFault":
|
|
3536
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3537
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
3538
|
+
case "KMSKeyNotAccessibleFault":
|
|
3539
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
3540
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
3541
|
+
case "ResourceAlreadyExistsFault":
|
|
2618
3542
|
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
2619
3543
|
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
2620
3544
|
case "ResourceNotFoundFault":
|
|
@@ -2686,6 +3610,99 @@ const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
|
2686
3610
|
});
|
|
2687
3611
|
}
|
|
2688
3612
|
};
|
|
3613
|
+
const de_ModifyInstanceProfileCommand = async (output, context) => {
|
|
3614
|
+
if (output.statusCode >= 300) {
|
|
3615
|
+
return de_ModifyInstanceProfileCommandError(output, context);
|
|
3616
|
+
}
|
|
3617
|
+
const data = await parseBody(output.body, context);
|
|
3618
|
+
let contents = {};
|
|
3619
|
+
contents = de_ModifyInstanceProfileResponse(data, context);
|
|
3620
|
+
const response = {
|
|
3621
|
+
$metadata: deserializeMetadata(output),
|
|
3622
|
+
...contents,
|
|
3623
|
+
};
|
|
3624
|
+
return response;
|
|
3625
|
+
};
|
|
3626
|
+
exports.de_ModifyInstanceProfileCommand = de_ModifyInstanceProfileCommand;
|
|
3627
|
+
const de_ModifyInstanceProfileCommandError = async (output, context) => {
|
|
3628
|
+
const parsedOutput = {
|
|
3629
|
+
...output,
|
|
3630
|
+
body: await parseErrorBody(output.body, context),
|
|
3631
|
+
};
|
|
3632
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3633
|
+
switch (errorCode) {
|
|
3634
|
+
case "AccessDeniedFault":
|
|
3635
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
3636
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
3637
|
+
case "InvalidResourceStateFault":
|
|
3638
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3639
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
3640
|
+
case "KMSKeyNotAccessibleFault":
|
|
3641
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
3642
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
3643
|
+
case "ResourceNotFoundFault":
|
|
3644
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3645
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3646
|
+
case "S3AccessDeniedFault":
|
|
3647
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
3648
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
3649
|
+
case "S3ResourceNotFoundFault":
|
|
3650
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
3651
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3652
|
+
default:
|
|
3653
|
+
const parsedBody = parsedOutput.body;
|
|
3654
|
+
return throwDefaultError({
|
|
3655
|
+
output,
|
|
3656
|
+
parsedBody,
|
|
3657
|
+
errorCode,
|
|
3658
|
+
});
|
|
3659
|
+
}
|
|
3660
|
+
};
|
|
3661
|
+
const de_ModifyMigrationProjectCommand = async (output, context) => {
|
|
3662
|
+
if (output.statusCode >= 300) {
|
|
3663
|
+
return de_ModifyMigrationProjectCommandError(output, context);
|
|
3664
|
+
}
|
|
3665
|
+
const data = await parseBody(output.body, context);
|
|
3666
|
+
let contents = {};
|
|
3667
|
+
contents = de_ModifyMigrationProjectResponse(data, context);
|
|
3668
|
+
const response = {
|
|
3669
|
+
$metadata: deserializeMetadata(output),
|
|
3670
|
+
...contents,
|
|
3671
|
+
};
|
|
3672
|
+
return response;
|
|
3673
|
+
};
|
|
3674
|
+
exports.de_ModifyMigrationProjectCommand = de_ModifyMigrationProjectCommand;
|
|
3675
|
+
const de_ModifyMigrationProjectCommandError = async (output, context) => {
|
|
3676
|
+
const parsedOutput = {
|
|
3677
|
+
...output,
|
|
3678
|
+
body: await parseErrorBody(output.body, context),
|
|
3679
|
+
};
|
|
3680
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3681
|
+
switch (errorCode) {
|
|
3682
|
+
case "AccessDeniedFault":
|
|
3683
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
3684
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
3685
|
+
case "InvalidResourceStateFault":
|
|
3686
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3687
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
3688
|
+
case "ResourceNotFoundFault":
|
|
3689
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3690
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3691
|
+
case "S3AccessDeniedFault":
|
|
3692
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
3693
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
3694
|
+
case "S3ResourceNotFoundFault":
|
|
3695
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
3696
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3697
|
+
default:
|
|
3698
|
+
const parsedBody = parsedOutput.body;
|
|
3699
|
+
return throwDefaultError({
|
|
3700
|
+
output,
|
|
3701
|
+
parsedBody,
|
|
3702
|
+
errorCode,
|
|
3703
|
+
});
|
|
3704
|
+
}
|
|
3705
|
+
};
|
|
2689
3706
|
const de_ModifyReplicationConfigCommand = async (output, context) => {
|
|
2690
3707
|
if (output.statusCode >= 300) {
|
|
2691
3708
|
return de_ModifyReplicationConfigCommandError(output, context);
|
|
@@ -2835,34 +3852,262 @@ const de_ModifyReplicationSubnetGroupCommandError = async (output, context) => {
|
|
|
2835
3852
|
};
|
|
2836
3853
|
const de_ModifyReplicationTaskCommand = async (output, context) => {
|
|
2837
3854
|
if (output.statusCode >= 300) {
|
|
2838
|
-
return de_ModifyReplicationTaskCommandError(output, context);
|
|
3855
|
+
return de_ModifyReplicationTaskCommandError(output, context);
|
|
3856
|
+
}
|
|
3857
|
+
const data = await parseBody(output.body, context);
|
|
3858
|
+
let contents = {};
|
|
3859
|
+
contents = de_ModifyReplicationTaskResponse(data, context);
|
|
3860
|
+
const response = {
|
|
3861
|
+
$metadata: deserializeMetadata(output),
|
|
3862
|
+
...contents,
|
|
3863
|
+
};
|
|
3864
|
+
return response;
|
|
3865
|
+
};
|
|
3866
|
+
exports.de_ModifyReplicationTaskCommand = de_ModifyReplicationTaskCommand;
|
|
3867
|
+
const de_ModifyReplicationTaskCommandError = async (output, context) => {
|
|
3868
|
+
const parsedOutput = {
|
|
3869
|
+
...output,
|
|
3870
|
+
body: await parseErrorBody(output.body, context),
|
|
3871
|
+
};
|
|
3872
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3873
|
+
switch (errorCode) {
|
|
3874
|
+
case "InvalidResourceStateFault":
|
|
3875
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3876
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
3877
|
+
case "KMSKeyNotAccessibleFault":
|
|
3878
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
3879
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
3880
|
+
case "ResourceAlreadyExistsFault":
|
|
3881
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
3882
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
3883
|
+
case "ResourceNotFoundFault":
|
|
3884
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3885
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3886
|
+
default:
|
|
3887
|
+
const parsedBody = parsedOutput.body;
|
|
3888
|
+
return throwDefaultError({
|
|
3889
|
+
output,
|
|
3890
|
+
parsedBody,
|
|
3891
|
+
errorCode,
|
|
3892
|
+
});
|
|
3893
|
+
}
|
|
3894
|
+
};
|
|
3895
|
+
const de_MoveReplicationTaskCommand = async (output, context) => {
|
|
3896
|
+
if (output.statusCode >= 300) {
|
|
3897
|
+
return de_MoveReplicationTaskCommandError(output, context);
|
|
3898
|
+
}
|
|
3899
|
+
const data = await parseBody(output.body, context);
|
|
3900
|
+
let contents = {};
|
|
3901
|
+
contents = de_MoveReplicationTaskResponse(data, context);
|
|
3902
|
+
const response = {
|
|
3903
|
+
$metadata: deserializeMetadata(output),
|
|
3904
|
+
...contents,
|
|
3905
|
+
};
|
|
3906
|
+
return response;
|
|
3907
|
+
};
|
|
3908
|
+
exports.de_MoveReplicationTaskCommand = de_MoveReplicationTaskCommand;
|
|
3909
|
+
const de_MoveReplicationTaskCommandError = async (output, context) => {
|
|
3910
|
+
const parsedOutput = {
|
|
3911
|
+
...output,
|
|
3912
|
+
body: await parseErrorBody(output.body, context),
|
|
3913
|
+
};
|
|
3914
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3915
|
+
switch (errorCode) {
|
|
3916
|
+
case "AccessDeniedFault":
|
|
3917
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
3918
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
3919
|
+
case "InvalidResourceStateFault":
|
|
3920
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3921
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
3922
|
+
case "KMSKeyNotAccessibleFault":
|
|
3923
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
3924
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
3925
|
+
case "ResourceNotFoundFault":
|
|
3926
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3927
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3928
|
+
case "ResourceQuotaExceededFault":
|
|
3929
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
3930
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
3931
|
+
default:
|
|
3932
|
+
const parsedBody = parsedOutput.body;
|
|
3933
|
+
return throwDefaultError({
|
|
3934
|
+
output,
|
|
3935
|
+
parsedBody,
|
|
3936
|
+
errorCode,
|
|
3937
|
+
});
|
|
3938
|
+
}
|
|
3939
|
+
};
|
|
3940
|
+
const de_RebootReplicationInstanceCommand = async (output, context) => {
|
|
3941
|
+
if (output.statusCode >= 300) {
|
|
3942
|
+
return de_RebootReplicationInstanceCommandError(output, context);
|
|
3943
|
+
}
|
|
3944
|
+
const data = await parseBody(output.body, context);
|
|
3945
|
+
let contents = {};
|
|
3946
|
+
contents = de_RebootReplicationInstanceResponse(data, context);
|
|
3947
|
+
const response = {
|
|
3948
|
+
$metadata: deserializeMetadata(output),
|
|
3949
|
+
...contents,
|
|
3950
|
+
};
|
|
3951
|
+
return response;
|
|
3952
|
+
};
|
|
3953
|
+
exports.de_RebootReplicationInstanceCommand = de_RebootReplicationInstanceCommand;
|
|
3954
|
+
const de_RebootReplicationInstanceCommandError = async (output, context) => {
|
|
3955
|
+
const parsedOutput = {
|
|
3956
|
+
...output,
|
|
3957
|
+
body: await parseErrorBody(output.body, context),
|
|
3958
|
+
};
|
|
3959
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3960
|
+
switch (errorCode) {
|
|
3961
|
+
case "InvalidResourceStateFault":
|
|
3962
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3963
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
3964
|
+
case "ResourceNotFoundFault":
|
|
3965
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3966
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3967
|
+
default:
|
|
3968
|
+
const parsedBody = parsedOutput.body;
|
|
3969
|
+
return throwDefaultError({
|
|
3970
|
+
output,
|
|
3971
|
+
parsedBody,
|
|
3972
|
+
errorCode,
|
|
3973
|
+
});
|
|
3974
|
+
}
|
|
3975
|
+
};
|
|
3976
|
+
const de_RefreshSchemasCommand = async (output, context) => {
|
|
3977
|
+
if (output.statusCode >= 300) {
|
|
3978
|
+
return de_RefreshSchemasCommandError(output, context);
|
|
3979
|
+
}
|
|
3980
|
+
const data = await parseBody(output.body, context);
|
|
3981
|
+
let contents = {};
|
|
3982
|
+
contents = de_RefreshSchemasResponse(data, context);
|
|
3983
|
+
const response = {
|
|
3984
|
+
$metadata: deserializeMetadata(output),
|
|
3985
|
+
...contents,
|
|
3986
|
+
};
|
|
3987
|
+
return response;
|
|
3988
|
+
};
|
|
3989
|
+
exports.de_RefreshSchemasCommand = de_RefreshSchemasCommand;
|
|
3990
|
+
const de_RefreshSchemasCommandError = async (output, context) => {
|
|
3991
|
+
const parsedOutput = {
|
|
3992
|
+
...output,
|
|
3993
|
+
body: await parseErrorBody(output.body, context),
|
|
3994
|
+
};
|
|
3995
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3996
|
+
switch (errorCode) {
|
|
3997
|
+
case "InvalidResourceStateFault":
|
|
3998
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3999
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
4000
|
+
case "KMSKeyNotAccessibleFault":
|
|
4001
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
4002
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
4003
|
+
case "ResourceNotFoundFault":
|
|
4004
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
4005
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4006
|
+
case "ResourceQuotaExceededFault":
|
|
4007
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
4008
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
4009
|
+
default:
|
|
4010
|
+
const parsedBody = parsedOutput.body;
|
|
4011
|
+
return throwDefaultError({
|
|
4012
|
+
output,
|
|
4013
|
+
parsedBody,
|
|
4014
|
+
errorCode,
|
|
4015
|
+
});
|
|
4016
|
+
}
|
|
4017
|
+
};
|
|
4018
|
+
const de_ReloadReplicationTablesCommand = async (output, context) => {
|
|
4019
|
+
if (output.statusCode >= 300) {
|
|
4020
|
+
return de_ReloadReplicationTablesCommandError(output, context);
|
|
4021
|
+
}
|
|
4022
|
+
const data = await parseBody(output.body, context);
|
|
4023
|
+
let contents = {};
|
|
4024
|
+
contents = (0, smithy_client_1._json)(data);
|
|
4025
|
+
const response = {
|
|
4026
|
+
$metadata: deserializeMetadata(output),
|
|
4027
|
+
...contents,
|
|
4028
|
+
};
|
|
4029
|
+
return response;
|
|
4030
|
+
};
|
|
4031
|
+
exports.de_ReloadReplicationTablesCommand = de_ReloadReplicationTablesCommand;
|
|
4032
|
+
const de_ReloadReplicationTablesCommandError = async (output, context) => {
|
|
4033
|
+
const parsedOutput = {
|
|
4034
|
+
...output,
|
|
4035
|
+
body: await parseErrorBody(output.body, context),
|
|
4036
|
+
};
|
|
4037
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4038
|
+
switch (errorCode) {
|
|
4039
|
+
case "InvalidResourceStateFault":
|
|
4040
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
4041
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
4042
|
+
case "ResourceNotFoundFault":
|
|
4043
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
4044
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4045
|
+
default:
|
|
4046
|
+
const parsedBody = parsedOutput.body;
|
|
4047
|
+
return throwDefaultError({
|
|
4048
|
+
output,
|
|
4049
|
+
parsedBody,
|
|
4050
|
+
errorCode,
|
|
4051
|
+
});
|
|
4052
|
+
}
|
|
4053
|
+
};
|
|
4054
|
+
const de_ReloadTablesCommand = async (output, context) => {
|
|
4055
|
+
if (output.statusCode >= 300) {
|
|
4056
|
+
return de_ReloadTablesCommandError(output, context);
|
|
4057
|
+
}
|
|
4058
|
+
const data = await parseBody(output.body, context);
|
|
4059
|
+
let contents = {};
|
|
4060
|
+
contents = (0, smithy_client_1._json)(data);
|
|
4061
|
+
const response = {
|
|
4062
|
+
$metadata: deserializeMetadata(output),
|
|
4063
|
+
...contents,
|
|
4064
|
+
};
|
|
4065
|
+
return response;
|
|
4066
|
+
};
|
|
4067
|
+
exports.de_ReloadTablesCommand = de_ReloadTablesCommand;
|
|
4068
|
+
const de_ReloadTablesCommandError = async (output, context) => {
|
|
4069
|
+
const parsedOutput = {
|
|
4070
|
+
...output,
|
|
4071
|
+
body: await parseErrorBody(output.body, context),
|
|
4072
|
+
};
|
|
4073
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4074
|
+
switch (errorCode) {
|
|
4075
|
+
case "InvalidResourceStateFault":
|
|
4076
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
4077
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
4078
|
+
case "ResourceNotFoundFault":
|
|
4079
|
+
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
4080
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4081
|
+
default:
|
|
4082
|
+
const parsedBody = parsedOutput.body;
|
|
4083
|
+
return throwDefaultError({
|
|
4084
|
+
output,
|
|
4085
|
+
parsedBody,
|
|
4086
|
+
errorCode,
|
|
4087
|
+
});
|
|
4088
|
+
}
|
|
4089
|
+
};
|
|
4090
|
+
const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
4091
|
+
if (output.statusCode >= 300) {
|
|
4092
|
+
return de_RemoveTagsFromResourceCommandError(output, context);
|
|
2839
4093
|
}
|
|
2840
4094
|
const data = await parseBody(output.body, context);
|
|
2841
4095
|
let contents = {};
|
|
2842
|
-
contents =
|
|
4096
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2843
4097
|
const response = {
|
|
2844
4098
|
$metadata: deserializeMetadata(output),
|
|
2845
4099
|
...contents,
|
|
2846
4100
|
};
|
|
2847
4101
|
return response;
|
|
2848
4102
|
};
|
|
2849
|
-
exports.
|
|
2850
|
-
const
|
|
4103
|
+
exports.de_RemoveTagsFromResourceCommand = de_RemoveTagsFromResourceCommand;
|
|
4104
|
+
const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
2851
4105
|
const parsedOutput = {
|
|
2852
4106
|
...output,
|
|
2853
4107
|
body: await parseErrorBody(output.body, context),
|
|
2854
4108
|
};
|
|
2855
4109
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2856
4110
|
switch (errorCode) {
|
|
2857
|
-
case "InvalidResourceStateFault":
|
|
2858
|
-
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
2859
|
-
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
2860
|
-
case "KMSKeyNotAccessibleFault":
|
|
2861
|
-
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
2862
|
-
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
2863
|
-
case "ResourceAlreadyExistsFault":
|
|
2864
|
-
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
2865
|
-
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
2866
4111
|
case "ResourceNotFoundFault":
|
|
2867
4112
|
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2868
4113
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
@@ -2875,42 +4120,33 @@ const de_ModifyReplicationTaskCommandError = async (output, context) => {
|
|
|
2875
4120
|
});
|
|
2876
4121
|
}
|
|
2877
4122
|
};
|
|
2878
|
-
const
|
|
4123
|
+
const de_RunFleetAdvisorLsaAnalysisCommand = async (output, context) => {
|
|
2879
4124
|
if (output.statusCode >= 300) {
|
|
2880
|
-
return
|
|
4125
|
+
return de_RunFleetAdvisorLsaAnalysisCommandError(output, context);
|
|
2881
4126
|
}
|
|
2882
4127
|
const data = await parseBody(output.body, context);
|
|
2883
4128
|
let contents = {};
|
|
2884
|
-
contents =
|
|
4129
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2885
4130
|
const response = {
|
|
2886
4131
|
$metadata: deserializeMetadata(output),
|
|
2887
4132
|
...contents,
|
|
2888
4133
|
};
|
|
2889
4134
|
return response;
|
|
2890
4135
|
};
|
|
2891
|
-
exports.
|
|
2892
|
-
const
|
|
4136
|
+
exports.de_RunFleetAdvisorLsaAnalysisCommand = de_RunFleetAdvisorLsaAnalysisCommand;
|
|
4137
|
+
const de_RunFleetAdvisorLsaAnalysisCommandError = async (output, context) => {
|
|
2893
4138
|
const parsedOutput = {
|
|
2894
4139
|
...output,
|
|
2895
4140
|
body: await parseErrorBody(output.body, context),
|
|
2896
4141
|
};
|
|
2897
4142
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2898
4143
|
switch (errorCode) {
|
|
2899
|
-
case "AccessDeniedFault":
|
|
2900
|
-
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
2901
|
-
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
2902
4144
|
case "InvalidResourceStateFault":
|
|
2903
4145
|
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
2904
4146
|
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
2905
|
-
case "KMSKeyNotAccessibleFault":
|
|
2906
|
-
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
2907
|
-
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
2908
4147
|
case "ResourceNotFoundFault":
|
|
2909
4148
|
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2910
4149
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2911
|
-
case "ResourceQuotaExceededFault":
|
|
2912
|
-
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
2913
|
-
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
2914
4150
|
default:
|
|
2915
4151
|
const parsedBody = parsedOutput.body;
|
|
2916
4152
|
return throwDefaultError({
|
|
@@ -2920,33 +4156,51 @@ const de_MoveReplicationTaskCommandError = async (output, context) => {
|
|
|
2920
4156
|
});
|
|
2921
4157
|
}
|
|
2922
4158
|
};
|
|
2923
|
-
const
|
|
4159
|
+
const de_StartExtensionPackAssociationCommand = async (output, context) => {
|
|
2924
4160
|
if (output.statusCode >= 300) {
|
|
2925
|
-
return
|
|
4161
|
+
return de_StartExtensionPackAssociationCommandError(output, context);
|
|
2926
4162
|
}
|
|
2927
4163
|
const data = await parseBody(output.body, context);
|
|
2928
4164
|
let contents = {};
|
|
2929
|
-
contents =
|
|
4165
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2930
4166
|
const response = {
|
|
2931
4167
|
$metadata: deserializeMetadata(output),
|
|
2932
4168
|
...contents,
|
|
2933
4169
|
};
|
|
2934
4170
|
return response;
|
|
2935
4171
|
};
|
|
2936
|
-
exports.
|
|
2937
|
-
const
|
|
4172
|
+
exports.de_StartExtensionPackAssociationCommand = de_StartExtensionPackAssociationCommand;
|
|
4173
|
+
const de_StartExtensionPackAssociationCommandError = async (output, context) => {
|
|
2938
4174
|
const parsedOutput = {
|
|
2939
4175
|
...output,
|
|
2940
4176
|
body: await parseErrorBody(output.body, context),
|
|
2941
4177
|
};
|
|
2942
4178
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2943
4179
|
switch (errorCode) {
|
|
4180
|
+
case "AccessDeniedFault":
|
|
4181
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
4182
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
2944
4183
|
case "InvalidResourceStateFault":
|
|
2945
4184
|
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
2946
4185
|
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
4186
|
+
case "KMSKeyNotAccessibleFault":
|
|
4187
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
4188
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
4189
|
+
case "ResourceAlreadyExistsFault":
|
|
4190
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
4191
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
2947
4192
|
case "ResourceNotFoundFault":
|
|
2948
4193
|
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2949
4194
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4195
|
+
case "ResourceQuotaExceededFault":
|
|
4196
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
4197
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
4198
|
+
case "S3AccessDeniedFault":
|
|
4199
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
4200
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
4201
|
+
case "S3ResourceNotFoundFault":
|
|
4202
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
4203
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2950
4204
|
default:
|
|
2951
4205
|
const parsedBody = parsedOutput.body;
|
|
2952
4206
|
return throwDefaultError({
|
|
@@ -2956,39 +4210,51 @@ const de_RebootReplicationInstanceCommandError = async (output, context) => {
|
|
|
2956
4210
|
});
|
|
2957
4211
|
}
|
|
2958
4212
|
};
|
|
2959
|
-
const
|
|
4213
|
+
const de_StartMetadataModelAssessmentCommand = async (output, context) => {
|
|
2960
4214
|
if (output.statusCode >= 300) {
|
|
2961
|
-
return
|
|
4215
|
+
return de_StartMetadataModelAssessmentCommandError(output, context);
|
|
2962
4216
|
}
|
|
2963
4217
|
const data = await parseBody(output.body, context);
|
|
2964
4218
|
let contents = {};
|
|
2965
|
-
contents =
|
|
4219
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2966
4220
|
const response = {
|
|
2967
4221
|
$metadata: deserializeMetadata(output),
|
|
2968
4222
|
...contents,
|
|
2969
4223
|
};
|
|
2970
4224
|
return response;
|
|
2971
4225
|
};
|
|
2972
|
-
exports.
|
|
2973
|
-
const
|
|
4226
|
+
exports.de_StartMetadataModelAssessmentCommand = de_StartMetadataModelAssessmentCommand;
|
|
4227
|
+
const de_StartMetadataModelAssessmentCommandError = async (output, context) => {
|
|
2974
4228
|
const parsedOutput = {
|
|
2975
4229
|
...output,
|
|
2976
4230
|
body: await parseErrorBody(output.body, context),
|
|
2977
4231
|
};
|
|
2978
4232
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2979
4233
|
switch (errorCode) {
|
|
4234
|
+
case "AccessDeniedFault":
|
|
4235
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
4236
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
2980
4237
|
case "InvalidResourceStateFault":
|
|
2981
4238
|
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
2982
4239
|
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
2983
4240
|
case "KMSKeyNotAccessibleFault":
|
|
2984
4241
|
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
2985
4242
|
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
4243
|
+
case "ResourceAlreadyExistsFault":
|
|
4244
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
4245
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
2986
4246
|
case "ResourceNotFoundFault":
|
|
2987
4247
|
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
2988
4248
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2989
4249
|
case "ResourceQuotaExceededFault":
|
|
2990
4250
|
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
2991
4251
|
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
4252
|
+
case "S3AccessDeniedFault":
|
|
4253
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
4254
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
4255
|
+
case "S3ResourceNotFoundFault":
|
|
4256
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
4257
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2992
4258
|
default:
|
|
2993
4259
|
const parsedBody = parsedOutput.body;
|
|
2994
4260
|
return throwDefaultError({
|
|
@@ -2998,9 +4264,9 @@ const de_RefreshSchemasCommandError = async (output, context) => {
|
|
|
2998
4264
|
});
|
|
2999
4265
|
}
|
|
3000
4266
|
};
|
|
3001
|
-
const
|
|
4267
|
+
const de_StartMetadataModelConversionCommand = async (output, context) => {
|
|
3002
4268
|
if (output.statusCode >= 300) {
|
|
3003
|
-
return
|
|
4269
|
+
return de_StartMetadataModelConversionCommandError(output, context);
|
|
3004
4270
|
}
|
|
3005
4271
|
const data = await parseBody(output.body, context);
|
|
3006
4272
|
let contents = {};
|
|
@@ -3011,20 +4277,38 @@ const de_ReloadReplicationTablesCommand = async (output, context) => {
|
|
|
3011
4277
|
};
|
|
3012
4278
|
return response;
|
|
3013
4279
|
};
|
|
3014
|
-
exports.
|
|
3015
|
-
const
|
|
4280
|
+
exports.de_StartMetadataModelConversionCommand = de_StartMetadataModelConversionCommand;
|
|
4281
|
+
const de_StartMetadataModelConversionCommandError = async (output, context) => {
|
|
3016
4282
|
const parsedOutput = {
|
|
3017
4283
|
...output,
|
|
3018
4284
|
body: await parseErrorBody(output.body, context),
|
|
3019
4285
|
};
|
|
3020
4286
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3021
4287
|
switch (errorCode) {
|
|
4288
|
+
case "AccessDeniedFault":
|
|
4289
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
4290
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
3022
4291
|
case "InvalidResourceStateFault":
|
|
3023
4292
|
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3024
4293
|
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
4294
|
+
case "KMSKeyNotAccessibleFault":
|
|
4295
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
4296
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
4297
|
+
case "ResourceAlreadyExistsFault":
|
|
4298
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
4299
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
3025
4300
|
case "ResourceNotFoundFault":
|
|
3026
4301
|
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3027
4302
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4303
|
+
case "ResourceQuotaExceededFault":
|
|
4304
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
4305
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
4306
|
+
case "S3AccessDeniedFault":
|
|
4307
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
4308
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
4309
|
+
case "S3ResourceNotFoundFault":
|
|
4310
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
4311
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3028
4312
|
default:
|
|
3029
4313
|
const parsedBody = parsedOutput.body;
|
|
3030
4314
|
return throwDefaultError({
|
|
@@ -3034,9 +4318,9 @@ const de_ReloadReplicationTablesCommandError = async (output, context) => {
|
|
|
3034
4318
|
});
|
|
3035
4319
|
}
|
|
3036
4320
|
};
|
|
3037
|
-
const
|
|
4321
|
+
const de_StartMetadataModelExportAsScriptCommand = async (output, context) => {
|
|
3038
4322
|
if (output.statusCode >= 300) {
|
|
3039
|
-
return
|
|
4323
|
+
return de_StartMetadataModelExportAsScriptCommandError(output, context);
|
|
3040
4324
|
}
|
|
3041
4325
|
const data = await parseBody(output.body, context);
|
|
3042
4326
|
let contents = {};
|
|
@@ -3047,20 +4331,38 @@ const de_ReloadTablesCommand = async (output, context) => {
|
|
|
3047
4331
|
};
|
|
3048
4332
|
return response;
|
|
3049
4333
|
};
|
|
3050
|
-
exports.
|
|
3051
|
-
const
|
|
4334
|
+
exports.de_StartMetadataModelExportAsScriptCommand = de_StartMetadataModelExportAsScriptCommand;
|
|
4335
|
+
const de_StartMetadataModelExportAsScriptCommandError = async (output, context) => {
|
|
3052
4336
|
const parsedOutput = {
|
|
3053
4337
|
...output,
|
|
3054
4338
|
body: await parseErrorBody(output.body, context),
|
|
3055
4339
|
};
|
|
3056
4340
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3057
4341
|
switch (errorCode) {
|
|
4342
|
+
case "AccessDeniedFault":
|
|
4343
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
4344
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
3058
4345
|
case "InvalidResourceStateFault":
|
|
3059
4346
|
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3060
4347
|
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
4348
|
+
case "KMSKeyNotAccessibleFault":
|
|
4349
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
4350
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
4351
|
+
case "ResourceAlreadyExistsFault":
|
|
4352
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
4353
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
3061
4354
|
case "ResourceNotFoundFault":
|
|
3062
4355
|
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3063
4356
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4357
|
+
case "ResourceQuotaExceededFault":
|
|
4358
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
4359
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
4360
|
+
case "S3AccessDeniedFault":
|
|
4361
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
4362
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
4363
|
+
case "S3ResourceNotFoundFault":
|
|
4364
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
4365
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3064
4366
|
default:
|
|
3065
4367
|
const parsedBody = parsedOutput.body;
|
|
3066
4368
|
return throwDefaultError({
|
|
@@ -3070,9 +4372,9 @@ const de_ReloadTablesCommandError = async (output, context) => {
|
|
|
3070
4372
|
});
|
|
3071
4373
|
}
|
|
3072
4374
|
};
|
|
3073
|
-
const
|
|
4375
|
+
const de_StartMetadataModelExportToTargetCommand = async (output, context) => {
|
|
3074
4376
|
if (output.statusCode >= 300) {
|
|
3075
|
-
return
|
|
4377
|
+
return de_StartMetadataModelExportToTargetCommandError(output, context);
|
|
3076
4378
|
}
|
|
3077
4379
|
const data = await parseBody(output.body, context);
|
|
3078
4380
|
let contents = {};
|
|
@@ -3083,17 +4385,38 @@ const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
|
3083
4385
|
};
|
|
3084
4386
|
return response;
|
|
3085
4387
|
};
|
|
3086
|
-
exports.
|
|
3087
|
-
const
|
|
4388
|
+
exports.de_StartMetadataModelExportToTargetCommand = de_StartMetadataModelExportToTargetCommand;
|
|
4389
|
+
const de_StartMetadataModelExportToTargetCommandError = async (output, context) => {
|
|
3088
4390
|
const parsedOutput = {
|
|
3089
4391
|
...output,
|
|
3090
4392
|
body: await parseErrorBody(output.body, context),
|
|
3091
4393
|
};
|
|
3092
4394
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3093
4395
|
switch (errorCode) {
|
|
4396
|
+
case "AccessDeniedFault":
|
|
4397
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
4398
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
4399
|
+
case "InvalidResourceStateFault":
|
|
4400
|
+
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
4401
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
4402
|
+
case "KMSKeyNotAccessibleFault":
|
|
4403
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
4404
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
4405
|
+
case "ResourceAlreadyExistsFault":
|
|
4406
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
4407
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
3094
4408
|
case "ResourceNotFoundFault":
|
|
3095
4409
|
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3096
4410
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4411
|
+
case "ResourceQuotaExceededFault":
|
|
4412
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
4413
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
4414
|
+
case "S3AccessDeniedFault":
|
|
4415
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
4416
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
4417
|
+
case "S3ResourceNotFoundFault":
|
|
4418
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
4419
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3097
4420
|
default:
|
|
3098
4421
|
const parsedBody = parsedOutput.body;
|
|
3099
4422
|
return throwDefaultError({
|
|
@@ -3103,9 +4426,9 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
3103
4426
|
});
|
|
3104
4427
|
}
|
|
3105
4428
|
};
|
|
3106
|
-
const
|
|
4429
|
+
const de_StartMetadataModelImportCommand = async (output, context) => {
|
|
3107
4430
|
if (output.statusCode >= 300) {
|
|
3108
|
-
return
|
|
4431
|
+
return de_StartMetadataModelImportCommandError(output, context);
|
|
3109
4432
|
}
|
|
3110
4433
|
const data = await parseBody(output.body, context);
|
|
3111
4434
|
let contents = {};
|
|
@@ -3116,20 +4439,38 @@ const de_RunFleetAdvisorLsaAnalysisCommand = async (output, context) => {
|
|
|
3116
4439
|
};
|
|
3117
4440
|
return response;
|
|
3118
4441
|
};
|
|
3119
|
-
exports.
|
|
3120
|
-
const
|
|
4442
|
+
exports.de_StartMetadataModelImportCommand = de_StartMetadataModelImportCommand;
|
|
4443
|
+
const de_StartMetadataModelImportCommandError = async (output, context) => {
|
|
3121
4444
|
const parsedOutput = {
|
|
3122
4445
|
...output,
|
|
3123
4446
|
body: await parseErrorBody(output.body, context),
|
|
3124
4447
|
};
|
|
3125
4448
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3126
4449
|
switch (errorCode) {
|
|
4450
|
+
case "AccessDeniedFault":
|
|
4451
|
+
case "com.amazonaws.databasemigrationservice#AccessDeniedFault":
|
|
4452
|
+
throw await de_AccessDeniedFaultRes(parsedOutput, context);
|
|
3127
4453
|
case "InvalidResourceStateFault":
|
|
3128
4454
|
case "com.amazonaws.databasemigrationservice#InvalidResourceStateFault":
|
|
3129
4455
|
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
4456
|
+
case "KMSKeyNotAccessibleFault":
|
|
4457
|
+
case "com.amazonaws.databasemigrationservice#KMSKeyNotAccessibleFault":
|
|
4458
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
4459
|
+
case "ResourceAlreadyExistsFault":
|
|
4460
|
+
case "com.amazonaws.databasemigrationservice#ResourceAlreadyExistsFault":
|
|
4461
|
+
throw await de_ResourceAlreadyExistsFaultRes(parsedOutput, context);
|
|
3130
4462
|
case "ResourceNotFoundFault":
|
|
3131
4463
|
case "com.amazonaws.databasemigrationservice#ResourceNotFoundFault":
|
|
3132
4464
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4465
|
+
case "ResourceQuotaExceededFault":
|
|
4466
|
+
case "com.amazonaws.databasemigrationservice#ResourceQuotaExceededFault":
|
|
4467
|
+
throw await de_ResourceQuotaExceededFaultRes(parsedOutput, context);
|
|
4468
|
+
case "S3AccessDeniedFault":
|
|
4469
|
+
case "com.amazonaws.databasemigrationservice#S3AccessDeniedFault":
|
|
4470
|
+
throw await de_S3AccessDeniedFaultRes(parsedOutput, context);
|
|
4471
|
+
case "S3ResourceNotFoundFault":
|
|
4472
|
+
case "com.amazonaws.databasemigrationservice#S3ResourceNotFoundFault":
|
|
4473
|
+
throw await de_S3ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3133
4474
|
default:
|
|
3134
4475
|
const parsedBody = parsedOutput.body;
|
|
3135
4476
|
return throwDefaultError({
|
|
@@ -3595,7 +4936,7 @@ const de_KMSDisabledFaultRes = async (parsedOutput, context) => {
|
|
|
3595
4936
|
const de_KMSFaultRes = async (parsedOutput, context) => {
|
|
3596
4937
|
const body = parsedOutput.body;
|
|
3597
4938
|
const deserialized = (0, smithy_client_1._json)(body);
|
|
3598
|
-
const exception = new
|
|
4939
|
+
const exception = new models_1_1.KMSFault({
|
|
3599
4940
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3600
4941
|
...deserialized,
|
|
3601
4942
|
});
|
|
@@ -3721,7 +5062,7 @@ const de_StorageQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
3721
5062
|
const de_SubnetAlreadyInUseRes = async (parsedOutput, context) => {
|
|
3722
5063
|
const body = parsedOutput.body;
|
|
3723
5064
|
const deserialized = (0, smithy_client_1._json)(body);
|
|
3724
|
-
const exception = new
|
|
5065
|
+
const exception = new models_1_1.SubnetAlreadyInUse({
|
|
3725
5066
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3726
5067
|
...deserialized,
|
|
3727
5068
|
});
|
|
@@ -3730,7 +5071,7 @@ const de_SubnetAlreadyInUseRes = async (parsedOutput, context) => {
|
|
|
3730
5071
|
const de_UpgradeDependencyFailureFaultRes = async (parsedOutput, context) => {
|
|
3731
5072
|
const body = parsedOutput.body;
|
|
3732
5073
|
const deserialized = (0, smithy_client_1._json)(body);
|
|
3733
|
-
const exception = new
|
|
5074
|
+
const exception = new models_1_1.UpgradeDependencyFailureFault({
|
|
3734
5075
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3735
5076
|
...deserialized,
|
|
3736
5077
|
});
|
|
@@ -3837,6 +5178,21 @@ const de_CertificateList = (output, context) => {
|
|
|
3837
5178
|
});
|
|
3838
5179
|
return retVal;
|
|
3839
5180
|
};
|
|
5181
|
+
const de_CreateDataProviderResponse = (output, context) => {
|
|
5182
|
+
return (0, smithy_client_1.take)(output, {
|
|
5183
|
+
DataProvider: (_) => de_DataProvider(_, context),
|
|
5184
|
+
});
|
|
5185
|
+
};
|
|
5186
|
+
const de_CreateInstanceProfileResponse = (output, context) => {
|
|
5187
|
+
return (0, smithy_client_1.take)(output, {
|
|
5188
|
+
InstanceProfile: (_) => de_InstanceProfile(_, context),
|
|
5189
|
+
});
|
|
5190
|
+
};
|
|
5191
|
+
const de_CreateMigrationProjectResponse = (output, context) => {
|
|
5192
|
+
return (0, smithy_client_1.take)(output, {
|
|
5193
|
+
MigrationProject: (_) => de_MigrationProject(_, context),
|
|
5194
|
+
});
|
|
5195
|
+
};
|
|
3840
5196
|
const de_CreateReplicationConfigResponse = (output, context) => {
|
|
3841
5197
|
return (0, smithy_client_1.take)(output, {
|
|
3842
5198
|
ReplicationConfig: (_) => de_ReplicationConfig(_, context),
|
|
@@ -3852,11 +5208,44 @@ const de_CreateReplicationTaskResponse = (output, context) => {
|
|
|
3852
5208
|
ReplicationTask: (_) => de_ReplicationTask(_, context),
|
|
3853
5209
|
});
|
|
3854
5210
|
};
|
|
5211
|
+
const de_DataProvider = (output, context) => {
|
|
5212
|
+
return (0, smithy_client_1.take)(output, {
|
|
5213
|
+
DataProviderArn: smithy_client_1.expectString,
|
|
5214
|
+
DataProviderCreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
5215
|
+
DataProviderName: smithy_client_1.expectString,
|
|
5216
|
+
Description: smithy_client_1.expectString,
|
|
5217
|
+
Engine: smithy_client_1.expectString,
|
|
5218
|
+
Settings: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
|
|
5219
|
+
});
|
|
5220
|
+
};
|
|
5221
|
+
const de_DataProviderList = (output, context) => {
|
|
5222
|
+
const retVal = (output || [])
|
|
5223
|
+
.filter((e) => e != null)
|
|
5224
|
+
.map((entry) => {
|
|
5225
|
+
return de_DataProvider(entry, context);
|
|
5226
|
+
});
|
|
5227
|
+
return retVal;
|
|
5228
|
+
};
|
|
3855
5229
|
const de_DeleteCertificateResponse = (output, context) => {
|
|
3856
5230
|
return (0, smithy_client_1.take)(output, {
|
|
3857
5231
|
Certificate: (_) => de_Certificate(_, context),
|
|
3858
5232
|
});
|
|
3859
5233
|
};
|
|
5234
|
+
const de_DeleteDataProviderResponse = (output, context) => {
|
|
5235
|
+
return (0, smithy_client_1.take)(output, {
|
|
5236
|
+
DataProvider: (_) => de_DataProvider(_, context),
|
|
5237
|
+
});
|
|
5238
|
+
};
|
|
5239
|
+
const de_DeleteInstanceProfileResponse = (output, context) => {
|
|
5240
|
+
return (0, smithy_client_1.take)(output, {
|
|
5241
|
+
InstanceProfile: (_) => de_InstanceProfile(_, context),
|
|
5242
|
+
});
|
|
5243
|
+
};
|
|
5244
|
+
const de_DeleteMigrationProjectResponse = (output, context) => {
|
|
5245
|
+
return (0, smithy_client_1.take)(output, {
|
|
5246
|
+
MigrationProject: (_) => de_MigrationProject(_, context),
|
|
5247
|
+
});
|
|
5248
|
+
};
|
|
3860
5249
|
const de_DeleteReplicationConfigResponse = (output, context) => {
|
|
3861
5250
|
return (0, smithy_client_1.take)(output, {
|
|
3862
5251
|
ReplicationConfig: (_) => de_ReplicationConfig(_, context),
|
|
@@ -3883,6 +5272,18 @@ const de_DescribeCertificatesResponse = (output, context) => {
|
|
|
3883
5272
|
Marker: smithy_client_1.expectString,
|
|
3884
5273
|
});
|
|
3885
5274
|
};
|
|
5275
|
+
const de_DescribeDataProvidersResponse = (output, context) => {
|
|
5276
|
+
return (0, smithy_client_1.take)(output, {
|
|
5277
|
+
DataProviders: (_) => de_DataProviderList(_, context),
|
|
5278
|
+
Marker: smithy_client_1.expectString,
|
|
5279
|
+
});
|
|
5280
|
+
};
|
|
5281
|
+
const de_DescribeEngineVersionsResponse = (output, context) => {
|
|
5282
|
+
return (0, smithy_client_1.take)(output, {
|
|
5283
|
+
EngineVersions: (_) => de_EngineVersionList(_, context),
|
|
5284
|
+
Marker: smithy_client_1.expectString,
|
|
5285
|
+
});
|
|
5286
|
+
};
|
|
3886
5287
|
const de_DescribeEventsResponse = (output, context) => {
|
|
3887
5288
|
return (0, smithy_client_1.take)(output, {
|
|
3888
5289
|
Events: (_) => de_EventList(_, context),
|
|
@@ -3895,6 +5296,18 @@ const de_DescribeFleetAdvisorSchemasResponse = (output, context) => {
|
|
|
3895
5296
|
NextToken: smithy_client_1.expectString,
|
|
3896
5297
|
});
|
|
3897
5298
|
};
|
|
5299
|
+
const de_DescribeInstanceProfilesResponse = (output, context) => {
|
|
5300
|
+
return (0, smithy_client_1.take)(output, {
|
|
5301
|
+
InstanceProfiles: (_) => de_InstanceProfileList(_, context),
|
|
5302
|
+
Marker: smithy_client_1.expectString,
|
|
5303
|
+
});
|
|
5304
|
+
};
|
|
5305
|
+
const de_DescribeMigrationProjectsResponse = (output, context) => {
|
|
5306
|
+
return (0, smithy_client_1.take)(output, {
|
|
5307
|
+
Marker: smithy_client_1.expectString,
|
|
5308
|
+
MigrationProjects: (_) => de_MigrationProjectList(_, context),
|
|
5309
|
+
});
|
|
5310
|
+
};
|
|
3898
5311
|
const de_DescribePendingMaintenanceActionsResponse = (output, context) => {
|
|
3899
5312
|
return (0, smithy_client_1.take)(output, {
|
|
3900
5313
|
Marker: smithy_client_1.expectString,
|
|
@@ -3969,6 +5382,26 @@ const de_DescribeTableStatisticsResponse = (output, context) => {
|
|
|
3969
5382
|
TableStatistics: (_) => de_TableStatisticsList(_, context),
|
|
3970
5383
|
});
|
|
3971
5384
|
};
|
|
5385
|
+
const de_EngineVersion = (output, context) => {
|
|
5386
|
+
return (0, smithy_client_1.take)(output, {
|
|
5387
|
+
AutoUpgradeDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
5388
|
+
AvailableUpgrades: smithy_client_1._json,
|
|
5389
|
+
DeprecationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
5390
|
+
ForceUpgradeDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
5391
|
+
LaunchDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
5392
|
+
Lifecycle: smithy_client_1.expectString,
|
|
5393
|
+
ReleaseStatus: smithy_client_1.expectString,
|
|
5394
|
+
Version: smithy_client_1.expectString,
|
|
5395
|
+
});
|
|
5396
|
+
};
|
|
5397
|
+
const de_EngineVersionList = (output, context) => {
|
|
5398
|
+
const retVal = (output || [])
|
|
5399
|
+
.filter((e) => e != null)
|
|
5400
|
+
.map((entry) => {
|
|
5401
|
+
return de_EngineVersion(entry, context);
|
|
5402
|
+
});
|
|
5403
|
+
return retVal;
|
|
5404
|
+
};
|
|
3972
5405
|
const de_Event = (output, context) => {
|
|
3973
5406
|
return (0, smithy_client_1.take)(output, {
|
|
3974
5407
|
Date: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
@@ -3999,6 +5432,65 @@ const de_ImportCertificateResponse = (output, context) => {
|
|
|
3999
5432
|
Certificate: (_) => de_Certificate(_, context),
|
|
4000
5433
|
});
|
|
4001
5434
|
};
|
|
5435
|
+
const de_InstanceProfile = (output, context) => {
|
|
5436
|
+
return (0, smithy_client_1.take)(output, {
|
|
5437
|
+
AvailabilityZone: smithy_client_1.expectString,
|
|
5438
|
+
Description: smithy_client_1.expectString,
|
|
5439
|
+
InstanceProfileArn: smithy_client_1.expectString,
|
|
5440
|
+
InstanceProfileCreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
5441
|
+
InstanceProfileName: smithy_client_1.expectString,
|
|
5442
|
+
KmsKeyArn: smithy_client_1.expectString,
|
|
5443
|
+
NetworkType: smithy_client_1.expectString,
|
|
5444
|
+
PubliclyAccessible: smithy_client_1.expectBoolean,
|
|
5445
|
+
SubnetGroupIdentifier: smithy_client_1.expectString,
|
|
5446
|
+
VpcSecurityGroups: smithy_client_1._json,
|
|
5447
|
+
});
|
|
5448
|
+
};
|
|
5449
|
+
const de_InstanceProfileList = (output, context) => {
|
|
5450
|
+
const retVal = (output || [])
|
|
5451
|
+
.filter((e) => e != null)
|
|
5452
|
+
.map((entry) => {
|
|
5453
|
+
return de_InstanceProfile(entry, context);
|
|
5454
|
+
});
|
|
5455
|
+
return retVal;
|
|
5456
|
+
};
|
|
5457
|
+
const de_MigrationProject = (output, context) => {
|
|
5458
|
+
return (0, smithy_client_1.take)(output, {
|
|
5459
|
+
Description: smithy_client_1.expectString,
|
|
5460
|
+
InstanceProfileArn: smithy_client_1.expectString,
|
|
5461
|
+
InstanceProfileName: smithy_client_1.expectString,
|
|
5462
|
+
MigrationProjectArn: smithy_client_1.expectString,
|
|
5463
|
+
MigrationProjectCreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
5464
|
+
MigrationProjectName: smithy_client_1.expectString,
|
|
5465
|
+
SchemaConversionApplicationAttributes: smithy_client_1._json,
|
|
5466
|
+
SourceDataProviderDescriptors: smithy_client_1._json,
|
|
5467
|
+
TargetDataProviderDescriptors: smithy_client_1._json,
|
|
5468
|
+
TransformationRules: smithy_client_1.expectString,
|
|
5469
|
+
});
|
|
5470
|
+
};
|
|
5471
|
+
const de_MigrationProjectList = (output, context) => {
|
|
5472
|
+
const retVal = (output || [])
|
|
5473
|
+
.filter((e) => e != null)
|
|
5474
|
+
.map((entry) => {
|
|
5475
|
+
return de_MigrationProject(entry, context);
|
|
5476
|
+
});
|
|
5477
|
+
return retVal;
|
|
5478
|
+
};
|
|
5479
|
+
const de_ModifyDataProviderResponse = (output, context) => {
|
|
5480
|
+
return (0, smithy_client_1.take)(output, {
|
|
5481
|
+
DataProvider: (_) => de_DataProvider(_, context),
|
|
5482
|
+
});
|
|
5483
|
+
};
|
|
5484
|
+
const de_ModifyInstanceProfileResponse = (output, context) => {
|
|
5485
|
+
return (0, smithy_client_1.take)(output, {
|
|
5486
|
+
InstanceProfile: (_) => de_InstanceProfile(_, context),
|
|
5487
|
+
});
|
|
5488
|
+
};
|
|
5489
|
+
const de_ModifyMigrationProjectResponse = (output, context) => {
|
|
5490
|
+
return (0, smithy_client_1.take)(output, {
|
|
5491
|
+
MigrationProject: (_) => de_MigrationProject(_, context),
|
|
5492
|
+
});
|
|
5493
|
+
};
|
|
4002
5494
|
const de_ModifyReplicationConfigResponse = (output, context) => {
|
|
4003
5495
|
return (0, smithy_client_1.take)(output, {
|
|
4004
5496
|
ReplicationConfig: (_) => de_ReplicationConfig(_, context),
|