@aws-sdk/client-transfer 3.1141.0 → 3.1143.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1140.0";
72
+ var version = "3.1142.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -321,6 +321,7 @@ const _CHHu = "CustomHttpHeaders";
321
321
  const _CI = "ConnectorId";
322
322
  const _CIe = "CertificateIds";
323
323
  const _CIer = "CertificateId";
324
+ const _CM = "CommunicationMode";
324
325
  const _CP = "CreateProfile";
325
326
  const _CPR = "CreateProfileRequest";
326
327
  const _CPRr = "CreateProfileResponse";
@@ -670,7 +671,10 @@ const _SPKI = "SshPublicKeyId";
670
671
  const _SPKs = "SshPublicKey";
671
672
  const _SPN = "SecurityPolicyName";
672
673
  const _SPNe = "SecurityPolicyNames";
674
+ const _SPWO = "SftpPortWithOptions";
673
675
  const _SPe = "ServerProtocol";
676
+ const _SPf = "SftpPorts";
677
+ const _SPft = "SftpPort";
674
678
  const _SPo = "SourcePath";
675
679
  const _SRD = "StartRemoteDelete";
676
680
  const _SRDR = "StartRemoteDeleteRequest";
@@ -1561,8 +1565,8 @@ var PosixProfile$ = [3, n0, _PP,
1561
1565
  ];
1562
1566
  var ProtocolDetails$ = [3, n0, _PD,
1563
1567
  0,
1564
- [_PIa, _TSRM, _SSOe, _AT, _PC],
1565
- [0, 0, 0, 64 | 0, () => ProxyConfig$]
1568
+ [_PIa, _TSRM, _SSOe, _SPf, _AT, _PC],
1569
+ [0, 0, 0, () => SftpPorts, 64 | 0, () => ProxyConfig$]
1566
1570
  ];
