@aws-sdk/client-transfer 3.87.0 → 3.94.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.94.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.93.0...v3.94.0) (2022-05-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-transfer:** AWS Transfer Family now supports SetStat server configuration option, which provides the ability to ignore SetStat command issued by file transfer clients, enabling customers to upload files without any errors. ([59da2d5](https://github.com/aws/aws-sdk-js-v3/commit/59da2d5599801b2f38b2deded19d526c20218680))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.92.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.91.0...v3.92.0) (2022-05-16)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-transfer
20
+
21
+
22
+
23
+
24
+
25
+ # [3.90.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.89.0...v3.90.0) (2022-05-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-transfer
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-transfer
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeAccessResponse = exports.DescribedAccess = exports.DescribeAccessRequest = exports.DeleteWorkflowRequest = exports.DeleteUserRequest = exports.DeleteSshPublicKeyRequest = exports.DeleteServerRequest = exports.DeleteAccessRequest = exports.CustomStepStatus = exports.CreateWorkflowResponse = exports.CreateWorkflowRequest = exports.WorkflowStep = exports.WorkflowStepType = exports.TagStepDetails = exports.S3Tag = exports.DeleteStepDetails = exports.CustomStepDetails = exports.CreateUserResponse = exports.CreateUserRequest = exports.ThrottlingException = exports.CreateServerResponse = exports.CreateServerRequest = exports.WorkflowDetails = exports.WorkflowDetail = exports.Tag = exports.Protocol = exports.ProtocolDetails = exports.TlsSessionResumptionMode = exports.IdentityProviderType = exports.IdentityProviderDetails = exports.EndpointType = exports.EndpointDetails = exports.Domain = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.ResourceExistsException = exports.InvalidRequestException = exports.InternalServiceError = exports.CreateAccessResponse = exports.CreateAccessRequest = exports.PosixProfile = exports.HomeDirectoryType = exports.HomeDirectoryMapEntry = exports.CopyStepDetails = exports.OverwriteExisting = exports.InputFileLocation = exports.S3InputFileLocation = exports.EfsFileLocation = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- exports.SendWorkflowStepStateRequest = exports.ListWorkflowsResponse = exports.ListWorkflowsRequest = exports.ListUsersResponse = exports.ListUsersRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServersResponse = exports.ListServersRequest = exports.ListSecurityPoliciesResponse = exports.ListSecurityPoliciesRequest = exports.ListExecutionsResponse = exports.ListExecutionsRequest = exports.ListedWorkflow = exports.ListedUser = exports.ListedServer = exports.ListedExecution = exports.ListAccessesResponse = exports.ListedAccess = exports.ListAccessesRequest = exports.InvalidNextTokenException = exports.ImportSshPublicKeyResponse = exports.ImportSshPublicKeyRequest = exports.DescribeWorkflowResponse = exports.DescribeWorkflowRequest = exports.DescribeUserResponse = exports.DescribeUserRequest = exports.DescribeServerResponse = exports.DescribeServerRequest = exports.DescribeSecurityPolicyResponse = exports.DescribeSecurityPolicyRequest = exports.DescribeExecutionResponse = exports.DescribeExecutionRequest = exports.DescribedWorkflow = exports.DescribedUser = exports.SshPublicKey = exports.DescribedServer = exports.State = exports.DescribedSecurityPolicy = exports.DescribedExecution = exports.ExecutionStatus = exports.ServiceMetadata = exports.UserDetails = exports.ExecutionResults = exports.ExecutionStepResult = exports.ExecutionError = exports.ExecutionErrorType = exports.LoggingConfiguration = exports.FileLocation = exports.S3FileLocation = void 0;
5
- exports.UpdateUserResponse = exports.UpdateUserRequest = exports.UpdateServerResponse = exports.UpdateServerRequest = exports.UpdateAccessResponse = exports.UpdateAccessRequest = exports.UntagResourceRequest = exports.TestIdentityProviderResponse = exports.TestIdentityProviderRequest = exports.TagResourceRequest = exports.StopServerRequest = exports.StartServerRequest = exports.SendWorkflowStepStateResponse = void 0;
3
+ exports.DescribedAccess = exports.DescribeAccessRequest = exports.DeleteWorkflowRequest = exports.DeleteUserRequest = exports.DeleteSshPublicKeyRequest = exports.DeleteServerRequest = exports.DeleteAccessRequest = exports.CustomStepStatus = exports.CreateWorkflowResponse = exports.CreateWorkflowRequest = exports.WorkflowStep = exports.WorkflowStepType = exports.TagStepDetails = exports.S3Tag = exports.DeleteStepDetails = exports.CustomStepDetails = exports.CreateUserResponse = exports.CreateUserRequest = exports.ThrottlingException = exports.CreateServerResponse = exports.CreateServerRequest = exports.WorkflowDetails = exports.WorkflowDetail = exports.Tag = exports.Protocol = exports.ProtocolDetails = exports.TlsSessionResumptionMode = exports.SetStatOption = exports.IdentityProviderType = exports.IdentityProviderDetails = exports.EndpointType = exports.EndpointDetails = exports.Domain = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.ResourceExistsException = exports.InvalidRequestException = exports.InternalServiceError = exports.CreateAccessResponse = exports.CreateAccessRequest = exports.PosixProfile = exports.HomeDirectoryType = exports.HomeDirectoryMapEntry = exports.CopyStepDetails = exports.OverwriteExisting = exports.InputFileLocation = exports.S3InputFileLocation = exports.EfsFileLocation = exports.ConflictException = exports.AccessDeniedException = void 0;
4
+ exports.ListWorkflowsResponse = exports.ListWorkflowsRequest = exports.ListUsersResponse = exports.ListUsersRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServersResponse = exports.ListServersRequest = exports.ListSecurityPoliciesResponse = exports.ListSecurityPoliciesRequest = exports.ListExecutionsResponse = exports.ListExecutionsRequest = exports.ListedWorkflow = exports.ListedUser = exports.ListedServer = exports.ListedExecution = exports.ListAccessesResponse = exports.ListedAccess = exports.ListAccessesRequest = exports.InvalidNextTokenException = exports.ImportSshPublicKeyResponse = exports.ImportSshPublicKeyRequest = exports.DescribeWorkflowResponse = exports.DescribeWorkflowRequest = exports.DescribeUserResponse = exports.DescribeUserRequest = exports.DescribeServerResponse = exports.DescribeServerRequest = exports.DescribeSecurityPolicyResponse = exports.DescribeSecurityPolicyRequest = exports.DescribeExecutionResponse = exports.DescribeExecutionRequest = exports.DescribedWorkflow = exports.DescribedUser = exports.SshPublicKey = exports.DescribedServer = exports.State = exports.DescribedSecurityPolicy = exports.DescribedExecution = exports.ExecutionStatus = exports.ServiceMetadata = exports.UserDetails = exports.ExecutionResults = exports.ExecutionStepResult = exports.ExecutionError = exports.ExecutionErrorType = exports.LoggingConfiguration = exports.FileLocation = exports.S3FileLocation = exports.DescribeAccessResponse = void 0;
5
+ exports.UpdateUserResponse = exports.UpdateUserRequest = exports.UpdateServerResponse = exports.UpdateServerRequest = exports.UpdateAccessResponse = exports.UpdateAccessRequest = exports.UntagResourceRequest = exports.TestIdentityProviderResponse = exports.TestIdentityProviderRequest = exports.TagResourceRequest = exports.StopServerRequest = exports.StartServerRequest = exports.SendWorkflowStepStateResponse = exports.SendWorkflowStepStateRequest = void 0;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const TransferServiceException_1 = require("./TransferServiceException");
8
8
  class AccessDeniedException extends TransferServiceException_1.TransferServiceException {
@@ -195,6 +195,11 @@ var IdentityProviderType;
195
195
  IdentityProviderType["AWS_LAMBDA"] = "AWS_LAMBDA";
196
196
  IdentityProviderType["SERVICE_MANAGED"] = "SERVICE_MANAGED";
197
197
  })(IdentityProviderType = exports.IdentityProviderType || (exports.IdentityProviderType = {}));
198
+ var SetStatOption;
199
+ (function (SetStatOption) {
200
+ SetStatOption["DEFAULT"] = "DEFAULT";
201
+ SetStatOption["ENABLE_NO_OP"] = "ENABLE_NO_OP";
202
+ })(SetStatOption = exports.SetStatOption || (exports.SetStatOption = {}));
198
203
  var TlsSessionResumptionMode;
199
204
  (function (TlsSessionResumptionMode) {
200
205
  TlsSessionResumptionMode["DISABLED"] = "DISABLED";
@@ -2224,6 +2224,7 @@ const serializeAws_json1_1PosixProfile = (input, context) => {
2224
2224
  const serializeAws_json1_1ProtocolDetails = (input, context) => {
2225
2225
  return {
2226
2226
  ...(input.PassiveIp !== undefined && input.PassiveIp !== null && { PassiveIp: input.PassiveIp }),
2227
+ ...(input.SetStatOption !== undefined && input.SetStatOption !== null && { SetStatOption: input.SetStatOption }),
2227
2228
  ...(input.TlsSessionResumptionMode !== undefined &&
2228
2229
  input.TlsSessionResumptionMode !== null && { TlsSessionResumptionMode: input.TlsSessionResumptionMode }),
2229
2230
  };
@@ -3028,6 +3029,7 @@ const deserializeAws_json1_1PosixProfile = (output, context) => {
3028
3029
  const deserializeAws_json1_1ProtocolDetails = (output, context) => {
3029
3030
  return {
3030
3031
  PassiveIp: (0, smithy_client_1.expectString)(output.PassiveIp),
3032
+ SetStatOption: (0, smithy_client_1.expectString)(output.SetStatOption),
3031
3033
  TlsSessionResumptionMode: (0, smithy_client_1.expectString)(output.TlsSessionResumptionMode),
3032
3034
  };
3033
3035
  };
@@ -164,6 +164,11 @@ export var IdentityProviderType;
164
164
  IdentityProviderType["AWS_LAMBDA"] = "AWS_LAMBDA";
165
165
  IdentityProviderType["SERVICE_MANAGED"] = "SERVICE_MANAGED";
166
166
  })(IdentityProviderType || (IdentityProviderType = {}));
167
+ export var SetStatOption;
168
+ (function (SetStatOption) {
169
+ SetStatOption["DEFAULT"] = "DEFAULT";
170
+ SetStatOption["ENABLE_NO_OP"] = "ENABLE_NO_OP";
171
+ })(SetStatOption || (SetStatOption = {}));
167
172
  export var TlsSessionResumptionMode;
168
173
  (function (TlsSessionResumptionMode) {
169
174
  TlsSessionResumptionMode["DISABLED"] = "DISABLED";
@@ -2711,7 +2711,7 @@ var serializeAws_json1_1PosixProfile = function (input, context) {
2711
2711
  })), (input.Uid !== undefined && input.Uid !== null && { Uid: input.Uid }));
2712
2712
  };
2713
2713
  var serializeAws_json1_1ProtocolDetails = function (input, context) {
2714
- return __assign(__assign({}, (input.PassiveIp !== undefined && input.PassiveIp !== null && { PassiveIp: input.PassiveIp })), (input.TlsSessionResumptionMode !== undefined &&
2714
+ return __assign(__assign(__assign({}, (input.PassiveIp !== undefined && input.PassiveIp !== null && { PassiveIp: input.PassiveIp })), (input.SetStatOption !== undefined && input.SetStatOption !== null && { SetStatOption: input.SetStatOption })), (input.TlsSessionResumptionMode !== undefined &&
2715
2715
  input.TlsSessionResumptionMode !== null && { TlsSessionResumptionMode: input.TlsSessionResumptionMode }));
2716
2716
  };
2717
2717
  var serializeAws_json1_1Protocols = function (input, context) {
@@ -3437,6 +3437,7 @@ var deserializeAws_json1_1PosixProfile = function (output, context) {
3437
3437
  var deserializeAws_json1_1ProtocolDetails = function (output, context) {
3438
3438
  return {
3439
3439
  PassiveIp: __expectString(output.PassiveIp),
3440
+ SetStatOption: __expectString(output.SetStatOption),
3440
3441
  TlsSessionResumptionMode: __expectString(output.TlsSessionResumptionMode),
3441
3442
  };
3442
3443
  };
@@ -500,6 +500,10 @@ export declare enum IdentityProviderType {
500
500
  AWS_LAMBDA = "AWS_LAMBDA",
501
501
  SERVICE_MANAGED = "SERVICE_MANAGED"
502
502
  }
503
+ export declare enum SetStatOption {
504
+ DEFAULT = "DEFAULT",
505
+ ENABLE_NO_OP = "ENABLE_NO_OP"
506
+ }
503
507
  export declare enum TlsSessionResumptionMode {
504
508
  DISABLED = "DISABLED",
505
509
  ENABLED = "ENABLED",
@@ -562,6 +566,19 @@ export interface ProtocolDetails {
562
566
  * </ul>
563
567
  */
564
568
  TlsSessionResumptionMode?: TlsSessionResumptionMode | string;
569
+ /**
570
+ * <p>Use the <code>SetStatOption</code> to ignore the error that is generated when the client attempts to use SETSTAT on a file you are uploading to an S3 bucket.</p>
571
+ * <p>Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file.
572
+ * However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when
573
+ * the file is otherwise successfully uploaded.</p>
574
+ * <p>Set the value to <code>ENABLE_NO_OP</code> to have the Transfer Family server ignore the SETSTAT command, and upload files without needing to make any changes to your SFTP client.
575
+ * While the <code>SetStatOption</code>
576
+ * <code>ENABLE_NO_OP</code> setting ignores the error, it does generate a log entry in CloudWatch Logs, so you can determine when the client is making a SETSTAT call.</p>
577
+ * <note>
578
+ * <p>If you want to preserve the original timestamp for your file, and modify other file attributes using SETSTAT, you can use Amazon EFS as backend storage with Transfer Family.</p>
579
+ * </note>
580
+ */
581
+ SetStatOption?: SetStatOption | string;
565
582
  }
566
583
  export declare namespace ProtocolDetails {
567
584
  /**
@@ -822,12 +839,24 @@ export interface CreateServerRequest {
822
839
  Protocols?: (Protocol | string)[];
823
840
  /**
824
841
  * <p>The protocol settings that are configured for your server.</p>
825
- * <p>
826
- * Use the <code>PassiveIp</code> parameter to indicate passive mode (for FTP and FTPS protocols).
827
- * Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
828
- * </p>
829
- * <p>Use the <code>TlsSessionResumptionMode</code> parameter to determine whether or not your Transfer server
830
- * resumes recent, negotiated sessions through a unique session ID.</p>
842
+ * <ul>
843
+ * <li>
844
+ * <p>
845
+ * Use the <code>PassiveIp</code> parameter to indicate passive mode (for FTP and FTPS protocols).
846
+ * Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
847
+ * </p>
848
+ * </li>
849
+ * <li>
850
+ * <p>Use the <code>SetStatOption</code> to ignore the error that is generated when the client attempts to use SETSTAT on a file you are uploading to an S3 bucket.
851
+ * Set the value to <code>ENABLE_NO_OP</code> to have the Transfer Family server ignore the SETSTAT command, and upload files without needing to make any changes to your SFTP client.
852
+ * Note that with <code>SetStatOption</code> set to <code>ENABLE_NO_OP</code>, Transfer generates a log entry to CloudWatch Logs, so you can determine when the client
853
+ * is making a SETSTAT call.</p>
854
+ * </li>
855
+ * <li>
856
+ * <p>Use the <code>TlsSessionResumptionMode</code> parameter to determine whether or not your Transfer server
857
+ * resumes recent, negotiated sessions through a unique session ID.</p>
858
+ * </li>
859
+ * </ul>
831
860
  */
832
861
  ProtocolDetails?: ProtocolDetails;
833
862
  /**
@@ -3202,15 +3231,25 @@ export interface UpdateServerRequest {
3202
3231
  */
3203
3232
  Certificate?: string;
3204
3233
  /**
3205
- * <p>
3206
- * The protocol settings that are configured for your server.
3207
- * </p>
3208
- * <p>
3209
- * Use the <code>PassiveIp</code> parameter to indicate passive mode (for FTP and FTPS protocols).
3210
- * Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
3211
- * </p>
3212
- * <p>Use the <code>TlsSessionResumptionMode</code> parameter to determine whether or not your Transfer server
3213
- * resumes recent, negotiated sessions through a unique session ID.</p>
3234
+ * <p>The protocol settings that are configured for your server.</p>
3235
+ * <ul>
3236
+ * <li>
3237
+ * <p>
3238
+ * Use the <code>PassiveIp</code> parameter to indicate passive mode (for FTP and FTPS protocols).
3239
+ * Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
3240
+ * </p>
3241
+ * </li>
3242
+ * <li>
3243
+ * <p>Use the <code>SetStatOption</code> to ignore the error that is generated when the client attempts to use SETSTAT on a file you are uploading to an S3 bucket.
3244
+ * Set the value to <code>ENABLE_NO_OP</code> to have the Transfer Family server ignore the SETSTAT command, and upload files without needing to make any changes to your SFTP client.
3245
+ * Note that with <code>SetStatOption</code> set to <code>ENABLE_NO_OP</code>, Transfer generates a log entry to CloudWatch Logs, so you can determine when the client
3246
+ * is making a SETSTAT call.</p>
3247
+ * </li>
3248
+ * <li>
3249
+ * <p>Use the <code>TlsSessionResumptionMode</code> parameter to determine whether or not your Transfer server
3250
+ * resumes recent, negotiated sessions through a unique session ID.</p>
3251
+ * </li>
3252
+ * </ul>
3214
3253
  */
3215
3254
  ProtocolDetails?: ProtocolDetails;
3216
3255
  /**
@@ -219,6 +219,10 @@ export declare enum IdentityProviderType {
219
219
  AWS_LAMBDA = "AWS_LAMBDA",
220
220
  SERVICE_MANAGED = "SERVICE_MANAGED"
221
221
  }
222
+ export declare enum SetStatOption {
223
+ DEFAULT = "DEFAULT",
224
+ ENABLE_NO_OP = "ENABLE_NO_OP"
225
+ }
222
226
  export declare enum TlsSessionResumptionMode {
223
227
  DISABLED = "DISABLED",
224
228
  ENABLED = "ENABLED",
@@ -230,6 +234,8 @@ export interface ProtocolDetails {
230
234
  PassiveIp?: string;
231
235
 
232
236
  TlsSessionResumptionMode?: TlsSessionResumptionMode | string;
237
+
238
+ SetStatOption?: SetStatOption | string;
233
239
  }
234
240
  export declare namespace ProtocolDetails {
235
241
 
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.87.0",
4
+ "version": "3.94.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.87.0",
21
+ "@aws-sdk/client-sts": "3.94.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.87.0",
23
+ "@aws-sdk/credential-provider-node": "3.94.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
@@ -33,7 +33,7 @@
33
33
  "@aws-sdk/middleware-stack": "3.78.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.78.0",
35
35
  "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.82.0",
36
+ "@aws-sdk/node-http-handler": "3.94.0",
37
37
  "@aws-sdk/protocol-http": "3.78.0",
38
38
  "@aws-sdk/smithy-client": "3.85.0",
39
39
  "@aws-sdk/types": "3.78.0",