@aws-sdk/client-datasync 3.713.0 → 3.715.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/dist-cjs/index.js +246 -0
- package/dist-cjs/runtimeConfig.js +8 -6
- package/dist-es/DataSync.js +12 -0
- package/dist-es/commands/UpdateLocationEfsCommand.js +22 -0
- package/dist-es/commands/UpdateLocationFsxLustreCommand.js +22 -0
- package/dist-es/commands/UpdateLocationFsxOntapCommand.js +23 -0
- package/dist-es/commands/UpdateLocationFsxOpenZfsCommand.js +23 -0
- package/dist-es/commands/UpdateLocationFsxWindowsCommand.js +23 -0
- package/dist-es/commands/UpdateLocationS3Command.js +22 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_json1_1.js +114 -0
- package/dist-es/runtimeConfig.js +8 -6
- package/dist-types/DataSync.d.ts +42 -0
- package/dist-types/DataSyncClient.d.ts +26 -2
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +0 -5
- package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLocationEfsCommand.d.ts +81 -0
- package/dist-types/commands/UpdateLocationFsxLustreCommand.d.ts +78 -0
- package/dist-types/commands/UpdateLocationFsxOntapCommand.d.ts +93 -0
- package/dist-types/commands/UpdateLocationFsxOpenZfsCommand.d.ts +97 -0
- package/dist-types/commands/UpdateLocationFsxWindowsCommand.d.ts +81 -0
- package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +3 -2
- package/dist-types/commands/UpdateLocationNfsCommand.d.ts +2 -3
- package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +2 -2
- package/dist-types/commands/UpdateLocationS3Command.d.ts +97 -0
- package/dist-types/commands/UpdateLocationSmbCommand.d.ts +3 -2
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +326 -26
- package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
- 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/ts3.4/DataSync.d.ts +102 -0
- package/dist-types/ts3.4/DataSyncClient.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateLocationEfsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateLocationFsxLustreCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateLocationFsxOntapCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateLocationFsxOpenZfsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateLocationFsxWindowsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateLocationS3Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +65 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -635,6 +635,46 @@ UpdateLocationAzureBlob
|
|
|
635
635
|
|
|
636
636
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datasync/command/UpdateLocationAzureBlobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationAzureBlobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationAzureBlobCommandOutput/)
|
|
637
637
|
|
|
638
|
+
</details>
|
|
639
|
+
<details>
|
|
640
|
+
<summary>
|
|
641
|
+
UpdateLocationEfs
|
|
642
|
+
</summary>
|
|
643
|
+
|
|
644
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datasync/command/UpdateLocationEfsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationEfsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationEfsCommandOutput/)
|
|
645
|
+
|
|
646
|
+
</details>
|
|
647
|
+
<details>
|
|
648
|
+
<summary>
|
|
649
|
+
UpdateLocationFsxLustre
|
|
650
|
+
</summary>
|
|
651
|
+
|
|
652
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datasync/command/UpdateLocationFsxLustreCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationFsxLustreCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationFsxLustreCommandOutput/)
|
|
653
|
+
|
|
654
|
+
</details>
|
|
655
|
+
<details>
|
|
656
|
+
<summary>
|
|
657
|
+
UpdateLocationFsxOntap
|
|
658
|
+
</summary>
|
|
659
|
+
|
|
660
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datasync/command/UpdateLocationFsxOntapCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationFsxOntapCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationFsxOntapCommandOutput/)
|
|
661
|
+
|
|
662
|
+
</details>
|
|
663
|
+
<details>
|
|
664
|
+
<summary>
|
|
665
|
+
UpdateLocationFsxOpenZfs
|
|
666
|
+
</summary>
|
|
667
|
+
|
|
668
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datasync/command/UpdateLocationFsxOpenZfsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationFsxOpenZfsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationFsxOpenZfsCommandOutput/)
|
|
669
|
+
|
|
670
|
+
</details>
|
|
671
|
+
<details>
|
|
672
|
+
<summary>
|
|
673
|
+
UpdateLocationFsxWindows
|
|
674
|
+
</summary>
|
|
675
|
+
|
|
676
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datasync/command/UpdateLocationFsxWindowsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationFsxWindowsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationFsxWindowsCommandOutput/)
|
|
677
|
+
|
|
638
678
|
</details>
|
|
639
679
|
<details>
|
|
640
680
|
<summary>
|
|
@@ -659,6 +699,14 @@ UpdateLocationObjectStorage
|
|
|
659
699
|
|
|
660
700
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datasync/command/UpdateLocationObjectStorageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationObjectStorageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationObjectStorageCommandOutput/)
|
|
661
701
|
|
|
702
|
+
</details>
|
|
703
|
+
<details>
|
|
704
|
+
<summary>
|
|
705
|
+
UpdateLocationS3
|
|
706
|
+
</summary>
|
|
707
|
+
|
|
708
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/datasync/command/UpdateLocationS3Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationS3CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-datasync/Interface/UpdateLocationS3CommandOutput/)
|
|
709
|
+
|
|
662
710
|
</details>
|
|
663
711
|
<details>
|
|
664
712
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -85,6 +85,8 @@ __export(src_exports, {
|
|
|
85
85
|
FilterType: () => FilterType,
|
|
86
86
|
FsxProtocolFilterSensitiveLog: () => FsxProtocolFilterSensitiveLog,
|
|
87
87
|
FsxProtocolSmbFilterSensitiveLog: () => FsxProtocolSmbFilterSensitiveLog,
|
|
88
|
+
FsxUpdateProtocolFilterSensitiveLog: () => FsxUpdateProtocolFilterSensitiveLog,
|
|
89
|
+
FsxUpdateProtocolSmbFilterSensitiveLog: () => FsxUpdateProtocolSmbFilterSensitiveLog,
|
|
88
90
|
GenerateRecommendationsCommand: () => GenerateRecommendationsCommand,
|
|
89
91
|
Gid: () => Gid,
|
|
90
92
|
HdfsAuthenticationType: () => HdfsAuthenticationType,
|
|
@@ -140,10 +142,19 @@ __export(src_exports, {
|
|
|
140
142
|
UpdateDiscoveryJobCommand: () => UpdateDiscoveryJobCommand,
|
|
141
143
|
UpdateLocationAzureBlobCommand: () => UpdateLocationAzureBlobCommand,
|
|
142
144
|
UpdateLocationAzureBlobRequestFilterSensitiveLog: () => UpdateLocationAzureBlobRequestFilterSensitiveLog,
|
|
145
|
+
UpdateLocationEfsCommand: () => UpdateLocationEfsCommand,
|
|
146
|
+
UpdateLocationFsxLustreCommand: () => UpdateLocationFsxLustreCommand,
|
|
147
|
+
UpdateLocationFsxOntapCommand: () => UpdateLocationFsxOntapCommand,
|
|
148
|
+
UpdateLocationFsxOntapRequestFilterSensitiveLog: () => UpdateLocationFsxOntapRequestFilterSensitiveLog,
|
|
149
|
+
UpdateLocationFsxOpenZfsCommand: () => UpdateLocationFsxOpenZfsCommand,
|
|
150
|
+
UpdateLocationFsxOpenZfsRequestFilterSensitiveLog: () => UpdateLocationFsxOpenZfsRequestFilterSensitiveLog,
|
|
151
|
+
UpdateLocationFsxWindowsCommand: () => UpdateLocationFsxWindowsCommand,
|
|
152
|
+
UpdateLocationFsxWindowsRequestFilterSensitiveLog: () => UpdateLocationFsxWindowsRequestFilterSensitiveLog,
|
|
143
153
|
UpdateLocationHdfsCommand: () => UpdateLocationHdfsCommand,
|
|
144
154
|
UpdateLocationNfsCommand: () => UpdateLocationNfsCommand,
|
|
145
155
|
UpdateLocationObjectStorageCommand: () => UpdateLocationObjectStorageCommand,
|
|
146
156
|
UpdateLocationObjectStorageRequestFilterSensitiveLog: () => UpdateLocationObjectStorageRequestFilterSensitiveLog,
|
|
157
|
+
UpdateLocationS3Command: () => UpdateLocationS3Command,
|
|
147
158
|
UpdateLocationSmbCommand: () => UpdateLocationSmbCommand,
|
|
148
159
|
UpdateLocationSmbRequestFilterSensitiveLog: () => UpdateLocationSmbRequestFilterSensitiveLog,
|
|
149
160
|
UpdateStorageSystemCommand: () => UpdateStorageSystemCommand,
|
|
@@ -658,6 +669,26 @@ var UpdateLocationAzureBlobRequestFilterSensitiveLog = /* @__PURE__ */ __name((o
|
|
|
658
669
|
...obj,
|
|
659
670
|
...obj.SasConfiguration && { SasConfiguration: AzureBlobSasConfigurationFilterSensitiveLog(obj.SasConfiguration) }
|
|
660
671
|
}), "UpdateLocationAzureBlobRequestFilterSensitiveLog");
|
|
672
|
+
var FsxUpdateProtocolSmbFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
673
|
+
...obj,
|
|
674
|
+
...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
|
|
675
|
+
}), "FsxUpdateProtocolSmbFilterSensitiveLog");
|
|
676
|
+
var FsxUpdateProtocolFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
677
|
+
...obj,
|
|
678
|
+
...obj.SMB && { SMB: FsxUpdateProtocolSmbFilterSensitiveLog(obj.SMB) }
|
|
679
|
+
}), "FsxUpdateProtocolFilterSensitiveLog");
|
|
680
|
+
var UpdateLocationFsxOntapRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
681
|
+
...obj,
|
|
682
|
+
...obj.Protocol && { Protocol: FsxUpdateProtocolFilterSensitiveLog(obj.Protocol) }
|
|
683
|
+
}), "UpdateLocationFsxOntapRequestFilterSensitiveLog");
|
|
684
|
+
var UpdateLocationFsxOpenZfsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
685
|
+
...obj,
|
|
686
|
+
...obj.Protocol && { Protocol: FsxProtocolFilterSensitiveLog(obj.Protocol) }
|
|
687
|
+
}), "UpdateLocationFsxOpenZfsRequestFilterSensitiveLog");
|
|
688
|
+
var UpdateLocationFsxWindowsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
689
|
+
...obj,
|
|
690
|
+
...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
|
|
691
|
+
}), "UpdateLocationFsxWindowsRequestFilterSensitiveLog");
|
|
661
692
|
var UpdateLocationObjectStorageRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
662
693
|
...obj,
|
|
663
694
|
...obj.SecretKey && { SecretKey: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1078,6 +1109,36 @@ var se_UpdateLocationAzureBlobCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1078
1109
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1079
1110
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1080
1111
|
}, "se_UpdateLocationAzureBlobCommand");
|
|
1112
|
+
var se_UpdateLocationEfsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1113
|
+
const headers = sharedHeaders("UpdateLocationEfs");
|
|
1114
|
+
let body;
|
|
1115
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1116
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1117
|
+
}, "se_UpdateLocationEfsCommand");
|
|
1118
|
+
var se_UpdateLocationFsxLustreCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1119
|
+
const headers = sharedHeaders("UpdateLocationFsxLustre");
|
|
1120
|
+
let body;
|
|
1121
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1122
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1123
|
+
}, "se_UpdateLocationFsxLustreCommand");
|
|
1124
|
+
var se_UpdateLocationFsxOntapCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1125
|
+
const headers = sharedHeaders("UpdateLocationFsxOntap");
|
|
1126
|
+
let body;
|
|
1127
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1128
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1129
|
+
}, "se_UpdateLocationFsxOntapCommand");
|
|
1130
|
+
var se_UpdateLocationFsxOpenZfsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1131
|
+
const headers = sharedHeaders("UpdateLocationFsxOpenZfs");
|
|
1132
|
+
let body;
|
|
1133
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1134
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1135
|
+
}, "se_UpdateLocationFsxOpenZfsCommand");
|
|
1136
|
+
var se_UpdateLocationFsxWindowsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1137
|
+
const headers = sharedHeaders("UpdateLocationFsxWindows");
|
|
1138
|
+
let body;
|
|
1139
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1140
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1141
|
+
}, "se_UpdateLocationFsxWindowsCommand");
|
|
1081
1142
|
var se_UpdateLocationHdfsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1082
1143
|
const headers = sharedHeaders("UpdateLocationHdfs");
|
|
1083
1144
|
let body;
|
|
@@ -1096,6 +1157,12 @@ var se_UpdateLocationObjectStorageCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1096
1157
|
body = JSON.stringify(se_UpdateLocationObjectStorageRequest(input, context));
|
|
1097
1158
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1098
1159
|
}, "se_UpdateLocationObjectStorageCommand");
|
|
1160
|
+
var se_UpdateLocationS3Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1161
|
+
const headers = sharedHeaders("UpdateLocationS3");
|
|
1162
|
+
let body;
|
|
1163
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1164
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1165
|
+
}, "se_UpdateLocationS3Command");
|
|
1099
1166
|
var se_UpdateLocationSmbCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1100
1167
|
const headers = sharedHeaders("UpdateLocationSmb");
|
|
1101
1168
|
let body;
|
|
@@ -1816,6 +1883,71 @@ var de_UpdateLocationAzureBlobCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1816
1883
|
};
|
|
1817
1884
|
return response;
|
|
1818
1885
|
}, "de_UpdateLocationAzureBlobCommand");
|
|
1886
|
+
var de_UpdateLocationEfsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1887
|
+
if (output.statusCode >= 300) {
|
|
1888
|
+
return de_CommandError(output, context);
|
|
1889
|
+
}
|
|
1890
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1891
|
+
let contents = {};
|
|
1892
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1893
|
+
const response = {
|
|
1894
|
+
$metadata: deserializeMetadata(output),
|
|
1895
|
+
...contents
|
|
1896
|
+
};
|
|
1897
|
+
return response;
|
|
1898
|
+
}, "de_UpdateLocationEfsCommand");
|
|
1899
|
+
var de_UpdateLocationFsxLustreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1900
|
+
if (output.statusCode >= 300) {
|
|
1901
|
+
return de_CommandError(output, context);
|
|
1902
|
+
}
|
|
1903
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1904
|
+
let contents = {};
|
|
1905
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1906
|
+
const response = {
|
|
1907
|
+
$metadata: deserializeMetadata(output),
|
|
1908
|
+
...contents
|
|
1909
|
+
};
|
|
1910
|
+
return response;
|
|
1911
|
+
}, "de_UpdateLocationFsxLustreCommand");
|
|
1912
|
+
var de_UpdateLocationFsxOntapCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1913
|
+
if (output.statusCode >= 300) {
|
|
1914
|
+
return de_CommandError(output, context);
|
|
1915
|
+
}
|
|
1916
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1917
|
+
let contents = {};
|
|
1918
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1919
|
+
const response = {
|
|
1920
|
+
$metadata: deserializeMetadata(output),
|
|
1921
|
+
...contents
|
|
1922
|
+
};
|
|
1923
|
+
return response;
|
|
1924
|
+
}, "de_UpdateLocationFsxOntapCommand");
|
|
1925
|
+
var de_UpdateLocationFsxOpenZfsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1926
|
+
if (output.statusCode >= 300) {
|
|
1927
|
+
return de_CommandError(output, context);
|
|
1928
|
+
}
|
|
1929
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1930
|
+
let contents = {};
|
|
1931
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1932
|
+
const response = {
|
|
1933
|
+
$metadata: deserializeMetadata(output),
|
|
1934
|
+
...contents
|
|
1935
|
+
};
|
|
1936
|
+
return response;
|
|
1937
|
+
}, "de_UpdateLocationFsxOpenZfsCommand");
|
|
1938
|
+
var de_UpdateLocationFsxWindowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1939
|
+
if (output.statusCode >= 300) {
|
|
1940
|
+
return de_CommandError(output, context);
|
|
1941
|
+
}
|
|
1942
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1943
|
+
let contents = {};
|
|
1944
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1945
|
+
const response = {
|
|
1946
|
+
$metadata: deserializeMetadata(output),
|
|
1947
|
+
...contents
|
|
1948
|
+
};
|
|
1949
|
+
return response;
|
|
1950
|
+
}, "de_UpdateLocationFsxWindowsCommand");
|
|
1819
1951
|
var de_UpdateLocationHdfsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1820
1952
|
if (output.statusCode >= 300) {
|
|
1821
1953
|
return de_CommandError(output, context);
|
|
@@ -1855,6 +1987,19 @@ var de_UpdateLocationObjectStorageCommand = /* @__PURE__ */ __name(async (output
|
|
|
1855
1987
|
};
|
|
1856
1988
|
return response;
|
|
1857
1989
|
}, "de_UpdateLocationObjectStorageCommand");
|
|
1990
|
+
var de_UpdateLocationS3Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
1991
|
+
if (output.statusCode >= 300) {
|
|
1992
|
+
return de_CommandError(output, context);
|
|
1993
|
+
}
|
|
1994
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1995
|
+
let contents = {};
|
|
1996
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1997
|
+
const response = {
|
|
1998
|
+
$metadata: deserializeMetadata(output),
|
|
1999
|
+
...contents
|
|
2000
|
+
};
|
|
2001
|
+
return response;
|
|
2002
|
+
}, "de_UpdateLocationS3Command");
|
|
1858
2003
|
var de_UpdateLocationSmbCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1859
2004
|
if (output.statusCode >= 300) {
|
|
1860
2005
|
return de_CommandError(output, context);
|
|
@@ -3173,6 +3318,76 @@ var _UpdateLocationAzureBlobCommand = class _UpdateLocationAzureBlobCommand exte
|
|
|
3173
3318
|
__name(_UpdateLocationAzureBlobCommand, "UpdateLocationAzureBlobCommand");
|
|
3174
3319
|
var UpdateLocationAzureBlobCommand = _UpdateLocationAzureBlobCommand;
|
|
3175
3320
|
|
|
3321
|
+
// src/commands/UpdateLocationEfsCommand.ts
|
|
3322
|
+
|
|
3323
|
+
|
|
3324
|
+
|
|
3325
|
+
var _UpdateLocationEfsCommand = class _UpdateLocationEfsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3326
|
+
return [
|
|
3327
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3328
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3329
|
+
];
|
|
3330
|
+
}).s("FmrsService", "UpdateLocationEfs", {}).n("DataSyncClient", "UpdateLocationEfsCommand").f(void 0, void 0).ser(se_UpdateLocationEfsCommand).de(de_UpdateLocationEfsCommand).build() {
|
|
3331
|
+
};
|
|
3332
|
+
__name(_UpdateLocationEfsCommand, "UpdateLocationEfsCommand");
|
|
3333
|
+
var UpdateLocationEfsCommand = _UpdateLocationEfsCommand;
|
|
3334
|
+
|
|
3335
|
+
// src/commands/UpdateLocationFsxLustreCommand.ts
|
|
3336
|
+
|
|
3337
|
+
|
|
3338
|
+
|
|
3339
|
+
var _UpdateLocationFsxLustreCommand = class _UpdateLocationFsxLustreCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3340
|
+
return [
|
|
3341
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3342
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3343
|
+
];
|
|
3344
|
+
}).s("FmrsService", "UpdateLocationFsxLustre", {}).n("DataSyncClient", "UpdateLocationFsxLustreCommand").f(void 0, void 0).ser(se_UpdateLocationFsxLustreCommand).de(de_UpdateLocationFsxLustreCommand).build() {
|
|
3345
|
+
};
|
|
3346
|
+
__name(_UpdateLocationFsxLustreCommand, "UpdateLocationFsxLustreCommand");
|
|
3347
|
+
var UpdateLocationFsxLustreCommand = _UpdateLocationFsxLustreCommand;
|
|
3348
|
+
|
|
3349
|
+
// src/commands/UpdateLocationFsxOntapCommand.ts
|
|
3350
|
+
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
var _UpdateLocationFsxOntapCommand = class _UpdateLocationFsxOntapCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3354
|
+
return [
|
|
3355
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3356
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3357
|
+
];
|
|
3358
|
+
}).s("FmrsService", "UpdateLocationFsxOntap", {}).n("DataSyncClient", "UpdateLocationFsxOntapCommand").f(UpdateLocationFsxOntapRequestFilterSensitiveLog, void 0).ser(se_UpdateLocationFsxOntapCommand).de(de_UpdateLocationFsxOntapCommand).build() {
|
|
3359
|
+
};
|
|
3360
|
+
__name(_UpdateLocationFsxOntapCommand, "UpdateLocationFsxOntapCommand");
|
|
3361
|
+
var UpdateLocationFsxOntapCommand = _UpdateLocationFsxOntapCommand;
|
|
3362
|
+
|
|
3363
|
+
// src/commands/UpdateLocationFsxOpenZfsCommand.ts
|
|
3364
|
+
|
|
3365
|
+
|
|
3366
|
+
|
|
3367
|
+
var _UpdateLocationFsxOpenZfsCommand = class _UpdateLocationFsxOpenZfsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3368
|
+
return [
|
|
3369
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3370
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3371
|
+
];
|
|
3372
|
+
}).s("FmrsService", "UpdateLocationFsxOpenZfs", {}).n("DataSyncClient", "UpdateLocationFsxOpenZfsCommand").f(UpdateLocationFsxOpenZfsRequestFilterSensitiveLog, void 0).ser(se_UpdateLocationFsxOpenZfsCommand).de(de_UpdateLocationFsxOpenZfsCommand).build() {
|
|
3373
|
+
};
|
|
3374
|
+
__name(_UpdateLocationFsxOpenZfsCommand, "UpdateLocationFsxOpenZfsCommand");
|
|
3375
|
+
var UpdateLocationFsxOpenZfsCommand = _UpdateLocationFsxOpenZfsCommand;
|
|
3376
|
+
|
|
3377
|
+
// src/commands/UpdateLocationFsxWindowsCommand.ts
|
|
3378
|
+
|
|
3379
|
+
|
|
3380
|
+
|
|
3381
|
+
var _UpdateLocationFsxWindowsCommand = class _UpdateLocationFsxWindowsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3382
|
+
return [
|
|
3383
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3384
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3385
|
+
];
|
|
3386
|
+
}).s("FmrsService", "UpdateLocationFsxWindows", {}).n("DataSyncClient", "UpdateLocationFsxWindowsCommand").f(UpdateLocationFsxWindowsRequestFilterSensitiveLog, void 0).ser(se_UpdateLocationFsxWindowsCommand).de(de_UpdateLocationFsxWindowsCommand).build() {
|
|
3387
|
+
};
|
|
3388
|
+
__name(_UpdateLocationFsxWindowsCommand, "UpdateLocationFsxWindowsCommand");
|
|
3389
|
+
var UpdateLocationFsxWindowsCommand = _UpdateLocationFsxWindowsCommand;
|
|
3390
|
+
|
|
3176
3391
|
// src/commands/UpdateLocationHdfsCommand.ts
|
|
3177
3392
|
|
|
3178
3393
|
|
|
@@ -3215,6 +3430,20 @@ var _UpdateLocationObjectStorageCommand = class _UpdateLocationObjectStorageComm
|
|
|
3215
3430
|
__name(_UpdateLocationObjectStorageCommand, "UpdateLocationObjectStorageCommand");
|
|
3216
3431
|
var UpdateLocationObjectStorageCommand = _UpdateLocationObjectStorageCommand;
|
|
3217
3432
|
|
|
3433
|
+
// src/commands/UpdateLocationS3Command.ts
|
|
3434
|
+
|
|
3435
|
+
|
|
3436
|
+
|
|
3437
|
+
var _UpdateLocationS3Command = class _UpdateLocationS3Command extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3438
|
+
return [
|
|
3439
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3440
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3441
|
+
];
|
|
3442
|
+
}).s("FmrsService", "UpdateLocationS3", {}).n("DataSyncClient", "UpdateLocationS3Command").f(void 0, void 0).ser(se_UpdateLocationS3Command).de(de_UpdateLocationS3Command).build() {
|
|
3443
|
+
};
|
|
3444
|
+
__name(_UpdateLocationS3Command, "UpdateLocationS3Command");
|
|
3445
|
+
var UpdateLocationS3Command = _UpdateLocationS3Command;
|
|
3446
|
+
|
|
3218
3447
|
// src/commands/UpdateLocationSmbCommand.ts
|
|
3219
3448
|
|
|
3220
3449
|
|
|
@@ -3326,9 +3555,15 @@ var commands = {
|
|
|
3326
3555
|
UpdateAgentCommand,
|
|
3327
3556
|
UpdateDiscoveryJobCommand,
|
|
3328
3557
|
UpdateLocationAzureBlobCommand,
|
|
3558
|
+
UpdateLocationEfsCommand,
|
|
3559
|
+
UpdateLocationFsxLustreCommand,
|
|
3560
|
+
UpdateLocationFsxOntapCommand,
|
|
3561
|
+
UpdateLocationFsxOpenZfsCommand,
|
|
3562
|
+
UpdateLocationFsxWindowsCommand,
|
|
3329
3563
|
UpdateLocationHdfsCommand,
|
|
3330
3564
|
UpdateLocationNfsCommand,
|
|
3331
3565
|
UpdateLocationObjectStorageCommand,
|
|
3566
|
+
UpdateLocationS3Command,
|
|
3332
3567
|
UpdateLocationSmbCommand,
|
|
3333
3568
|
UpdateStorageSystemCommand,
|
|
3334
3569
|
UpdateTaskCommand,
|
|
@@ -3436,9 +3671,15 @@ var paginateListTasks = (0, import_core.createPaginator)(DataSyncClient, ListTas
|
|
|
3436
3671
|
UpdateAgentCommand,
|
|
3437
3672
|
UpdateDiscoveryJobCommand,
|
|
3438
3673
|
UpdateLocationAzureBlobCommand,
|
|
3674
|
+
UpdateLocationEfsCommand,
|
|
3675
|
+
UpdateLocationFsxLustreCommand,
|
|
3676
|
+
UpdateLocationFsxOntapCommand,
|
|
3677
|
+
UpdateLocationFsxOpenZfsCommand,
|
|
3678
|
+
UpdateLocationFsxWindowsCommand,
|
|
3439
3679
|
UpdateLocationHdfsCommand,
|
|
3440
3680
|
UpdateLocationNfsCommand,
|
|
3441
3681
|
UpdateLocationObjectStorageCommand,
|
|
3682
|
+
UpdateLocationS3Command,
|
|
3442
3683
|
UpdateLocationSmbCommand,
|
|
3443
3684
|
UpdateStorageSystemCommand,
|
|
3444
3685
|
UpdateTaskCommand,
|
|
@@ -3516,6 +3757,11 @@ var paginateListTasks = (0, import_core.createPaginator)(DataSyncClient, ListTas
|
|
|
3516
3757
|
DescribeLocationFsxOntapResponseFilterSensitiveLog,
|
|
3517
3758
|
DescribeLocationFsxOpenZfsResponseFilterSensitiveLog,
|
|
3518
3759
|
UpdateLocationAzureBlobRequestFilterSensitiveLog,
|
|
3760
|
+
FsxUpdateProtocolSmbFilterSensitiveLog,
|
|
3761
|
+
FsxUpdateProtocolFilterSensitiveLog,
|
|
3762
|
+
UpdateLocationFsxOntapRequestFilterSensitiveLog,
|
|
3763
|
+
UpdateLocationFsxOpenZfsRequestFilterSensitiveLog,
|
|
3764
|
+
UpdateLocationFsxWindowsRequestFilterSensitiveLog,
|
|
3519
3765
|
UpdateLocationObjectStorageRequestFilterSensitiveLog,
|
|
3520
3766
|
UpdateLocationSmbRequestFilterSensitiveLog,
|
|
3521
3767
|
UpdateStorageSystemRequestFilterSensitiveLog
|
|
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
+
const profileConfig = { profile: config?.profile };
|
|
26
27
|
return {
|
|
27
28
|
...clientSharedValues,
|
|
28
29
|
...config,
|
|
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
|
|
|
32
33
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
33
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
35
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: config?.region ??
|
|
36
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
37
|
+
region: config?.region ??
|
|
38
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
37
39
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
38
40
|
retryMode: config?.retryMode ??
|
|
39
41
|
(0, node_config_provider_1.loadConfig)({
|
|
40
42
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
41
43
|
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
42
|
-
}),
|
|
44
|
+
}, config),
|
|
43
45
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
44
46
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
49
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
48
50
|
};
|
|
49
51
|
};
|
|
50
52
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/DataSync.js
CHANGED
|
@@ -52,9 +52,15 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
52
52
|
import { UpdateAgentCommand } from "./commands/UpdateAgentCommand";
|
|
53
53
|
import { UpdateDiscoveryJobCommand, } from "./commands/UpdateDiscoveryJobCommand";
|
|
54
54
|
import { UpdateLocationAzureBlobCommand, } from "./commands/UpdateLocationAzureBlobCommand";
|
|
55
|
+
import { UpdateLocationEfsCommand, } from "./commands/UpdateLocationEfsCommand";
|
|
56
|
+
import { UpdateLocationFsxLustreCommand, } from "./commands/UpdateLocationFsxLustreCommand";
|
|
57
|
+
import { UpdateLocationFsxOntapCommand, } from "./commands/UpdateLocationFsxOntapCommand";
|
|
58
|
+
import { UpdateLocationFsxOpenZfsCommand, } from "./commands/UpdateLocationFsxOpenZfsCommand";
|
|
59
|
+
import { UpdateLocationFsxWindowsCommand, } from "./commands/UpdateLocationFsxWindowsCommand";
|
|
55
60
|
import { UpdateLocationHdfsCommand, } from "./commands/UpdateLocationHdfsCommand";
|
|
56
61
|
import { UpdateLocationNfsCommand, } from "./commands/UpdateLocationNfsCommand";
|
|
57
62
|
import { UpdateLocationObjectStorageCommand, } from "./commands/UpdateLocationObjectStorageCommand";
|
|
63
|
+
import { UpdateLocationS3Command, } from "./commands/UpdateLocationS3Command";
|
|
58
64
|
import { UpdateLocationSmbCommand, } from "./commands/UpdateLocationSmbCommand";
|
|
59
65
|
import { UpdateStorageSystemCommand, } from "./commands/UpdateStorageSystemCommand";
|
|
60
66
|
import { UpdateTaskCommand } from "./commands/UpdateTaskCommand";
|
|
@@ -114,9 +120,15 @@ const commands = {
|
|
|
114
120
|
UpdateAgentCommand,
|
|
115
121
|
UpdateDiscoveryJobCommand,
|
|
116
122
|
UpdateLocationAzureBlobCommand,
|
|
123
|
+
UpdateLocationEfsCommand,
|
|
124
|
+
UpdateLocationFsxLustreCommand,
|
|
125
|
+
UpdateLocationFsxOntapCommand,
|
|
126
|
+
UpdateLocationFsxOpenZfsCommand,
|
|
127
|
+
UpdateLocationFsxWindowsCommand,
|
|
117
128
|
UpdateLocationHdfsCommand,
|
|
118
129
|
UpdateLocationNfsCommand,
|
|
119
130
|
UpdateLocationObjectStorageCommand,
|
|
131
|
+
UpdateLocationS3Command,
|
|
120
132
|
UpdateLocationSmbCommand,
|
|
121
133
|
UpdateStorageSystemCommand,
|
|
122
134
|
UpdateTaskCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateLocationEfsCommand, se_UpdateLocationEfsCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateLocationEfsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("FmrsService", "UpdateLocationEfs", {})
|
|
17
|
+
.n("DataSyncClient", "UpdateLocationEfsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateLocationEfsCommand)
|
|
20
|
+
.de(de_UpdateLocationEfsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateLocationFsxLustreCommand, se_UpdateLocationFsxLustreCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateLocationFsxLustreCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("FmrsService", "UpdateLocationFsxLustre", {})
|
|
17
|
+
.n("DataSyncClient", "UpdateLocationFsxLustreCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateLocationFsxLustreCommand)
|
|
20
|
+
.de(de_UpdateLocationFsxLustreCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateLocationFsxOntapRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateLocationFsxOntapCommand, se_UpdateLocationFsxOntapCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateLocationFsxOntapCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("FmrsService", "UpdateLocationFsxOntap", {})
|
|
18
|
+
.n("DataSyncClient", "UpdateLocationFsxOntapCommand")
|
|
19
|
+
.f(UpdateLocationFsxOntapRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_UpdateLocationFsxOntapCommand)
|
|
21
|
+
.de(de_UpdateLocationFsxOntapCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateLocationFsxOpenZfsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateLocationFsxOpenZfsCommand, se_UpdateLocationFsxOpenZfsCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateLocationFsxOpenZfsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("FmrsService", "UpdateLocationFsxOpenZfs", {})
|
|
18
|
+
.n("DataSyncClient", "UpdateLocationFsxOpenZfsCommand")
|
|
19
|
+
.f(UpdateLocationFsxOpenZfsRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_UpdateLocationFsxOpenZfsCommand)
|
|
21
|
+
.de(de_UpdateLocationFsxOpenZfsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateLocationFsxWindowsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateLocationFsxWindowsCommand, se_UpdateLocationFsxWindowsCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateLocationFsxWindowsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("FmrsService", "UpdateLocationFsxWindows", {})
|
|
18
|
+
.n("DataSyncClient", "UpdateLocationFsxWindowsCommand")
|
|
19
|
+
.f(UpdateLocationFsxWindowsRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_UpdateLocationFsxWindowsCommand)
|
|
21
|
+
.de(de_UpdateLocationFsxWindowsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateLocationS3Command, se_UpdateLocationS3Command } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateLocationS3Command extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("FmrsService", "UpdateLocationS3", {})
|
|
17
|
+
.n("DataSyncClient", "UpdateLocationS3Command")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateLocationS3Command)
|
|
20
|
+
.de(de_UpdateLocationS3Command)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -51,9 +51,15 @@ export * from "./UntagResourceCommand";
|
|
|
51
51
|
export * from "./UpdateAgentCommand";
|
|
52
52
|
export * from "./UpdateDiscoveryJobCommand";
|
|
53
53
|
export * from "./UpdateLocationAzureBlobCommand";
|
|
54
|
+
export * from "./UpdateLocationEfsCommand";
|
|
55
|
+
export * from "./UpdateLocationFsxLustreCommand";
|
|
56
|
+
export * from "./UpdateLocationFsxOntapCommand";
|
|
57
|
+
export * from "./UpdateLocationFsxOpenZfsCommand";
|
|
58
|
+
export * from "./UpdateLocationFsxWindowsCommand";
|
|
54
59
|
export * from "./UpdateLocationHdfsCommand";
|
|
55
60
|
export * from "./UpdateLocationNfsCommand";
|
|
56
61
|
export * from "./UpdateLocationObjectStorageCommand";
|
|
62
|
+
export * from "./UpdateLocationS3Command";
|
|
57
63
|
export * from "./UpdateLocationSmbCommand";
|
|
58
64
|
export * from "./UpdateStorageSystemCommand";
|
|
59
65
|
export * from "./UpdateTaskCommand";
|
|
@@ -321,6 +321,26 @@ export const UpdateLocationAzureBlobRequestFilterSensitiveLog = (obj) => ({
|
|
|
321
321
|
...obj,
|
|
322
322
|
...(obj.SasConfiguration && { SasConfiguration: AzureBlobSasConfigurationFilterSensitiveLog(obj.SasConfiguration) }),
|
|
323
323
|
});
|
|
324
|
+
export const FsxUpdateProtocolSmbFilterSensitiveLog = (obj) => ({
|
|
325
|
+
...obj,
|
|
326
|
+
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
327
|
+
});
|
|
328
|
+
export const FsxUpdateProtocolFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
...(obj.SMB && { SMB: FsxUpdateProtocolSmbFilterSensitiveLog(obj.SMB) }),
|
|
331
|
+
});
|
|
332
|
+
export const UpdateLocationFsxOntapRequestFilterSensitiveLog = (obj) => ({
|
|
333
|
+
...obj,
|
|
334
|
+
...(obj.Protocol && { Protocol: FsxUpdateProtocolFilterSensitiveLog(obj.Protocol) }),
|
|
335
|
+
});
|
|
336
|
+
export const UpdateLocationFsxOpenZfsRequestFilterSensitiveLog = (obj) => ({
|
|
337
|
+
...obj,
|
|
338
|
+
...(obj.Protocol && { Protocol: FsxProtocolFilterSensitiveLog(obj.Protocol) }),
|
|
339
|
+
});
|
|
340
|
+
export const UpdateLocationFsxWindowsRequestFilterSensitiveLog = (obj) => ({
|
|
341
|
+
...obj,
|
|
342
|
+
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
343
|
+
});
|
|
324
344
|
export const UpdateLocationObjectStorageRequestFilterSensitiveLog = (obj) => ({
|
|
325
345
|
...obj,
|
|
326
346
|
...(obj.SecretKey && { SecretKey: SENSITIVE_STRING }),
|