@aws-sdk/client-transfer 3.329.0 → 3.333.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 +3 -3
- package/dist-cjs/models/models_0.js +7 -1
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +6 -0
- package/dist-types/commands/CreateServerCommand.d.ts +1 -0
- package/dist-types/commands/DeleteHostKeyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExecutionCommand.d.ts +6 -0
- package/dist-types/commands/DescribeServerCommand.d.ts +1 -0
- package/dist-types/commands/ImportSshPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/ListExecutionsCommand.d.ts +5 -1
- package/dist-types/commands/ListWorkflowsCommand.d.ts +1 -1
- package/dist-types/commands/TestIdentityProviderCommand.d.ts +18 -7
- package/dist-types/commands/UpdateServerCommand.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +123 -64
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const q = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateServerRequestFilterSensitiveLog = exports.TestIdentityProviderRequestFilterSensitiveLog = exports.ImportHostKeyRequestFilterSensitiveLog = exports.ImportCertificateRequestFilterSensitiveLog = exports.DescribeCertificateResponseFilterSensitiveLog = exports.DescribedCertificateFilterSensitiveLog = exports.CreateServerRequestFilterSensitiveLog = exports.InvalidNextTokenException = exports.State = exports.ExecutionStatus = exports.ExecutionErrorType = exports.CustomStepStatus = exports.WorkflowStepType = exports.EncryptionType = exports.Protocol = exports.TlsSessionResumptionMode = exports.SetStatOption = exports.IdentityProviderType = exports.EndpointType = exports.Domain = exports.ProfileType = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.ResourceExistsException = exports.InvalidRequestException = exports.InternalServiceError = exports.HomeDirectoryType = exports.OverwriteExisting = exports.ConflictException = exports.CertificateUsageType = exports.CertificateType = exports.CertificateStatusType = exports.As2Transport = exports.SigningAlg = exports.MdnSigningAlg = exports.MdnResponse = exports.EncryptionAlg = exports.CompressionEnum = exports.AgreementStatusType = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.UpdateServerRequestFilterSensitiveLog = exports.TestIdentityProviderRequestFilterSensitiveLog = exports.ImportHostKeyRequestFilterSensitiveLog = exports.ImportCertificateRequestFilterSensitiveLog = exports.DescribeCertificateResponseFilterSensitiveLog = exports.DescribedCertificateFilterSensitiveLog = exports.CreateServerRequestFilterSensitiveLog = exports.InvalidNextTokenException = exports.State = exports.ExecutionStatus = exports.ExecutionErrorType = exports.CustomStepStatus = exports.WorkflowStepType = exports.EncryptionType = exports.Protocol = exports.TlsSessionResumptionMode = exports.SetStatOption = exports.IdentityProviderType = exports.SftpAuthenticationMethods = exports.EndpointType = exports.Domain = exports.ProfileType = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.ResourceExistsException = exports.InvalidRequestException = exports.InternalServiceError = exports.HomeDirectoryType = exports.OverwriteExisting = exports.ConflictException = exports.CertificateUsageType = exports.CertificateType = exports.CertificateStatusType = exports.As2Transport = exports.SigningAlg = exports.MdnSigningAlg = exports.MdnResponse = exports.EncryptionAlg = exports.CompressionEnum = exports.AgreementStatusType = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const TransferServiceException_1 = require("./TransferServiceException");
|
|
6
6
|
class AccessDeniedException extends TransferServiceException_1.TransferServiceException {
|
|
@@ -189,6 +189,12 @@ exports.EndpointType = {
|
|
|
189
189
|
VPC: "VPC",
|
|
190
190
|
VPC_ENDPOINT: "VPC_ENDPOINT",
|
|
191
191
|
};
|
|
192
|
+
exports.SftpAuthenticationMethods = {
|
|
193
|
+
PASSWORD: "PASSWORD",
|
|
194
|
+
PUBLIC_KEY: "PUBLIC_KEY",
|
|
195
|
+
PUBLIC_KEY_AND_PASSWORD: "PUBLIC_KEY_AND_PASSWORD",
|
|
196
|
+
PUBLIC_KEY_OR_PASSWORD: "PUBLIC_KEY_OR_PASSWORD",
|
|
197
|
+
};
|
|
192
198
|
exports.IdentityProviderType = {
|
|
193
199
|
API_GATEWAY: "API_GATEWAY",
|
|
194
200
|
AWS_DIRECTORY_SERVICE: "AWS_DIRECTORY_SERVICE",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const q = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -178,6 +178,12 @@ export const EndpointType = {
|
|
|
178
178
|
VPC: "VPC",
|
|
179
179
|
VPC_ENDPOINT: "VPC_ENDPOINT",
|
|
180
180
|
};
|
|
181
|
+
export const SftpAuthenticationMethods = {
|
|
182
|
+
PASSWORD: "PASSWORD",
|
|
183
|
+
PUBLIC_KEY: "PUBLIC_KEY",
|
|
184
|
+
PUBLIC_KEY_AND_PASSWORD: "PUBLIC_KEY_AND_PASSWORD",
|
|
185
|
+
PUBLIC_KEY_OR_PASSWORD: "PUBLIC_KEY_OR_PASSWORD",
|
|
186
|
+
};
|
|
181
187
|
export const IdentityProviderType = {
|
|
182
188
|
API_GATEWAY: "API_GATEWAY",
|
|
183
189
|
AWS_DIRECTORY_SERVICE: "AWS_DIRECTORY_SERVICE",
|
|
@@ -52,6 +52,7 @@ export interface CreateServerCommandOutput extends CreateServerResponse, __Metad
|
|
|
52
52
|
* InvocationRole: "STRING_VALUE",
|
|
53
53
|
* DirectoryId: "STRING_VALUE",
|
|
54
54
|
* Function: "STRING_VALUE",
|
|
55
|
+
* SftpAuthenticationMethods: "PASSWORD" || "PUBLIC_KEY" || "PUBLIC_KEY_OR_PASSWORD" || "PUBLIC_KEY_AND_PASSWORD",
|
|
55
56
|
* },
|
|
56
57
|
* IdentityProviderType: "SERVICE_MANAGED" || "API_GATEWAY" || "AWS_DIRECTORY_SERVICE" || "AWS_LAMBDA",
|
|
57
58
|
* LoggingRole: "STRING_VALUE",
|
|
@@ -19,7 +19,7 @@ export interface DeleteHostKeyCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Deletes the host key that's specified in the <code>
|
|
22
|
+
* <p>Deletes the host key that's specified in the <code>HostKeyId</code> parameter.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -20,6 +20,12 @@ export interface DescribeExecutionCommandOutput extends DescribeExecutionRespons
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>You can use <code>DescribeExecution</code> to check the details of the execution of the specified workflow.</p>
|
|
23
|
+
* <note>
|
|
24
|
+
* <p>This API call only returns details for in-progress workflows.</p>
|
|
25
|
+
* <p>
|
|
26
|
+
* If you provide an ID for an execution that is not in progress, or if the execution doesn't match the specified workflow ID, you receive a
|
|
27
|
+
* <code>ResourceNotFound</code> exception.</p>
|
|
28
|
+
* </note>
|
|
23
29
|
* @example
|
|
24
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
31
|
* ```javascript
|
|
@@ -68,6 +68,7 @@ export interface DescribeServerCommandOutput extends DescribeServerResponse, __M
|
|
|
68
68
|
* // InvocationRole: "STRING_VALUE",
|
|
69
69
|
* // DirectoryId: "STRING_VALUE",
|
|
70
70
|
* // Function: "STRING_VALUE",
|
|
71
|
+
* // SftpAuthenticationMethods: "PASSWORD" || "PUBLIC_KEY" || "PUBLIC_KEY_OR_PASSWORD" || "PUBLIC_KEY_AND_PASSWORD",
|
|
71
72
|
* // },
|
|
72
73
|
* // IdentityProviderType: "SERVICE_MANAGED" || "API_GATEWAY" || "AWS_DIRECTORY_SERVICE" || "AWS_LAMBDA",
|
|
73
74
|
* // LoggingRole: "STRING_VALUE",
|
|
@@ -19,7 +19,7 @@ export interface ImportSshPublicKeyCommandOutput extends ImportSshPublicKeyRespo
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Adds a Secure Shell (SSH) public key to a user
|
|
22
|
+
* <p>Adds a Secure Shell (SSH) public key to a Transfer Family user identified by a
|
|
23
23
|
* <code>UserName</code> value assigned to the specific file transfer protocol-enabled server,
|
|
24
24
|
* identified by <code>ServerId</code>.</p>
|
|
25
25
|
* <p>The response returns the <code>UserName</code> value, the <code>ServerId</code> value, and
|
|
@@ -19,7 +19,11 @@ export interface ListExecutionsCommandOutput extends ListExecutionsResponse, __M
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Lists all executions for the specified workflow.</p>
|
|
22
|
+
* <p>Lists all in-progress executions for the specified workflow.</p>
|
|
23
|
+
* <note>
|
|
24
|
+
* <p>If the specified workflow ID cannot be found, <code>ListExecutions</code> returns a
|
|
25
|
+
* <code>ResourceNotFound</code> exception.</p>
|
|
26
|
+
* </note>
|
|
23
27
|
* @example
|
|
24
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
29
|
* ```javascript
|
|
@@ -19,7 +19,7 @@ export interface ListWorkflowsCommandOutput extends ListWorkflowsResponse, __Met
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Lists all
|
|
22
|
+
* <p>Lists all workflows associated with your Amazon Web Services account for your current region.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -28,13 +28,22 @@ export interface TestIdentityProviderCommandOutput extends TestIdentityProviderR
|
|
|
28
28
|
* <p>
|
|
29
29
|
* The <code>ServerId</code> and <code>UserName</code> parameters are required. The <code>ServerProtocol</code>, <code>SourceIp</code>, and <code>UserPassword</code> are all optional.
|
|
30
30
|
* </p>
|
|
31
|
-
* <
|
|
32
|
-
* <p>
|
|
33
|
-
* You cannot use <code>TestIdentityProvider</code> if the <code>IdentityProviderType</code> of your server is <code>SERVICE_MANAGED</code>.
|
|
34
|
-
* </p>
|
|
35
|
-
* </note>
|
|
31
|
+
* <p>Note the following:</p>
|
|
36
32
|
* <ul>
|
|
37
33
|
* <li>
|
|
34
|
+
* <p> You cannot use <code>TestIdentityProvider</code> if the
|
|
35
|
+
* <code>IdentityProviderType</code> of your server is <code>SERVICE_MANAGED</code>.</p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>TestIdentityProvider</code> does not work with keys: it only accepts
|
|
40
|
+
* passwords.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>TestIdentityProvider</code> can test the password operation for a custom Identity Provider that handles keys and passwords.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
38
47
|
* <p>
|
|
39
48
|
* If you provide any incorrect values for any parameters, the <code>Response</code> field is empty.
|
|
40
49
|
* </p>
|
|
@@ -54,8 +63,10 @@ export interface TestIdentityProviderCommandOutput extends TestIdentityProviderR
|
|
|
54
63
|
* If you enter a Server ID for the <code>--server-id</code> parameter that does not identify an actual Transfer server, you receive the following error:
|
|
55
64
|
* </p>
|
|
56
65
|
* <p>
|
|
57
|
-
* <code>An error occurred (ResourceNotFoundException) when calling the TestIdentityProvider operation: Unknown server</code
|
|
58
|
-
*
|
|
66
|
+
* <code>An error occurred (ResourceNotFoundException) when calling the TestIdentityProvider operation: Unknown server</code>.
|
|
67
|
+
* </p>
|
|
68
|
+
* <p>It is possible your sever is in a different region. You can specify a region by adding the following: <code>--region region-code</code>,
|
|
69
|
+
* such as <code>--region us-east-2</code> to specify a server in <b>US East (Ohio)</b>.</p>
|
|
59
70
|
* </li>
|
|
60
71
|
* </ul>
|
|
61
72
|
* @example
|
|
@@ -59,6 +59,7 @@ export interface UpdateServerCommandOutput extends UpdateServerResponse, __Metad
|
|
|
59
59
|
* InvocationRole: "STRING_VALUE",
|
|
60
60
|
* DirectoryId: "STRING_VALUE",
|
|
61
61
|
* Function: "STRING_VALUE",
|
|
62
|
+
* SftpAuthenticationMethods: "PASSWORD" || "PUBLIC_KEY" || "PUBLIC_KEY_OR_PASSWORD" || "PUBLIC_KEY_AND_PASSWORD",
|
|
62
63
|
* },
|
|
63
64
|
* LoggingRole: "STRING_VALUE",
|
|
64
65
|
* PostAuthenticationLoginBanner: "STRING_VALUE",
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -292,19 +292,22 @@ export interface CopyStepDetails {
|
|
|
292
292
|
*/
|
|
293
293
|
Name?: string;
|
|
294
294
|
/**
|
|
295
|
-
* <p>Specifies the location for the file being copied. Use <code>$\{Transfer:
|
|
296
|
-
*
|
|
295
|
+
* <p>Specifies the location for the file being copied. Use <code>$\{Transfer:UserName\}</code> or
|
|
296
|
+
* <code>$\{Transfer:UploadDate\}</code> in this field to parametrize the destination prefix by
|
|
297
|
+
* username or uploaded date.</p>
|
|
297
298
|
* <ul>
|
|
298
299
|
* <li>
|
|
299
|
-
* <p>Set the value of <code>DestinationFileLocation</code> to
|
|
300
|
-
*
|
|
300
|
+
* <p>Set the value of <code>DestinationFileLocation</code> to
|
|
301
|
+
* <code>$\{Transfer:UserName\}</code> to copy uploaded files to an Amazon S3 bucket
|
|
302
|
+
* that is prefixed with the name of the Transfer Family user that uploaded the
|
|
303
|
+
* file.</p>
|
|
301
304
|
* </li>
|
|
302
305
|
* <li>
|
|
303
306
|
* <p>Set the value of <code>DestinationFileLocation</code> to <code>$\{Transfer:UploadDate\}</code> to copy uploaded files to
|
|
304
307
|
* an Amazon S3 bucket that is prefixed with the date of the upload.</p>
|
|
305
308
|
* <note>
|
|
306
309
|
* <p>The system resolves <code>UploadDate</code> to a date format of <i>YYYY-MM-DD</i>, based on the date the file
|
|
307
|
-
* is uploaded.</p>
|
|
310
|
+
* is uploaded in UTC.</p>
|
|
308
311
|
* </note>
|
|
309
312
|
* </li>
|
|
310
313
|
* </ul>
|
|
@@ -313,6 +316,15 @@ export interface CopyStepDetails {
|
|
|
313
316
|
/**
|
|
314
317
|
* <p>A flag that indicates whether to overwrite an existing file of the same name.
|
|
315
318
|
* The default is <code>FALSE</code>.</p>
|
|
319
|
+
* <p>If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:</p>
|
|
320
|
+
* <ul>
|
|
321
|
+
* <li>
|
|
322
|
+
* <p>If <code>OverwriteExisting</code> is <code>TRUE</code>, the existing file is replaced with the file being processed.</p>
|
|
323
|
+
* </li>
|
|
324
|
+
* <li>
|
|
325
|
+
* <p>If <code>OverwriteExisting</code> is <code>FALSE</code>, nothing happens, and the workflow processing stops.</p>
|
|
326
|
+
* </li>
|
|
327
|
+
* </ul>
|
|
316
328
|
*/
|
|
317
329
|
OverwriteExisting?: OverwriteExisting | string;
|
|
318
330
|
/**
|
|
@@ -839,6 +851,20 @@ export declare const EndpointType: {
|
|
|
839
851
|
* @public
|
|
840
852
|
*/
|
|
841
853
|
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
854
|
+
/**
|
|
855
|
+
* @public
|
|
856
|
+
* @enum
|
|
857
|
+
*/
|
|
858
|
+
export declare const SftpAuthenticationMethods: {
|
|
859
|
+
readonly PASSWORD: "PASSWORD";
|
|
860
|
+
readonly PUBLIC_KEY: "PUBLIC_KEY";
|
|
861
|
+
readonly PUBLIC_KEY_AND_PASSWORD: "PUBLIC_KEY_AND_PASSWORD";
|
|
862
|
+
readonly PUBLIC_KEY_OR_PASSWORD: "PUBLIC_KEY_OR_PASSWORD";
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
* @public
|
|
866
|
+
*/
|
|
867
|
+
export type SftpAuthenticationMethods = (typeof SftpAuthenticationMethods)[keyof typeof SftpAuthenticationMethods];
|
|
842
868
|
/**
|
|
843
869
|
* @public
|
|
844
870
|
* <p>Returns information related to the type of user authentication that is in use for a file
|
|
@@ -851,7 +877,7 @@ export interface IdentityProviderDetails {
|
|
|
851
877
|
*/
|
|
852
878
|
Url?: string;
|
|
853
879
|
/**
|
|
854
|
-
* <p>Provides the type of <code>InvocationRole</code> used to authenticate the user
|
|
880
|
+
* <p>This parameter is only applicable if your <code>IdentityProviderType</code> is <code>API_GATEWAY</code>. Provides the type of <code>InvocationRole</code> used to authenticate the user
|
|
855
881
|
* account.</p>
|
|
856
882
|
*/
|
|
857
883
|
InvocationRole?: string;
|
|
@@ -860,9 +886,34 @@ export interface IdentityProviderDetails {
|
|
|
860
886
|
*/
|
|
861
887
|
DirectoryId?: string;
|
|
862
888
|
/**
|
|
863
|
-
* <p>The ARN for a
|
|
889
|
+
* <p>The ARN for a Lambda function to use for the Identity provider.</p>
|
|
864
890
|
*/
|
|
865
891
|
Function?: string;
|
|
892
|
+
/**
|
|
893
|
+
* <p>For SFTP-enabled servers, and for custom identity providers <i>only</i>, you
|
|
894
|
+
* can specify whether to authenticate using a password, SSH key pair, or both.</p>
|
|
895
|
+
* <ul>
|
|
896
|
+
* <li>
|
|
897
|
+
* <p>
|
|
898
|
+
* <code>PASSWORD</code> - users must provide their password to connect.</p>
|
|
899
|
+
* </li>
|
|
900
|
+
* <li>
|
|
901
|
+
* <p>
|
|
902
|
+
* <code>PUBLIC_KEY</code> - users must provide their private key to connect.</p>
|
|
903
|
+
* </li>
|
|
904
|
+
* <li>
|
|
905
|
+
* <p>
|
|
906
|
+
* <code>PUBLIC_KEY_OR_PASSWORD</code> - users can authenticate with either their password or their key. This is the default value.</p>
|
|
907
|
+
* </li>
|
|
908
|
+
* <li>
|
|
909
|
+
* <p>
|
|
910
|
+
* <code>PUBLIC_KEY_AND_PASSWORD</code> - users must provide both their private key and their password to connect.
|
|
911
|
+
* The server checks the key first, and then if the key is valid, the system prompts for a password.
|
|
912
|
+
* If the private key provided does not match the public key that is stored, authentication fails.</p>
|
|
913
|
+
* </li>
|
|
914
|
+
* </ul>
|
|
915
|
+
*/
|
|
916
|
+
SftpAuthenticationMethods?: SftpAuthenticationMethods | string;
|
|
866
917
|
}
|
|
867
918
|
/**
|
|
868
919
|
* @public
|
|
@@ -1003,8 +1054,8 @@ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
|
|
|
1003
1054
|
* @public
|
|
1004
1055
|
* <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
|
|
1005
1056
|
* <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a
|
|
1006
|
-
* workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when
|
|
1007
|
-
* the
|
|
1057
|
+
* workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when the server session disconnects
|
|
1058
|
+
* while the file is still being uploaded.</p>
|
|
1008
1059
|
*/
|
|
1009
1060
|
export interface WorkflowDetail {
|
|
1010
1061
|
/**
|
|
@@ -1140,7 +1191,7 @@ export interface CreateServerRequest {
|
|
|
1140
1191
|
HostKey?: string;
|
|
1141
1192
|
/**
|
|
1142
1193
|
* <p>Required when <code>IdentityProviderType</code> is set to
|
|
1143
|
-
* <code>AWS_DIRECTORY_SERVICE</code> or <code>API_GATEWAY</code>. Accepts an array containing
|
|
1194
|
+
* <code>AWS_DIRECTORY_SERVICE</code>, <code>Amazon Web Services_LAMBDA</code> or <code>API_GATEWAY</code>. Accepts an array containing
|
|
1144
1195
|
* all of the information required to use a directory in <code>AWS_DIRECTORY_SERVICE</code> or
|
|
1145
1196
|
* invoke a customer-supplied authentication API, including the API Gateway URL. Not required
|
|
1146
1197
|
* when <code>IdentityProviderType</code> is set to <code>SERVICE_MANAGED</code>.</p>
|
|
@@ -1159,7 +1210,7 @@ export interface CreateServerRequest {
|
|
|
1159
1210
|
* for authentication by using the <code>IdentityProviderDetails</code> parameter.</p>
|
|
1160
1211
|
* <p>Use the <code>AWS_LAMBDA</code> value to directly use an Lambda function as your identity provider.
|
|
1161
1212
|
* If you choose this value, you must specify the ARN for the Lambda function in the <code>Function</code> parameter
|
|
1162
|
-
*
|
|
1213
|
+
* for the <code>IdentityProviderDetails</code> data type.</p>
|
|
1163
1214
|
*/
|
|
1164
1215
|
IdentityProviderType?: IdentityProviderType | string;
|
|
1165
1216
|
/**
|
|
@@ -1276,8 +1327,8 @@ export interface CreateServerRequest {
|
|
|
1276
1327
|
/**
|
|
1277
1328
|
* <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
|
|
1278
1329
|
* <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a
|
|
1279
|
-
* workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when
|
|
1280
|
-
* the
|
|
1330
|
+
* workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when the server session disconnects
|
|
1331
|
+
* while the file is still being uploaded.</p>
|
|
1281
1332
|
*/
|
|
1282
1333
|
WorkflowDetails?: WorkflowDetails;
|
|
1283
1334
|
}
|
|
@@ -1410,7 +1461,7 @@ export interface CreateUserResponse {
|
|
|
1410
1461
|
*/
|
|
1411
1462
|
ServerId: string | undefined;
|
|
1412
1463
|
/**
|
|
1413
|
-
* <p>A unique string that identifies a
|
|
1464
|
+
* <p>A unique string that identifies a Transfer Family user.</p>
|
|
1414
1465
|
*/
|
|
1415
1466
|
UserName: string | undefined;
|
|
1416
1467
|
}
|
|
@@ -1424,7 +1475,7 @@ export interface CustomStepDetails {
|
|
|
1424
1475
|
*/
|
|
1425
1476
|
Name?: string;
|
|
1426
1477
|
/**
|
|
1427
|
-
* <p>The ARN for the
|
|
1478
|
+
* <p>The ARN for the Lambda function that is being called.</p>
|
|
1428
1479
|
*/
|
|
1429
1480
|
Target?: string;
|
|
1430
1481
|
/**
|
|
@@ -1489,10 +1540,37 @@ export interface DecryptStepDetails {
|
|
|
1489
1540
|
/**
|
|
1490
1541
|
* <p>A flag that indicates whether to overwrite an existing file of the same name.
|
|
1491
1542
|
* The default is <code>FALSE</code>.</p>
|
|
1543
|
+
* <p>If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:</p>
|
|
1544
|
+
* <ul>
|
|
1545
|
+
* <li>
|
|
1546
|
+
* <p>If <code>OverwriteExisting</code> is <code>TRUE</code>, the existing file is replaced with the file being processed.</p>
|
|
1547
|
+
* </li>
|
|
1548
|
+
* <li>
|
|
1549
|
+
* <p>If <code>OverwriteExisting</code> is <code>FALSE</code>, nothing happens, and the workflow processing stops.</p>
|
|
1550
|
+
* </li>
|
|
1551
|
+
* </ul>
|
|
1492
1552
|
*/
|
|
1493
1553
|
OverwriteExisting?: OverwriteExisting | string;
|
|
1494
1554
|
/**
|
|
1495
|
-
* <p>Specifies the location for the file
|
|
1555
|
+
* <p>Specifies the location for the file being decrypted. Use <code>$\{Transfer:UserName\}</code> or
|
|
1556
|
+
* <code>$\{Transfer:UploadDate\}</code> in this field to parametrize the destination prefix by
|
|
1557
|
+
* username or uploaded date.</p>
|
|
1558
|
+
* <ul>
|
|
1559
|
+
* <li>
|
|
1560
|
+
* <p>Set the value of <code>DestinationFileLocation</code> to
|
|
1561
|
+
* <code>$\{Transfer:UserName\}</code> to decrypt uploaded files to an Amazon S3 bucket
|
|
1562
|
+
* that is prefixed with the name of the Transfer Family user that uploaded the
|
|
1563
|
+
* file.</p>
|
|
1564
|
+
* </li>
|
|
1565
|
+
* <li>
|
|
1566
|
+
* <p>Set the value of <code>DestinationFileLocation</code> to <code>$\{Transfer:UploadDate\}</code> to decrypt uploaded files to
|
|
1567
|
+
* an Amazon S3 bucket that is prefixed with the date of the upload.</p>
|
|
1568
|
+
* <note>
|
|
1569
|
+
* <p>The system resolves <code>UploadDate</code> to a date format of <i>YYYY-MM-DD</i>, based on the date the file
|
|
1570
|
+
* is uploaded in UTC.</p>
|
|
1571
|
+
* </note>
|
|
1572
|
+
* </li>
|
|
1573
|
+
* </ul>
|
|
1496
1574
|
*/
|
|
1497
1575
|
DestinationFileLocation: InputFileLocation | undefined;
|
|
1498
1576
|
}
|
|
@@ -1738,8 +1816,8 @@ export interface CreateWorkflowRequest {
|
|
|
1738
1816
|
/**
|
|
1739
1817
|
* <p>Specifies the steps (actions) to take if errors are encountered during execution of the workflow.</p>
|
|
1740
1818
|
* <note>
|
|
1741
|
-
* <p>For custom steps, the
|
|
1742
|
-
* back API to kick off the exception steps. Additionally, if the
|
|
1819
|
+
* <p>For custom steps, the Lambda function needs to send <code>FAILURE</code> to the call
|
|
1820
|
+
* back API to kick off the exception steps. Additionally, if the Lambda does not send
|
|
1743
1821
|
* <code>SUCCESS</code> before it times out, the exception steps are executed.</p>
|
|
1744
1822
|
* </note>
|
|
1745
1823
|
*/
|
|
@@ -2424,7 +2502,7 @@ export interface ExecutionResults {
|
|
|
2424
2502
|
*/
|
|
2425
2503
|
export interface UserDetails {
|
|
2426
2504
|
/**
|
|
2427
|
-
* <p>A unique string that identifies a user
|
|
2505
|
+
* <p>A unique string that identifies a Transfer Family user associated with a server.</p>
|
|
2428
2506
|
*/
|
|
2429
2507
|
UserName: string | undefined;
|
|
2430
2508
|
/**
|
|
@@ -2740,7 +2818,7 @@ export interface DescribedServer {
|
|
|
2740
2818
|
* for authentication by using the <code>IdentityProviderDetails</code> parameter.</p>
|
|
2741
2819
|
* <p>Use the <code>AWS_LAMBDA</code> value to directly use an Lambda function as your identity provider.
|
|
2742
2820
|
* If you choose this value, you must specify the ARN for the Lambda function in the <code>Function</code> parameter
|
|
2743
|
-
*
|
|
2821
|
+
* for the <code>IdentityProviderDetails</code> data type.</p>
|
|
2744
2822
|
*/
|
|
2745
2823
|
IdentityProviderType?: IdentityProviderType | string;
|
|
2746
2824
|
/**
|
|
@@ -2850,22 +2928,22 @@ export interface DescribedServer {
|
|
|
2850
2928
|
/**
|
|
2851
2929
|
* <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
|
|
2852
2930
|
* <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a
|
|
2853
|
-
* workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when
|
|
2854
|
-
* the
|
|
2931
|
+
* workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when the server session disconnects
|
|
2932
|
+
* while the file is still being uploaded.</p>
|
|
2855
2933
|
*/
|
|
2856
2934
|
WorkflowDetails?: WorkflowDetails;
|
|
2857
2935
|
}
|
|
2858
2936
|
/**
|
|
2859
2937
|
* @public
|
|
2860
|
-
* <p>Provides information about the public Secure Shell (SSH) key that is associated with a
|
|
2861
|
-
* user
|
|
2938
|
+
* <p>Provides information about the public Secure Shell (SSH) key that is associated with a Transfer Family
|
|
2939
|
+
* user for the specific file transfer protocol-enabled server (as identified by
|
|
2862
2940
|
* <code>ServerId</code>). The information returned includes the date the key was imported, the
|
|
2863
2941
|
* public key contents, and the public key ID. A user can store more than one SSH public key
|
|
2864
2942
|
* associated with their user name on a specific server.</p>
|
|
2865
2943
|
*/
|
|
2866
2944
|
export interface SshPublicKey {
|
|
2867
2945
|
/**
|
|
2868
|
-
* <p>Specifies the date that the public key was added to the user
|
|
2946
|
+
* <p>Specifies the date that the public key was added to the Transfer Family user.</p>
|
|
2869
2947
|
*/
|
|
2870
2948
|
DateImported: Date | undefined;
|
|
2871
2949
|
/**
|
|
@@ -3112,7 +3190,7 @@ export interface DescribeUserResponse {
|
|
|
3112
3190
|
*/
|
|
3113
3191
|
ServerId: string | undefined;
|
|
3114
3192
|
/**
|
|
3115
|
-
* <p>An array containing the properties of the user
|
|
3193
|
+
* <p>An array containing the properties of the Transfer Family user for the <code>ServerID</code> value
|
|
3116
3194
|
* that you specified.</p>
|
|
3117
3195
|
*/
|
|
3118
3196
|
User: DescribedUser | undefined;
|
|
@@ -3248,7 +3326,7 @@ export interface ImportSshPublicKeyRequest {
|
|
|
3248
3326
|
*/
|
|
3249
3327
|
SshPublicKeyBody: string | undefined;
|
|
3250
3328
|
/**
|
|
3251
|
-
* <p>The name of the user
|
|
3329
|
+
* <p>The name of the Transfer Family user that is assigned to one or more servers.</p>
|
|
3252
3330
|
*/
|
|
3253
3331
|
UserName: string | undefined;
|
|
3254
3332
|
}
|
|
@@ -3687,7 +3765,7 @@ export interface ListedServer {
|
|
|
3687
3765
|
* for authentication by using the <code>IdentityProviderDetails</code> parameter.</p>
|
|
3688
3766
|
* <p>Use the <code>AWS_LAMBDA</code> value to directly use an Lambda function as your identity provider.
|
|
3689
3767
|
* If you choose this value, you must specify the ARN for the Lambda function in the <code>Function</code> parameter
|
|
3690
|
-
*
|
|
3768
|
+
* for the <code>IdentityProviderDetails</code> data type.</p>
|
|
3691
3769
|
*/
|
|
3692
3770
|
IdentityProviderType?: IdentityProviderType | string;
|
|
3693
3771
|
/**
|
|
@@ -3840,29 +3918,7 @@ export interface ListExecutionsResponse {
|
|
|
3840
3918
|
*/
|
|
3841
3919
|
WorkflowId: string | undefined;
|
|
3842
3920
|
/**
|
|
3843
|
-
* <p>Returns the details for each execution.</p>
|
|
3844
|
-
* <ul>
|
|
3845
|
-
* <li>
|
|
3846
|
-
* <p>
|
|
3847
|
-
* <b>NextToken</b>: returned from a call to several APIs,
|
|
3848
|
-
* you can use pass it to a subsequent command to continue listing additional executions.</p>
|
|
3849
|
-
* </li>
|
|
3850
|
-
* <li>
|
|
3851
|
-
* <p>
|
|
3852
|
-
* <b>StartTime</b>: timestamp indicating when the execution began.</p>
|
|
3853
|
-
* </li>
|
|
3854
|
-
* <li>
|
|
3855
|
-
* <p>
|
|
3856
|
-
* <b>Executions</b>: details of the execution, including the execution ID, initial file location,
|
|
3857
|
-
* and Service metadata.</p>
|
|
3858
|
-
* </li>
|
|
3859
|
-
* <li>
|
|
3860
|
-
* <p>
|
|
3861
|
-
* <b>Status</b>: one of the following values:
|
|
3862
|
-
* <code>IN_PROGRESS</code>, <code>COMPLETED</code>, <code>EXCEPTION</code>, <code>HANDLING_EXEPTION</code>.
|
|
3863
|
-
* </p>
|
|
3864
|
-
* </li>
|
|
3865
|
-
* </ul>
|
|
3921
|
+
* <p>Returns the details for each execution, in a <code>ListedExecution</code> array.</p>
|
|
3866
3922
|
*/
|
|
3867
3923
|
Executions: ListedExecution[] | undefined;
|
|
3868
3924
|
}
|
|
@@ -4080,7 +4136,7 @@ export interface ListUsersResponse {
|
|
|
4080
4136
|
*/
|
|
4081
4137
|
ServerId: string | undefined;
|
|
4082
4138
|
/**
|
|
4083
|
-
* <p>Returns the
|
|
4139
|
+
* <p>Returns the Transfer Family users and their properties for the <code>ServerId</code> value that
|
|
4084
4140
|
* you specify.</p>
|
|
4085
4141
|
*/
|
|
4086
4142
|
Users: ListedUser[] | undefined;
|
|
@@ -4197,7 +4253,7 @@ export interface TagResourceRequest {
|
|
|
4197
4253
|
Arn: string | undefined;
|
|
4198
4254
|
/**
|
|
4199
4255
|
* <p>Key-value pairs assigned to ARNs that you can use to group and search for resources by
|
|
4200
|
-
* type. You can attach this metadata to
|
|
4256
|
+
* type. You can attach this metadata to resources (servers, users, workflows, and so on) for any purpose.</p>
|
|
4201
4257
|
*/
|
|
4202
4258
|
Tags: Tag[] | undefined;
|
|
4203
4259
|
}
|
|
@@ -4223,19 +4279,22 @@ export interface TestIdentityProviderRequest {
|
|
|
4223
4279
|
* <li>
|
|
4224
4280
|
* <p>File Transfer Protocol (FTP)</p>
|
|
4225
4281
|
* </li>
|
|
4282
|
+
* <li>
|
|
4283
|
+
* <p>Applicability Statement 2 (AS2)</p>
|
|
4284
|
+
* </li>
|
|
4226
4285
|
* </ul>
|
|
4227
4286
|
*/
|
|
4228
4287
|
ServerProtocol?: Protocol | string;
|
|
4229
4288
|
/**
|
|
4230
|
-
* <p>The source IP address of the
|
|
4289
|
+
* <p>The source IP address of the account to be tested.</p>
|
|
4231
4290
|
*/
|
|
4232
4291
|
SourceIp?: string;
|
|
4233
4292
|
/**
|
|
4234
|
-
* <p>The name of the
|
|
4293
|
+
* <p>The name of the account to be tested.</p>
|
|
4235
4294
|
*/
|
|
4236
4295
|
UserName: string | undefined;
|
|
4237
4296
|
/**
|
|
4238
|
-
* <p>The password of the
|
|
4297
|
+
* <p>The password of the account to be tested.</p>
|
|
4239
4298
|
*/
|
|
4240
4299
|
UserPassword?: string;
|
|
4241
4300
|
}
|
|
@@ -4244,11 +4303,11 @@ export interface TestIdentityProviderRequest {
|
|
|
4244
4303
|
*/
|
|
4245
4304
|
export interface TestIdentityProviderResponse {
|
|
4246
4305
|
/**
|
|
4247
|
-
* <p>The response that is returned from your API Gateway.</p>
|
|
4306
|
+
* <p>The response that is returned from your API Gateway or your Lambda function.</p>
|
|
4248
4307
|
*/
|
|
4249
4308
|
Response?: string;
|
|
4250
4309
|
/**
|
|
4251
|
-
* <p>The HTTP status code that is the response from your API Gateway.</p>
|
|
4310
|
+
* <p>The HTTP status code that is the response from your API Gateway or your Lambda function.</p>
|
|
4252
4311
|
*/
|
|
4253
4312
|
StatusCode: number | undefined;
|
|
4254
4313
|
/**
|
|
@@ -4773,15 +4832,15 @@ export interface UpdateServerRequest {
|
|
|
4773
4832
|
*/
|
|
4774
4833
|
SecurityPolicyName?: string;
|
|
4775
4834
|
/**
|
|
4776
|
-
* <p>A system-assigned unique identifier for a server instance that the user
|
|
4835
|
+
* <p>A system-assigned unique identifier for a server instance that the Transfer Family user is
|
|
4777
4836
|
* assigned to.</p>
|
|
4778
4837
|
*/
|
|
4779
4838
|
ServerId: string | undefined;
|
|
4780
4839
|
/**
|
|
4781
4840
|
* <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
|
|
4782
4841
|
* <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a
|
|
4783
|
-
* workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when
|
|
4784
|
-
* the
|
|
4842
|
+
* workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when the server session disconnects
|
|
4843
|
+
* while the file is still being uploaded.</p>
|
|
4785
4844
|
* <p>To remove an associated workflow from a server, you can provide an empty <code>OnUpload</code> object, as in the following example.</p>
|
|
4786
4845
|
* <p>
|
|
4787
4846
|
* <code>aws transfer update-server --server-id s-01234567890abcdef --workflow-details '\{"OnUpload":[]\}'</code>
|
|
@@ -4794,7 +4853,7 @@ export interface UpdateServerRequest {
|
|
|
4794
4853
|
*/
|
|
4795
4854
|
export interface UpdateServerResponse {
|
|
4796
4855
|
/**
|
|
4797
|
-
* <p>A system-assigned unique identifier for a server that the user
|
|
4856
|
+
* <p>A system-assigned unique identifier for a server that the Transfer Family user is assigned
|
|
4798
4857
|
* to.</p>
|
|
4799
4858
|
*/
|
|
4800
4859
|
ServerId: string | undefined;
|
|
@@ -4870,7 +4929,7 @@ export interface UpdateUserRequest {
|
|
|
4870
4929
|
*/
|
|
4871
4930
|
Role?: string;
|
|
4872
4931
|
/**
|
|
4873
|
-
* <p>A system-assigned unique identifier for a server instance that the user
|
|
4932
|
+
* <p>A system-assigned unique identifier for a Transfer Family server instance that the user is
|
|
4874
4933
|
* assigned to.</p>
|
|
4875
4934
|
*/
|
|
4876
4935
|
ServerId: string | undefined;
|
|
@@ -4891,7 +4950,7 @@ export interface UpdateUserRequest {
|
|
|
4891
4950
|
*/
|
|
4892
4951
|
export interface UpdateUserResponse {
|
|
4893
4952
|
/**
|
|
4894
|
-
* <p>A system-assigned unique identifier for a server instance that the
|
|
4953
|
+
* <p>A system-assigned unique identifier for a Transfer Family server instance that the account is
|
|
4895
4954
|
* assigned to.</p>
|
|
4896
4955
|
*/
|
|
4897
4956
|
ServerId: string | undefined;
|
|
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
28
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
-
Region
|
|
29
|
+
Region?: string;
|
|
30
30
|
UseDualStack?: boolean;
|
|
31
31
|
UseFIPS?: boolean;
|
|
32
32
|
Endpoint?: string;
|
|
@@ -252,11 +252,20 @@ export declare const EndpointType: {
|
|
|
252
252
|
readonly VPC_ENDPOINT: "VPC_ENDPOINT";
|
|
253
253
|
};
|
|
254
254
|
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
255
|
+
export declare const SftpAuthenticationMethods: {
|
|
256
|
+
readonly PASSWORD: "PASSWORD";
|
|
257
|
+
readonly PUBLIC_KEY: "PUBLIC_KEY";
|
|
258
|
+
readonly PUBLIC_KEY_AND_PASSWORD: "PUBLIC_KEY_AND_PASSWORD";
|
|
259
|
+
readonly PUBLIC_KEY_OR_PASSWORD: "PUBLIC_KEY_OR_PASSWORD";
|
|
260
|
+
};
|
|
261
|
+
export type SftpAuthenticationMethods =
|
|
262
|
+
(typeof SftpAuthenticationMethods)[keyof typeof SftpAuthenticationMethods];
|
|
255
263
|
export interface IdentityProviderDetails {
|
|
256
264
|
Url?: string;
|
|
257
265
|
InvocationRole?: string;
|
|
258
266
|
DirectoryId?: string;
|
|
259
267
|
Function?: string;
|
|
268
|
+
SftpAuthenticationMethods?: SftpAuthenticationMethods | string;
|
|
260
269
|
}
|
|
261
270
|
export declare const IdentityProviderType: {
|
|
262
271
|
readonly API_GATEWAY: "API_GATEWAY";
|
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.333.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.332.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.332.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.329.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.329.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.329.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.329.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.329.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.329.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.329.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.329.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.329.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.332.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.329.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.329.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|