@aws-sdk/client-database-migration-service 3.645.0 → 3.650.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.
Files changed (116) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +106 -318
  3. package/dist-es/commands/AddTagsToResourceCommand.js +1 -3
  4. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +1 -3
  5. package/dist-es/commands/BatchStartRecommendationsCommand.js +1 -3
  6. package/dist-es/commands/CancelReplicationTaskAssessmentRunCommand.js +1 -3
  7. package/dist-es/commands/CreateDataProviderCommand.js +1 -3
  8. package/dist-es/commands/CreateEndpointCommand.js +1 -3
  9. package/dist-es/commands/CreateEventSubscriptionCommand.js +1 -3
  10. package/dist-es/commands/CreateFleetAdvisorCollectorCommand.js +1 -3
  11. package/dist-es/commands/CreateInstanceProfileCommand.js +1 -3
  12. package/dist-es/commands/CreateMigrationProjectCommand.js +1 -3
  13. package/dist-es/commands/CreateReplicationConfigCommand.js +1 -3
  14. package/dist-es/commands/CreateReplicationInstanceCommand.js +1 -3
  15. package/dist-es/commands/CreateReplicationSubnetGroupCommand.js +1 -3
  16. package/dist-es/commands/CreateReplicationTaskCommand.js +1 -3
  17. package/dist-es/commands/DeleteCertificateCommand.js +1 -3
  18. package/dist-es/commands/DeleteConnectionCommand.js +1 -3
  19. package/dist-es/commands/DeleteDataProviderCommand.js +1 -3
  20. package/dist-es/commands/DeleteEndpointCommand.js +1 -3
  21. package/dist-es/commands/DeleteEventSubscriptionCommand.js +1 -3
  22. package/dist-es/commands/DeleteFleetAdvisorCollectorCommand.js +1 -3
  23. package/dist-es/commands/DeleteFleetAdvisorDatabasesCommand.js +1 -3
  24. package/dist-es/commands/DeleteInstanceProfileCommand.js +1 -3
  25. package/dist-es/commands/DeleteMigrationProjectCommand.js +1 -3
  26. package/dist-es/commands/DeleteReplicationConfigCommand.js +1 -3
  27. package/dist-es/commands/DeleteReplicationInstanceCommand.js +1 -3
  28. package/dist-es/commands/DeleteReplicationSubnetGroupCommand.js +1 -3
  29. package/dist-es/commands/DeleteReplicationTaskAssessmentRunCommand.js +1 -3
  30. package/dist-es/commands/DeleteReplicationTaskCommand.js +1 -3
  31. package/dist-es/commands/DescribeAccountAttributesCommand.js +1 -3
  32. package/dist-es/commands/DescribeApplicableIndividualAssessmentsCommand.js +1 -3
  33. package/dist-es/commands/DescribeCertificatesCommand.js +1 -3
  34. package/dist-es/commands/DescribeConnectionsCommand.js +1 -3
  35. package/dist-es/commands/DescribeConversionConfigurationCommand.js +1 -3
  36. package/dist-es/commands/DescribeDataProvidersCommand.js +1 -3
  37. package/dist-es/commands/DescribeEndpointSettingsCommand.js +1 -3
  38. package/dist-es/commands/DescribeEndpointTypesCommand.js +1 -3
  39. package/dist-es/commands/DescribeEndpointsCommand.js +1 -3
  40. package/dist-es/commands/DescribeEngineVersionsCommand.js +1 -3
  41. package/dist-es/commands/DescribeEventCategoriesCommand.js +1 -3
  42. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +1 -3
  43. package/dist-es/commands/DescribeEventsCommand.js +1 -3
  44. package/dist-es/commands/DescribeExtensionPackAssociationsCommand.js +1 -3
  45. package/dist-es/commands/DescribeFleetAdvisorCollectorsCommand.js +1 -3
  46. package/dist-es/commands/DescribeFleetAdvisorDatabasesCommand.js +1 -3
  47. package/dist-es/commands/DescribeFleetAdvisorLsaAnalysisCommand.js +1 -3
  48. package/dist-es/commands/DescribeFleetAdvisorSchemaObjectSummaryCommand.js +1 -3
  49. package/dist-es/commands/DescribeFleetAdvisorSchemasCommand.js +1 -3
  50. package/dist-es/commands/DescribeInstanceProfilesCommand.js +1 -3
  51. package/dist-es/commands/DescribeMetadataModelAssessmentsCommand.js +1 -3
  52. package/dist-es/commands/DescribeMetadataModelConversionsCommand.js +1 -3
  53. package/dist-es/commands/DescribeMetadataModelExportsAsScriptCommand.js +1 -3
  54. package/dist-es/commands/DescribeMetadataModelExportsToTargetCommand.js +1 -3
  55. package/dist-es/commands/DescribeMetadataModelImportsCommand.js +1 -3
  56. package/dist-es/commands/DescribeMigrationProjectsCommand.js +1 -3
  57. package/dist-es/commands/DescribeOrderableReplicationInstancesCommand.js +1 -3
  58. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +1 -3
  59. package/dist-es/commands/DescribeRecommendationLimitationsCommand.js +1 -3
  60. package/dist-es/commands/DescribeRecommendationsCommand.js +1 -3
  61. package/dist-es/commands/DescribeRefreshSchemasStatusCommand.js +1 -3
  62. package/dist-es/commands/DescribeReplicationConfigsCommand.js +1 -3
  63. package/dist-es/commands/DescribeReplicationInstanceTaskLogsCommand.js +1 -3
  64. package/dist-es/commands/DescribeReplicationInstancesCommand.js +1 -3
  65. package/dist-es/commands/DescribeReplicationSubnetGroupsCommand.js +1 -3
  66. package/dist-es/commands/DescribeReplicationTableStatisticsCommand.js +1 -3
  67. package/dist-es/commands/DescribeReplicationTaskAssessmentResultsCommand.js +1 -3
  68. package/dist-es/commands/DescribeReplicationTaskAssessmentRunsCommand.js +1 -3
  69. package/dist-es/commands/DescribeReplicationTaskIndividualAssessmentsCommand.js +1 -3
  70. package/dist-es/commands/DescribeReplicationTasksCommand.js +1 -3
  71. package/dist-es/commands/DescribeReplicationsCommand.js +1 -3
  72. package/dist-es/commands/DescribeSchemasCommand.js +1 -3
  73. package/dist-es/commands/DescribeTableStatisticsCommand.js +1 -3
  74. package/dist-es/commands/ExportMetadataModelAssessmentCommand.js +1 -3
  75. package/dist-es/commands/ImportCertificateCommand.js +1 -3
  76. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  77. package/dist-es/commands/ModifyConversionConfigurationCommand.js +1 -3
  78. package/dist-es/commands/ModifyDataProviderCommand.js +1 -3
  79. package/dist-es/commands/ModifyEndpointCommand.js +1 -3
  80. package/dist-es/commands/ModifyEventSubscriptionCommand.js +1 -3
  81. package/dist-es/commands/ModifyInstanceProfileCommand.js +1 -3
  82. package/dist-es/commands/ModifyMigrationProjectCommand.js +1 -3
  83. package/dist-es/commands/ModifyReplicationConfigCommand.js +1 -3
  84. package/dist-es/commands/ModifyReplicationInstanceCommand.js +1 -3
  85. package/dist-es/commands/ModifyReplicationSubnetGroupCommand.js +1 -3
  86. package/dist-es/commands/ModifyReplicationTaskCommand.js +1 -3
  87. package/dist-es/commands/MoveReplicationTaskCommand.js +1 -3
  88. package/dist-es/commands/RebootReplicationInstanceCommand.js +1 -3
  89. package/dist-es/commands/RefreshSchemasCommand.js +1 -3
  90. package/dist-es/commands/ReloadReplicationTablesCommand.js +1 -3
  91. package/dist-es/commands/ReloadTablesCommand.js +1 -3
  92. package/dist-es/commands/RemoveTagsFromResourceCommand.js +1 -3
  93. package/dist-es/commands/RunFleetAdvisorLsaAnalysisCommand.js +1 -3
  94. package/dist-es/commands/StartExtensionPackAssociationCommand.js +1 -3
  95. package/dist-es/commands/StartMetadataModelAssessmentCommand.js +1 -3
  96. package/dist-es/commands/StartMetadataModelConversionCommand.js +1 -3
  97. package/dist-es/commands/StartMetadataModelExportAsScriptCommand.js +1 -3
  98. package/dist-es/commands/StartMetadataModelExportToTargetCommand.js +1 -3
  99. package/dist-es/commands/StartMetadataModelImportCommand.js +1 -3
  100. package/dist-es/commands/StartRecommendationsCommand.js +1 -3
  101. package/dist-es/commands/StartReplicationCommand.js +1 -3
  102. package/dist-es/commands/StartReplicationTaskAssessmentCommand.js +1 -3
  103. package/dist-es/commands/StartReplicationTaskAssessmentRunCommand.js +1 -3
  104. package/dist-es/commands/StartReplicationTaskCommand.js +1 -3
  105. package/dist-es/commands/StopReplicationCommand.js +1 -3
  106. package/dist-es/commands/StopReplicationTaskCommand.js +1 -3
  107. package/dist-es/commands/TestConnectionCommand.js +1 -3
  108. package/dist-es/commands/UpdateSubscriptionsToEventBridgeCommand.js +1 -3
  109. package/dist-es/endpoint/endpointResolver.js +7 -3
  110. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  111. package/dist-types/runtimeConfig.d.ts +2 -0
  112. package/dist-types/runtimeConfig.native.d.ts +2 -0
  113. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  114. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  115. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  116. package/package.json +36 -36
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientCo
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientCo
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DatabaseMigrationServiceHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientCo
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientCo
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DatabaseMigrationServiceHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientCo
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
10
11
  urlParser: import("@smithy/types").UrlParser;
