Skip to content

Commit 1c7cb38

Browse files
author
awstools
committed
feat(client-datasync): AWS DataSync introduces the ability to update attributes for in-cloud locations.
1 parent 2014889 commit 1c7cb38

19 files changed

+1979
-59
lines changed

clients/client-datasync/README.md

+48
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,46 @@ UpdateLocationAzureBlob
635635

636636
[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/)
637637

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+
638678
</details>
639679
<details>
640680
<summary>
@@ -659,6 +699,14 @@ UpdateLocationObjectStorage
659699

660700
[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/)
661701

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+
662710
</details>
663711
<details>
664712
<summary>

clients/client-datasync/src/DataSync.ts

+138
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,31 @@ import {
235235
UpdateLocationAzureBlobCommandInput,
236236
UpdateLocationAzureBlobCommandOutput,
237237
} from "./commands/UpdateLocationAzureBlobCommand";
238+
import {
239+
UpdateLocationEfsCommand,
240+
UpdateLocationEfsCommandInput,
241+
UpdateLocationEfsCommandOutput,
242+
} from "./commands/UpdateLocationEfsCommand";
243+
import {
244+
UpdateLocationFsxLustreCommand,
245+
UpdateLocationFsxLustreCommandInput,
246+
UpdateLocationFsxLustreCommandOutput,
247+
} from "./commands/UpdateLocationFsxLustreCommand";
248+
import {
249+
UpdateLocationFsxOntapCommand,
250+
UpdateLocationFsxOntapCommandInput,
251+
UpdateLocationFsxOntapCommandOutput,
252+
} from "./commands/UpdateLocationFsxOntapCommand";
253+
import {
254+
UpdateLocationFsxOpenZfsCommand,
255+
UpdateLocationFsxOpenZfsCommandInput,
256+
UpdateLocationFsxOpenZfsCommandOutput,
257+
} from "./commands/UpdateLocationFsxOpenZfsCommand";
258+
import {
259+
UpdateLocationFsxWindowsCommand,
260+
UpdateLocationFsxWindowsCommandInput,
261+
UpdateLocationFsxWindowsCommandOutput,
262+
} from "./commands/UpdateLocationFsxWindowsCommand";
238263
import {
239264
UpdateLocationHdfsCommand,
240265
UpdateLocationHdfsCommandInput,
@@ -250,6 +275,11 @@ import {
250275
UpdateLocationObjectStorageCommandInput,
251276
UpdateLocationObjectStorageCommandOutput,
252277
} from "./commands/UpdateLocationObjectStorageCommand";
278+
import {
279+
UpdateLocationS3Command,
280+
UpdateLocationS3CommandInput,
281+
UpdateLocationS3CommandOutput,
282+
} from "./commands/UpdateLocationS3Command";
253283
import {
254284
UpdateLocationSmbCommand,
255285
UpdateLocationSmbCommandInput,
@@ -322,9 +352,15 @@ const commands = {
322352
UpdateAgentCommand,
323353
UpdateDiscoveryJobCommand,
324354
UpdateLocationAzureBlobCommand,
355+
UpdateLocationEfsCommand,
356+
UpdateLocationFsxLustreCommand,
357+
UpdateLocationFsxOntapCommand,
358+
UpdateLocationFsxOpenZfsCommand,
359+
UpdateLocationFsxWindowsCommand,
325360
UpdateLocationHdfsCommand,
326361
UpdateLocationNfsCommand,
327362
UpdateLocationObjectStorageCommand,
363+
UpdateLocationS3Command,
328364
UpdateLocationSmbCommand,
329365
UpdateStorageSystemCommand,
330366
UpdateTaskCommand,
@@ -1164,6 +1200,91 @@ export interface DataSync {
11641200
cb: (err: any, data?: UpdateLocationAzureBlobCommandOutput) => void
11651201
): void;
11661202

1203+
/**
1204+
* @see {@link UpdateLocationEfsCommand}
1205+
*/
1206+
updateLocationEfs(
1207+
args: UpdateLocationEfsCommandInput,
1208+
options?: __HttpHandlerOptions
1209+
): Promise<UpdateLocationEfsCommandOutput>;
1210+
updateLocationEfs(
1211+
args: UpdateLocationEfsCommandInput,
1212+
cb: (err: any, data?: UpdateLocationEfsCommandOutput) => void
1213+
): void;
1214+
updateLocationEfs(
1215+
args: UpdateLocationEfsCommandInput,
1216+
options: __HttpHandlerOptions,
1217+
cb: (err: any, data?: UpdateLocationEfsCommandOutput) => void
1218+
): void;
1219+
1220+
/**
1221+
* @see {@link UpdateLocationFsxLustreCommand}
1222+
*/
1223+
updateLocationFsxLustre(
1224+
args: UpdateLocationFsxLustreCommandInput,
1225+
options?: __HttpHandlerOptions
1226+
): Promise<UpdateLocationFsxLustreCommandOutput>;
1227+
updateLocationFsxLustre(
1228+
args: UpdateLocationFsxLustreCommandInput,
1229+
cb: (err: any, data?: UpdateLocationFsxLustreCommandOutput) => void
1230+
): void;
1231+
updateLocationFsxLustre(
1232+
args: UpdateLocationFsxLustreCommandInput,
1233+
options: __HttpHandlerOptions,
1234+
cb: (err: any, data?: UpdateLocationFsxLustreCommandOutput) => void
1235+
): void;
1236+
1237+
/**
1238+
* @see {@link UpdateLocationFsxOntapCommand}
1239+
*/
1240+
updateLocationFsxOntap(
1241+
args: UpdateLocationFsxOntapCommandInput,
1242+
options?: __HttpHandlerOptions
1243+
): Promise<UpdateLocationFsxOntapCommandOutput>;
1244+
updateLocationFsxOntap(
1245+
args: UpdateLocationFsxOntapCommandInput,
1246+
cb: (err: any, data?: UpdateLocationFsxOntapCommandOutput) => void
1247+
): void;
1248+
updateLocationFsxOntap(
1249+
args: UpdateLocationFsxOntapCommandInput,
1250+
options: __HttpHandlerOptions,
1251+
cb: (err: any, data?: UpdateLocationFsxOntapCommandOutput) => void
1252+
): void;
1253+
1254+
/**
1255+
* @see {@link UpdateLocationFsxOpenZfsCommand}
1256+
*/
1257+
updateLocationFsxOpenZfs(
1258+
args: UpdateLocationFsxOpenZfsCommandInput,
1259+
options?: __HttpHandlerOptions
1260+
): Promise<UpdateLocationFsxOpenZfsCommandOutput>;
1261+
updateLocationFsxOpenZfs(
1262+
args: UpdateLocationFsxOpenZfsCommandInput,
1263+
cb: (err: any, data?: UpdateLocationFsxOpenZfsCommandOutput) => void
1264+
): void;
1265+
updateLocationFsxOpenZfs(
1266+
args: UpdateLocationFsxOpenZfsCommandInput,
1267+
options: __HttpHandlerOptions,
1268+
cb: (err: any, data?: UpdateLocationFsxOpenZfsCommandOutput) => void
1269+
): void;
1270+
1271+
/**
1272+
* @see {@link UpdateLocationFsxWindowsCommand}
1273+
*/
1274+
updateLocationFsxWindows(
1275+
args: UpdateLocationFsxWindowsCommandInput,
1276+
options?: __HttpHandlerOptions
1277+
): Promise<UpdateLocationFsxWindowsCommandOutput>;
1278+
updateLocationFsxWindows(
1279+
args: UpdateLocationFsxWindowsCommandInput,
1280+
cb: (err: any, data?: UpdateLocationFsxWindowsCommandOutput) => void
1281+
): void;
1282+
updateLocationFsxWindows(
1283+
args: UpdateLocationFsxWindowsCommandInput,
1284+
options: __HttpHandlerOptions,
1285+
cb: (err: any, data?: UpdateLocationFsxWindowsCommandOutput) => void
1286+
): void;
1287+
11671288
/**
11681289
* @see {@link UpdateLocationHdfsCommand}
11691290
*/
@@ -1215,6 +1336,23 @@ export interface DataSync {
12151336
cb: (err: any, data?: UpdateLocationObjectStorageCommandOutput) => void
12161337
): void;
12171338

1339+
/**
1340+
* @see {@link UpdateLocationS3Command}
1341+
*/
1342+
updateLocationS3(
1343+
args: UpdateLocationS3CommandInput,
1344+
options?: __HttpHandlerOptions
1345+
): Promise<UpdateLocationS3CommandOutput>;
1346+
updateLocationS3(
1347+
args: UpdateLocationS3CommandInput,
1348+
cb: (err: any, data?: UpdateLocationS3CommandOutput) => void
1349+
): void;
1350+
updateLocationS3(
1351+
args: UpdateLocationS3CommandInput,
1352+
options: __HttpHandlerOptions,
1353+
cb: (err: any, data?: UpdateLocationS3CommandOutput) => void
1354+
): void;
1355+
12181356
/**
12191357
* @see {@link UpdateLocationSmbCommand}
12201358
*/

clients/client-datasync/src/DataSyncClient.ts

+30
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,30 @@ import {
184184
UpdateLocationAzureBlobCommandInput,
185185
UpdateLocationAzureBlobCommandOutput,
186186
} from "./commands/UpdateLocationAzureBlobCommand";
187+
import { UpdateLocationEfsCommandInput, UpdateLocationEfsCommandOutput } from "./commands/UpdateLocationEfsCommand";
188+
import {
189+
UpdateLocationFsxLustreCommandInput,
190+
UpdateLocationFsxLustreCommandOutput,
191+
} from "./commands/UpdateLocationFsxLustreCommand";
192+
import {
193+
UpdateLocationFsxOntapCommandInput,
194+
UpdateLocationFsxOntapCommandOutput,
195+
} from "./commands/UpdateLocationFsxOntapCommand";
196+
import {
197+
UpdateLocationFsxOpenZfsCommandInput,
198+
UpdateLocationFsxOpenZfsCommandOutput,
199+
} from "./commands/UpdateLocationFsxOpenZfsCommand";
200+
import {
201+
UpdateLocationFsxWindowsCommandInput,
202+
UpdateLocationFsxWindowsCommandOutput,
203+
} from "./commands/UpdateLocationFsxWindowsCommand";
187204
import { UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput } from "./commands/UpdateLocationHdfsCommand";
188205
import { UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput } from "./commands/UpdateLocationNfsCommand";
189206
import {
190207
UpdateLocationObjectStorageCommandInput,
191208
UpdateLocationObjectStorageCommandOutput,
192209
} from "./commands/UpdateLocationObjectStorageCommand";
210+
import { UpdateLocationS3CommandInput, UpdateLocationS3CommandOutput } from "./commands/UpdateLocationS3Command";
193211
import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
194212
import {
195213
UpdateStorageSystemCommandInput,
@@ -268,9 +286,15 @@ export type ServiceInputTypes =
268286
| UpdateAgentCommandInput
269287
| UpdateDiscoveryJobCommandInput
270288
| UpdateLocationAzureBlobCommandInput
289+
| UpdateLocationEfsCommandInput
290+
| UpdateLocationFsxLustreCommandInput
291+
| UpdateLocationFsxOntapCommandInput
292+
| UpdateLocationFsxOpenZfsCommandInput
293+
| UpdateLocationFsxWindowsCommandInput
271294
| UpdateLocationHdfsCommandInput
272295
| UpdateLocationNfsCommandInput
273296
| UpdateLocationObjectStorageCommandInput
297+
| UpdateLocationS3CommandInput
274298
| UpdateLocationSmbCommandInput
275299
| UpdateStorageSystemCommandInput
276300
| UpdateTaskCommandInput
@@ -333,9 +357,15 @@ export type ServiceOutputTypes =
333357
| UpdateAgentCommandOutput
334358
| UpdateDiscoveryJobCommandOutput
335359
| UpdateLocationAzureBlobCommandOutput
360+
| UpdateLocationEfsCommandOutput
361+
| UpdateLocationFsxLustreCommandOutput
362+
| UpdateLocationFsxOntapCommandOutput
363+
| UpdateLocationFsxOpenZfsCommandOutput
364+
| UpdateLocationFsxWindowsCommandOutput
336365
| UpdateLocationHdfsCommandOutput
337366
| UpdateLocationNfsCommandOutput
338367
| UpdateLocationObjectStorageCommandOutput
368+
| UpdateLocationS3CommandOutput
339369
| UpdateLocationSmbCommandOutput
340370
| UpdateStorageSystemCommandOutput
341371
| UpdateTaskCommandOutput

clients/client-datasync/src/commands/CreateLocationNfsCommand.ts

-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ export interface CreateLocationNfsCommandOutput extends CreateLocationNfsRespons
3434
* <p>Before you begin, make sure that you understand how DataSync
3535
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs">accesses
3636
* NFS file servers</a>.</p>
37-
* <note>
38-
* <p>If you're copying data to or from an Snowcone device, you can also use
39-
* <code>CreateLocationNfs</code> to create your transfer location. For more information, see
40-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/nfs-on-snowcone.html">Configuring transfers with Snowcone</a>.</p>
41-
* </note>
4237
* @example
4338
* Use a bare-bones client and the command you need to make an API call.
4439
* ```javascript

clients/client-datasync/src/commands/UpdateLocationAzureBlobCommand.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ export interface UpdateLocationAzureBlobCommandInput extends UpdateLocationAzure
3232
export interface UpdateLocationAzureBlobCommandOutput extends UpdateLocationAzureBlobResponse, __MetadataBearer {}
3333

3434
/**
35-
* <p>Modifies some configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.</p>
35+
* <p>Modifies the following configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.</p>
36+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html">Configuring DataSync transfers with Azure Blob Storage</a>.</p>
3637
* @example
3738
* Use a bare-bones client and the command you need to make an API call.
3839
* ```javascript

0 commit comments

Comments
 (0)