@aws-sdk/client-datasync 3.130.0 → 3.131.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-datasync
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
15
|
|
|
8
16
|
|
package/dist-types/DataSync.d.ts
CHANGED
|
@@ -158,25 +158,27 @@ export declare class DataSync extends DataSyncClient {
|
|
|
158
158
|
createLocationSmb(args: CreateLocationSmbCommandInput, cb: (err: any, data?: CreateLocationSmbCommandOutput) => void): void;
|
|
159
159
|
createLocationSmb(args: CreateLocationSmbCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationSmbCommandOutput) => void): void;
|
|
160
160
|
/**
|
|
161
|
-
* <p>
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
* <
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
161
|
+
* <p>Configures a task, which defines where and how DataSync transfers your
|
|
162
|
+
* data.</p>
|
|
163
|
+
* <p>A task includes a source location, a destination location, and the preferences for how and
|
|
164
|
+
* when you want to transfer your data (such as bandwidth limits, scheduling, among other
|
|
165
|
+
* options).</p>
|
|
166
|
+
* <p>When you create a task that transfers data between Amazon Web Services services in
|
|
167
|
+
* different Amazon Web Services Regions, one of your locations must reside in the Region where
|
|
168
|
+
* you're using DataSync.</p>
|
|
169
|
+
* <p>For more information, see the following topics:</p>
|
|
170
|
+
* <ul>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>
|
|
173
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html">Working with DataSync locations</a>
|
|
174
|
+
* </p>
|
|
175
|
+
* </li>
|
|
176
|
+
* <li>
|
|
177
|
+
* <p>
|
|
178
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html">Configure DataSync task settings</a>
|
|
179
|
+
* </p>
|
|
180
|
+
* </li>
|
|
181
|
+
* </ul>
|
|
180
182
|
*/
|
|
181
183
|
createTask(args: CreateTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateTaskCommandOutput>;
|
|
182
184
|
createTask(args: CreateTaskCommandInput, cb: (err: any, data?: CreateTaskCommandOutput) => void): void;
|
|
@@ -321,7 +323,7 @@ export declare class DataSync extends DataSyncClient {
|
|
|
321
323
|
listTaskExecutions(args: ListTaskExecutionsCommandInput, cb: (err: any, data?: ListTaskExecutionsCommandOutput) => void): void;
|
|
322
324
|
listTaskExecutions(args: ListTaskExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTaskExecutionsCommandOutput) => void): void;
|
|
323
325
|
/**
|
|
324
|
-
* <p>Returns a list of
|
|
326
|
+
* <p>Returns a list of the DataSync tasks you created.</p>
|
|
325
327
|
*/
|
|
326
328
|
listTasks(args: ListTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListTasksCommandOutput>;
|
|
327
329
|
listTasks(args: ListTasksCommandInput, cb: (err: any, data?: ListTasksCommandOutput) => void): void;
|
|
@@ -7,25 +7,27 @@ export interface CreateTaskCommandInput extends CreateTaskRequest {
|
|
|
7
7
|
export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* <
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
10
|
+
* <p>Configures a task, which defines where and how DataSync transfers your
|
|
11
|
+
* data.</p>
|
|
12
|
+
* <p>A task includes a source location, a destination location, and the preferences for how and
|
|
13
|
+
* when you want to transfer your data (such as bandwidth limits, scheduling, among other
|
|
14
|
+
* options).</p>
|
|
15
|
+
* <p>When you create a task that transfers data between Amazon Web Services services in
|
|
16
|
+
* different Amazon Web Services Regions, one of your locations must reside in the Region where
|
|
17
|
+
* you're using DataSync.</p>
|
|
18
|
+
* <p>For more information, see the following topics:</p>
|
|
19
|
+
* <ul>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>
|
|
22
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html">Working with DataSync locations</a>
|
|
23
|
+
* </p>
|
|
24
|
+
* </li>
|
|
25
|
+
* <li>
|
|
26
|
+
* <p>
|
|
27
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html">Configure DataSync task settings</a>
|
|
28
|
+
* </p>
|
|
29
|
+
* </li>
|
|
30
|
+
* </ul>
|
|
29
31
|
* @example
|
|
30
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
33
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface ListTasksCommandInput extends ListTasksRequest {
|
|
|
7
7
|
export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of
|
|
10
|
+
* <p>Returns a list of the DataSync tasks you created.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -422,7 +422,42 @@ export interface FsxProtocolSmb {
|
|
|
422
422
|
*/
|
|
423
423
|
Password: string | undefined;
|
|
424
424
|
/**
|
|
425
|
-
* <p>Specifies a user
|
|
425
|
+
* <p>Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM.</p>
|
|
426
|
+
* <p>If you provide a user in your Active Directory, note the following:</p>
|
|
427
|
+
* <ul>
|
|
428
|
+
* <li>
|
|
429
|
+
* <p>If you're using Directory Service for Microsoft Active Directory, the user
|
|
430
|
+
* must be a member of the Amazon Web Services Delegated
|
|
431
|
+
* FSx Administrators group.</p>
|
|
432
|
+
* </li>
|
|
433
|
+
* <li>
|
|
434
|
+
* <p>If you're using a self-managed Active Directory, the user must be a member of either
|
|
435
|
+
* the Domain Admins group or a custom group that you specified for file system
|
|
436
|
+
* administration when you created your file system.</p>
|
|
437
|
+
* </li>
|
|
438
|
+
* </ul>
|
|
439
|
+
* <p>Make sure that the user has the permissions it needs
|
|
440
|
+
* to copy the data you want:</p>
|
|
441
|
+
* <ul>
|
|
442
|
+
* <li>
|
|
443
|
+
* <p>
|
|
444
|
+
* <code>SE_TCB_NAME</code>: Required to
|
|
445
|
+
* set object ownership and file metadata. With this
|
|
446
|
+
* privilege, you also can copy NTFS discretionary
|
|
447
|
+
* access lists (DACLs).</p>
|
|
448
|
+
* </li>
|
|
449
|
+
* <li>
|
|
450
|
+
* <p>
|
|
451
|
+
* <code>SE_SECURITY_NAME</code>: May be
|
|
452
|
+
* needed to copy NTFS system access control lists
|
|
453
|
+
* (SACLs). This operation specifically requires the
|
|
454
|
+
* Windows privilege, which is granted to members of
|
|
455
|
+
* the Domain Admins group. If
|
|
456
|
+
* you configure your task to copy SACLs, make sure
|
|
457
|
+
* that the user has the required privileges. For
|
|
458
|
+
* information about copying SACLs, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html#configure-ownership-and-permissions">Ownership and permissions-related options</a>.</p>
|
|
459
|
+
* </li>
|
|
460
|
+
* </ul>
|
|
426
461
|
*/
|
|
427
462
|
User: string | undefined;
|
|
428
463
|
}
|
|
@@ -457,19 +492,22 @@ export interface CreateLocationFsxOntapRequest {
|
|
|
457
492
|
*/
|
|
458
493
|
Protocol: FsxProtocol | undefined;
|
|
459
494
|
/**
|
|
460
|
-
* <p>Specifies the security groups that
|
|
461
|
-
*
|
|
495
|
+
* <p>Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.</p>
|
|
496
|
+
* <p>The security groups must allow outbound traffic on the following ports (depending on the
|
|
497
|
+
* protocol you use):</p>
|
|
462
498
|
* <ul>
|
|
463
499
|
* <li>
|
|
464
500
|
* <p>
|
|
465
|
-
* <b>Network File System (NFS)</b>: TCP
|
|
501
|
+
* <b>Network File System (NFS)</b>: TCP ports 111, 635, and
|
|
502
|
+
* 2049</p>
|
|
466
503
|
* </li>
|
|
467
504
|
* <li>
|
|
468
505
|
* <p>
|
|
469
506
|
* <b>Server Message Block (SMB)</b>: TCP port 445</p>
|
|
470
507
|
* </li>
|
|
471
508
|
* </ul>
|
|
472
|
-
* <p>Your file system's security groups must also allow inbound traffic on the same
|
|
509
|
+
* <p>Your file system's security groups must also allow inbound traffic on the same
|
|
510
|
+
* ports.</p>
|
|
473
511
|
*/
|
|
474
512
|
SecurityGroupArns: string[] | undefined;
|
|
475
513
|
/**
|
|
@@ -556,40 +594,54 @@ export declare namespace CreateLocationFsxOpenZfsResponse {
|
|
|
556
594
|
}
|
|
557
595
|
export interface CreateLocationFsxWindowsRequest {
|
|
558
596
|
/**
|
|
559
|
-
* <p>
|
|
560
|
-
*
|
|
561
|
-
* source location or write data to the FSx for Windows File Server destination.</p>
|
|
597
|
+
* <p>Specifies a mount path for your file system using forward slashes. This is where DataSync reads or
|
|
598
|
+
* writes data (depending on if this is a source or destination location).</p>
|
|
562
599
|
*/
|
|
563
600
|
Subdirectory?: string;
|
|
564
601
|
/**
|
|
565
|
-
* <p>
|
|
602
|
+
* <p>Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file
|
|
603
|
+
* system.</p>
|
|
566
604
|
*/
|
|
567
605
|
FsxFilesystemArn: string | undefined;
|
|
568
606
|
/**
|
|
569
|
-
* <p>
|
|
570
|
-
*
|
|
607
|
+
* <p>Specifies the ARNs of the security groups that provide access to your file system's
|
|
608
|
+
* preferred subnet.</p>
|
|
609
|
+
* <note>
|
|
610
|
+
* <p>If you choose a security group that doesn't allow connections from within
|
|
611
|
+
* itself, do one of the following:</p>
|
|
612
|
+
* <ul>
|
|
613
|
+
* <li>
|
|
614
|
+
* <p>Configure the security group to allow it to communicate within
|
|
615
|
+
* itself.</p>
|
|
616
|
+
* </li>
|
|
617
|
+
* <li>
|
|
618
|
+
* <p>Choose a different security group that can communicate with the
|
|
619
|
+
* mount target's security group.</p>
|
|
620
|
+
* </li>
|
|
621
|
+
* </ul>
|
|
622
|
+
* </note>
|
|
571
623
|
*/
|
|
572
624
|
SecurityGroupArns: string[] | undefined;
|
|
573
625
|
/**
|
|
574
|
-
* <p>
|
|
575
|
-
*
|
|
576
|
-
* resources. We recommend that you create a name tag for your location.</p>
|
|
626
|
+
* <p>Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
|
|
627
|
+
* recommend creating at least a name tag for your location.</p>
|
|
577
628
|
*/
|
|
578
629
|
Tags?: TagListEntry[];
|
|
579
630
|
/**
|
|
580
|
-
* <p>
|
|
581
|
-
*
|
|
631
|
+
* <p>Specifies the user who has the permissions to access files and folders in the file
|
|
632
|
+
* system.</p>
|
|
582
633
|
* <p>For information about choosing a user name that ensures sufficient permissions to files,
|
|
583
634
|
* folders, and metadata, see <a href="create-fsx-location.html#FSxWuser">user</a>.</p>
|
|
584
635
|
*/
|
|
585
636
|
User: string | undefined;
|
|
586
637
|
/**
|
|
587
|
-
* <p>
|
|
638
|
+
* <p>Specifies the name of the Windows domain that the FSx for Windows File Server belongs
|
|
639
|
+
* to.</p>
|
|
588
640
|
*/
|
|
589
641
|
Domain?: string;
|
|
590
642
|
/**
|
|
591
|
-
* <p>
|
|
592
|
-
*
|
|
643
|
+
* <p>Specifies the password of the user who has the permissions to access files and folders in
|
|
644
|
+
* the file system.</p>
|
|
593
645
|
*/
|
|
594
646
|
Password: string | undefined;
|
|
595
647
|
}
|
|
@@ -601,8 +653,7 @@ export declare namespace CreateLocationFsxWindowsRequest {
|
|
|
601
653
|
}
|
|
602
654
|
export interface CreateLocationFsxWindowsResponse {
|
|
603
655
|
/**
|
|
604
|
-
* <p>The
|
|
605
|
-
* you created.</p>
|
|
656
|
+
* <p>The ARN of the FSx for Windows File Server file system location you created.</p>
|
|
606
657
|
*/
|
|
607
658
|
LocationArn?: string;
|
|
608
659
|
}
|
|
@@ -2614,9 +2665,12 @@ export declare enum Operator {
|
|
|
2614
2665
|
NOT_CONTAINS = "NotContains"
|
|
2615
2666
|
}
|
|
2616
2667
|
/**
|
|
2617
|
-
* <p>
|
|
2618
|
-
*
|
|
2619
|
-
*
|
|
2668
|
+
* <p>Narrow down the list of resources returned by <code>ListLocations</code>. For example, to
|
|
2669
|
+
* see all your Amazon S3 locations, create a filter using <code>"Name":
|
|
2670
|
+
* "LocationType"</code>, <code>"Operator": "Equals"</code>, and <code>"Values":
|
|
2671
|
+
* "S3"</code>.</p>
|
|
2672
|
+
* <p>For more information, see
|
|
2673
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html">filtering resources</a>.</p>
|
|
2620
2674
|
*/
|
|
2621
2675
|
export interface LocationFilter {
|
|
2622
2676
|
/**
|
|
@@ -2631,8 +2685,7 @@ export interface LocationFilter {
|
|
|
2631
2685
|
Values: string[] | undefined;
|
|
2632
2686
|
/**
|
|
2633
2687
|
* <p>The operator that is used to compare filter values (for example, <code>Equals</code> or
|
|
2634
|
-
* <code>Contains</code>)
|
|
2635
|
-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html">API filters for ListTasks and ListLocations</a>.</p>
|
|
2688
|
+
* <code>Contains</code>).</p>
|
|
2636
2689
|
*/
|
|
2637
2690
|
Operator: Operator | string | undefined;
|
|
2638
2691
|
}
|
|
@@ -2846,6 +2899,7 @@ export declare enum TaskFilterName {
|
|
|
2846
2899
|
* For example, to retrieve all tasks on a source location, you can use <code>ListTasks</code>
|
|
2847
2900
|
* with filter name <code>LocationId</code> and <code>Operator Equals</code> with the ARN for the
|
|
2848
2901
|
* location.</p>
|
|
2902
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html">filtering DataSync resources</a>.</p>
|
|
2849
2903
|
*/
|
|
2850
2904
|
export interface TaskFilter {
|
|
2851
2905
|
/**
|
|
@@ -2860,8 +2914,7 @@ export interface TaskFilter {
|
|
|
2860
2914
|
Values: string[] | undefined;
|
|
2861
2915
|
/**
|
|
2862
2916
|
* <p>The operator that is used to compare filter values (for example, <code>Equals</code> or
|
|
2863
|
-
* <code>Contains</code>)
|
|
2864
|
-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html">API filters for ListTasks and ListLocations</a>.</p>
|
|
2917
|
+
* <code>Contains</code>).</p>
|
|
2865
2918
|
*/
|
|
2866
2919
|
Operator: Operator | string | undefined;
|
|
2867
2920
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-datasync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.131.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.131.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.131.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.127.0",
|