11
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
13
  streamCollector: import("@smithy/types").StreamCollector;
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientCo
33
34
  logger?: import("@smithy/types").Logger | undefined;
34
35
  }) => import("@smithy/types").EndpointV2;
35
36
  tls?: boolean | undefined;
37
+ serviceConfiguredEndpoint?: undefined;
36
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
39
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DatabaseMigrationServiceHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
28
29
  urlParser: import("@smithy/types").UrlParser;
29
30
  base64Decoder: import("@smithy/types").Decoder;
30
31
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (
63
64
  }
64
65
  ) => import("@smithy/types").EndpointV2;
65
66
  tls?: boolean | undefined;
67
+ serviceConfiguredEndpoint?: undefined;
66
68
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
67
69
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DatabaseMigrationServiceHttpAuthSchemeProvider;
68
70
  credentials?:
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (
29
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
31
  apiVersion: string;
32
+ cacheMiddleware?: boolean | undefined;
32
33
  urlParser: import("@smithy/types").UrlParser;
33
34
  base64Decoder: import("@smithy/types").Decoder;
34
35
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -67,6 +68,7 @@ export declare const getRuntimeConfig: (
67
68
  }
68
69
  ) => import("@smithy/types").EndpointV2;
69
70
  tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
70
72
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
71
73
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DatabaseMigrationServiceHttpAuthSchemeProvider;
72
74
  credentials?:
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
+ cacheMiddleware?: boolean | undefined;
14
15
  urlParser: import("@smithy/types").UrlParser;
