@aws-sdk/client-database-migration-service 3.194.0 → 3.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/DatabaseMigrationServiceClient.js +11 -8
- package/dist-cjs/commands/AddTagsToResourceCommand.js +10 -0
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +10 -0
- package/dist-cjs/commands/CancelReplicationTaskAssessmentRunCommand.js +10 -0
- package/dist-cjs/commands/CreateEndpointCommand.js +10 -0
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/CreateFleetAdvisorCollectorCommand.js +10 -0
- package/dist-cjs/commands/CreateReplicationInstanceCommand.js +10 -0
- package/dist-cjs/commands/CreateReplicationSubnetGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateReplicationTaskCommand.js +10 -0
- package/dist-cjs/commands/DeleteCertificateCommand.js +10 -0
- package/dist-cjs/commands/DeleteConnectionCommand.js +10 -0
- package/dist-cjs/commands/DeleteEndpointCommand.js +10 -0
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/DeleteFleetAdvisorCollectorCommand.js +10 -0
- package/dist-cjs/commands/DeleteFleetAdvisorDatabasesCommand.js +10 -0
- package/dist-cjs/commands/DeleteReplicationInstanceCommand.js +10 -0
- package/dist-cjs/commands/DeleteReplicationSubnetGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteReplicationTaskAssessmentRunCommand.js +10 -0
- package/dist-cjs/commands/DeleteReplicationTaskCommand.js +10 -0
- package/dist-cjs/commands/DescribeAccountAttributesCommand.js +10 -0
- package/dist-cjs/commands/DescribeApplicableIndividualAssessmentsCommand.js +10 -0
- package/dist-cjs/commands/DescribeCertificatesCommand.js +10 -0
- package/dist-cjs/commands/DescribeConnectionsCommand.js +10 -0
- package/dist-cjs/commands/DescribeEndpointSettingsCommand.js +10 -0
- package/dist-cjs/commands/DescribeEndpointTypesCommand.js +10 -0
- package/dist-cjs/commands/DescribeEndpointsCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventsCommand.js +10 -0
- package/dist-cjs/commands/DescribeFleetAdvisorCollectorsCommand.js +10 -0
- package/dist-cjs/commands/DescribeFleetAdvisorDatabasesCommand.js +10 -0
- package/dist-cjs/commands/DescribeFleetAdvisorLsaAnalysisCommand.js +10 -0
- package/dist-cjs/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.js +10 -0
- package/dist-cjs/commands/DescribeFleetAdvisorSchemasCommand.js +10 -0
- package/dist-cjs/commands/DescribeOrderableReplicationInstancesCommand.js +10 -0
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +10 -0
- package/dist-cjs/commands/DescribeRefreshSchemasStatusCommand.js +10 -0
- package/dist-cjs/commands/DescribeReplicationInstanceTaskLogsCommand.js +10 -0
- package/dist-cjs/commands/DescribeReplicationInstancesCommand.js +10 -0
- package/dist-cjs/commands/DescribeReplicationSubnetGroupsCommand.js +10 -0
- package/dist-cjs/commands/DescribeReplicationTaskAssessmentResultsCommand.js +10 -0
- package/dist-cjs/commands/DescribeReplicationTaskAssessmentRunsCommand.js +10 -0
- package/dist-cjs/commands/DescribeReplicationTaskIndividualAssessmentsCommand.js +10 -0
- package/dist-cjs/commands/DescribeReplicationTasksCommand.js +10 -0
- package/dist-cjs/commands/DescribeSchemasCommand.js +10 -0
- package/dist-cjs/commands/DescribeTableStatisticsCommand.js +10 -0
- package/dist-cjs/commands/ImportCertificateCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ModifyEndpointCommand.js +10 -0
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +10 -0
- package/dist-cjs/commands/ModifyReplicationInstanceCommand.js +10 -0
- package/dist-cjs/commands/ModifyReplicationSubnetGroupCommand.js +10 -0
- package/dist-cjs/commands/ModifyReplicationTaskCommand.js +10 -0
- package/dist-cjs/commands/MoveReplicationTaskCommand.js +10 -0
- package/dist-cjs/commands/RebootReplicationInstanceCommand.js +10 -0
- package/dist-cjs/commands/RefreshSchemasCommand.js +10 -0
- package/dist-cjs/commands/ReloadTablesCommand.js +10 -0
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +10 -0
- package/dist-cjs/commands/RunFleetAdvisorLsaAnalysisCommand.js +10 -0
- package/dist-cjs/commands/StartReplicationTaskAssessmentCommand.js +10 -0
- package/dist-cjs/commands/StartReplicationTaskAssessmentRunCommand.js +10 -0
- package/dist-cjs/commands/StartReplicationTaskCommand.js +10 -0
- package/dist-cjs/commands/StopReplicationTaskCommand.js +10 -0
- package/dist-cjs/commands/TestConnectionCommand.js +10 -0
- package/dist-cjs/commands/UpdateSubscriptionsToEventBridgeCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +469 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/DatabaseMigrationServiceClient.js +12 -9
- package/dist-es/commands/AddTagsToResourceCommand.js +10 -0
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +10 -0
- package/dist-es/commands/CancelReplicationTaskAssessmentRunCommand.js +10 -0
- package/dist-es/commands/CreateEndpointCommand.js +10 -0
- package/dist-es/commands/CreateEventSubscriptionCommand.js +10 -0
- package/dist-es/commands/CreateFleetAdvisorCollectorCommand.js +10 -0
- package/dist-es/commands/CreateReplicationInstanceCommand.js +10 -0
- package/dist-es/commands/CreateReplicationSubnetGroupCommand.js +10 -0
- package/dist-es/commands/CreateReplicationTaskCommand.js +10 -0
- package/dist-es/commands/DeleteCertificateCommand.js +10 -0
- package/dist-es/commands/DeleteConnectionCommand.js +10 -0
- package/dist-es/commands/DeleteEndpointCommand.js +10 -0
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +10 -0
- package/dist-es/commands/DeleteFleetAdvisorCollectorCommand.js +10 -0
- package/dist-es/commands/DeleteFleetAdvisorDatabasesCommand.js +10 -0
- package/dist-es/commands/DeleteReplicationInstanceCommand.js +10 -0
- package/dist-es/commands/DeleteReplicationSubnetGroupCommand.js +10 -0
- package/dist-es/commands/DeleteReplicationTaskAssessmentRunCommand.js +10 -0
- package/dist-es/commands/DeleteReplicationTaskCommand.js +10 -0
- package/dist-es/commands/DescribeAccountAttributesCommand.js +10 -0
- package/dist-es/commands/DescribeApplicableIndividualAssessmentsCommand.js +10 -0
- package/dist-es/commands/DescribeCertificatesCommand.js +10 -0
- package/dist-es/commands/DescribeConnectionsCommand.js +10 -0
- package/dist-es/commands/DescribeEndpointSettingsCommand.js +10 -0
- package/dist-es/commands/DescribeEndpointTypesCommand.js +10 -0
- package/dist-es/commands/DescribeEndpointsCommand.js +10 -0
- package/dist-es/commands/DescribeEventCategoriesCommand.js +10 -0
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +10 -0
- package/dist-es/commands/DescribeEventsCommand.js +10 -0
- package/dist-es/commands/DescribeFleetAdvisorCollectorsCommand.js +10 -0
- package/dist-es/commands/DescribeFleetAdvisorDatabasesCommand.js +10 -0
- package/dist-es/commands/DescribeFleetAdvisorLsaAnalysisCommand.js +10 -0
- package/dist-es/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.js +10 -0
- package/dist-es/commands/DescribeFleetAdvisorSchemasCommand.js +10 -0
- package/dist-es/commands/DescribeOrderableReplicationInstancesCommand.js +10 -0
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +10 -0
- package/dist-es/commands/DescribeRefreshSchemasStatusCommand.js +10 -0
- package/dist-es/commands/DescribeReplicationInstanceTaskLogsCommand.js +10 -0
- package/dist-es/commands/DescribeReplicationInstancesCommand.js +10 -0
- package/dist-es/commands/DescribeReplicationSubnetGroupsCommand.js +10 -0
- package/dist-es/commands/DescribeReplicationTaskAssessmentResultsCommand.js +10 -0
- package/dist-es/commands/DescribeReplicationTaskAssessmentRunsCommand.js +10 -0
- package/dist-es/commands/DescribeReplicationTaskIndividualAssessmentsCommand.js +10 -0
- package/dist-es/commands/DescribeReplicationTasksCommand.js +10 -0
- package/dist-es/commands/DescribeSchemasCommand.js +10 -0
- package/dist-es/commands/DescribeTableStatisticsCommand.js +10 -0
- package/dist-es/commands/ImportCertificateCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ModifyEndpointCommand.js +10 -0
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +10 -0
- package/dist-es/commands/ModifyReplicationInstanceCommand.js +10 -0
- package/dist-es/commands/ModifyReplicationSubnetGroupCommand.js +10 -0
- package/dist-es/commands/ModifyReplicationTaskCommand.js +10 -0
- package/dist-es/commands/MoveReplicationTaskCommand.js +10 -0
- package/dist-es/commands/RebootReplicationInstanceCommand.js +10 -0
- package/dist-es/commands/RefreshSchemasCommand.js +10 -0
- package/dist-es/commands/ReloadTablesCommand.js +10 -0
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +10 -0
- package/dist-es/commands/RunFleetAdvisorLsaAnalysisCommand.js +10 -0
- package/dist-es/commands/StartReplicationTaskAssessmentCommand.js +10 -0
- package/dist-es/commands/StartReplicationTaskAssessmentRunCommand.js +10 -0
- package/dist-es/commands/StartReplicationTaskCommand.js +10 -0
- package/dist-es/commands/StopReplicationTaskCommand.js +10 -0
- package/dist-es/commands/TestConnectionCommand.js +10 -0
- package/dist-es/commands/UpdateSubscriptionsToEventBridgeCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +466 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/DatabaseMigrationServiceClient.d.ts +6 -9
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +2 -0
- package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +2 -0
- package/dist-types/commands/CancelReplicationTaskAssessmentRunCommand.d.ts +2 -0
- package/dist-types/commands/CreateEndpointCommand.d.ts +2 -0
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/CreateFleetAdvisorCollectorCommand.d.ts +2 -0
- package/dist-types/commands/CreateReplicationInstanceCommand.d.ts +2 -0
- package/dist-types/commands/CreateReplicationSubnetGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateReplicationTaskCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +2 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFleetAdvisorCollectorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFleetAdvisorDatabasesCommand.d.ts +2 -0
- package/dist-types/commands/DeleteReplicationInstanceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteReplicationSubnetGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteReplicationTaskAssessmentRunCommand.d.ts +2 -0
- package/dist-types/commands/DeleteReplicationTaskCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeApplicableIndividualAssessmentsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCertificatesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeConnectionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointSettingsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointTypesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFleetAdvisorCollectorsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFleetAdvisorDatabasesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFleetAdvisorLsaAnalysisCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFleetAdvisorSchemasCommand.d.ts +2 -0
- package/dist-types/commands/DescribeOrderableReplicationInstancesCommand.d.ts +2 -0
- package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRefreshSchemasStatusCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplicationInstanceTaskLogsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplicationInstancesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplicationSubnetGroupsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplicationTaskAssessmentResultsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplicationTaskAssessmentRunsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplicationTaskIndividualAssessmentsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplicationTasksCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSchemasCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTableStatisticsCommand.d.ts +2 -0
- package/dist-types/commands/ImportCertificateCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ModifyEndpointCommand.d.ts +2 -0
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/commands/ModifyReplicationInstanceCommand.d.ts +2 -0
- package/dist-types/commands/ModifyReplicationSubnetGroupCommand.d.ts +2 -0
- package/dist-types/commands/ModifyReplicationTaskCommand.d.ts +2 -0
- package/dist-types/commands/MoveReplicationTaskCommand.d.ts +2 -0
- package/dist-types/commands/RebootReplicationInstanceCommand.d.ts +2 -0
- package/dist-types/commands/RefreshSchemasCommand.d.ts +2 -0
- package/dist-types/commands/ReloadTablesCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -0
- package/dist-types/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +2 -0
- package/dist-types/commands/StartReplicationTaskAssessmentCommand.d.ts +2 -0
- package/dist-types/commands/StartReplicationTaskAssessmentRunCommand.d.ts +2 -0
- package/dist-types/commands/StartReplicationTaskCommand.d.ts +2 -0
- package/dist-types/commands/StopReplicationTaskCommand.d.ts +2 -0
- package/dist-types/commands/TestConnectionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/DatabaseMigrationServiceClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CancelReplicationTaskAssessmentRunCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFleetAdvisorCollectorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateReplicationInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateReplicationSubnetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateReplicationTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFleetAdvisorCollectorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFleetAdvisorDatabasesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteReplicationInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteReplicationSubnetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteReplicationTaskAssessmentRunCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteReplicationTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAccountAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeApplicableIndividualAssessmentsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCertificatesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeConnectionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEndpointSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEndpointTypesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFleetAdvisorCollectorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFleetAdvisorDatabasesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFleetAdvisorLsaAnalysisCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFleetAdvisorSchemasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeOrderableReplicationInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRefreshSchemasStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeReplicationInstanceTaskLogsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeReplicationInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeReplicationSubnetGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeReplicationTaskAssessmentResultsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeReplicationTaskAssessmentRunsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeReplicationTaskIndividualAssessmentsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeReplicationTasksCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeSchemasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTableStatisticsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyReplicationInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyReplicationSubnetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ModifyReplicationTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/MoveReplicationTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RebootReplicationInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RefreshSchemasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ReloadTablesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RunFleetAdvisorLsaAnalysisCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartReplicationTaskAssessmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartReplicationTaskAssessmentRunCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartReplicationTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopReplicationTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TestConnectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSubscriptionsToEventBridgeCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -211
- package/dist-es/endpoints.js +0 -207
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartReplicationTaskAssessmentRunMessageFilterSensitiveLog, StartReplicationTaskAssessmentRunResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartReplicationTaskAssessmentRunCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartReplicationTaskAssessmentRunCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DatabaseMigrationServiceClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartReplicationTaskMessageFilterSensitiveLog, StartReplicationTaskResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartReplicationTaskCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartReplicationTaskCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DatabaseMigrationServiceClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopReplicationTaskMessageFilterSensitiveLog, StopReplicationTaskResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StopReplicationTaskCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopReplicationTaskCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DatabaseMigrationServiceClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TestConnectionMessageFilterSensitiveLog, TestConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class TestConnectionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, TestConnectionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DatabaseMigrationServiceClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateSubscriptionsToEventBridgeMessageFilterSensitiveLog, UpdateSubscriptionsToEventBridgeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateSubscriptionsToEventBridgeCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSubscriptionsToEventBridgeCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "DatabaseMigrationServiceClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
export const ruleSet = {
|
|
2
|
+
version: "1.0",
|
|
3
|
+
parameters: {
|
|
4
|
+
Region: {
|
|
5
|
+
builtIn: "AWS::Region",
|
|
6
|
+
required: false,
|
|
7
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
+
type: "String",
|
|
9
|
+
},
|
|
10
|
+
UseDualStack: {
|
|
11
|
+
builtIn: "AWS::UseDualStack",
|
|
12
|
+
required: true,
|
|
13
|
+
default: false,
|
|
14
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
+
type: "Boolean",
|
|
16
|
+
},
|
|
17
|
+
UseFIPS: {
|
|
18
|
+
builtIn: "AWS::UseFIPS",
|
|
19
|
+
required: true,
|
|
20
|
+
default: false,
|
|
21
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
22
|
+
type: "Boolean",
|
|
23
|
+
},
|
|
24
|
+
Endpoint: {
|
|
25
|
+
builtIn: "SDK::Endpoint",
|
|
26
|
+
required: false,
|
|
27
|
+
documentation: "Override the endpoint used to send this request",
|
|
28
|
+
type: "String",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
rules: [
|
|
32
|
+
{
|
|
33
|
+
conditions: [
|
|
34
|
+
{
|
|
35
|
+
fn: "aws.partition",
|
|
36
|
+
argv: [
|
|
37
|
+
{
|
|
38
|
+
ref: "Region",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
assign: "PartitionResult",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
type: "tree",
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
conditions: [
|
|
48
|
+
{
|
|
49
|
+
fn: "isSet",
|
|
50
|
+
argv: [
|
|
51
|
+
{
|
|
52
|
+
ref: "Endpoint",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
fn: "parseURL",
|
|
58
|
+
argv: [
|
|
59
|
+
{
|
|
60
|
+
ref: "Endpoint",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
assign: "url",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
type: "tree",
|
|
67
|
+
rules: [
|
|
68
|
+
{
|
|
69
|
+
conditions: [
|
|
70
|
+
{
|
|
71
|
+
fn: "booleanEquals",
|
|
72
|
+
argv: [
|
|
73
|
+
{
|
|
74
|
+
ref: "UseFIPS",
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
conditions: [],
|
|
85
|
+
type: "tree",
|
|
86
|
+
rules: [
|
|
87
|
+
{
|
|
88
|
+
conditions: [
|
|
89
|
+
{
|
|
90
|
+
fn: "booleanEquals",
|
|
91
|
+
argv: [
|
|
92
|
+
{
|
|
93
|
+
ref: "UseDualStack",
|
|
94
|
+
},
|
|
95
|
+
true,
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
+
type: "error",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
conditions: [],
|
|
104
|
+
endpoint: {
|
|
105
|
+
url: {
|
|
106
|
+
ref: "Endpoint",
|
|
107
|
+
},
|
|
108
|
+
properties: {},
|
|
109
|
+
headers: {},
|
|
110
|
+
},
|
|
111
|
+
type: "endpoint",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
conditions: [
|
|
119
|
+
{
|
|
120
|
+
fn: "booleanEquals",
|
|
121
|
+
argv: [
|
|
122
|
+
{
|
|
123
|
+
ref: "UseFIPS",
|
|
124
|
+
},
|
|
125
|
+
true,
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
fn: "booleanEquals",
|
|
130
|
+
argv: [
|
|
131
|
+
{
|
|
132
|
+
ref: "UseDualStack",
|
|
133
|
+
},
|
|
134
|
+
true,
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
type: "tree",
|
|
139
|
+
rules: [
|
|
140
|
+
{
|
|
141
|
+
conditions: [
|
|
142
|
+
{
|
|
143
|
+
fn: "booleanEquals",
|
|
144
|
+
argv: [
|
|
145
|
+
true,
|
|
146
|
+
{
|
|
147
|
+
fn: "getAttr",
|
|
148
|
+
argv: [
|
|
149
|
+
{
|
|
150
|
+
ref: "PartitionResult",
|
|
151
|
+
},
|
|
152
|
+
"supportsFIPS",
|
|
153
|
+
],
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
fn: "booleanEquals",
|
|
159
|
+
argv: [
|
|
160
|
+
true,
|
|
161
|
+
{
|
|
162
|
+
fn: "getAttr",
|
|
163
|
+
argv: [
|
|
164
|
+
{
|
|
165
|
+
ref: "PartitionResult",
|
|
166
|
+
},
|
|
167
|
+
"supportsDualStack",
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
type: "tree",
|
|
174
|
+
rules: [
|
|
175
|
+
{
|
|
176
|
+
conditions: [],
|
|
177
|
+
endpoint: {
|
|
178
|
+
url: "https://dms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
179
|
+
properties: {},
|
|
180
|
+
headers: {},
|
|
181
|
+
},
|
|
182
|
+
type: "endpoint",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
conditions: [],
|
|
188
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
189
|
+
type: "error",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
conditions: [
|
|
195
|
+
{
|
|
196
|
+
fn: "booleanEquals",
|
|
197
|
+
argv: [
|
|
198
|
+
{
|
|
199
|
+
ref: "UseFIPS",
|
|
200
|
+
},
|
|
201
|
+
true,
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
type: "tree",
|
|
206
|
+
rules: [
|
|
207
|
+
{
|
|
208
|
+
conditions: [
|
|
209
|
+
{
|
|
210
|
+
fn: "booleanEquals",
|
|
211
|
+
argv: [
|
|
212
|
+
true,
|
|
213
|
+
{
|
|
214
|
+
fn: "getAttr",
|
|
215
|
+
argv: [
|
|
216
|
+
{
|
|
217
|
+
ref: "PartitionResult",
|
|
218
|
+
},
|
|
219
|
+
"supportsFIPS",
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
type: "tree",
|
|
226
|
+
rules: [
|
|
227
|
+
{
|
|
228
|
+
conditions: [],
|
|
229
|
+
type: "tree",
|
|
230
|
+
rules: [
|
|
231
|
+
{
|
|
232
|
+
conditions: [
|
|
233
|
+
{
|
|
234
|
+
fn: "stringEquals",
|
|
235
|
+
argv: [
|
|
236
|
+
{
|
|
237
|
+
ref: "Region",
|
|
238
|
+
},
|
|
239
|
+
"dms",
|
|
240
|
+
],
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
endpoint: {
|
|
244
|
+
url: "https://dms-fips.us-west-1.amazonaws.com",
|
|
245
|
+
properties: {},
|
|
246
|
+
headers: {},
|
|
247
|
+
},
|
|
248
|
+
type: "endpoint",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
conditions: [
|
|
252
|
+
{
|
|
253
|
+
fn: "stringEquals",
|
|
254
|
+
argv: [
|
|
255
|
+
{
|
|
256
|
+
ref: "Region",
|
|
257
|
+
},
|
|
258
|
+
"dms",
|
|
259
|
+
],
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
endpoint: {
|
|
263
|
+
url: "https://dms.us-gov-west-1.amazonaws.com",
|
|
264
|
+
properties: {},
|
|
265
|
+
headers: {},
|
|
266
|
+
},
|
|
267
|
+
type: "endpoint",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
conditions: [
|
|
271
|
+
{
|
|
272
|
+
fn: "stringEquals",
|
|
273
|
+
argv: [
|
|
274
|
+
"aws-us-gov",
|
|
275
|
+
{
|
|
276
|
+
fn: "getAttr",
|
|
277
|
+
argv: [
|
|
278
|
+
{
|
|
279
|
+
ref: "PartitionResult",
|
|
280
|
+
},
|
|
281
|
+
"name",
|
|
282
|
+
],
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
endpoint: {
|
|
288
|
+
url: "https://dms.{Region}.{PartitionResult#dnsSuffix}",
|
|
289
|
+
properties: {},
|
|
290
|
+
headers: {},
|
|
291
|
+
},
|
|
292
|
+
type: "endpoint",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
conditions: [
|
|
296
|
+
{
|
|
297
|
+
fn: "stringEquals",
|
|
298
|
+
argv: [
|
|
299
|
+
{
|
|
300
|
+
ref: "Region",
|
|
301
|
+
},
|
|
302
|
+
"dms",
|
|
303
|
+
],
|
|
304
|
+
},
|
|
305
|
+
],
|
|
306
|
+
endpoint: {
|
|
307
|
+
url: "https://dms.us-iso-east-1.c2s.ic.gov",
|
|
308
|
+
properties: {},
|
|
309
|
+
headers: {},
|
|
310
|
+
},
|
|
311
|
+
type: "endpoint",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
conditions: [
|
|
315
|
+
{
|
|
316
|
+
fn: "stringEquals",
|
|
317
|
+
argv: [
|
|
318
|
+
"aws-iso",
|
|
319
|
+
{
|
|
320
|
+
fn: "getAttr",
|
|
321
|
+
argv: [
|
|
322
|
+
{
|
|
323
|
+
ref: "PartitionResult",
|
|
324
|
+
},
|
|
325
|
+
"name",
|
|
326
|
+
],
|
|
327
|
+
},
|
|
328
|
+
],
|
|
329
|
+
},
|
|
330
|
+
],
|
|
331
|
+
endpoint: {
|
|
332
|
+
url: "https://dms.{Region}.{PartitionResult#dnsSuffix}",
|
|
333
|
+
properties: {},
|
|
334
|
+
headers: {},
|
|
335
|
+
},
|
|
336
|
+
type: "endpoint",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
conditions: [
|
|
340
|
+
{
|
|
341
|
+
fn: "stringEquals",
|
|
342
|
+
argv: [
|
|
343
|
+
{
|
|
344
|
+
ref: "Region",
|
|
345
|
+
},
|
|
346
|
+
"dms",
|
|
347
|
+
],
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
endpoint: {
|
|
351
|
+
url: "https://dms.us-isob-east-1.sc2s.sgov.gov",
|
|
352
|
+
properties: {},
|
|
353
|
+
headers: {},
|
|
354
|
+
},
|
|
355
|
+
type: "endpoint",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
conditions: [
|
|
359
|
+
{
|
|
360
|
+
fn: "stringEquals",
|
|
361
|
+
argv: [
|
|
362
|
+
"aws-iso-b",
|
|
363
|
+
{
|
|
364
|
+
fn: "getAttr",
|
|
365
|
+
argv: [
|
|
366
|
+
{
|
|
367
|
+
ref: "PartitionResult",
|
|
368
|
+
},
|
|
369
|
+
"name",
|
|
370
|
+
],
|
|
371
|
+
},
|
|
372
|
+
],
|
|
373
|
+
},
|
|
374
|
+
],
|
|
375
|
+
endpoint: {
|
|
376
|
+
url: "https://dms.{Region}.{PartitionResult#dnsSuffix}",
|
|
377
|
+
properties: {},
|
|
378
|
+
headers: {},
|
|
379
|
+
},
|
|
380
|
+
type: "endpoint",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
conditions: [],
|
|
384
|
+
endpoint: {
|
|
385
|
+
url: "https://dms-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
386
|
+
properties: {},
|
|
387
|
+
headers: {},
|
|
388
|
+
},
|
|
389
|
+
type: "endpoint",
|
|
390
|
+
},
|
|
391
|
+
],
|
|
392
|
+
},
|
|
393
|
+
],
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
conditions: [],
|
|
397
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
398
|
+
type: "error",
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
conditions: [
|
|
404
|
+
{
|
|
405
|
+
fn: "booleanEquals",
|
|
406
|
+
argv: [
|
|
407
|
+
{
|
|
408
|
+
ref: "UseDualStack",
|
|
409
|
+
},
|
|
410
|
+
true,
|
|
411
|
+
],
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
type: "tree",
|
|
415
|
+
rules: [
|
|
416
|
+
{
|
|
417
|
+
conditions: [
|
|
418
|
+
{
|
|
419
|
+
fn: "booleanEquals",
|
|
420
|
+
argv: [
|
|
421
|
+
true,
|
|
422
|
+
{
|
|
423
|
+
fn: "getAttr",
|
|
424
|
+
argv: [
|
|
425
|
+
{
|
|
426
|
+
ref: "PartitionResult",
|
|
427
|
+
},
|
|
428
|
+
"supportsDualStack",
|
|
429
|
+
],
|
|
430
|
+
},
|
|
431
|
+
],
|
|
432
|
+
},
|
|
433
|
+
],
|
|
434
|
+
type: "tree",
|
|
435
|
+
rules: [
|
|
436
|
+
{
|
|
437
|
+
conditions: [],
|
|
438
|
+
endpoint: {
|
|
439
|
+
url: "https://dms.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
440
|
+
properties: {},
|
|
441
|
+
headers: {},
|
|
442
|
+
},
|
|
443
|
+
type: "endpoint",
|
|
444
|
+
},
|
|
445
|
+
],
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
conditions: [],
|
|
449
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
450
|
+
type: "error",
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
conditions: [],
|
|
456
|
+
endpoint: {
|
|
457
|
+
url: "https://dms.{Region}.{PartitionResult#dnsSuffix}",
|
|
458
|
+
properties: {},
|
|
459
|
+
headers: {},
|
|
460
|
+
},
|
|
461
|
+
type: "endpoint",
|
|
462
|
+
},
|
|
463
|
+
],
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2016-01-01",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "Database Migration Service",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|