@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
 
@@ -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>Creates a task.</p>
162
- * <p>A task includes a source location and a destination location, and a configuration
163
- * that specifies how data is transferred. A task always transfers data from the source
164
- * location to the destination location. The configuration specifies options such as
165
- * task scheduling, bandwidth limits, etc. A task is the complete definition of a data
166
- * transfer.</p>
167
- * <p>When you create a task that transfers data between Amazon Web Services services in different Amazon Web Services Regions,
168
- * one of the two locations that you specify must reside in the Region where DataSync is being
169
- * used. The other location must be specified in a different Region.</p>
170
- * <p>You can transfer data between commercial Amazon Web Services Regions except for China, or between
171
- * Amazon Web Services GovCloud (US) Regions.</p>
172
- *
173
- * <important>
174
- * <p>When you use DataSync to copy files or objects between Amazon Web Services Regions,
175
- * you pay for data transfer between Regions. This is billed as data transfer OUT
176
- * from your source Region to your destination Region. For more information,
177
- * see <a href="http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer">Data Transfer pricing</a>.
178
- * </p>
179
- * </important>
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 all the tasks.</p>
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>Creates a task.</p>
11
- * <p>A task includes a source location and a destination location, and a configuration
12
- * that specifies how data is transferred. A task always transfers data from the source
13
- * location to the destination location. The configuration specifies options such as
14
- * task scheduling, bandwidth limits, etc. A task is the complete definition of a data
15
- * transfer.</p>
16
- * <p>When you create a task that transfers data between Amazon Web Services services in different Amazon Web Services Regions,
17
- * one of the two locations that you specify must reside in the Region where DataSync is being
18
- * used. The other location must be specified in a different Region.</p>
19
- * <p>You can transfer data between commercial Amazon Web Services Regions except for China, or between
20
- * Amazon Web Services GovCloud (US) Regions.</p>
21
- *
22
- * <important>
23
- * <p>When you use DataSync to copy files or objects between Amazon Web Services Regions,
24
- * you pay for data transfer between Regions. This is billed as data transfer OUT
25
- * from your source Region to your destination Region. For more information,
26
- * see <a href="http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer">Data Transfer pricing</a>.
27
- * </p>
28
- * </important>
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 all the tasks.</p>
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 who has permission to access your SVM.</p>
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 DataSync can use to access your FSx for ONTAP file system. You must configure the security groups to allow outbound
461
- * traffic on the following ports (depending on the protocol that you're using):</p>
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 port 2049</p>
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 port.</p>
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>A subdirectory in the location's path. This subdirectory in the Amazon FSx for Windows
560
- * File Server file system is used to read data from the Amazon FSx for Windows File Server
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>The Amazon Resource Name (ARN) for the FSx for Windows File Server file system.</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>The ARNs of the security groups that are used to configure the
570
- * FSx for Windows File Server file system.</p>
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>The key-value pair that represents a tag that you want to add to the resource. The
575
- * value can be an empty string. This value helps you manage, filter, and search for your
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>The user who has the permissions to access files and folders in the FSx for Windows File
581
- * Server file system.</p>
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>The name of the Windows domain that the FSx for Windows File Server belongs to.</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>The password of the user who has the permissions to access files and folders in the FSx
592
- * for Windows File Server file system.</p>
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 Amazon Resource Name (ARN) of the FSx for Windows File Server file system location
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>You can use API filters to narrow down the list of resources returned by <code>ListLocations</code>.
2618
- * For example, to retrieve all your Amazon S3 locations, you can use <code>ListLocations</code> with
2619
- * filter name <code>LocationType S3</code> and <code>Operator Equals</code>.</p>
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>). For more about API filtering operators, see
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>). For more about API filtering operators, see
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.130.0",
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.130.0",
21
+ "@aws-sdk/client-sts": "3.131.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.130.0",
24
- "@aws-sdk/fetch-http-handler": "3.127.0",
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",