Skip to content

Commit df8ddff

Browse files
author
awstools
committed
docs(client-transfer): Documentation updates for AWS Transfer Family
1 parent b36c500 commit df8ddff

File tree

5 files changed

+176
-72
lines changed

5 files changed

+176
-72
lines changed

clients/client-transfer/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native.
1111

1212
<p>Transfer Family is a fully managed service that enables the transfer of files over the File
1313
Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File
14-
Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3).
14+
Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3) or Amazon EFS.
15+
Additionally, you can use Applicability Statement 2 (AS2) to transfer files into and out of Amazon S3.
1516
Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating
1617
with existing authentication systems, and providing DNS routing with Amazon Route 53 so
1718
nothing changes for your customers and partners, or their applications. With your data in

clients/client-transfer/src/Transfer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ import { TransferClient } from "./TransferClient";
239239
/**
240240
* <p>Transfer Family is a fully managed service that enables the transfer of files over the File
241241
* Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File
242-
* Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3).
242+
* Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3) or Amazon EFS.
243+
* Additionally, you can use Applicability Statement 2 (AS2) to transfer files into and out of Amazon S3.
243244
* Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating
244245
* with existing authentication systems, and providing DNS routing with Amazon Route 53 so
245246
* nothing changes for your customers and partners, or their applications. With your data in

clients/client-transfer/src/TransferClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ export interface TransferClientResolvedConfig extends TransferClientResolvedConf
392392
/**
393393
* <p>Transfer Family is a fully managed service that enables the transfer of files over the File
394394
* Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File
395-
* Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3).
395+
* Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3) or Amazon EFS.
396+
* Additionally, you can use Applicability Statement 2 (AS2) to transfer files into and out of Amazon S3.
396397
* Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating
397398
* with existing authentication systems, and providing DNS routing with Amazon Route 53 so
398399
* nothing changes for your customers and partners, or their applications. With your data in

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

Lines changed: 148 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ export enum SigningAlg {
6868
*/
6969
export interface As2ConnectorConfig {
7070
/**
71-
* <p>A unique identifier for the AS2 process.</p>
71+
* <p>A unique identifier for the AS2 local profile.</p>
7272
*/
7373
LocalProfileId?: string;
7474

7575
/**
76-
* <p>A unique identifier for the partner for the connector.</p>
76+
* <p>A unique identifier for the partner profile for the connector.</p>
7777
*/
7878
PartnerProfileId?: string;
7979

8080
/**
81-
* <p>A short description to help identify the connector.</p>
81+
* <p>Used as the <code>Subject</code> HTTP header attribute in AS2 messages that are being sent with the connector.</p>
8282
*/
8383
MessageSubject?: string;
8484

@@ -93,12 +93,15 @@ export interface As2ConnectorConfig {
9393
EncryptionAlgorithm?: EncryptionAlg | string;
9494

9595
/**
96-
* <p>The algorithm that is used to sign the AS2 transfers for this partner profile.</p>
96+
* <p>The algorithm that is used to sign the AS2 messages sent with the connector.</p>
9797
*/
9898
SigningAlgorithm?: SigningAlg | string;
9999

100100
/**
101101
* <p>The signing algorithm for the MDN response.</p>
102+
* <note>
103+
* <p>If set to DEFAULT (or not set at all), the value for <code>SigningAlogorithm</code> is used.</p>
104+
* </note>
102105
*/
103106
MdnSigningAlgorithm?: MdnSigningAlg | string;
104107

@@ -587,8 +590,16 @@ export interface CreateAgreementRequest {
587590
BaseDirectory: string | undefined;
588591

589592
/**
590-
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least the
591-
* <code>HomeDirectory</code> of your users' Amazon S3 buckets.</p>
593+
* <p>With AS2, you can send files by calling <code>StartFileTransfer</code> and specifying the
594+
* file paths in the request parameter, <code>SendFilePaths</code>. We use the file’s parent
595+
* directory (for example, for <code>--send-file-paths /bucket/dir/file.txt</code>, parent
596+
* directory is <code>/bucket/dir/</code>) to temporarily store a processed AS2 message file,
597+
* store the MDN when we receive them from the partner, and write a final JSON file containing
598+
* relevant metadata of the transmission. So, the <code>AccessRole</code> needs to provide read
599+
* and write access to the parent directory of the file location used in the
600+
* <code>StartFileTransfer</code> request. Additionally, you need to provide read and write
601+
* access to the parent directory of the files that you intend to send with
602+
* <code>StartFileTransfer</code>.</p>
592603
*/
593604
AccessRole: string | undefined;
594605

@@ -665,8 +676,8 @@ export enum ProfileType {
665676

666677
export interface CreateProfileRequest {
667678
/**
668-
* <p>The <code>As2Id</code> is the <i>AS2-name</i>, as defined in the defined in
669-
* the <a href="https://datatracker.ietf.org/doc/html/rfc4130">RFC 4130</a>. For inbound transfers, this is the <code>AS2-From</code> header for the AS2 messages
679+
* <p>The <code>As2Id</code> is the <i>AS2-name</i>, as defined in the
680+
* <a href="https://datatracker.ietf.org/doc/html/rfc4130">RFC 4130</a>. For inbound transfers, this is the <code>AS2-From</code> header for the AS2 messages
670681
* sent from the partner. For outbound connectors, this is the <code>AS2-To</code> header for the
671682
* AS2 messages sent to the partner using the <code>StartFileTransfer</code> API operation. This ID cannot include spaces.</p>
672683
*/
@@ -1124,7 +1135,6 @@ export interface CreateServerRequest {
11241135
/**
11251136
* <p>Specifies the file transfer protocol or protocols over which your file transfer protocol
11261137
* client can connect to your server's endpoint. The available protocols are:</p>
1127-
*
11281138
* <ul>
11291139
* <li>
11301140
* <p>
@@ -1885,12 +1895,12 @@ export interface DescribedAgreement {
18851895
ServerId?: string;
18861896

18871897
/**
1888-
* <p>A unique identifier for the AS2 process.</p>
1898+
* <p>A unique identifier for the AS2 local profile.</p>
18891899
*/
18901900
LocalProfileId?: string;
18911901

18921902
/**
1893-
* <p>A unique identifier for the partner in the agreement.</p>
1903+
* <p>A unique identifier for the partner profile used in the agreement.</p>
18941904
*/
18951905
PartnerProfileId?: string;
18961906

@@ -1901,8 +1911,16 @@ export interface DescribedAgreement {
19011911
BaseDirectory?: string;
19021912

19031913
/**
1904-
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least the
1905-
* <code>HomeDirectory</code> of your users' Amazon S3 buckets.</p>
1914+
* <p>With AS2, you can send files by calling <code>StartFileTransfer</code> and specifying the
1915+
* file paths in the request parameter, <code>SendFilePaths</code>. We use the file’s parent
1916+
* directory (for example, for <code>--send-file-paths /bucket/dir/file.txt</code>, parent
1917+
* directory is <code>/bucket/dir/</code>) to temporarily store a processed AS2 message file,
1918+
* store the MDN when we receive them from the partner, and write a final JSON file containing
1919+
* relevant metadata of the transmission. So, the <code>AccessRole</code> needs to provide read
1920+
* and write access to the parent directory of the file location used in the
1921+
* <code>StartFileTransfer</code> request. Additionally, you need to provide read and write
1922+
* access to the parent directory of the files that you intend to send with
1923+
* <code>StartFileTransfer</code>.</p>
19061924
*/
19071925
AccessRole?: string;
19081926

@@ -2370,7 +2388,10 @@ export interface DescribedProfile {
23702388
ProfileType?: ProfileType | string;
23712389

23722390
/**
2373-
* <p>The unique identifier for the AS2 process.</p>
2391+
* <p>The <code>As2Id</code> is the <i>AS2-name</i>, as defined in the
2392+
* <a href="https://datatracker.ietf.org/doc/html/rfc4130">RFC 4130</a>. For inbound transfers, this is the <code>AS2-From</code> header for the AS2 messages
2393+
* sent from the partner. For outbound connectors, this is the <code>AS2-To</code> header for the
2394+
* AS2 messages sent to the partner using the <code>StartFileTransfer</code> API operation. This ID cannot include spaces.</p>
23742395
*/
23752396
As2Id?: string;
23762397

@@ -2453,13 +2474,31 @@ export interface DescribedServer {
24532474
Certificate?: string;
24542475

24552476
/**
2456-
* <p>
2457-
* The protocol settings that are configured for your server.
2458-
* </p>
2459-
* <p>
2460-
* Use the <code>PassiveIp</code> parameter to indicate passive mode.
2461-
* Enter a single IPv4 address, such as the public IP address of a firewall, router, or load balancer.
2462-
* </p>
2477+
* <p>The protocol settings that are configured for your server.</p>
2478+
* <ul>
2479+
* <li>
2480+
* <p>
2481+
* To indicate passive mode (for FTP and FTPS protocols), use the <code>PassiveIp</code> parameter.
2482+
* Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
2483+
* </p>
2484+
* </li>
2485+
* <li>
2486+
* <p>To ignore the error that is generated when the client attempts to use the <code>SETSTAT</code> command on a file that you are
2487+
* uploading to an Amazon S3 bucket, use the <code>SetStatOption</code> parameter. To have the Transfer Family server ignore the
2488+
* <code>SETSTAT</code> command and upload files without needing to make any changes to your SFTP client, set the value to
2489+
* <code>ENABLE_NO_OP</code>. If you set the <code>SetStatOption</code> parameter to <code>ENABLE_NO_OP</code>, Transfer Family
2490+
* generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a <code>SETSTAT</code>
2491+
* call.</p>
2492+
* </li>
2493+
* <li>
2494+
* <p>To determine whether your Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the
2495+
* <code>TlsSessionResumptionMode</code> parameter.</p>
2496+
* </li>
2497+
* <li>
2498+
* <p>
2499+
* <code>As2Transports</code> indicates the transport method for the AS2 messages. Currently, only HTTP is supported.</p>
2500+
* </li>
2501+
* </ul>
24632502
*/
24642503
ProtocolDetails?: ProtocolDetails;
24652504

@@ -2544,7 +2583,6 @@ export interface DescribedServer {
25442583
/**
25452584
* <p>Specifies the file transfer protocol or protocols over which your file transfer protocol
25462585
* client can connect to your server's endpoint. The available protocols are:</p>
2547-
*
25482586
* <ul>
25492587
* <li>
25502588
* <p>
@@ -2560,7 +2598,39 @@ export interface DescribedServer {
25602598
* <p>
25612599
* <code>FTP</code> (File Transfer Protocol): Unencrypted file transfer</p>
25622600
* </li>
2601+
* <li>
2602+
* <p>
2603+
* <code>AS2</code> (Applicability Statement 2): used for transporting structured business-to-business data</p>
2604+
* </li>
25632605
* </ul>
2606+
*
2607+
* <note>
2608+
* <ul>
2609+
* <li>
2610+
* <p>If you select <code>FTPS</code>, you must choose a certificate stored in Certificate Manager (ACM)
2611+
* which is used to identify your server when clients connect to it over
2612+
* FTPS.</p>
2613+
* </li>
2614+
* <li>
2615+
* <p>If <code>Protocol</code> includes either <code>FTP</code> or <code>FTPS</code>, then the
2616+
* <code>EndpointType</code> must be <code>VPC</code> and the
2617+
* <code>IdentityProviderType</code> must be <code>AWS_DIRECTORY_SERVICE</code> or <code>API_GATEWAY</code>.</p>
2618+
* </li>
2619+
* <li>
2620+
* <p>If <code>Protocol</code> includes <code>FTP</code>, then
2621+
* <code>AddressAllocationIds</code> cannot be associated.</p>
2622+
* </li>
2623+
* <li>
2624+
* <p>If <code>Protocol</code> is set only to <code>SFTP</code>, the <code>EndpointType</code>
2625+
* can be set to <code>PUBLIC</code> and the <code>IdentityProviderType</code> can be set to
2626+
* <code>SERVICE_MANAGED</code>.</p>
2627+
* </li>
2628+
* <li>
2629+
* <p>If <code>Protocol</code> includes <code>AS2</code>, then the
2630+
* <code>EndpointType</code> must be <code>VPC</code>, and domain must be Amazon S3.</p>
2631+
* </li>
2632+
* </ul>
2633+
* </note>
25642634
*/
25652635
Protocols?: (Protocol | string)[];
25662636

@@ -3107,12 +3177,12 @@ export interface ListedAgreement {
31073177
ServerId?: string;
31083178

31093179
/**
3110-
* <p>A unique identifier for the AS2 process.</p>
3180+
* <p>A unique identifier for the AS2 local profile.</p>
31113181
*/
31123182
LocalProfileId?: string;
31133183

31143184
/**
3115-
* <p>A unique identifier for the partner process.</p>
3185+
* <p>A unique identifier for the partner profile.</p>
31163186
*/
31173187
PartnerProfileId?: string;
31183188
}
@@ -3297,7 +3367,10 @@ export interface ListedProfile {
32973367
ProfileId?: string;
32983368

32993369
/**
3300-
* <p>The unique identifier for the AS2 process.</p>
3370+
* <p>The <code>As2Id</code> is the <i>AS2-name</i>, as defined in the
3371+
* <a href="https://datatracker.ietf.org/doc/html/rfc4130">RFC 4130</a>. For inbound transfers, this is the <code>AS2-From</code> header for the AS2 messages
3372+
* sent from the partner. For outbound connectors, this is the <code>AS2-To</code> header for the
3373+
* AS2 messages sent to the partner using the <code>StartFileTransfer</code> API operation. This ID cannot include spaces.</p>
33013374
*/
33023375
As2Id?: string;
33033376

@@ -4024,13 +4097,15 @@ export interface UpdateAgreementRequest {
40244097
Status?: AgreementStatusType | string;
40254098

40264099
/**
4027-
* <p>To change the local profile identifier, provide a new value
4100+
* <p>A unique identifier for the AS2 local profile.</p>
4101+
* <p>To change the local profile identifier, provide a new value
40284102
* here.</p>
40294103
*/
40304104
LocalProfileId?: string;
40314105

40324106
/**
4033-
* <p>To change the partner profile identifier, provide a new value here.</p>
4107+
* <p>A unique identifier for the partner profile.
4108+
* To change the partner profile identifier, provide a new value here.</p>
40344109
*/
40354110
PartnerProfileId?: string;
40364111

@@ -4043,8 +4118,16 @@ export interface UpdateAgreementRequest {
40434118
BaseDirectory?: string;
40444119

40454120
/**
4046-
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least the
4047-
* <code>HomeDirectory</code> of your users' Amazon S3 buckets.</p>
4121+
* <p>With AS2, you can send files by calling <code>StartFileTransfer</code> and specifying the
4122+
* file paths in the request parameter, <code>SendFilePaths</code>. We use the file’s parent
4123+
* directory (for example, for <code>--send-file-paths /bucket/dir/file.txt</code>, parent
4124+
* directory is <code>/bucket/dir/</code>) to temporarily store a processed AS2 message file,
4125+
* store the MDN when we receive them from the partner, and write a final JSON file containing
4126+
* relevant metadata of the transmission. So, the <code>AccessRole</code> needs to provide read
4127+
* and write access to the parent directory of the file location used in the
4128+
* <code>StartFileTransfer</code> request. Additionally, you need to provide read and write
4129+
* access to the parent directory of the files that you intend to send with
4130+
* <code>StartFileTransfer</code>.</p>
40484131
*/
40494132
AccessRole?: string;
40504133
}
@@ -4320,35 +4403,53 @@ export interface UpdateServerRequest {
43204403
/**
43214404
* <p>Specifies the file transfer protocol or protocols over which your file transfer protocol
43224405
* client can connect to your server's endpoint. The available protocols are:</p>
4323-
*
43244406
* <ul>
43254407
* <li>
4326-
* <p>Secure Shell (SSH) File Transfer Protocol (SFTP): File transfer over SSH</p>
4408+
* <p>
4409+
* <code>SFTP</code> (Secure Shell (SSH) File Transfer Protocol): File transfer over
4410+
* SSH</p>
43274411
* </li>
43284412
* <li>
4329-
* <p>File Transfer Protocol Secure (FTPS): File transfer with TLS encryption</p>
4413+
* <p>
4414+
* <code>FTPS</code> (File Transfer Protocol Secure): File transfer with TLS
4415+
* encryption</p>
43304416
* </li>
43314417
* <li>
4332-
* <p>File Transfer Protocol (FTP): Unencrypted file transfer</p>
4418+
* <p>
4419+
* <code>FTP</code> (File Transfer Protocol): Unencrypted file transfer</p>
4420+
* </li>
4421+
* <li>
4422+
* <p>
4423+
* <code>AS2</code> (Applicability Statement 2): used for transporting structured business-to-business data</p>
43334424
* </li>
43344425
* </ul>
43354426
*
43364427
* <note>
4337-
* <p>If you select <code>FTPS</code>, you must choose a certificate stored in Amazon Web ServicesCertificate
4338-
* Manager (ACM) which will be used to identify your server when clients connect to it over
4339-
* FTPS.</p>
4340-
*
4341-
*
4342-
* <p>If <code>Protocol</code> includes either <code>FTP</code> or <code>FTPS</code>, then the
4343-
* <code>EndpointType</code> must be <code>VPC</code> and the
4344-
* <code>IdentityProviderType</code> must be <code>AWS_DIRECTORY_SERVICE</code> or <code>API_GATEWAY</code>.</p>
4345-
*
4346-
* <p>If <code>Protocol</code> includes <code>FTP</code>, then
4428+
* <ul>
4429+
* <li>
4430+
* <p>If you select <code>FTPS</code>, you must choose a certificate stored in Certificate Manager (ACM)
4431+
* which is used to identify your server when clients connect to it over
4432+
* FTPS.</p>
4433+
* </li>
4434+
* <li>
4435+
* <p>If <code>Protocol</code> includes either <code>FTP</code> or <code>FTPS</code>, then the
4436+
* <code>EndpointType</code> must be <code>VPC</code> and the
4437+
* <code>IdentityProviderType</code> must be <code>AWS_DIRECTORY_SERVICE</code> or <code>API_GATEWAY</code>.</p>
4438+
* </li>
4439+
* <li>
4440+
* <p>If <code>Protocol</code> includes <code>FTP</code>, then
43474441
* <code>AddressAllocationIds</code> cannot be associated.</p>
4348-
*
4349-
* <p>If <code>Protocol</code> is set only to <code>SFTP</code>, the <code>EndpointType</code>
4350-
* can be set to <code>PUBLIC</code> and the <code>IdentityProviderType</code> can be set to
4351-
* <code>SERVICE_MANAGED</code>.</p>
4442+
* </li>
4443+
* <li>
4444+
* <p>If <code>Protocol</code> is set only to <code>SFTP</code>, the <code>EndpointType</code>
4445+
* can be set to <code>PUBLIC</code> and the <code>IdentityProviderType</code> can be set to
4446+
* <code>SERVICE_MANAGED</code>.</p>
4447+
* </li>
4448+
* <li>
4449+
* <p>If <code>Protocol</code> includes <code>AS2</code>, then the
4450+
* <code>EndpointType</code> must be <code>VPC</code>, and domain must be Amazon S3.</p>
4451+
* </li>
4452+
* </ul>
43524453
* </note>
43534454
*/
43544455
Protocols?: (Protocol | string)[];

0 commit comments

Comments
 (0)