@aws-sdk/client-datasync 3.926.0 → 3.928.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/index.js +1537 -1851
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/DataSyncClient.js +2 -0
- package/dist-es/commands/CancelTaskExecutionCommand.js +3 -9
- package/dist-es/commands/CreateAgentCommand.js +3 -9
- package/dist-es/commands/CreateLocationAzureBlobCommand.js +3 -10
- package/dist-es/commands/CreateLocationEfsCommand.js +3 -9
- package/dist-es/commands/CreateLocationFsxLustreCommand.js +3 -9
- package/dist-es/commands/CreateLocationFsxOntapCommand.js +3 -10
- package/dist-es/commands/CreateLocationFsxOpenZfsCommand.js +3 -10
- package/dist-es/commands/CreateLocationFsxWindowsCommand.js +3 -10
- package/dist-es/commands/CreateLocationHdfsCommand.js +3 -9
- package/dist-es/commands/CreateLocationNfsCommand.js +3 -9
- package/dist-es/commands/CreateLocationObjectStorageCommand.js +3 -10
- package/dist-es/commands/CreateLocationS3Command.js +3 -9
- package/dist-es/commands/CreateLocationSmbCommand.js +3 -10
- package/dist-es/commands/CreateTaskCommand.js +3 -9
- package/dist-es/commands/DeleteAgentCommand.js +3 -9
- package/dist-es/commands/DeleteLocationCommand.js +3 -9
- package/dist-es/commands/DeleteTaskCommand.js +3 -9
- package/dist-es/commands/DescribeAgentCommand.js +3 -9
- package/dist-es/commands/DescribeLocationAzureBlobCommand.js +3 -9
- package/dist-es/commands/DescribeLocationEfsCommand.js +3 -9
- package/dist-es/commands/DescribeLocationFsxLustreCommand.js +3 -9
- package/dist-es/commands/DescribeLocationFsxOntapCommand.js +3 -10
- package/dist-es/commands/DescribeLocationFsxOpenZfsCommand.js +3 -10
- package/dist-es/commands/DescribeLocationFsxWindowsCommand.js +3 -9
- package/dist-es/commands/DescribeLocationHdfsCommand.js +3 -9
- package/dist-es/commands/DescribeLocationNfsCommand.js +3 -9
- package/dist-es/commands/DescribeLocationObjectStorageCommand.js +3 -9
- package/dist-es/commands/DescribeLocationS3Command.js +3 -9
- package/dist-es/commands/DescribeLocationSmbCommand.js +3 -9
- package/dist-es/commands/DescribeTaskCommand.js +3 -9
- package/dist-es/commands/DescribeTaskExecutionCommand.js +3 -9
- package/dist-es/commands/ListAgentsCommand.js +3 -9
- package/dist-es/commands/ListLocationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTaskExecutionsCommand.js +3 -9
- package/dist-es/commands/ListTasksCommand.js +3 -9
- package/dist-es/commands/StartTaskExecutionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAgentCommand.js +3 -9
- package/dist-es/commands/UpdateLocationAzureBlobCommand.js +3 -10
- package/dist-es/commands/UpdateLocationEfsCommand.js +3 -9
- package/dist-es/commands/UpdateLocationFsxLustreCommand.js +3 -9
- package/dist-es/commands/UpdateLocationFsxOntapCommand.js +3 -10
- package/dist-es/commands/UpdateLocationFsxOpenZfsCommand.js +3 -10
- package/dist-es/commands/UpdateLocationFsxWindowsCommand.js +3 -10
- package/dist-es/commands/UpdateLocationHdfsCommand.js +3 -9
- package/dist-es/commands/UpdateLocationNfsCommand.js +3 -9
- package/dist-es/commands/UpdateLocationObjectStorageCommand.js +3 -10
- package/dist-es/commands/UpdateLocationS3Command.js +3 -9
- package/dist-es/commands/UpdateLocationSmbCommand.js +3 -10
- package/dist-es/commands/UpdateTaskCommand.js +3 -9
- package/dist-es/commands/UpdateTaskExecutionCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -77
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1433 -0
- package/dist-types/DataSyncClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -76
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +227 -0
- package/dist-types/ts3.4/DataSyncClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -55
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +233 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -1383
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -479
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -641
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_1Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.datasync",
|
|
32
|
+
serviceTarget: "FmrsService",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "DataSync",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class DataSyncClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CancelTaskExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CancelTaskExecutionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "CancelTaskExecution", {})
|
|
17
13
|
.n("DataSyncClient", "CancelTaskExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CancelTaskExecutionCommand)
|
|
20
|
-
.de(de_CancelTaskExecutionCommand)
|
|
14
|
+
.sc(CancelTaskExecution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateAgent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateAgentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "CreateAgent", {})
|
|
17
13
|
.n("DataSyncClient", "CreateAgentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateAgentCommand)
|
|
20
|
-
.de(de_CreateAgentCommand)
|
|
14
|
+
.sc(CreateAgent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateLocationAzureBlobCommand, se_CreateLocationAzureBlobCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateLocationAzureBlob } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateLocationAzureBlobCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("FmrsService", "CreateLocationAzureBlob", {})
|
|
18
13
|
.n("DataSyncClient", "CreateLocationAzureBlobCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateLocationAzureBlobCommand)
|
|
21
|
-
.de(de_CreateLocationAzureBlobCommand)
|
|
14
|
+
.sc(CreateLocationAzureBlob)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateLocationEfs } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateLocationEfsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "CreateLocationEfs", {})
|
|
17
13
|
.n("DataSyncClient", "CreateLocationEfsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateLocationEfsCommand)
|
|
20
|
-
.de(de_CreateLocationEfsCommand)
|
|
14
|
+
.sc(CreateLocationEfs)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateLocationFsxLustre } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateLocationFsxLustreCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "CreateLocationFsxLustre", {})
|
|
17
13
|
.n("DataSyncClient", "CreateLocationFsxLustreCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateLocationFsxLustreCommand)
|
|
20
|
-
.de(de_CreateLocationFsxLustreCommand)
|
|
14
|
+
.sc(CreateLocationFsxLustre)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateLocationFsxOntapCommand, se_CreateLocationFsxOntapCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateLocationFsxOntap } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateLocationFsxOntapCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("FmrsService", "CreateLocationFsxOntap", {})
|
|
18
13
|
.n("DataSyncClient", "CreateLocationFsxOntapCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateLocationFsxOntapCommand)
|
|
21
|
-
.de(de_CreateLocationFsxOntapCommand)
|
|
14
|
+
.sc(CreateLocationFsxOntap)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateLocationFsxOpenZfsCommand, se_CreateLocationFsxOpenZfsCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateLocationFsxOpenZfs } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateLocationFsxOpenZfsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("FmrsService", "CreateLocationFsxOpenZfs", {})
|
|
18
13
|
.n("DataSyncClient", "CreateLocationFsxOpenZfsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateLocationFsxOpenZfsCommand)
|
|
21
|
-
.de(de_CreateLocationFsxOpenZfsCommand)
|
|
14
|
+
.sc(CreateLocationFsxOpenZfs)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateLocationFsxWindowsCommand, se_CreateLocationFsxWindowsCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateLocationFsxWindows } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateLocationFsxWindowsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("FmrsService", "CreateLocationFsxWindows", {})
|
|
18
13
|
.n("DataSyncClient", "CreateLocationFsxWindowsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateLocationFsxWindowsCommand)
|
|
21
|
-
.de(de_CreateLocationFsxWindowsCommand)
|
|
14
|
+
.sc(CreateLocationFsxWindows)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateLocationHdfs } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateLocationHdfsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "CreateLocationHdfs", {})
|
|
17
13
|
.n("DataSyncClient", "CreateLocationHdfsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateLocationHdfsCommand)
|
|
20
|
-
.de(de_CreateLocationHdfsCommand)
|
|
14
|
+
.sc(CreateLocationHdfs)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateLocationNfs } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateLocationNfsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "CreateLocationNfs", {})
|
|
17
13
|
.n("DataSyncClient", "CreateLocationNfsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateLocationNfsCommand)
|
|
20
|
-
.de(de_CreateLocationNfsCommand)
|
|
14
|
+
.sc(CreateLocationNfs)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateLocationObjectStorageCommand, se_CreateLocationObjectStorageCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateLocationObjectStorage } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateLocationObjectStorageCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("FmrsService", "CreateLocationObjectStorage", {})
|
|
18
13
|
.n("DataSyncClient", "CreateLocationObjectStorageCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateLocationObjectStorageCommand)
|
|
21
|
-
.de(de_CreateLocationObjectStorageCommand)
|
|
14
|
+
.sc(CreateLocationObjectStorage)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateLocationS3 } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateLocationS3Command extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "CreateLocationS3", {})
|
|
17
13
|
.n("DataSyncClient", "CreateLocationS3Command")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateLocationS3Command)
|
|
20
|
-
.de(de_CreateLocationS3Command)
|
|
14
|
+
.sc(CreateLocationS3)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateLocationSmbCommand, se_CreateLocationSmbCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateLocationSmb } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateLocationSmbCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("FmrsService", "CreateLocationSmb", {})
|
|
18
13
|
.n("DataSyncClient", "CreateLocationSmbCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateLocationSmbCommand)
|
|
21
|
-
.de(de_CreateLocationSmbCommand)
|
|
14
|
+
.sc(CreateLocationSmb)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateTask } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateTaskCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "CreateTask", {})
|
|
17
13
|
.n("DataSyncClient", "CreateTaskCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateTaskCommand)
|
|
20
|
-
.de(de_CreateTaskCommand)
|
|
14
|
+
.sc(CreateTask)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteAgent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteAgentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "DeleteAgent", {})
|
|
17
13
|
.n("DataSyncClient", "DeleteAgentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteAgentCommand)
|
|
20
|
-
.de(de_DeleteAgentCommand)
|
|
14
|
+
.sc(DeleteAgent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteLocation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteLocationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "DeleteLocation", {})
|
|
17
13
|
.n("DataSyncClient", "DeleteLocationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteLocationCommand)
|
|
20
|
-
.de(de_DeleteLocationCommand)
|
|
14
|
+
.sc(DeleteLocation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteTask } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteTaskCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "DeleteTask", {})
|
|
17
13
|
.n("DataSyncClient", "DeleteTaskCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteTaskCommand)
|
|
20
|
-
.de(de_DeleteTaskCommand)
|
|
14
|
+
.sc(DeleteTask)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeAgent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeAgentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "DescribeAgent", {})
|
|
17
13
|
.n("DataSyncClient", "DescribeAgentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeAgentCommand)
|
|
20
|
-
.de(de_DescribeAgentCommand)
|
|
14
|
+
.sc(DescribeAgent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeLocationAzureBlob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeLocationAzureBlobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "DescribeLocationAzureBlob", {})
|
|
17
13
|
.n("DataSyncClient", "DescribeLocationAzureBlobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeLocationAzureBlobCommand)
|
|
20
|
-
.de(de_DescribeLocationAzureBlobCommand)
|
|
14
|
+
.sc(DescribeLocationAzureBlob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeLocationEfs } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeLocationEfsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "DescribeLocationEfs", {})
|
|
17
13
|
.n("DataSyncClient", "DescribeLocationEfsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeLocationEfsCommand)
|
|
20
|
-
.de(de_DescribeLocationEfsCommand)
|
|
14
|
+
.sc(DescribeLocationEfs)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeLocationFsxLustre } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeLocationFsxLustreCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FmrsService", "DescribeLocationFsxLustre", {})
|
|
17
13
|
.n("DataSyncClient", "DescribeLocationFsxLustreCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeLocationFsxLustreCommand)
|
|
20
|
-
.de(de_DescribeLocationFsxLustreCommand)
|
|
14
|
+
.sc(DescribeLocationFsxLustre)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeLocationFsxOntapCommand, se_DescribeLocationFsxOntapCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { DescribeLocationFsxOntap } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeLocationFsxOntapCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("FmrsService", "DescribeLocationFsxOntap", {})
|
|
18
13
|
.n("DataSyncClient", "DescribeLocationFsxOntapCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeLocationFsxOntapCommand)
|
|
21
|
-
.de(de_DescribeLocationFsxOntapCommand)
|
|
14
|
+
.sc(DescribeLocationFsxOntap)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|