15
16
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (
57
58
  }
58
59
  ) => import("@smithy/types").EndpointV2;
59
60
  tls?: boolean | undefined;
61
+ serviceConfiguredEndpoint?: undefined;
60
62
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
61
63
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DatabaseMigrationServiceHttpAuthSchemeProvider;
62
64
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-database-migration-service",
3
3
  "description": "AWS SDK for JavaScript Database Migration Service Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-database-migration-service",
@@ -20,45 +20,45 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.645.0",
24
- "@aws-sdk/client-sts": "3.645.0",
25
- "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.645.0",
27
- "@aws-sdk/middleware-host-header": "3.620.0",
28
- "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.645.0",
31
- "@aws-sdk/region-config-resolver": "3.614.0",
32
- "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.645.0",
34
- "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.614.0",
36
- "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.4.0",
38
- "@smithy/fetch-http-handler": "^3.2.4",
39
- "@smithy/hash-node": "^3.0.3",
40
- "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.5",
42
- "@smithy/middleware-endpoint": "^3.1.0",
43
- "@smithy/middleware-retry": "^3.0.15",
44
- "@smithy/middleware-serde": "^3.0.3",
45
- "@smithy/middleware-stack": "^3.0.3",
46
- "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.4",
48
- "@smithy/protocol-http": "^4.1.0",
49
- "@smithy/smithy-client": "^3.2.0",
50
- "@smithy/types": "^3.3.0",
51
- "@smithy/url-parser": "^3.0.3",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
+ "@aws-sdk/core": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
+ "@aws-sdk/middleware-host-header": "3.649.0",
28
+ "@aws-sdk/middleware-logger": "3.649.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.649.0",
30
+ "@aws-sdk/middleware-user-agent": "3.649.0",
31
+ "@aws-sdk/region-config-resolver": "3.649.0",
32
+ "@aws-sdk/types": "3.649.0",
33
+ "@aws-sdk/util-endpoints": "3.649.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.649.0",
35
+ "@aws-sdk/util-user-agent-node": "3.649.0",
36
+ "@smithy/config-resolver": "^3.0.6",
37
+ "@smithy/core": "^2.4.1",
38
+ "@smithy/fetch-http-handler": "^3.2.5",
39
+ "@smithy/hash-node": "^3.0.4",
40
+ "@smithy/invalid-dependency": "^3.0.4",
41
+ "@smithy/middleware-content-length": "^3.0.6",
42
+ "@smithy/middleware-endpoint": "^3.1.1",
43
+ "@smithy/middleware-retry": "^3.0.16",
44
+ "@smithy/middleware-serde": "^3.0.4",
45
+ "@smithy/middleware-stack": "^3.0.4",
46
+ "@smithy/node-config-provider": "^3.1.5",
47
+ "@smithy/node-http-handler": "^3.2.0",
48
+ "@smithy/protocol-http": "^4.1.1",
49
+ "@smithy/smithy-client": "^3.3.0",
50
+ "@smithy/types": "^3.4.0",
51
+ "@smithy/url-parser": "^3.0.4",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.15",
56
- "@smithy/util-defaults-mode-node": "^3.0.15",
57
- "@smithy/util-endpoints": "^2.0.5",
58
- "@smithy/util-middleware": "^3.0.3",
59
- "@smithy/util-retry": "^3.0.3",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.16",
56
+ "@smithy/util-defaults-mode-node": "^3.0.16",
57
+ "@smithy/util-endpoints": "^2.1.0",
58
+ "@smithy/util-middleware": "^3.0.4",
59
+ "@smithy/util-retry": "^3.0.4",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.1.2",
61
+ "@smithy/util-waiter": "^3.1.3",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {