@aws-sdk/client-datasync 3.413.0 → 3.414.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/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/commands/GenerateRecommendationsCommand.d.ts +0 -4
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/package.json +4 -3
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
4
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const asPartial = (t) => t;
|
|
7
8
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
8
9
|
const extensionConfiguration = {
|
|
10
|
+
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
12
|
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
11
13
|
};
|
|
12
14
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
13
15
|
return {
|
|
14
16
|
...runtimeConfig,
|
|
17
|
+
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
15
18
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
19
|
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
17
20
|
};
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
1
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
2
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
3
4
|
const asPartial = (t) => t;
|
|
4
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
5
6
|
const extensionConfiguration = {
|
|
7
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
9
|
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
8
10
|
};
|
|
9
11
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
10
12
|
return {
|
|
11
13
|
...runtimeConfig,
|
|
14
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
12
15
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
16
|
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
14
17
|
};
|
|
@@ -28,10 +28,6 @@ export interface GenerateRecommendationsCommandOutput extends GenerateRecommenda
|
|
|
28
28
|
* on-premises storage system's resources. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html">Recommendations
|
|
29
29
|
* provided by DataSync Discovery</a>.</p>
|
|
30
30
|
* <p>Once generated, you can view your recommendations by using the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResources.html">DescribeStorageSystemResources</a> operation.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If your <a href="https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-statuses.html#discovery-job-statuses-table">discovery job completes successfully</a>, you don't need to use this operation. DataSync
|
|
33
|
-
* Discovery generates the recommendations for you automatically.</p>
|
|
34
|
-
* </note>
|
|
35
31
|
* @example
|
|
36
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
33
|
* ```javascript
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
|
-
export interface DataSyncExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
export interface DataSyncExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
7
8
|
}
|
|
@@ -2069,7 +2069,7 @@ export interface ReportOverrides {
|
|
|
2069
2069
|
Transferred?: ReportOverride;
|
|
2070
2070
|
/**
|
|
2071
2071
|
* @public
|
|
2072
|
-
* <p>Specifies the level of reporting for the files, objects, and directories that DataSync attempted to verify at the end of your transfer
|
|
2072
|
+
* <p>Specifies the level of reporting for the files, objects, and directories that DataSync attempted to verify at the end of your transfer.</p>
|
|
2073
2073
|
*/
|
|
2074
2074
|
Verified?: ReportOverride;
|
|
2075
2075
|
/**
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
export interface DataSyncExtensionConfiguration
|
|
4
5
|
extends HttpHandlerExtensionConfiguration,
|
|
5
|
-
DefaultExtensionConfiguration
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-datasync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.414.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,13 +21,14 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.414.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.414.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.413.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.413.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.413.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.413.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.413.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.413.0",
|
|
31
32
|
"@aws-sdk/types": "3.413.0",
|
|
32
33
|
"@aws-sdk/util-endpoints": "3.413.0",
|
|
33
34
|
"@aws-sdk/util-user-agent-browser": "3.413.0",
|