@aws-sdk/client-transfer 3.1132.0 → 3.1133.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.1131.0";
72
+ var version = "3.1132.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -597,6 +597,7 @@ const _OUWD = "OnUploadWorkflowDetails";
597
597
  const _P = "Policy";
598
598
  const _PALB = "PostAuthenticationLoginBanner";
599
599
  const _PALBr = "PreAuthenticationLoginBanner";
600
+ const _PC = "ProxyConfig";
600
601
  const _PCT = "PreserveContentType";
601
602
  const _PD = "ProtocolDetails";
602
603
  const _PF = "PreserveFilename";
@@ -658,6 +659,7 @@ const _SK = "SshKexs";
658
659
  const _SLD = "StructuredLogDestinations";
659
660
  const _SM = "ServiceMetadata";
660
661
  const _SMEIA = "ServiceManagedEgressIpAddresses";
662
+ const _SMf = "SftpMode";
661
663
  const _SMs = "SshMacs";
662
664
  const _SMt = "StatusMessage";
663
665
  const _SP = "SecurityPolicy";
@@ -1559,8 +1561,13 @@ var PosixProfile$ = [3, n0, _PP,
1559
1561
  ];
1560
1562
  var ProtocolDetails$ = [3, n0, _PD,
1561
1563
  0,
1562
- [_PIa, _TSRM, _SSOe, _AT],
1563
- [0, 0, 0, 64 | 0]
1564
+ [_PIa, _TSRM, _SSOe, _AT, _PC],
1565
+ [0, 0, 0, 64 | 0, () => ProxyConfig$]
1566
+ ];
1567
+ var ProxyConfig$ = [3, n0, _PC,
1568
+ 0,
1569
+ [_SMf],
1570
+ [0]
1564
1571
  ];