1567
1571
  var ProxyConfig$ = [3, n0, _PC,
1568
1572
  0,
@@ -1614,6 +1618,11 @@ var SftpConnectorConnectionDetails$ = [3, n0, _SCCD,
1614
1618
  [_HK],
1615
1619
  [0]
1616
1620
  ];
1621
+ var SftpPortWithOptions$ = [3, n0, _SPWO,
1622
+ 0,
1623
+ [_SPft, _CM],
1624
+ [1, 0], 1
1625
+ ];
1617
1626
  var SshPublicKey$ = [3, n0, _SPKs,
1618
1627
  0,
1619
1628
  [_DI, _SPKB, _SPKI],
@@ -1905,6 +1914,9 @@ var OnUploadWorkflowDetails = [1, n0, _OUWD,
1905
1914
  var S3Tags = [1, n0, _STag,
1906
1915
  0, () => S3Tag$
1907
1916
  ];
1917
+ var SftpPorts = [1, n0, _SPf,
1918
+ 0, () => SftpPortWithOptions$
1919
+ ];
1908
1920
  var SshPublicKeys = [1, n0, _SPK,
1909
1921
  0, () => SshPublicKey$
1910
1922
  ];
@@ -2805,6 +2817,10 @@ const CertificateUsageType = {
2805
2817
  SIGNING: "SIGNING",
2806
2818
  TLS: "TLS",
2807
2819
  };
2820
+ const CommunicationMode = {
2821
+ CLIENT_TALK_FIRST: "CLIENT_TALK_FIRST",
2822
+ SERVER_TALK_FIRST: "SERVER_TALK_FIRST",
2823
+ };
2808
2824
  const ConnectorEgressType = {
2809
2825
  SERVICE_MANAGED: "SERVICE_MANAGED",
2810
2826
  VPC_LATTICE: "VPC_LATTICE",
@@ -2956,6 +2972,7 @@ exports.As2Transport = As2Transport;
2956
2972
  exports.CertificateStatusType = CertificateStatusType;
2957
2973
  exports.CertificateType = CertificateType;
2958
2974
  exports.CertificateUsageType = CertificateUsageType;
2975
+ exports.CommunicationMode = CommunicationMode;
2959
2976
  exports.CompressionEnum = CompressionEnum;
2960
2977
  exports.ConflictException = ConflictException;
2961
2978
  exports.ConflictException$ = ConflictException$;
@@ -3251,6 +3268,7 @@ exports.SetStatOption = SetStatOption;
3251
3268
  exports.SftpAuthenticationMethods = SftpAuthenticationMethods;
3252
3269
  exports.SftpConnectorConfig$ = SftpConnectorConfig$;
3253
3270
  exports.SftpConnectorConnectionDetails$ = SftpConnectorConnectionDetails$;
3271
+ exports.SftpPortWithOptions$ = SftpPortWithOptions$;
3254
3272
  exports.SigningAlg = SigningAlg;
3255
3273
  exports.SshPublicKey$ = SshPublicKey$;
3256
3274
  exports.StartDirectoryListing$ = StartDirectoryListing$;
@@ -62,6 +62,10 @@ export const CertificateUsageType = {
62
62
  SIGNING: "SIGNING",
63
63
  TLS: "TLS",
64
64
  };
65
+ export const CommunicationMode = {
66
+ CLIENT_TALK_FIRST: "CLIENT_TALK_FIRST",
67
+ SERVER_TALK_FIRST: "SERVER_TALK_FIRST",
68
+ };
65
69
  export const ConnectorEgressType = {
66
70
  SERVICE_MANAGED: "SERVICE_MANAGED",
67
71
  VPC_LATTICE: "VPC_LATTICE",
@@ -46,6 +46,7 @@ const _CHHu = "CustomHttpHeaders";
46
46
  const _CI = "ConnectorId";
47
47
  const _CIe = "CertificateIds";
48
48
  const _CIer = "CertificateId";
49
+ const _CM = "CommunicationMode";
49
50
  const _CP = "CreateProfile";
50
51
  const _CPR = "CreateProfileRequest";
51
52
  const _CPRr = "CreateProfileResponse";
@@ -395,7 +396,10 @@ const _SPKI = "SshPublicKeyId";
395
396
  const _SPKs = "SshPublicKey";
396
397
  const _SPN = "SecurityPolicyName";
397
398
  const _SPNe = "SecurityPolicyNames";
399
+ const _SPWO = "SftpPortWithOptions";
398
400
  const _SPe = "ServerProtocol";
401
+ const _SPf = "SftpPorts";
402
+ const _SPft = "SftpPort";
399
403
  const _SPo = "SourcePath";
400
404
  const _SRD = "StartRemoteDelete";
401
405
  const _SRDR = "StartRemoteDeleteRequest";
@@ -1289,8 +1293,8 @@ export var PosixProfile$ = [3, n0, _PP,
1289
1293
  ];
1290
1294
  export var ProtocolDetails$ = [3, n0, _PD,
1291
1295
  0,
1292
- [_PIa, _TSRM, _SSOe, _AT, _PC],
1293
- [0, 0, 0, 64 | 0, () => ProxyConfig$]
1296
+ [_PIa, _TSRM, _SSOe, _SPf, _AT, _PC],
1297
+ [0, 0, 0, () => SftpPorts, 64 | 0, () => ProxyConfig$]
1294
1298
  ];
1295
1299
  export var ProxyConfig$ = [3, n0, _PC,
1296
1300
  0,
@@ -1342,6 +1346,11 @@ export var SftpConnectorConnectionDetails$ = [3, n0, _SCCD,
1342
1346
  [_HK],
1343
1347
  [0]
1344
1348
  ];
1349
+ export var SftpPortWithOptions$ = [3, n0, _SPWO,
1350
+ 0,
1351
+ [_SPft, _CM],
1352
+ [1, 0], 1
1353
+ ];
1345
1354
  export var SshPublicKey$ = [3, n0, _SPKs,
1346
1355
  0,
1347
1356
  [_DI, _SPKB, _SPKI],
@@ -1647,6 +1656,9 @@ var SecurityPolicyOptions = 64 | 0;
1647
1656
  var SecurityPolicyProtocols = 64 | 0;
1648
1657
  var ServiceManagedEgressIpAddresses = 64 | 0;
1649
1658
  var SftpConnectorTrustedHostKeyList = 64 | 0;
1659
+ var SftpPorts = [1, n0, _SPf,
1660
+ 0, () => SftpPortWithOptions$
1661
+ ];
1650
1662
  var SshPublicKeys = [1, n0, _SPK,
1651
1663
  0, () => SshPublicKey$
1652
1664
  ];
@@ -69,6 +69,12 @@ declare const CreateServerCommand_base: {
69
69
  * PassiveIp: "STRING_VALUE",
70
70
  * TlsSessionResumptionMode: "DISABLED" || "ENABLED" || "ENFORCED",
71
71
  * SetStatOption: "DEFAULT" || "ENABLE_NO_OP",
72
+ * SftpPorts: [ // SftpPorts
73
+ * { // SftpPortWithOptions
74
+ * SftpPort: Number("int"), // required
75
+ * CommunicationMode: "CLIENT_TALK_FIRST" || "SERVER_TALK_FIRST",
76
+ * },
77
+ * ],
72
78
  * As2Transports: [ // As2Transports
73
79
  * "HTTP",
74
80
  * ],
@@ -46,6 +46,12 @@ declare const DescribeServerCommand_base: {
46
46
  * // PassiveIp: "STRING_VALUE",
47
47
  * // TlsSessionResumptionMode: "DISABLED" || "ENABLED" || "ENFORCED",
48
48
  * // SetStatOption: "DEFAULT" || "ENABLE_NO_OP",
49
+ * // SftpPorts: [ // SftpPorts
50
+ * // { // SftpPortWithOptions
51
+ * // SftpPort: Number("int"), // required
52
+ * // CommunicationMode: "CLIENT_TALK_FIRST" || "SERVER_TALK_FIRST",
53
+ * // },
54
+ * // ],
49
55
  * // As2Transports: [ // As2Transports
50
56
  * // "HTTP",
51
57
  * // ],
@@ -39,6 +39,12 @@ declare const UpdateServerCommand_base: {
39
39
  * PassiveIp: "STRING_VALUE",
40
40
  * TlsSessionResumptionMode: "DISABLED" || "ENABLED" || "ENFORCED",
41
41
  * SetStatOption: "DEFAULT" || "ENABLE_NO_OP",
42
+ * SftpPorts: [ // SftpPorts
43
+ * { // SftpPortWithOptions
44
+ * SftpPort: Number("int"), // required
45
+ * CommunicationMode: "CLIENT_TALK_FIRST" || "SERVER_TALK_FIRST",
46
+ * },
47
+ * ],
42
48
  * As2Transports: [ // As2Transports
43
49
  * "HTTP",
44
50
  * ],
@@ -166,6 +166,18 @@ export declare const CertificateUsageType: {
166
166
  * @public
167
167
  */
168
168
  export type CertificateUsageType = (typeof CertificateUsageType)[keyof typeof CertificateUsageType];
169
+ /**
170
+ * @public
171
+ * @enum
172
+ */
173
+ export declare const CommunicationMode: {
174
+ readonly CLIENT_TALK_FIRST: "CLIENT_TALK_FIRST";
175
+ readonly SERVER_TALK_FIRST: "SERVER_TALK_FIRST";
176
+ };
177
+ /**
178
+ * @public
179
+ */
180
+ export type CommunicationMode = (typeof CommunicationMode)[keyof typeof CommunicationMode];
169
181
  /**
170
182
  * @public
171
183
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AgreementStatusType, As2Transport, CertificateStatusType, CertificateType, CertificateUsageType, CompressionEnum, ConnectorEgressType, ConnectorsIpAddressType, ConnectorStatus, CustomStepStatus, DirectoryListingOptimization, Domain, EncryptionAlg, EncryptionType, EndpointType, EnforceMessageSigningType, ExecutionErrorType, ExecutionStatus, HomeDirectoryType, IdentityProviderType, IpAddressType, MapType, MdnResponse, MdnSigningAlg, OverwriteExisting, PreserveContentType, PreserveFilenameType, ProfileType, Protocol, ProxyMode, SecurityPolicyProtocol, SecurityPolicyResourceType, SetStatOption, SftpAuthenticationMethods, SigningAlg, State, TlsSessionResumptionMode, TransferTableStatus, WebAppEndpointPolicy, WebAppEndpointType, WebAppVpcEndpointIpAddressType, WorkflowStepType } from "./enums";
1
+ import type { AgreementStatusType, As2Transport, CertificateStatusType, CertificateType, CertificateUsageType, CommunicationMode, CompressionEnum, ConnectorEgressType, ConnectorsIpAddressType, ConnectorStatus, CustomStepStatus, DirectoryListingOptimization, Domain, EncryptionAlg, EncryptionType, EndpointType, EnforceMessageSigningType, ExecutionErrorType, ExecutionStatus, HomeDirectoryType, IdentityProviderType, IpAddressType, MapType, MdnResponse, MdnSigningAlg, OverwriteExisting, PreserveContentType, PreserveFilenameType, ProfileType, Protocol, ProxyMode, SecurityPolicyProtocol, SecurityPolicyResourceType, SetStatOption, SftpAuthenticationMethods, SigningAlg, State, TlsSessionResumptionMode, TransferTableStatus, WebAppEndpointPolicy, WebAppEndpointType, WebAppVpcEndpointIpAddressType, WorkflowStepType } from "./enums";
2
2
  /**
3
3
  * <p>Contains Amazon S3 locations for storing specific types of AS2 message files.</p>
4
4
  * @public
@@ -1477,16 +1477,32 @@ export interface IdentityProviderDetails {
1477
1477
  SftpAuthenticationMethods?: SftpAuthenticationMethods | undefined;
1478
1478
  }
1479
1479
  /**
1480
- * <p>Contains configuration for PROXY protocol version 2 (PPv2) support on an Transfer Family server. When enabled, Transfer Family reads the added PPv2 header from incoming connections to extract the original client IP address. This address is then available in Amazon CloudWatch Logs entries and is passed to custom identity providers during authentication, enabling IP-based access policies. For more information, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html">Working with Network Load Balancers</a>.</p>
1480
+ * <p>Contains configuration for PROXY protocol version 2 (PPv2) support on an Transfer Family server. When enabled, Transfer Family reads the added PPv2 header from incoming connections to extract the client's source IP address. This address is then available in Amazon CloudWatch Logs entries and is passed to custom identity providers during authentication, enabling IP-based access policies. For more information, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html">Working with Network Load Balancers</a>.</p>
1481
1481
  * @public
1482
1482
  */
1483
1483
  export interface ProxyConfig {
1484
1484
  /**
1485
- * <p>Specifies whether the Transfer Family server requires or ignores a PPv2 header containing the original client IP address on incoming SFTP connections. If you don't specify a value, the default is <code>NONE</code> </p> <ul> <li> <p> <code>NONE</code>: the server reads and ignores any PPv2 header on incoming SFTP connections. This is the default value. Use this value when your SFTP server is not behind an NLB, or when you do not need to preserve client source IP addresses through an NLB.</p> </li> <li> <p> <code>PROXY_PROTOCOL_V2_ENFORCED</code>: the server requires a valid PPv2 header on every incoming SFTP connection. When a valid header is present, the server applies it and uses the client IP address from the header. If a connection arrives without a PPv2 header, the server refuses the connection and logs an error to Amazon CloudWatch Logs indicating that the expected PPv2 header was missing. Use this value when your SFTP server is behind an NLB with PPv2 enabled on the target group.</p> <important> <p>When you enable <code>PROXY_PROTOCOL_V2_ENFORCED</code>, the server trusts the source IP address in the PPv2 header. You must configure security groups on your server's VPC endpoint to restrict inbound traffic to only the NLB's private IP addresses. For the full requirements, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html">Working with Network Load Balancers</a>.</p> </important> </li> </ul>
1485
+ * <p>Specifies whether the Transfer Family server requires or ignores a PPv2 header containing the client's source IP address on incoming SFTP connections. If you don't specify a value, the default is <code>NONE</code> </p> <ul> <li> <p> <code>NONE</code>: the server reads and ignores any PPv2 header on incoming SFTP connections. This is the default value. Use this value when your SFTP server is not behind an NLB, or when you do not need to preserve the client's source IP address through an NLB.</p> </li> <li> <p> <code>PROXY_PROTOCOL_V2_ENFORCED</code>: the server requires a valid PPv2 header on every incoming SFTP connection. When a valid header is present, the server applies it and uses the source IP address from the header. If a connection arrives without a PPv2 header, the server refuses the connection and logs an error to Amazon CloudWatch Logs indicating that the expected PPv2 header was missing. Use this value when your SFTP server is behind an NLB with PPv2 enabled on the target group.</p> <important> <p>With <code>PROXY_PROTOCOL_V2_ENFORCED</code> you must restrict the server's VPC endpoint security group to allow inbound traffic only via the trusted NLB. For more information, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/working-with-nlb.html">Working with Network Load Balancers</a>.</p> </important> </li> </ul>
1486
1486
  * @public
1487
1487
  */
1488
1488
  SftpMode?: ProxyMode | undefined;
1489
1489
  }
1490
+ /**
1491
+ * <p>Specifies the configuration for a single SFTP port on a Transfer Family server that uses the SFTP protocol and has a <code>PUBLIC</code> endpoint. Each entry in the <code>SftpPorts</code> list is an <code>SftpPortWithOptions</code> object that pairs a port number with a communication mode.</p>
1492
+ * @public
1493
+ */
1494
+ export interface SftpPortWithOptions {
1495
+ /**
1496
+ * <p>The port on which the Transfer Family server listens for SFTP connections. Specify any integer from 2000 to 65535, or 22. This value is required for each entry in the <code>SftpPorts</code> list.</p>
1497
+ * @public
1498
+ */
1499
+ SftpPort: number | undefined;
1500
+ /**
1501
+ * <p>Determines whether the server or the client sends data first when a client establishes an SFTP connection on this port. Valid values are <code>SERVER_TALK_FIRST</code> and <code>CLIENT_TALK_FIRST</code>. For a description of each mode, see the <code>SftpPorts</code> property. This value is optional.</p>
1502
+ * @public
1503
+ */
1504
+ CommunicationMode?: CommunicationMode | undefined;
1505
+ }
1490
1506
  /**
1491
1507
  * <p> The protocol settings that are configured for your server. </p>
1492
1508
  * @public
@@ -1507,6 +1523,11 @@ export interface ProtocolDetails {
1507
1523
  * @public
1508
1524
  */
1509
1525
  SetStatOption?: SetStatOption | undefined;
1526
+ /**
1527
+ * <p>A property used with Transfer Family servers that use the SFTP protocol and have <code>PUBLIC</code> endpoints. This property accepts a list of up to three port configurations that the service opens on the server endpoint.</p> <p>Each entry in the list consists of two parameters, the <code>SftpPort</code> and the <code>CommunicationMode</code>. The <code>SftpPort</code> takes any integer from 2000 to 65535, or 22. <code>CommunicationMode</code> can be one of the following options:</p> <ul> <li> <p> <code>SERVER_TALK_FIRST</code>: The server responds to initial TCP connections first. Many older clients expect that an SFTP server responds with its server string before starting SSH negotiations.</p> </li> <li> <p> <code>CLIENT_TALK_FIRST</code>: The server responds to the initial TCP connection only after receiving a data packet. Most modern clients support this behavior and send their client string along with the initial data packets for SSH negotiation. Additionally, this mode is more resilient to TCP retransmissions that can occur during the initial TCP connection.</p> </li> </ul> <p>The following is an <code>SftpPorts</code> example for port 2222 with <code>CLIENT_TALK_FIRST</code>.</p> <p> <code>[ \{ "SftpPort": 2222, "CommunicationMode": "CLIENT_TALK_FIRST" \} ]</code> </p> <p>If you don't specify any configurations during <code>CreateServer</code>, the service uses port 22 with <code>SERVER_TALK_FIRST</code> by default.</p>
1528
+ * @public
1529
+ */
1530
+ SftpPorts?: SftpPortWithOptions[] | undefined;
1510
1531
  /**
1511
1532
  * <p>Indicates the transport method for the AS2 messages. Currently, only HTTP is supported.</p>
1512
1533
  * @public
@@ -1621,7 +1642,7 @@ export interface CreateServerRequest {
1621
1642
  */
1622
1643
  Protocols?: Protocol[] | undefined;
1623
1644
  /**
1624
- * <p>The protocol settings that are configured for your server.</p> <note> <p>Avoid placing Network Load Balancers (NLBs) or NAT gateways in front of Transfer Family servers, as this increases costs and can cause performance issues, including reduced connection limits for FTPS. For more details, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/infrastructure-security.html#nlb-considerations"> Avoid placing NLBs and NATs in front of Transfer Family</a>.</p> </note> <ul> <li> <p> To indicate passive mode (for FTP and FTPS protocols), use the <code>PassiveIp</code> parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. </p> </li> <li> <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 uploading to an Amazon S3 bucket, use the <code>SetStatOption</code> parameter. To have the Transfer Family server ignore the <code>SETSTAT</code> command and upload files without needing to make any changes to your SFTP client, set the value to <code>ENABLE_NO_OP</code>. If you set the <code>SetStatOption</code> parameter to <code>ENABLE_NO_OP</code>, Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a <code>SETSTAT</code> call.</p> </li> <li> <p>To determine whether your Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the <code>TlsSessionResumptionMode</code> parameter.</p> </li> <li> <p> <code>As2Transports</code> indicates the transport method for the AS2 messages. Currently, only HTTP is supported.</p> </li> </ul>
1645
+ * <p>The protocol settings that are configured for your server.</p> <note> <p>Avoid placing Network Load Balancers (NLBs) or NAT gateways in front of Transfer Family servers, as this increases costs and can cause performance issues, including reduced connection limits for FTPS. For more details, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/infrastructure-security.html#nlb-considerations"> Avoid placing NLBs and NATs in front of Transfer Family</a>.</p> </note> <ul> <li> <p> To indicate passive mode (for FTP and FTPS protocols), use the <code>PassiveIp</code> parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. </p> </li> <li> <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 uploading to an Amazon S3 bucket, use the <code>SetStatOption</code> parameter. To have the Transfer Family server ignore the <code>SETSTAT</code> command and upload files without needing to make any changes to your SFTP client, set the value to <code>ENABLE_NO_OP</code>. If you set the <code>SetStatOption</code> parameter to <code>ENABLE_NO_OP</code>, Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a <code>SETSTAT</code> call.</p> </li> <li> <p>To specify which ports your Transfer Family server listens to, use the <code>SftpPorts</code> parameter.</p> </li> <li> <p>To determine whether your Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the <code>TlsSessionResumptionMode</code> parameter.</p> </li> <li> <p> <code>As2Transports</code> indicates the transport method for the AS2 messages. Currently, only HTTP is supported.</p> </li> </ul>
1625
1646
  * @public
1626
1647
  */
1627
1648
  ProtocolDetails?: ProtocolDetails | undefined;
@@ -2659,7 +2680,7 @@ export interface DescribedServer {
2659
2680
  */
2660
2681
  Certificate?: string | undefined;
2661
2682
  /**
2662
- * <p>The protocol settings that are configured for your server.</p> <note> <p>Avoid placing Network Load Balancers (NLBs) or NAT gateways in front of Transfer Family servers, as this increases costs and can cause performance issues, including reduced connection limits for FTPS. For more details, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/infrastructure-security.html#nlb-considerations"> Avoid placing NLBs and NATs in front of Transfer Family</a>.</p> </note> <ul> <li> <p> To indicate passive mode (for FTP and FTPS protocols), use the <code>PassiveIp</code> parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. </p> </li> <li> <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 uploading to an Amazon S3 bucket, use the <code>SetStatOption</code> parameter. To have the Transfer Family server ignore the <code>SETSTAT</code> command and upload files without needing to make any changes to your SFTP client, set the value to <code>ENABLE_NO_OP</code>. If you set the <code>SetStatOption</code> parameter to <code>ENABLE_NO_OP</code>, Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a <code>SETSTAT</code> call.</p> </li> <li> <p>To determine whether your Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the <code>TlsSessionResumptionMode</code> parameter.</p> </li> <li> <p> <code>As2Transports</code> indicates the transport method for the AS2 messages. Currently, only HTTP is supported.</p> </li> </ul>
2683
+ * <p>The protocol settings that are configured for your server.</p> <note> <p>Avoid placing Network Load Balancers (NLBs) or NAT gateways in front of Transfer Family servers, as this increases costs and can cause performance issues, including reduced connection limits for FTPS. For more details, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/infrastructure-security.html#nlb-considerations"> Avoid placing NLBs and NATs in front of Transfer Family</a>.</p> </note> <ul> <li> <p> To indicate passive mode (for FTP and FTPS protocols), use the <code>PassiveIp</code> parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. </p> </li> <li> <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 uploading to an Amazon S3 bucket, use the <code>SetStatOption</code> parameter. To have the Transfer Family server ignore the <code>SETSTAT</code> command and upload files without needing to make any changes to your SFTP client, set the value to <code>ENABLE_NO_OP</code>. If you set the <code>SetStatOption</code> parameter to <code>ENABLE_NO_OP</code>, Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a <code>SETSTAT</code> call.</p> </li> <li> <p>To specify which ports your Transfer Family server listens to, use the <code>SftpPorts</code> parameter.</p> </li> <li> <p>To determine whether your Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the <code>TlsSessionResumptionMode</code> parameter.</p> </li> <li> <p> <code>As2Transports</code> indicates the transport method for the AS2 messages. Currently, only HTTP is supported.</p> </li> </ul>
2663
2684
  * @public
2664
2685
  */
2665
2686
  ProtocolDetails?: ProtocolDetails | undefined;
@@ -4045,7 +4066,7 @@ export interface UpdateServerRequest {
4045
4066
  */
4046
4067
  Certificate?: string | undefined;
4047
4068
  /**
4048
- * <p>The protocol settings that are configured for your server.</p> <note> <p>Avoid placing Network Load Balancers (NLBs) or NAT gateways in front of Transfer Family servers, as this increases costs and can cause performance issues, including reduced connection limits for FTPS. For more details, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/infrastructure-security.html#nlb-considerations"> Avoid placing NLBs and NATs in front of Transfer Family</a>.</p> </note> <ul> <li> <p> To indicate passive mode (for FTP and FTPS protocols), use the <code>PassiveIp</code> parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. </p> </li> <li> <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 uploading to an Amazon S3 bucket, use the <code>SetStatOption</code> parameter. To have the Transfer Family server ignore the <code>SETSTAT</code> command and upload files without needing to make any changes to your SFTP client, set the value to <code>ENABLE_NO_OP</code>. If you set the <code>SetStatOption</code> parameter to <code>ENABLE_NO_OP</code>, Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a <code>SETSTAT</code> call.</p> </li> <li> <p>To determine whether your Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the <code>TlsSessionResumptionMode</code> parameter.</p> </li> <li> <p> <code>As2Transports</code> indicates the transport method for the AS2 messages. Currently, only HTTP is supported.</p> </li> </ul>
4069
+ * <p>The protocol settings that are configured for your server.</p> <note> <p>Avoid placing Network Load Balancers (NLBs) or NAT gateways in front of Transfer Family servers, as this increases costs and can cause performance issues, including reduced connection limits for FTPS. For more details, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/infrastructure-security.html#nlb-considerations"> Avoid placing NLBs and NATs in front of Transfer Family</a>.</p> </note> <ul> <li> <p> To indicate passive mode (for FTP and FTPS protocols), use the <code>PassiveIp</code> parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. </p> </li> <li> <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 uploading to an Amazon S3 bucket, use the <code>SetStatOption</code> parameter. To have the Transfer Family server ignore the <code>SETSTAT</code> command and upload files without needing to make any changes to your SFTP client, set the value to <code>ENABLE_NO_OP</code>. If you set the <code>SetStatOption</code> parameter to <code>ENABLE_NO_OP</code>, Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a <code>SETSTAT</code> call.</p> </li> <li> <p>To specify which ports your Transfer Family server listens to, use the <code>SftpPorts</code> parameter.</p> </li> <li> <p>To determine whether your Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the <code>TlsSessionResumptionMode</code> parameter.</p> </li> <li> <p> <code>As2Transports</code> indicates the transport method for the AS2 messages. Currently, only HTTP is supported.</p> </li> </ul>
4049
4070
  * @public
4050
4071
  */
4051
4072
  ProtocolDetails?: ProtocolDetails | undefined;
@@ -164,6 +164,7 @@ export declare var SendWorkflowStepStateResponse$: StaticStructureSchema;
164
164
  export declare var ServiceMetadata$: StaticStructureSchema;
165
165
  export declare var SftpConnectorConfig$: StaticStructureSchema;
166
166
  export declare var SftpConnectorConnectionDetails$: StaticStructureSchema;
167
+ export declare var SftpPortWithOptions$: StaticStructureSchema;
167
168
  export declare var SshPublicKey$: StaticStructureSchema;
168
169
  export declare var StartDirectoryListingRequest$: StaticStructureSchema;
169
170
  export declare var StartDirectoryListingResponse$: StaticStructureSchema;
@@ -77,6 +77,11 @@ export declare const CertificateUsageType: {
77
77
  readonly TLS: "TLS";
78
78
  };
79
79
  export type CertificateUsageType = (typeof CertificateUsageType)[keyof typeof CertificateUsageType];
80
+ export declare const CommunicationMode: {
81
+ readonly CLIENT_TALK_FIRST: "CLIENT_TALK_FIRST";
82
+ readonly SERVER_TALK_FIRST: "SERVER_TALK_FIRST";
83
+ };
84
+ export type CommunicationMode = (typeof CommunicationMode)[keyof typeof CommunicationMode];
80
85
  export declare const ConnectorEgressType: {
81
86
  readonly SERVICE_MANAGED: "SERVICE_MANAGED";
82
87
  readonly VPC_LATTICE: "VPC_LATTICE";
@@ -4,6 +4,7 @@ import {
4
4
  CertificateStatusType,
5
5
  CertificateType,
6
6
  CertificateUsageType,
7
+ CommunicationMode,
7
8
  CompressionEnum,
8
9
  ConnectorEgressType,
9
10
  ConnectorsIpAddressType,
@@ -421,10 +422,15 @@ export interface IdentityProviderDetails {
421
422
  export interface ProxyConfig {
422
423
  SftpMode?: ProxyMode | undefined;
423
424
  }
425
+ export interface SftpPortWithOptions {
426
+ SftpPort: number | undefined;
427
+ CommunicationMode?: CommunicationMode | undefined;
428
+ }
424
429
  export interface ProtocolDetails {
425
430
  PassiveIp?: string | undefined;
426
431
  TlsSessionResumptionMode?: TlsSessionResumptionMode | undefined;
427
432
  SetStatOption?: SetStatOption | undefined;
433
+ SftpPorts?: SftpPortWithOptions[] | undefined;
428
434
  As2Transports?: As2Transport[] | undefined;
429
435
  ProxyConfig?: ProxyConfig | undefined;
430
436
  }
@@ -164,6 +164,7 @@ export declare var SendWorkflowStepStateResponse$: StaticStructureSchema;
164
164
  export declare var ServiceMetadata$: StaticStructureSchema;
165
165
  export declare var SftpConnectorConfig$: StaticStructureSchema;
166
166
  export declare var SftpConnectorConnectionDetails$: StaticStructureSchema;
167
+ export declare var SftpPortWithOptions$: StaticStructureSchema;
167
168
  export declare var SshPublicKey$: StaticStructureSchema;
168
169
  export declare var StartDirectoryListingRequest$: StaticStructureSchema;
169
170
  export declare var StartDirectoryListingResponse$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transfer",
3
- "version": "3.1141.0",
3
+ "version": "3.1143.0",
4
4
  "description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transfer",
6
6
  "license": "Apache-2.0",