@aws-sdk/client-transfer 3.907.0 → 3.910.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +35 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +33 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +7 -1
- package/dist-types/commands/DescribeConnectorCommand.d.ts +9 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +203 -10
- package/dist-types/ts3.4/models/models_0.d.ts +92 -1
- package/package.json +36 -36
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -315,12 +315,45 @@ class ConflictException extends TransferServiceException {
|
|
|
315
315
|
this.Message = opts.Message;
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
+
exports.ConnectorEgressConfig = void 0;
|
|
319
|
+
(function (ConnectorEgressConfig) {
|
|
320
|
+
ConnectorEgressConfig.visit = (value, visitor) => {
|
|
321
|
+
if (value.VpcLattice !== undefined)
|
|
322
|
+
return visitor.VpcLattice(value.VpcLattice);
|
|
323
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
324
|
+
};
|
|
325
|
+
})(exports.ConnectorEgressConfig || (exports.ConnectorEgressConfig = {}));
|
|
326
|
+
const ConnectorEgressType = {
|
|
327
|
+
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
328
|
+
VPC_LATTICE: "VPC_LATTICE",
|
|
329
|
+
};
|
|
318
330
|
const TransferTableStatus = {
|
|
319
331
|
COMPLETED: "COMPLETED",
|
|
320
332
|
FAILED: "FAILED",
|
|
321
333
|
IN_PROGRESS: "IN_PROGRESS",
|
|
322
334
|
QUEUED: "QUEUED",
|
|
323
335
|
};
|
|
336
|
+
exports.DescribedConnectorEgressConfig = void 0;
|
|
337
|
+
(function (DescribedConnectorEgressConfig) {
|
|
338
|
+
DescribedConnectorEgressConfig.visit = (value, visitor) => {
|
|
339
|
+
if (value.VpcLattice !== undefined)
|
|
340
|
+
return visitor.VpcLattice(value.VpcLattice);
|
|
341
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
342
|
+
};
|
|
343
|
+
})(exports.DescribedConnectorEgressConfig || (exports.DescribedConnectorEgressConfig = {}));
|
|
344
|
+
const ConnectorStatus = {
|
|
345
|
+
ACTIVE: "ACTIVE",
|
|
346
|
+
ERRORED: "ERRORED",
|
|
347
|
+
PENDING: "PENDING",
|
|
348
|
+
};
|
|
349
|
+
exports.UpdateConnectorEgressConfig = void 0;
|
|
350
|
+
(function (UpdateConnectorEgressConfig) {
|
|
351
|
+
UpdateConnectorEgressConfig.visit = (value, visitor) => {
|
|
352
|
+
if (value.VpcLattice !== undefined)
|
|
353
|
+
return visitor.VpcLattice(value.VpcLattice);
|
|
354
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
355
|
+
};
|
|
356
|
+
})(exports.UpdateConnectorEgressConfig || (exports.UpdateConnectorEgressConfig = {}));
|
|
324
357
|
const OverwriteExisting = {
|
|
325
358
|
FALSE: "FALSE",
|
|
326
359
|
TRUE: "TRUE",
|
|
@@ -3536,6 +3569,8 @@ exports.CertificateType = CertificateType;
|
|
|
3536
3569
|
exports.CertificateUsageType = CertificateUsageType;
|
|
3537
3570
|
exports.CompressionEnum = CompressionEnum;
|
|
3538
3571
|
exports.ConflictException = ConflictException;
|
|
3572
|
+
exports.ConnectorEgressType = ConnectorEgressType;
|
|
3573
|
+
exports.ConnectorStatus = ConnectorStatus;
|
|
3539
3574
|
exports.CreateAccessCommand = CreateAccessCommand;
|
|
3540
3575
|
exports.CreateAgreementCommand = CreateAgreementCommand;
|
|
3541
3576
|
exports.CreateConnectorCommand = CreateConnectorCommand;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -197,12 +197,45 @@ export class ConflictException extends __BaseException {
|
|
|
197
197
|
this.Message = opts.Message;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
+
export var ConnectorEgressConfig;
|
|
201
|
+
(function (ConnectorEgressConfig) {
|
|
202
|
+
ConnectorEgressConfig.visit = (value, visitor) => {
|
|
203
|
+
if (value.VpcLattice !== undefined)
|
|
204
|
+
return visitor.VpcLattice(value.VpcLattice);
|
|
205
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
206
|
+
};
|
|
207
|
+
})(ConnectorEgressConfig || (ConnectorEgressConfig = {}));
|
|
208
|
+
export const ConnectorEgressType = {
|
|
209
|
+
SERVICE_MANAGED: "SERVICE_MANAGED",
|
|
210
|
+
VPC_LATTICE: "VPC_LATTICE",
|
|
211
|
+
};
|
|
200
212
|
export const TransferTableStatus = {
|
|
201
213
|
COMPLETED: "COMPLETED",
|
|
202
214
|
FAILED: "FAILED",
|
|
203
215
|
IN_PROGRESS: "IN_PROGRESS",
|
|
204
216
|
QUEUED: "QUEUED",
|
|
205
217
|
};
|
|
218
|
+
export var DescribedConnectorEgressConfig;
|
|
219
|
+
(function (DescribedConnectorEgressConfig) {
|
|
220
|
+
DescribedConnectorEgressConfig.visit = (value, visitor) => {
|
|
221
|
+
if (value.VpcLattice !== undefined)
|
|
222
|
+
return visitor.VpcLattice(value.VpcLattice);
|
|
223
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
224
|
+
};
|
|
225
|
+
})(DescribedConnectorEgressConfig || (DescribedConnectorEgressConfig = {}));
|
|
226
|
+
export const ConnectorStatus = {
|
|
227
|
+
ACTIVE: "ACTIVE",
|
|
228
|
+
ERRORED: "ERRORED",
|
|
229
|
+
PENDING: "PENDING",
|
|
230
|
+
};
|
|
231
|
+
export var UpdateConnectorEgressConfig;
|
|
232
|
+
(function (UpdateConnectorEgressConfig) {
|
|
233
|
+
UpdateConnectorEgressConfig.visit = (value, visitor) => {
|
|
234
|
+
if (value.VpcLattice !== undefined)
|
|
235
|
+
return visitor.VpcLattice(value.VpcLattice);
|
|
236
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
237
|
+
};
|
|
238
|
+
})(UpdateConnectorEgressConfig || (UpdateConnectorEgressConfig = {}));
|
|
206
239
|
export const OverwriteExisting = {
|
|
207
240
|
FALSE: "FALSE",
|
|
208
241
|
TRUE: "TRUE",
|
|
@@ -37,7 +37,7 @@ declare const CreateConnectorCommand_base: {
|
|
|
37
37
|
* const config = {}; // type is TransferClientConfig
|
|
38
38
|
* const client = new TransferClient(config);
|
|
39
39
|
* const input = { // CreateConnectorRequest
|
|
40
|
-
* Url: "STRING_VALUE",
|
|
40
|
+
* Url: "STRING_VALUE",
|
|
41
41
|
* As2Config: { // As2ConnectorConfig
|
|
42
42
|
* LocalProfileId: "STRING_VALUE",
|
|
43
43
|
* PartnerProfileId: "STRING_VALUE",
|
|
@@ -66,6 +66,12 @@ declare const CreateConnectorCommand_base: {
|
|
|
66
66
|
* MaxConcurrentConnections: Number("int"),
|
|
67
67
|
* },
|
|
68
68
|
* SecurityPolicyName: "STRING_VALUE",
|
|
69
|
+
* EgressConfig: { // ConnectorEgressConfig Union: only one key present
|
|
70
|
+
* VpcLattice: { // ConnectorVpcLatticeEgressConfig
|
|
71
|
+
* ResourceConfigurationArn: "STRING_VALUE", // required
|
|
72
|
+
* PortNumber: Number("int"),
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
69
75
|
* };
|
|
70
76
|
* const command = new CreateConnectorCommand(input);
|
|
71
77
|
* const response = await client.send(command);
|
|
@@ -77,6 +77,15 @@ declare const DescribeConnectorCommand_base: {
|
|
|
77
77
|
* // "STRING_VALUE",
|
|
78
78
|
* // ],
|
|
79
79
|
* // SecurityPolicyName: "STRING_VALUE",
|
|
80
|
+
* // EgressConfig: { // DescribedConnectorEgressConfig Union: only one key present
|
|
81
|
+
* // VpcLattice: { // DescribedConnectorVpcLatticeEgressConfig
|
|
82
|
+
* // ResourceConfigurationArn: "STRING_VALUE", // required
|
|
83
|
+
* // PortNumber: Number("int"),
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // EgressType: "SERVICE_MANAGED" || "VPC_LATTICE", // required
|
|
87
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
88
|
+
* // Status: "ACTIVE" || "ERRORED" || "PENDING", // required
|
|
80
89
|
* // },
|
|
81
90
|
* // };
|
|
82
91
|
*
|
|
@@ -61,6 +61,12 @@ declare const UpdateConnectorCommand_base: {
|
|
|
61
61
|
* MaxConcurrentConnections: Number("int"),
|
|
62
62
|
* },
|
|
63
63
|
* SecurityPolicyName: "STRING_VALUE",
|
|
64
|
+
* EgressConfig: { // UpdateConnectorEgressConfig Union: only one key present
|
|
65
|
+
* VpcLattice: { // UpdateConnectorVpcLatticeEgressConfig
|
|
66
|
+
* ResourceConfigurationArn: "STRING_VALUE",
|
|
67
|
+
* PortNumber: Number("int"),
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
64
70
|
* };
|
|
65
71
|
* const command = new UpdateConnectorCommand(input);
|
|
66
72
|
* const response = await client.send(command);
|
|
@@ -990,6 +990,64 @@ export declare class ConflictException extends __BaseException {
|
|
|
990
990
|
*/
|
|
991
991
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
992
992
|
}
|
|
993
|
+
/**
|
|
994
|
+
* <p>VPC_LATTICE egress configuration that specifies the Resource Configuration ARN and port for connecting to SFTP servers through customer VPCs. Requires a valid Resource Configuration with appropriate network access.</p>
|
|
995
|
+
* @public
|
|
996
|
+
*/
|
|
997
|
+
export interface ConnectorVpcLatticeEgressConfig {
|
|
998
|
+
/**
|
|
999
|
+
* <p>ARN of the VPC_LATTICE Resource Configuration that defines the target SFTP server location. Must point to a valid Resource Configuration in the customer's VPC with appropriate network connectivity to the SFTP server.</p>
|
|
1000
|
+
* @public
|
|
1001
|
+
*/
|
|
1002
|
+
ResourceConfigurationArn: string | undefined;
|
|
1003
|
+
/**
|
|
1004
|
+
* <p>Port number for connecting to the SFTP server through VPC_LATTICE. Defaults to 22 if not specified. Must match the port on which the target SFTP server is listening.</p>
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
1007
|
+
PortNumber?: number | undefined;
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* <p>Configuration structure that defines how traffic is routed from the connector to the SFTP server. Contains VPC Lattice settings when using VPC_LATTICE egress type for private connectivity through customer VPCs.</p>
|
|
1011
|
+
* @public
|
|
1012
|
+
*/
|
|
1013
|
+
export type ConnectorEgressConfig = ConnectorEgressConfig.VpcLatticeMember | ConnectorEgressConfig.$UnknownMember;
|
|
1014
|
+
/**
|
|
1015
|
+
* @public
|
|
1016
|
+
*/
|
|
1017
|
+
export declare namespace ConnectorEgressConfig {
|
|
1018
|
+
/**
|
|
1019
|
+
* <p>VPC_LATTICE configuration for routing connector traffic through customer VPCs. Enables private connectivity to SFTP servers without requiring public internet access or complex network configurations.</p>
|
|
1020
|
+
* @public
|
|
1021
|
+
*/
|
|
1022
|
+
interface VpcLatticeMember {
|
|
1023
|
+
VpcLattice: ConnectorVpcLatticeEgressConfig;
|
|
1024
|
+
$unknown?: never;
|
|
1025
|
+
}
|
|
1026
|
+
/**
|
|
1027
|
+
* @public
|
|
1028
|
+
*/
|
|
1029
|
+
interface $UnknownMember {
|
|
1030
|
+
VpcLattice?: never;
|
|
1031
|
+
$unknown: [string, any];
|
|
1032
|
+
}
|
|
1033
|
+
interface Visitor<T> {
|
|
1034
|
+
VpcLattice: (value: ConnectorVpcLatticeEgressConfig) => T;
|
|
1035
|
+
_: (name: string, value: any) => T;
|
|
1036
|
+
}
|
|
1037
|
+
const visit: <T>(value: ConnectorEgressConfig, visitor: Visitor<T>) => T;
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* @public
|
|
1041
|
+
* @enum
|
|
1042
|
+
*/
|
|
1043
|
+
export declare const ConnectorEgressType: {
|
|
1044
|
+
readonly SERVICE_MANAGED: "SERVICE_MANAGED";
|
|
1045
|
+
readonly VPC_LATTICE: "VPC_LATTICE";
|
|
1046
|
+
};
|
|
1047
|
+
/**
|
|
1048
|
+
* @public
|
|
1049
|
+
*/
|
|
1050
|
+
export type ConnectorEgressType = (typeof ConnectorEgressType)[keyof typeof ConnectorEgressType];
|
|
993
1051
|
/**
|
|
994
1052
|
* @public
|
|
995
1053
|
* @enum
|
|
@@ -1041,7 +1099,7 @@ export interface SftpConnectorConfig {
|
|
|
1041
1099
|
*/
|
|
1042
1100
|
UserSecretId?: string | undefined;
|
|
1043
1101
|
/**
|
|
1044
|
-
* <p>The public portion of the host key, or keys, that are used to identify the external server to which you are connecting. You can use the <code>ssh-keyscan</code> command against the SFTP server to retrieve the necessary key.</p> <note> <p> <code>TrustedHostKeys</code> is optional for <code>CreateConnector</code>. If not provided, you can use <code>TestConnection</code> to retrieve the server host key during the initial connection attempt, and subsequently update the connector with the observed host key.</p> </note> <p>The three standard SSH public key format elements are <code><key type></code>, <code><body base64></code>, and an optional <code><comment></code>, with spaces between each element. Specify only the <code><key type></code> and <code><body base64></code>: do not enter the <code><comment></code> portion of the key.</p> <p>For the trusted host key, Transfer Family accepts RSA and ECDSA keys.</p> <ul> <li> <p>For RSA keys, the <code><key type></code> string is <code>ssh-rsa</code>.</p> </li> <li> <p>For ECDSA keys, the <code><key type></code> string is either <code>ecdsa-sha2-nistp256</code>, <code>ecdsa-sha2-nistp384</code>, or <code>ecdsa-sha2-nistp521</code>, depending on the size of the key you generated.</p> </li> </ul> <p>Run this command to retrieve the SFTP server host key, where your SFTP server name is <code>ftp.host.com</code>.</p> <p> <code>ssh-keyscan ftp.host.com</code> </p> <p>This prints the public host key to standard output.</p> <p> <code>ftp.host.com ssh-rsa AAAAB3Nza...<long-string-for-public-key
|
|
1102
|
+
* <p>The public portion of the host key, or keys, that are used to identify the external server to which you are connecting. You can use the <code>ssh-keyscan</code> command against the SFTP server to retrieve the necessary key.</p> <note> <p> <code>TrustedHostKeys</code> is optional for <code>CreateConnector</code>. If not provided, you can use <code>TestConnection</code> to retrieve the server host key during the initial connection attempt, and subsequently update the connector with the observed host key.</p> </note> <p>When creating connectors with egress config (VPC_LATTICE type connectors), since host name is not something we can verify, the only accepted trusted host key format is <code>key-type key-body</code> without the host name. For example: <code>ssh-rsa AAAAB3Nza...<long-string-for-public-key></code> </p> <p>The three standard SSH public key format elements are <code><key type></code>, <code><body base64></code>, and an optional <code><comment></code>, with spaces between each element. Specify only the <code><key type></code> and <code><body base64></code>: do not enter the <code><comment></code> portion of the key.</p> <p>For the trusted host key, Transfer Family accepts RSA and ECDSA keys.</p> <ul> <li> <p>For RSA keys, the <code><key type></code> string is <code>ssh-rsa</code>.</p> </li> <li> <p>For ECDSA keys, the <code><key type></code> string is either <code>ecdsa-sha2-nistp256</code>, <code>ecdsa-sha2-nistp384</code>, or <code>ecdsa-sha2-nistp521</code>, depending on the size of the key you generated.</p> </li> </ul> <p>Run this command to retrieve the SFTP server host key, where your SFTP server name is <code>ftp.host.com</code>.</p> <p> <code>ssh-keyscan ftp.host.com</code> </p> <p>This prints the public host key to standard output.</p> <p> <code>ftp.host.com ssh-rsa AAAAB3Nza...<long-string-for-public-key></code> </p> <p>Copy and paste this string into the <code>TrustedHostKeys</code> field for the <code>create-connector</code> command or into the <b>Trusted host keys</b> field in the console.</p> <p>For VPC Lattice type connectors (VPC_LATTICE), remove the hostname from the key and use only the <code>key-type key-body</code> format. In this example, it should be: <code>ssh-rsa AAAAB3Nza...<long-string-for-public-key></code> </p>
|
|
1045
1103
|
* @public
|
|
1046
1104
|
*/
|
|
1047
1105
|
TrustedHostKeys?: string[] | undefined;
|
|
@@ -1056,10 +1114,10 @@ export interface SftpConnectorConfig {
|
|
|
1056
1114
|
*/
|
|
1057
1115
|
export interface CreateConnectorRequest {
|
|
1058
1116
|
/**
|
|
1059
|
-
* <p>The URL of the partner's AS2 or SFTP endpoint.</p>
|
|
1117
|
+
* <p>The URL of the partner's AS2 or SFTP endpoint.</p> <p>When creating AS2 connectors or service-managed SFTP connectors (connectors without egress configuration), you must provide a URL to specify the remote server endpoint. For VPC Lattice type connectors, the URL must be null.</p>
|
|
1060
1118
|
* @public
|
|
1061
1119
|
*/
|
|
1062
|
-
Url
|
|
1120
|
+
Url?: string | undefined;
|
|
1063
1121
|
/**
|
|
1064
1122
|
* <p>A structure that contains the parameters for an AS2 connector object.</p>
|
|
1065
1123
|
* @public
|
|
@@ -1090,6 +1148,11 @@ export interface CreateConnectorRequest {
|
|
|
1090
1148
|
* @public
|
|
1091
1149
|
*/
|
|
1092
1150
|
SecurityPolicyName?: string | undefined;
|
|
1151
|
+
/**
|
|
1152
|
+
* <p>Specifies the egress configuration for the connector, which determines how traffic is routed from the connector to the SFTP server. When set to VPC, enables routing through customer VPCs using VPC_LATTICE for private connectivity.</p>
|
|
1153
|
+
* @public
|
|
1154
|
+
*/
|
|
1155
|
+
EgressConfig?: ConnectorEgressConfig | undefined;
|
|
1093
1156
|
}
|
|
1094
1157
|
/**
|
|
1095
1158
|
* @public
|
|
@@ -1121,6 +1184,65 @@ export interface DescribeConnectorRequest {
|
|
|
1121
1184
|
*/
|
|
1122
1185
|
ConnectorId: string | undefined;
|
|
1123
1186
|
}
|
|
1187
|
+
/**
|
|
1188
|
+
* <p>VPC_LATTICE egress configuration details in the response, containing the Resource Configuration ARN and port number currently configured for the connector.</p>
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
export interface DescribedConnectorVpcLatticeEgressConfig {
|
|
1192
|
+
/**
|
|
1193
|
+
* <p>ARN of the VPC_LATTICE Resource Configuration currently used by the connector. This Resource Configuration defines the network path to the SFTP server through the customer's VPC.</p>
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1196
|
+
ResourceConfigurationArn: string | undefined;
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>Port number currently configured for SFTP connections through VPC_LATTICE. Shows the port on which the connector attempts to connect to the target SFTP server.</p>
|
|
1199
|
+
* @public
|
|
1200
|
+
*/
|
|
1201
|
+
PortNumber?: number | undefined;
|
|
1202
|
+
}
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>Response structure containing the current egress configuration details for the connector. Shows how traffic is currently routed from the connector to the SFTP server.</p>
|
|
1205
|
+
* @public
|
|
1206
|
+
*/
|
|
1207
|
+
export type DescribedConnectorEgressConfig = DescribedConnectorEgressConfig.VpcLatticeMember | DescribedConnectorEgressConfig.$UnknownMember;
|
|
1208
|
+
/**
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1211
|
+
export declare namespace DescribedConnectorEgressConfig {
|
|
1212
|
+
/**
|
|
1213
|
+
* <p>VPC_LATTICE configuration details in the response, showing the current Resource Configuration ARN and port settings for VPC-based connectivity.</p>
|
|
1214
|
+
* @public
|
|
1215
|
+
*/
|
|
1216
|
+
interface VpcLatticeMember {
|
|
1217
|
+
VpcLattice: DescribedConnectorVpcLatticeEgressConfig;
|
|
1218
|
+
$unknown?: never;
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* @public
|
|
1222
|
+
*/
|
|
1223
|
+
interface $UnknownMember {
|
|
1224
|
+
VpcLattice?: never;
|
|
1225
|
+
$unknown: [string, any];
|
|
1226
|
+
}
|
|
1227
|
+
interface Visitor<T> {
|
|
1228
|
+
VpcLattice: (value: DescribedConnectorVpcLatticeEgressConfig) => T;
|
|
1229
|
+
_: (name: string, value: any) => T;
|
|
1230
|
+
}
|
|
1231
|
+
const visit: <T>(value: DescribedConnectorEgressConfig, visitor: Visitor<T>) => T;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* @public
|
|
1235
|
+
* @enum
|
|
1236
|
+
*/
|
|
1237
|
+
export declare const ConnectorStatus: {
|
|
1238
|
+
readonly ACTIVE: "ACTIVE";
|
|
1239
|
+
readonly ERRORED: "ERRORED";
|
|
1240
|
+
readonly PENDING: "PENDING";
|
|
1241
|
+
};
|
|
1242
|
+
/**
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
export type ConnectorStatus = (typeof ConnectorStatus)[keyof typeof ConnectorStatus];
|
|
1124
1246
|
/**
|
|
1125
1247
|
* <p>Describes the parameters for the connector, as identified by the <code>ConnectorId</code>.</p>
|
|
1126
1248
|
* @public
|
|
@@ -1137,7 +1259,7 @@ export interface DescribedConnector {
|
|
|
1137
1259
|
*/
|
|
1138
1260
|
ConnectorId?: string | undefined;
|
|
1139
1261
|
/**
|
|
1140
|
-
* <p>The URL of the partner's AS2 or SFTP endpoint.</p>
|
|
1262
|
+
* <p>The URL of the partner's AS2 or SFTP endpoint.</p> <p>When creating AS2 connectors or service-managed SFTP connectors (connectors without egress configuration), you must provide a URL to specify the remote server endpoint. For VPC Lattice type connectors, the URL must be null.</p>
|
|
1141
1263
|
* @public
|
|
1142
1264
|
*/
|
|
1143
1265
|
Url?: string | undefined;
|
|
@@ -1176,6 +1298,26 @@ export interface DescribedConnector {
|
|
|
1176
1298
|
* @public
|
|
1177
1299
|
*/
|
|
1178
1300
|
SecurityPolicyName?: string | undefined;
|
|
1301
|
+
/**
|
|
1302
|
+
* <p>Current egress configuration of the connector, showing how traffic is routed to the SFTP server. Contains VPC Lattice settings when using VPC_LATTICE egress type.</p> <p>When using the VPC_LATTICE egress type, Transfer Family uses a managed Service Network to simplify the resource sharing process.</p>
|
|
1303
|
+
* @public
|
|
1304
|
+
*/
|
|
1305
|
+
EgressConfig?: DescribedConnectorEgressConfig | undefined;
|
|
1306
|
+
/**
|
|
1307
|
+
* <p>Type of egress configuration for the connector. SERVICE_MANAGED uses Transfer Family managed NAT gateways, while VPC_LATTICE routes traffic through customer VPCs using VPC Lattice.</p>
|
|
1308
|
+
* @public
|
|
1309
|
+
*/
|
|
1310
|
+
EgressType: ConnectorEgressType | undefined;
|
|
1311
|
+
/**
|
|
1312
|
+
* <p>Error message providing details when the connector is in ERRORED status. Contains information to help troubleshoot connector creation or operation failures.</p>
|
|
1313
|
+
* @public
|
|
1314
|
+
*/
|
|
1315
|
+
ErrorMessage?: string | undefined;
|
|
1316
|
+
/**
|
|
1317
|
+
* <p>Current status of the connector. PENDING indicates creation/update in progress, ACTIVE means ready for operations, and ERRORED indicates a failure requiring attention.</p>
|
|
1318
|
+
* @public
|
|
1319
|
+
*/
|
|
1320
|
+
Status: ConnectorStatus | undefined;
|
|
1179
1321
|
}
|
|
1180
1322
|
/**
|
|
1181
1323
|
* @public
|
|
@@ -1218,7 +1360,7 @@ export interface ListedConnector {
|
|
|
1218
1360
|
*/
|
|
1219
1361
|
ConnectorId?: string | undefined;
|
|
1220
1362
|
/**
|
|
1221
|
-
* <p>The URL of the partner's AS2 or SFTP endpoint.</p>
|
|
1363
|
+
* <p>The URL of the partner's AS2 or SFTP endpoint.</p> <p>When creating AS2 connectors or service-managed SFTP connectors (connectors without egress configuration), you must provide a URL to specify the remote server endpoint. For VPC Lattice type connectors, the URL must be null.</p>
|
|
1222
1364
|
* @public
|
|
1223
1365
|
*/
|
|
1224
1366
|
Url?: string | undefined;
|
|
@@ -1238,6 +1380,52 @@ export interface ListConnectorsResponse {
|
|
|
1238
1380
|
*/
|
|
1239
1381
|
Connectors: ListedConnector[] | undefined;
|
|
1240
1382
|
}
|
|
1383
|
+
/**
|
|
1384
|
+
* <p>VPC_LATTICE egress configuration updates for modifying how the connector routes traffic through customer VPCs. Changes to these settings may require connector restart to take effect.</p>
|
|
1385
|
+
* @public
|
|
1386
|
+
*/
|
|
1387
|
+
export interface UpdateConnectorVpcLatticeEgressConfig {
|
|
1388
|
+
/**
|
|
1389
|
+
* <p>Updated ARN of the VPC_LATTICE Resource Configuration. Use this to change the target SFTP server location or modify the network path through the customer's VPC infrastructure.</p>
|
|
1390
|
+
* @public
|
|
1391
|
+
*/
|
|
1392
|
+
ResourceConfigurationArn?: string | undefined;
|
|
1393
|
+
/**
|
|
1394
|
+
* <p>Updated port number for SFTP connections through VPC_LATTICE. Change this if the target SFTP server port has been modified or if connecting to a different server endpoint.</p>
|
|
1395
|
+
* @public
|
|
1396
|
+
*/
|
|
1397
|
+
PortNumber?: number | undefined;
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* <p>Structure for updating the egress configuration of an existing connector. Allows modification of how traffic is routed from the connector to the SFTP server, including VPC_LATTICE settings.</p>
|
|
1401
|
+
* @public
|
|
1402
|
+
*/
|
|
1403
|
+
export type UpdateConnectorEgressConfig = UpdateConnectorEgressConfig.VpcLatticeMember | UpdateConnectorEgressConfig.$UnknownMember;
|
|
1404
|
+
/**
|
|
1405
|
+
* @public
|
|
1406
|
+
*/
|
|
1407
|
+
export declare namespace UpdateConnectorEgressConfig {
|
|
1408
|
+
/**
|
|
1409
|
+
* <p>VPC_LATTICE configuration updates for the connector. Use this to modify the Resource Configuration ARN or port number for VPC-based connectivity.</p>
|
|
1410
|
+
* @public
|
|
1411
|
+
*/
|
|
1412
|
+
interface VpcLatticeMember {
|
|
1413
|
+
VpcLattice: UpdateConnectorVpcLatticeEgressConfig;
|
|
1414
|
+
$unknown?: never;
|
|
1415
|
+
}
|
|
1416
|
+
/**
|
|
1417
|
+
* @public
|
|
1418
|
+
*/
|
|
1419
|
+
interface $UnknownMember {
|
|
1420
|
+
VpcLattice?: never;
|
|
1421
|
+
$unknown: [string, any];
|
|
1422
|
+
}
|
|
1423
|
+
interface Visitor<T> {
|
|
1424
|
+
VpcLattice: (value: UpdateConnectorVpcLatticeEgressConfig) => T;
|
|
1425
|
+
_: (name: string, value: any) => T;
|
|
1426
|
+
}
|
|
1427
|
+
const visit: <T>(value: UpdateConnectorEgressConfig, visitor: Visitor<T>) => T;
|
|
1428
|
+
}
|
|
1241
1429
|
/**
|
|
1242
1430
|
* @public
|
|
1243
1431
|
*/
|
|
@@ -1248,7 +1436,7 @@ export interface UpdateConnectorRequest {
|
|
|
1248
1436
|
*/
|
|
1249
1437
|
ConnectorId: string | undefined;
|
|
1250
1438
|
/**
|
|
1251
|
-
* <p>The URL of the partner's AS2 or SFTP endpoint.</p>
|
|
1439
|
+
* <p>The URL of the partner's AS2 or SFTP endpoint.</p> <p>When creating AS2 connectors or service-managed SFTP connectors (connectors without egress configuration), you must provide a URL to specify the remote server endpoint. For VPC Lattice type connectors, the URL must be null.</p>
|
|
1252
1440
|
* @public
|
|
1253
1441
|
*/
|
|
1254
1442
|
Url?: string | undefined;
|
|
@@ -1277,6 +1465,11 @@ export interface UpdateConnectorRequest {
|
|
|
1277
1465
|
* @public
|
|
1278
1466
|
*/
|
|
1279
1467
|
SecurityPolicyName?: string | undefined;
|
|
1468
|
+
/**
|
|
1469
|
+
* <p>Updates the egress configuration for the connector, allowing you to modify how traffic is routed from the connector to the SFTP server. Changes to VPC configuration may require connector restart.</p>
|
|
1470
|
+
* @public
|
|
1471
|
+
*/
|
|
1472
|
+
EgressConfig?: UpdateConnectorEgressConfig | undefined;
|
|
1280
1473
|
}
|
|
1281
1474
|
/**
|
|
1282
1475
|
* @public
|
|
@@ -1705,7 +1898,7 @@ export type TlsSessionResumptionMode = (typeof TlsSessionResumptionMode)[keyof t
|
|
|
1705
1898
|
*/
|
|
1706
1899
|
export interface ProtocolDetails {
|
|
1707
1900
|
/**
|
|
1708
|
-
* <p> Indicates passive mode, for FTP and FTPS protocols. Enter a single IPv4 address, such as the public IP address of a firewall, router, or load balancer. For example: </p> <p> <code>aws transfer update-server --protocol-details PassiveIp=0.0.0.0</code> </p> <p>Replace <code>0.0.0.0</code> in the example above with the actual IP address you want to use.</p> <note> <p> If you change the <code>PassiveIp</code> value, you must stop and then restart your Transfer Family server for the change to take effect. For details on using passive mode (PASV) in a NAT environment, see <a href="http://aws.amazon.com/blogs/storage/configuring-your-ftps-server-behind-a-firewall-or-nat-with-aws-transfer-family/">Configuring your FTPS server behind a firewall or NAT with Transfer Family</a>. </p> </note> <p> <i>Special values</i> </p> <p>The <code>AUTO</code> and <code>0.0.0.0</code> are special values for the <code>PassiveIp</code> parameter. The value <code>PassiveIp=AUTO</code> is assigned by default to FTP and FTPS type servers. In this case, the server automatically responds with one of the endpoint IPs within the PASV response. <code>PassiveIp=0.0.0.0</code> has a more unique application for its usage. For example, if you have a High Availability (HA) Network Load Balancer (NLB) environment, where you have 3 subnets, you can only specify a single IP address using the <code>PassiveIp</code> parameter. This reduces the effectiveness of having High Availability. In this case, you can specify <code>PassiveIp=0.0.0.0</code>. This tells the client to use the same IP address as the Control connection and utilize all AZs for their connections. Note, however, that not all FTP clients support the <code>PassiveIp=0.0.0.0</code> response. FileZilla and WinSCP do support it. If you are using other clients, check to see if your client supports the <code>PassiveIp=0.0.0.0</code> response.</p>
|
|
1901
|
+
* <p> Indicates passive mode, for FTP and FTPS protocols. Enter a single IPv4 address, such as the public IP address of a firewall, router, or load balancer. For example: </p> <p> <code>aws transfer update-server --protocol-details PassiveIp=0.0.0.0</code> </p> <p>Replace <code>0.0.0.0</code> in the example above with the actual IP address you want to use.</p> <note> <p> If you change the <code>PassiveIp</code> value, you must stop and then restart your Transfer Family server for the change to take effect. For details on using passive mode (PASV) in a NAT environment, see <a href="http://aws.amazon.com/blogs/storage/configuring-your-ftps-server-behind-a-firewall-or-nat-with-aws-transfer-family/">Configuring your FTPS server behind a firewall or NAT with Transfer Family</a>. </p> <p>Additionally, avoid placing Network Load Balancers (NLBs) or NAT gateways in front of Transfer Family servers. This configuration increases costs and can cause performance issues. When NLBs or NATs are in the communication path, Transfer Family cannot accurately recognize client IP addresses, which impacts connection sharding and limits FTPS servers to only 300 simultaneous connections instead of 10,000. If you must use an NLB, use port 21 for health checks and enable TLS session resumption by setting <code>TlsSessionResumptionMode = ENFORCED</code>. For optimal performance, migrate to VPC endpoints with Elastic IP addresses instead of using NLBs. 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> <p> <i>Special values</i> </p> <p>The <code>AUTO</code> and <code>0.0.0.0</code> are special values for the <code>PassiveIp</code> parameter. The value <code>PassiveIp=AUTO</code> is assigned by default to FTP and FTPS type servers. In this case, the server automatically responds with one of the endpoint IPs within the PASV response. <code>PassiveIp=0.0.0.0</code> has a more unique application for its usage. For example, if you have a High Availability (HA) Network Load Balancer (NLB) environment, where you have 3 subnets, you can only specify a single IP address using the <code>PassiveIp</code> parameter. This reduces the effectiveness of having High Availability. In this case, you can specify <code>PassiveIp=0.0.0.0</code>. This tells the client to use the same IP address as the Control connection and utilize all AZs for their connections. Note, however, that not all FTP clients support the <code>PassiveIp=0.0.0.0</code> response. FileZilla and WinSCP do support it. If you are using other clients, check to see if your client supports the <code>PassiveIp=0.0.0.0</code> response.</p>
|
|
1709
1902
|
* @public
|
|
1710
1903
|
*/
|
|
1711
1904
|
PassiveIp?: string | undefined;
|
|
@@ -1854,7 +2047,7 @@ export interface CreateServerRequest {
|
|
|
1854
2047
|
*/
|
|
1855
2048
|
Protocols?: Protocol[] | undefined;
|
|
1856
2049
|
/**
|
|
1857
|
-
* <p>The protocol settings that are configured for your server.</p> <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>
|
|
2050
|
+
* <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>
|
|
1858
2051
|
* @public
|
|
1859
2052
|
*/
|
|
1860
2053
|
ProtocolDetails?: ProtocolDetails | undefined;
|
|
@@ -2928,7 +3121,7 @@ export interface DescribedServer {
|
|
|
2928
3121
|
*/
|
|
2929
3122
|
Certificate?: string | undefined;
|
|
2930
3123
|
/**
|
|
2931
|
-
* <p>The protocol settings that are configured for your server.</p> <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>
|
|
3124
|
+
* <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>
|
|
2932
3125
|
* @public
|
|
2933
3126
|
*/
|
|
2934
3127
|
ProtocolDetails?: ProtocolDetails | undefined;
|
|
@@ -4242,7 +4435,7 @@ export interface UpdateServerRequest {
|
|
|
4242
4435
|
*/
|
|
4243
4436
|
Certificate?: string | undefined;
|
|
4244
4437
|
/**
|
|
4245
|
-
* <p>The protocol settings that are configured for your server.</p> <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>
|
|
4438
|
+
* <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>
|
|
4246
4439
|
* @public
|
|
4247
4440
|
*/
|
|
4248
4441
|
ProtocolDetails?: ProtocolDetails | undefined;
|
|
@@ -322,6 +322,34 @@ export declare class ConflictException extends __BaseException {
|
|
|
322
322
|
Message: string | undefined;
|
|
323
323
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
324
324
|
}
|
|
325
|
+
export interface ConnectorVpcLatticeEgressConfig {
|
|
326
|
+
ResourceConfigurationArn: string | undefined;
|
|
327
|
+
PortNumber?: number | undefined;
|
|
328
|
+
}
|
|
329
|
+
export type ConnectorEgressConfig =
|
|
330
|
+
| ConnectorEgressConfig.VpcLatticeMember
|
|
331
|
+
| ConnectorEgressConfig.$UnknownMember;
|
|
332
|
+
export declare namespace ConnectorEgressConfig {
|
|
333
|
+
interface VpcLatticeMember {
|
|
334
|
+
VpcLattice: ConnectorVpcLatticeEgressConfig;
|
|
335
|
+
$unknown?: never;
|
|
336
|
+
}
|
|
337
|
+
interface $UnknownMember {
|
|
338
|
+
VpcLattice?: never;
|
|
339
|
+
$unknown: [string, any];
|
|
340
|
+
}
|
|
341
|
+
interface Visitor<T> {
|
|
342
|
+
VpcLattice: (value: ConnectorVpcLatticeEgressConfig) => T;
|
|
343
|
+
_: (name: string, value: any) => T;
|
|
344
|
+
}
|
|
345
|
+
const visit: <T>(value: ConnectorEgressConfig, visitor: Visitor<T>) => T;
|
|
346
|
+
}
|
|
347
|
+
export declare const ConnectorEgressType: {
|
|
348
|
+
readonly SERVICE_MANAGED: "SERVICE_MANAGED";
|
|
349
|
+
readonly VPC_LATTICE: "VPC_LATTICE";
|
|
350
|
+
};
|
|
351
|
+
export type ConnectorEgressType =
|
|
352
|
+
(typeof ConnectorEgressType)[keyof typeof ConnectorEgressType];
|
|
325
353
|
export declare const TransferTableStatus: {
|
|
326
354
|
readonly COMPLETED: "COMPLETED";
|
|
327
355
|
readonly FAILED: "FAILED";
|
|
@@ -342,13 +370,14 @@ export interface SftpConnectorConfig {
|
|
|
342
370
|
MaxConcurrentConnections?: number | undefined;
|
|
343
371
|
}
|
|
344
372
|
export interface CreateConnectorRequest {
|
|
345
|
-
Url
|
|
373
|
+
Url?: string | undefined;
|
|
346
374
|
As2Config?: As2ConnectorConfig | undefined;
|
|
347
375
|
AccessRole: string | undefined;
|
|
348
376
|
LoggingRole?: string | undefined;
|
|
349
377
|
Tags?: Tag[] | undefined;
|
|
350
378
|
SftpConfig?: SftpConnectorConfig | undefined;
|
|
351
379
|
SecurityPolicyName?: string | undefined;
|
|
380
|
+
EgressConfig?: ConnectorEgressConfig | undefined;
|
|
352
381
|
}
|
|
353
382
|
export interface CreateConnectorResponse {
|
|
354
383
|
ConnectorId: string | undefined;
|
|
@@ -359,6 +388,38 @@ export interface DeleteConnectorRequest {
|
|
|
359
388
|
export interface DescribeConnectorRequest {
|
|
360
389
|
ConnectorId: string | undefined;
|
|
361
390
|
}
|
|
391
|
+
export interface DescribedConnectorVpcLatticeEgressConfig {
|
|
392
|
+
ResourceConfigurationArn: string | undefined;
|
|
393
|
+
PortNumber?: number | undefined;
|
|
394
|
+
}
|
|
395
|
+
export type DescribedConnectorEgressConfig =
|
|
396
|
+
| DescribedConnectorEgressConfig.VpcLatticeMember
|
|
397
|
+
| DescribedConnectorEgressConfig.$UnknownMember;
|
|
398
|
+
export declare namespace DescribedConnectorEgressConfig {
|
|
399
|
+
interface VpcLatticeMember {
|
|
400
|
+
VpcLattice: DescribedConnectorVpcLatticeEgressConfig;
|
|
401
|
+
$unknown?: never;
|
|
402
|
+
}
|
|
403
|
+
interface $UnknownMember {
|
|
404
|
+
VpcLattice?: never;
|
|
405
|
+
$unknown: [string, any];
|
|
406
|
+
}
|
|
407
|
+
interface Visitor<T> {
|
|
408
|
+
VpcLattice: (value: DescribedConnectorVpcLatticeEgressConfig) => T;
|
|
409
|
+
_: (name: string, value: any) => T;
|
|
410
|
+
}
|
|
411
|
+
const visit: <T>(
|
|
412
|
+
value: DescribedConnectorEgressConfig,
|
|
413
|
+
visitor: Visitor<T>
|
|
414
|
+
) => T;
|
|
415
|
+
}
|
|
416
|
+
export declare const ConnectorStatus: {
|
|
417
|
+
readonly ACTIVE: "ACTIVE";
|
|
418
|
+
readonly ERRORED: "ERRORED";
|
|
419
|
+
readonly PENDING: "PENDING";
|
|
420
|
+
};
|
|
421
|
+
export type ConnectorStatus =
|
|
422
|
+
(typeof ConnectorStatus)[keyof typeof ConnectorStatus];
|
|
362
423
|
export interface DescribedConnector {
|
|
363
424
|
Arn: string | undefined;
|
|
364
425
|
ConnectorId?: string | undefined;
|
|
@@ -370,6 +431,10 @@ export interface DescribedConnector {
|
|
|
370
431
|
SftpConfig?: SftpConnectorConfig | undefined;
|
|
371
432
|
ServiceManagedEgressIpAddresses?: string[] | undefined;
|
|
372
433
|
SecurityPolicyName?: string | undefined;
|
|
434
|
+
EgressConfig?: DescribedConnectorEgressConfig | undefined;
|
|
435
|
+
EgressType: ConnectorEgressType | undefined;
|
|
436
|
+
ErrorMessage?: string | undefined;
|
|
437
|
+
Status: ConnectorStatus | undefined;
|
|
373
438
|
}
|
|
374
439
|
export interface DescribeConnectorResponse {
|
|
375
440
|
Connector: DescribedConnector | undefined;
|
|
@@ -387,6 +452,31 @@ export interface ListConnectorsResponse {
|
|
|
387
452
|
NextToken?: string | undefined;
|
|
388
453
|
Connectors: ListedConnector[] | undefined;
|
|
389
454
|
}
|
|
455
|
+
export interface UpdateConnectorVpcLatticeEgressConfig {
|
|
456
|
+
ResourceConfigurationArn?: string | undefined;
|
|
457
|
+
PortNumber?: number | undefined;
|
|
458
|
+
}
|
|
459
|
+
export type UpdateConnectorEgressConfig =
|
|
460
|
+
| UpdateConnectorEgressConfig.VpcLatticeMember
|
|
461
|
+
| UpdateConnectorEgressConfig.$UnknownMember;
|
|
462
|
+
export declare namespace UpdateConnectorEgressConfig {
|
|
463
|
+
interface VpcLatticeMember {
|
|
464
|
+
VpcLattice: UpdateConnectorVpcLatticeEgressConfig;
|
|
465
|
+
$unknown?: never;
|
|
466
|
+
}
|
|
467
|
+
interface $UnknownMember {
|
|
468
|
+
VpcLattice?: never;
|
|
469
|
+
$unknown: [string, any];
|
|
470
|
+
}
|
|
471
|
+
interface Visitor<T> {
|
|
472
|
+
VpcLattice: (value: UpdateConnectorVpcLatticeEgressConfig) => T;
|
|
473
|
+
_: (name: string, value: any) => T;
|
|
474
|
+
}
|
|
475
|
+
const visit: <T>(
|
|
476
|
+
value: UpdateConnectorEgressConfig,
|
|
477
|
+
visitor: Visitor<T>
|
|
478
|
+
) => T;
|
|
479
|
+
}
|
|
390
480
|
export interface UpdateConnectorRequest {
|
|
391
481
|
ConnectorId: string | undefined;
|
|
392
482
|
Url?: string | undefined;
|
|
@@ -395,6 +485,7 @@ export interface UpdateConnectorRequest {
|
|
|
395
485
|
LoggingRole?: string | undefined;
|
|
396
486
|
SftpConfig?: SftpConnectorConfig | undefined;
|
|
397
487
|
SecurityPolicyName?: string | undefined;
|
|
488
|
+
EgressConfig?: UpdateConnectorEgressConfig | undefined;
|
|
398
489
|
}
|
|
399
490
|
export interface UpdateConnectorResponse {
|
|
400
491
|
ConnectorId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transfer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.910.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-transfer",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.3.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
50
|
-
"@smithy/util-base64": "^4.
|
|
23
|
+
"@aws-sdk/core": "3.910.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.910.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.910.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.910.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.910.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.910.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.910.0",
|
|
30
|
+
"@aws-sdk/types": "3.910.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.910.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.910.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.910.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.3.2",
|
|
35
|
+
"@smithy/core": "^3.16.1",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.3",
|
|
37
|
+
"@smithy/hash-node": "^4.2.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.3",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.3",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.2",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.2",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.2",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.1",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.2",
|
|
47
|
+
"@smithy/smithy-client": "^4.8.1",
|
|
48
|
+
"@smithy/types": "^4.7.1",
|
|
49
|
+
"@smithy/url-parser": "^4.2.2",
|
|
50
|
+
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
|
-
"@smithy/util-body-length-node": "^4.2.
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.2
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
52
|
+
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.2",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.3",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.2",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.2",
|
|
57
|
+
"@smithy/util-retry": "^4.2.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
|
-
"@smithy/util-waiter": "^4.2.
|
|
59
|
+
"@smithy/util-waiter": "^4.2.2",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|