Skip to content

Commit 41cc348

Browse files
author
awstools
committed
docs(client-datasync): Documentation updates for AWS DataSync regarding configuring Amazon FSx for ONTAP location security groups and SMB user permissions.
1 parent a60dfd8 commit 41cc348

File tree

5 files changed

+141
-84
lines changed

5 files changed

+141
-84
lines changed

clients/client-datasync/src/DataSync.ts

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -607,25 +607,27 @@ export class DataSync extends DataSyncClient {
607607
}
608608

609609
/**
610-
* <p>Creates a task.</p>
611-
* <p>A task includes a source location and a destination location, and a configuration
612-
* that specifies how data is transferred. A task always transfers data from the source
613-
* location to the destination location. The configuration specifies options such as
614-
* task scheduling, bandwidth limits, etc. A task is the complete definition of a data
615-
* transfer.</p>
616-
* <p>When you create a task that transfers data between Amazon Web Services services in different Amazon Web Services Regions,
617-
* one of the two locations that you specify must reside in the Region where DataSync is being
618-
* used. The other location must be specified in a different Region.</p>
619-
* <p>You can transfer data between commercial Amazon Web Services Regions except for China, or between
620-
* Amazon Web Services GovCloud (US) Regions.</p>
621-
*
622-
* <important>
623-
* <p>When you use DataSync to copy files or objects between Amazon Web Services Regions,
624-
* you pay for data transfer between Regions. This is billed as data transfer OUT
625-
* from your source Region to your destination Region. For more information,
626-
* see <a href="http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer">Data Transfer pricing</a>.
627-
* </p>
628-
* </important>
610+
* <p>Configures a task, which defines where and how DataSync transfers your
611+
* data.</p>
612+
* <p>A task includes a source location, a destination location, and the preferences for how and
613+
* when you want to transfer your data (such as bandwidth limits, scheduling, among other
614+
* options).</p>
615+
* <p>When you create a task that transfers data between Amazon Web Services services in
616+
* different Amazon Web Services Regions, one of your locations must reside in the Region where
617+
* you're using DataSync.</p>
618+
* <p>For more information, see the following topics:</p>
619+
* <ul>
620+
* <li>
621+
* <p>
622+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html">Working with DataSync locations</a>
623+
* </p>
624+
* </li>
625+
* <li>
626+
* <p>
627+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html">Configure DataSync task settings</a>
628+
* </p>
629+
* </li>
630+
* </ul>
629631
*/
630632
public createTask(args: CreateTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateTaskCommandOutput>;
631633
public createTask(args: CreateTaskCommandInput, cb: (err: any, data?: CreateTaskCommandOutput) => void): void;
@@ -1289,7 +1291,7 @@ export class DataSync extends DataSyncClient {
12891291
}
12901292

12911293
/**
1292-
* <p>Returns a list of all the tasks.</p>
1294+
* <p>Returns a list of the DataSync tasks you created.</p>
12931295
*/
12941296
public listTasks(args: ListTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListTasksCommandOutput>;
12951297
public listTasks(args: ListTasksCommandInput, cb: (err: any, data?: ListTasksCommandOutput) => void): void;

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

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,27 @@ export interface CreateTaskCommandInput extends CreateTaskRequest {}
2323
export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataBearer {}
2424

2525
/**
26-
* <p>Creates a task.</p>
27-
* <p>A task includes a source location and a destination location, and a configuration
28-
* that specifies how data is transferred. A task always transfers data from the source
29-
* location to the destination location. The configuration specifies options such as
30-
* task scheduling, bandwidth limits, etc. A task is the complete definition of a data
31-
* transfer.</p>
32-
* <p>When you create a task that transfers data between Amazon Web Services services in different Amazon Web Services Regions,
33-
* one of the two locations that you specify must reside in the Region where DataSync is being
34-
* used. The other location must be specified in a different Region.</p>
35-
* <p>You can transfer data between commercial Amazon Web Services Regions except for China, or between
36-
* Amazon Web Services GovCloud (US) Regions.</p>
37-
*
38-
* <important>
39-
* <p>When you use DataSync to copy files or objects between Amazon Web Services Regions,
40-
* you pay for data transfer between Regions. This is billed as data transfer OUT
41-
* from your source Region to your destination Region. For more information,
42-
* see <a href="http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer">Data Transfer pricing</a>.
43-
* </p>
44-
* </important>
26+
* <p>Configures a task, which defines where and how DataSync transfers your
27+
* data.</p>
28+
* <p>A task includes a source location, a destination location, and the preferences for how and
29+
* when you want to transfer your data (such as bandwidth limits, scheduling, among other
30+
* options).</p>
31+
* <p>When you create a task that transfers data between Amazon Web Services services in
32+
* different Amazon Web Services Regions, one of your locations must reside in the Region where
33+
* you're using DataSync.</p>
34+
* <p>For more information, see the following topics:</p>
35+
* <ul>
36+
* <li>
37+
* <p>
38+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html">Working with DataSync locations</a>
39+
* </p>
40+
* </li>
41+
* <li>
42+
* <p>
43+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html">Configure DataSync task settings</a>
44+
* </p>
45+
* </li>
46+
* </ul>
4547
* @example
4648
* Use a bare-bones client and the command you need to make an API call.
4749
* ```javascript

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface ListTasksCommandInput extends ListTasksRequest {}
2020
export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBearer {}
2121

2222
/**
23-
* <p>Returns a list of all the tasks.</p>
23+
* <p>Returns a list of the DataSync tasks you created.</p>
2424
* @example
2525
* Use a bare-bones client and the command you need to make an API call.
2626
* ```javascript

clients/client-datasync/src/models/models_0.ts

Lines changed: 81 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,42 @@ export interface FsxProtocolSmb {
525525
Password: string | undefined;
526526

527527
/**
528-
* <p>Specifies a user who has permission to access your SVM.</p>
528+
* <p>Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM.</p>
529+
* <p>If you provide a user in your Active Directory, note the following:</p>
530+
* <ul>
531+
* <li>
532+
* <p>If you're using Directory Service for Microsoft Active Directory, the user
533+
* must be a member of the Amazon Web Services Delegated
534+
* FSx Administrators group.</p>
535+
* </li>
536+
* <li>
537+
* <p>If you're using a self-managed Active Directory, the user must be a member of either
538+
* the Domain Admins group or a custom group that you specified for file system
539+
* administration when you created your file system.</p>
540+
* </li>
541+
* </ul>
542+
* <p>Make sure that the user has the permissions it needs
543+
* to copy the data you want:</p>
544+
* <ul>
545+
* <li>
546+
* <p>
547+
* <code>SE_TCB_NAME</code>: Required to
548+
* set object ownership and file metadata. With this
549+
* privilege, you also can copy NTFS discretionary
550+
* access lists (DACLs).</p>
551+
* </li>
552+
* <li>
553+
* <p>
554+
* <code>SE_SECURITY_NAME</code>: May be
555+
* needed to copy NTFS system access control lists
556+
* (SACLs). This operation specifically requires the
557+
* Windows privilege, which is granted to members of
558+
* the Domain Admins group. If
559+
* you configure your task to copy SACLs, make sure
560+
* that the user has the required privileges. For
561+
* 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>
562+
* </li>
563+
* </ul>
529564
*/
530565
User: string | undefined;
531566
}
@@ -572,19 +607,22 @@ export interface CreateLocationFsxOntapRequest {
572607
Protocol: FsxProtocol | undefined;
573608

574609
/**
575-
* <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
576-
* traffic on the following ports (depending on the protocol that you're using):</p>
610+
* <p>Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.</p>
611+
* <p>The security groups must allow outbound traffic on the following ports (depending on the
612+
* protocol you use):</p>
577613
* <ul>
578614
* <li>
579615
* <p>
580-
* <b>Network File System (NFS)</b>: TCP port 2049</p>
616+
* <b>Network File System (NFS)</b>: TCP ports 111, 635, and
617+
* 2049</p>
581618
* </li>
582619
* <li>
583620
* <p>
584621
* <b>Server Message Block (SMB)</b>: TCP port 445</p>
585622
* </li>
586623
* </ul>
587-
* <p>Your file system's security groups must also allow inbound traffic on the same port.</p>
624+
* <p>Your file system's security groups must also allow inbound traffic on the same
625+
* ports.</p>
588626
*/
589627
SecurityGroupArns: string[] | undefined;
590628

@@ -696,46 +734,60 @@ export namespace CreateLocationFsxOpenZfsResponse {
696734

697735
export interface CreateLocationFsxWindowsRequest {
698736
/**
699-
* <p>A subdirectory in the location's path. This subdirectory in the Amazon FSx for Windows
700-
* File Server file system is used to read data from the Amazon FSx for Windows File Server
701-
* source location or write data to the FSx for Windows File Server destination.</p>
737+
* <p>Specifies a mount path for your file system using forward slashes. This is where DataSync reads or
738+
* writes data (depending on if this is a source or destination location).</p>
702739
*/
703740
Subdirectory?: string;
704741

705742
/**
706-
* <p>The Amazon Resource Name (ARN) for the FSx for Windows File Server file system.</p>
743+
* <p>Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file
744+
* system.</p>
707745
*/
708746
FsxFilesystemArn: string | undefined;
709747

710748
/**
711-
* <p>The ARNs of the security groups that are used to configure the
712-
* FSx for Windows File Server file system.</p>
749+
* <p>Specifies the ARNs of the security groups that provide access to your file system's
750+
* preferred subnet.</p>
751+
* <note>
752+
* <p>If you choose a security group that doesn't allow connections from within
753+
* itself, do one of the following:</p>
754+
* <ul>
755+
* <li>
756+
* <p>Configure the security group to allow it to communicate within
757+
* itself.</p>
758+
* </li>
759+
* <li>
760+
* <p>Choose a different security group that can communicate with the
761+
* mount target's security group.</p>
762+
* </li>
763+
* </ul>
764+
* </note>
713765
*/
714766
SecurityGroupArns: string[] | undefined;
715767

716768
/**
717-
* <p>The key-value pair that represents a tag that you want to add to the resource. The
718-
* value can be an empty string. This value helps you manage, filter, and search for your
719-
* resources. We recommend that you create a name tag for your location.</p>
769+
* <p>Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
770+
* recommend creating at least a name tag for your location.</p>
720771
*/
721772
Tags?: TagListEntry[];
722773

723774
/**
724-
* <p>The user who has the permissions to access files and folders in the FSx for Windows File
725-
* Server file system.</p>
775+
* <p>Specifies the user who has the permissions to access files and folders in the file
776+
* system.</p>
726777
* <p>For information about choosing a user name that ensures sufficient permissions to files,
727778
* folders, and metadata, see <a href="create-fsx-location.html#FSxWuser">user</a>.</p>
728779
*/
729780
User: string | undefined;
730781

731782
/**
732-
* <p>The name of the Windows domain that the FSx for Windows File Server belongs to.</p>
783+
* <p>Specifies the name of the Windows domain that the FSx for Windows File Server belongs
784+
* to.</p>
733785
*/
734786
Domain?: string;
735787

736788
/**
737-
* <p>The password of the user who has the permissions to access files and folders in the FSx
738-
* for Windows File Server file system.</p>
789+
* <p>Specifies the password of the user who has the permissions to access files and folders in
790+
* the file system.</p>
739791
*/
740792
Password: string | undefined;
741793
}
@@ -752,8 +804,7 @@ export namespace CreateLocationFsxWindowsRequest {
752804

753805
export interface CreateLocationFsxWindowsResponse {
754806
/**
755-
* <p>The Amazon Resource Name (ARN) of the FSx for Windows File Server file system location
756-
* you created.</p>
807+
* <p>The ARN of the FSx for Windows File Server file system location you created.</p>
757808
*/
758809
LocationArn?: string;
759810
}
@@ -3177,9 +3228,12 @@ export enum Operator {
31773228
}
31783229

31793230
/**
3180-
* <p>You can use API filters to narrow down the list of resources returned by <code>ListLocations</code>.
3181-
* For example, to retrieve all your Amazon S3 locations, you can use <code>ListLocations</code> with
3182-
* filter name <code>LocationType S3</code> and <code>Operator Equals</code>.</p>
3231+
* <p>Narrow down the list of resources returned by <code>ListLocations</code>. For example, to
3232+
* see all your Amazon S3 locations, create a filter using <code>"Name":
3233+
* "LocationType"</code>, <code>"Operator": "Equals"</code>, and <code>"Values":
3234+
* "S3"</code>.</p>
3235+
* <p>For more information, see
3236+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html">filtering resources</a>.</p>
31833237
*/
31843238
export interface LocationFilter {
31853239
/**
@@ -3196,8 +3250,7 @@ export interface LocationFilter {
31963250

31973251
/**
31983252
* <p>The operator that is used to compare filter values (for example, <code>Equals</code> or
3199-
* <code>Contains</code>). For more about API filtering operators, see
3200-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html">API filters for ListTasks and ListLocations</a>.</p>
3253+
* <code>Contains</code>).</p>
32013254
*/
32023255
Operator: Operator | string | undefined;
32033256
}
@@ -3459,6 +3512,7 @@ export enum TaskFilterName {
34593512
* For example, to retrieve all tasks on a source location, you can use <code>ListTasks</code>
34603513
* with filter name <code>LocationId</code> and <code>Operator Equals</code> with the ARN for the
34613514
* location.</p>
3515+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html">filtering DataSync resources</a>.</p>
34623516
*/
34633517
export interface TaskFilter {
34643518
/**
@@ -3475,8 +3529,7 @@ export interface TaskFilter {
34753529

34763530
/**
34773531
* <p>The operator that is used to compare filter values (for example, <code>Equals</code> or
3478-
* <code>Contains</code>). For more about API filtering operators, see
3479-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html">API filters for ListTasks and ListLocations</a>.</p>
3532+
* <code>Contains</code>).</p>
34803533
*/
34813534
Operator: Operator | string | undefined;
34823535
}

0 commit comments

Comments
 (0)