1565
1572
  var S3FileLocation$ = [3, n0, _SFLi,
1566
1573
  0,
@@ -2858,6 +2865,10 @@ const IpAddressType = {
2858
2865
  DUALSTACK: "DUALSTACK",
2859
2866
  IPV4: "IPV4",
2860
2867
  };
2868
+ const ProxyMode = {
2869
+ NONE: "NONE",
2870
+ PROXY_PROTOCOL_V2_ENFORCED: "PROXY_PROTOCOL_V2_ENFORCED",
2871
+ };
2861
2872
  const SetStatOption = {
2862
2873
  DEFAULT: "DEFAULT",
2863
2874
  ENABLE_NO_OP: "ENABLE_NO_OP",
@@ -3217,6 +3228,8 @@ exports.PreserveFilenameType = PreserveFilenameType;
3217
3228
  exports.ProfileType = ProfileType;
3218
3229
  exports.Protocol = Protocol;
3219
3230
  exports.ProtocolDetails$ = ProtocolDetails$;
3231
+ exports.ProxyConfig$ = ProxyConfig$;
3232
+ exports.ProxyMode = ProxyMode;
3220
3233
  exports.ResourceExistsException = ResourceExistsException;
3221
3234
  exports.ResourceExistsException$ = ResourceExistsException$;
3222
3235
  exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -122,6 +122,10 @@ export const IpAddressType = {
122
122
  DUALSTACK: "DUALSTACK",
123
123
  IPV4: "IPV4",
124
124
  };
125
+ export const ProxyMode = {
126
+ NONE: "NONE",
127
+ PROXY_PROTOCOL_V2_ENFORCED: "PROXY_PROTOCOL_V2_ENFORCED",
128
+ };
125
129
  export const SetStatOption = {
126
130
  DEFAULT: "DEFAULT",
127
131
  ENABLE_NO_OP: "ENABLE_NO_OP",
@@ -322,6 +322,7 @@ const _OUWD = "OnUploadWorkflowDetails";
322
322
  const _P = "Policy";
323
323
  const _PALB = "PostAuthenticationLoginBanner";
324
324
  const _PALBr = "PreAuthenticationLoginBanner";
325
+ const _PC = "ProxyConfig";
325
326
  const _PCT = "PreserveContentType";
326
327
  const _PD = "ProtocolDetails";
327
328
  const _PF = "PreserveFilename";
@@ -383,6 +384,7 @@ const _SK = "SshKexs";
383
384
  const _SLD = "StructuredLogDestinations";
384
385
  const _SM = "ServiceMetadata";
385
386
  const _SMEIA = "ServiceManagedEgressIpAddresses";
387
+ const _SMf = "SftpMode";
386
388
  const _SMs = "SshMacs";
387
389
  const _SMt = "StatusMessage";
388
390
  const _SP = "SecurityPolicy";
@@ -1287,8 +1289,13 @@ export var PosixProfile$ = [3, n0, _PP,
1287
1289
  ];
1288
1290
  export var ProtocolDetails$ = [3, n0, _PD,
1289
1291
  0,
1290
- [_PIa, _TSRM, _SSOe, _AT],
1291
- [0, 0, 0, 64 | 0]
1292
+ [_PIa, _TSRM, _SSOe, _AT, _PC],
1293
+ [0, 0, 0, 64 | 0, () => ProxyConfig$]
1294
+ ];
1295
+ export var ProxyConfig$ = [3, n0, _PC,
1296
+ 0,
1297
+ [_SMf],
1298
+ [0]
1292
1299
  ];
1293
1300
  export var S3FileLocation$ = [3, n0, _SFLi,
1294
1301
  0,
@@ -72,6 +72,9 @@ declare const CreateServerCommand_base: {
72
72
  * As2Transports: [ // As2Transports
73
73
  * "HTTP",
74
74
  * ],
75
+ * ProxyConfig: { // ProxyConfig
76
+ * SftpMode: "NONE" || "PROXY_PROTOCOL_V2_ENFORCED",
77
+ * },
75
78
  * },
76
79
  * SecurityPolicyName: "STRING_VALUE",
77
80
  * Tags: [ // Tags
@@ -49,6 +49,9 @@ declare const DescribeServerCommand_base: {
49
49
  * // As2Transports: [ // As2Transports
50
50
  * // "HTTP",
51
51
  * // ],
52
+ * // ProxyConfig: { // ProxyConfig
53
+ * // SftpMode: "NONE" || "PROXY_PROTOCOL_V2_ENFORCED",
54
+ * // },
52
55
  * // },
53
56
  * // Domain: "S3" || "EFS",
54
57
  * // EndpointDetails: { // EndpointDetails
@@ -42,6 +42,9 @@ declare const UpdateServerCommand_base: {
42
42
  * As2Transports: [ // As2Transports
43
43
  * "HTTP",
44
44
  * ],
45
+ * ProxyConfig: { // ProxyConfig
46
+ * SftpMode: "NONE" || "PROXY_PROTOCOL_V2_ENFORCED",
47
+ * },
45
48
  * },
46
49
  * EndpointDetails: { // EndpointDetails
47
50
  * AddressAllocationIds: [ // AddressAllocationIds
@@ -330,6 +330,18 @@ export declare const IpAddressType: {
330
330
  * @public
331
331
  */
332
332
  export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
333
+ /**
334
+ * @public
335
+ * @enum
336
+ */
337
+ export declare const ProxyMode: {
338
+ readonly NONE: "NONE";
339
+ readonly PROXY_PROTOCOL_V2_ENFORCED: "PROXY_PROTOCOL_V2_ENFORCED";
340
+ };
341
+ /**
342
+ * @public
343
+ */
344
+ export type ProxyMode = (typeof ProxyMode)[keyof typeof ProxyMode];
333
345
  /**
334
346
  * @public
335
347
  * @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, SecurityPolicyProtocol, SecurityPolicyResourceType, SetStatOption, SftpAuthenticationMethods, SigningAlg, State, TlsSessionResumptionMode, TransferTableStatus, WebAppEndpointPolicy, WebAppEndpointType, WebAppVpcEndpointIpAddressType, WorkflowStepType } from "./enums";
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";
2
2
  /**
3
3
  * <p>Contains Amazon S3 locations for storing specific types of AS2 message files.</p>
4
4
  * @public
@@ -1476,6 +1476,17 @@ export interface IdentityProviderDetails {
1476
1476
  */
1477
1477
  SftpAuthenticationMethods?: SftpAuthenticationMethods | undefined;
1478
1478
  }
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>
1481
+ * @public
1482
+ */
1483
+ export interface ProxyConfig {
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>
1486
+ * @public
1487
+ */
1488
+ SftpMode?: ProxyMode | undefined;
1489
+ }
1479
1490
  /**
1480
1491
  * <p> The protocol settings that are configured for your server. </p>
1481
1492
  * @public
@@ -1501,6 +1512,11 @@ export interface ProtocolDetails {
1501
1512
  * @public
1502
1513
  */
1503
1514
  As2Transports?: As2Transport[] | undefined;
1515
+ /**
1516
+ * <p>The configuration for PROXY protocol version 2 (PPv2) support on the Transfer Family server. 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>
1517
+ * @public
1518
+ */
1519
+ ProxyConfig?: ProxyConfig | undefined;
1504
1520
  }
1505
1521
  /**
1506
1522
  * <p>The Amazon S3 storage options that are configured for your server.</p>
@@ -154,6 +154,7 @@ export declare var ListWorkflowsResponse$: StaticStructureSchema;
154
154
  export declare var LoggingConfiguration$: StaticStructureSchema;
155
155
  export declare var PosixProfile$: StaticStructureSchema;
156
156
  export declare var ProtocolDetails$: StaticStructureSchema;
157
+ export declare var ProxyConfig$: StaticStructureSchema;
157
158
  export declare var S3FileLocation$: StaticStructureSchema;
158
159
  export declare var S3InputFileLocation$: StaticStructureSchema;
159
160
  export declare var S3StorageOptions$: StaticStructureSchema;
@@ -152,6 +152,11 @@ export declare const IpAddressType: {
152
152
  readonly IPV4: "IPV4";
153
153
  };
154
154
  export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
155
+ export declare const ProxyMode: {
156
+ readonly NONE: "NONE";
157
+ readonly PROXY_PROTOCOL_V2_ENFORCED: "PROXY_PROTOCOL_V2_ENFORCED";
158
+ };
159
+ export type ProxyMode = (typeof ProxyMode)[keyof typeof ProxyMode];
155
160
  export declare const SetStatOption: {
156
161
  readonly DEFAULT: "DEFAULT";
157
162
  readonly ENABLE_NO_OP: "ENABLE_NO_OP";
@@ -28,6 +28,7 @@ import {
28
28
  PreserveFilenameType,
29
29
  ProfileType,
30
30
  Protocol,
31
+ ProxyMode,
31
32
  SecurityPolicyProtocol,
32
33
  SecurityPolicyResourceType,
33
34
  SetStatOption,
@@ -417,11 +418,15 @@ export interface IdentityProviderDetails {
417
418
  Function?: string | undefined;
418
419
  SftpAuthenticationMethods?: SftpAuthenticationMethods | undefined;
419
420
  }
421
+ export interface ProxyConfig {
422
+ SftpMode?: ProxyMode | undefined;
423
+ }
420
424
  export interface ProtocolDetails {
421
425
  PassiveIp?: string | undefined;
422
426
  TlsSessionResumptionMode?: TlsSessionResumptionMode | undefined;
423
427
  SetStatOption?: SetStatOption | undefined;
424
428
  As2Transports?: As2Transport[] | undefined;
429
+ ProxyConfig?: ProxyConfig | undefined;
425
430
  }
426
431
  export interface S3StorageOptions {
427
432
  DirectoryListingOptimization?: DirectoryListingOptimization | undefined;
@@ -154,6 +154,7 @@ export declare var ListWorkflowsResponse$: StaticStructureSchema;
154
154
  export declare var LoggingConfiguration$: StaticStructureSchema;
155
155
  export declare var PosixProfile$: StaticStructureSchema;
156
156
  export declare var ProtocolDetails$: StaticStructureSchema;
157
+ export declare var ProxyConfig$: StaticStructureSchema;
157
158
  export declare var S3FileLocation$: StaticStructureSchema;
158
159
  export declare var S3InputFileLocation$: StaticStructureSchema;
159
160
  export declare var S3StorageOptions$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transfer",
3
- "version": "3.1132.0",
3
+ "version": "3.1133.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",