@aws-sdk/client-transfer 3.43.0 → 3.45.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,17 @@
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.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-transfer
@@ -99,6 +99,7 @@ const partitionHash = {
99
99
  "ap-south-1",
100
100
  "ap-southeast-1",
101
101
  "ap-southeast-2",
102
+ "ap-southeast-3",
102
103
  "ca-central-1",
103
104
  "eu-central-1",
104
105
  "eu-north-1",
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FileLocation = exports.S3FileLocation = 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.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.SendWorkflowStepStateResponse = 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.ProtocolDetails = exports.DescribedSecurityPolicy = exports.DescribedExecution = exports.ExecutionStatus = exports.ServiceMetadata = exports.UserDetails = exports.ExecutionResults = exports.ExecutionStepResult = exports.ExecutionError = exports.ExecutionErrorType = exports.LoggingConfiguration = 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 = void 0;
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;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  var AccessDeniedException;
8
8
  (function (AccessDeniedException) {
@@ -134,6 +134,18 @@ var IdentityProviderType;
134
134
  IdentityProviderType["AWS_LAMBDA"] = "AWS_LAMBDA";
135
135
  IdentityProviderType["SERVICE_MANAGED"] = "SERVICE_MANAGED";
136
136
  })(IdentityProviderType = exports.IdentityProviderType || (exports.IdentityProviderType = {}));
137
+ var TlsSessionResumptionMode;
138
+ (function (TlsSessionResumptionMode) {
139
+ TlsSessionResumptionMode["DISABLED"] = "DISABLED";
140
+ TlsSessionResumptionMode["ENABLED"] = "ENABLED";
141
+ TlsSessionResumptionMode["ENFORCED"] = "ENFORCED";
142
+ })(TlsSessionResumptionMode = exports.TlsSessionResumptionMode || (exports.TlsSessionResumptionMode = {}));
143
+ var ProtocolDetails;
144
+ (function (ProtocolDetails) {
145
+ ProtocolDetails.filterSensitiveLog = (obj) => ({
146
+ ...obj,
147
+ });
148
+ })(ProtocolDetails = exports.ProtocolDetails || (exports.ProtocolDetails = {}));
137
149
  var Protocol;
138
150
  (function (Protocol) {
139
151
  Protocol["FTP"] = "FTP";
@@ -362,12 +374,6 @@ var DescribedSecurityPolicy;
362
374
  ...obj,
363
375
  });
364
376
  })(DescribedSecurityPolicy = exports.DescribedSecurityPolicy || (exports.DescribedSecurityPolicy = {}));
365
- var ProtocolDetails;
366
- (function (ProtocolDetails) {
367
- ProtocolDetails.filterSensitiveLog = (obj) => ({
368
- ...obj,
369
- });
370
- })(ProtocolDetails = exports.ProtocolDetails || (exports.ProtocolDetails = {}));
371
377
  var State;
372
378
  (function (State) {
373
379
  State["OFFLINE"] = "OFFLINE";
@@ -2923,6 +2923,10 @@ const serializeAws_json1_1CreateServerRequest = (input, context) => {
2923
2923
  ...(input.IdentityProviderType !== undefined &&
2924
2924
  input.IdentityProviderType !== null && { IdentityProviderType: input.IdentityProviderType }),
2925
2925
  ...(input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole }),
2926
+ ...(input.ProtocolDetails !== undefined &&
2927
+ input.ProtocolDetails !== null && {
2928
+ ProtocolDetails: serializeAws_json1_1ProtocolDetails(input.ProtocolDetails, context),
2929
+ }),
2926
2930
  ...(input.Protocols !== undefined &&
2927
2931
  input.Protocols !== null && { Protocols: serializeAws_json1_1Protocols(input.Protocols, context) }),
2928
2932
  ...(input.SecurityPolicyName !== undefined &&
@@ -3179,6 +3183,8 @@ const serializeAws_json1_1PosixProfile = (input, context) => {
3179
3183
  const serializeAws_json1_1ProtocolDetails = (input, context) => {
3180
3184
  return {
3181
3185
  ...(input.PassiveIp !== undefined && input.PassiveIp !== null && { PassiveIp: input.PassiveIp }),
3186
+ ...(input.TlsSessionResumptionMode !== undefined &&
3187
+ input.TlsSessionResumptionMode !== null && { TlsSessionResumptionMode: input.TlsSessionResumptionMode }),
3182
3188
  };
3183
3189
  };
3184
3190
  const serializeAws_json1_1Protocols = (input, context) => {
@@ -3957,6 +3963,7 @@ const deserializeAws_json1_1PosixProfile = (output, context) => {
3957
3963
  const deserializeAws_json1_1ProtocolDetails = (output, context) => {
3958
3964
  return {
3959
3965
  PassiveIp: smithy_client_1.expectString(output.PassiveIp),
3966
+ TlsSessionResumptionMode: smithy_client_1.expectString(output.TlsSessionResumptionMode),
3960
3967
  };
3961
3968
  };
3962
3969
  const deserializeAws_json1_1Protocols = (output, context) => {
@@ -97,6 +97,7 @@ var partitionHash = {
97
97
  "ap-south-1",
98
98
  "ap-southeast-1",
99
99
  "ap-southeast-2",
100
+ "ap-southeast-3",
100
101
  "ca-central-1",
101
102
  "eu-central-1",
102
103
  "eu-north-1",
@@ -96,6 +96,16 @@ export var IdentityProviderType;
96
96
  IdentityProviderType["AWS_LAMBDA"] = "AWS_LAMBDA";
97
97
  IdentityProviderType["SERVICE_MANAGED"] = "SERVICE_MANAGED";
98
98
  })(IdentityProviderType || (IdentityProviderType = {}));
99
+ export var TlsSessionResumptionMode;
100
+ (function (TlsSessionResumptionMode) {
101
+ TlsSessionResumptionMode["DISABLED"] = "DISABLED";
102
+ TlsSessionResumptionMode["ENABLED"] = "ENABLED";
103
+ TlsSessionResumptionMode["ENFORCED"] = "ENFORCED";
104
+ })(TlsSessionResumptionMode || (TlsSessionResumptionMode = {}));
105
+ export var ProtocolDetails;
106
+ (function (ProtocolDetails) {
107
+ ProtocolDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
108
+ })(ProtocolDetails || (ProtocolDetails = {}));
99
109
  export var Protocol;
100
110
  (function (Protocol) {
101
111
  Protocol["FTP"] = "FTP";
@@ -257,10 +267,6 @@ export var DescribedSecurityPolicy;
257
267
  (function (DescribedSecurityPolicy) {
258
268
  DescribedSecurityPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
259
269
  })(DescribedSecurityPolicy || (DescribedSecurityPolicy = {}));
260
- export var ProtocolDetails;
261
- (function (ProtocolDetails) {
262
- ProtocolDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
263
- })(ProtocolDetails || (ProtocolDetails = {}));
264
270
  export var State;
265
271
  (function (State) {
266
272
  State["OFFLINE"] = "OFFLINE";
@@ -3220,14 +3220,17 @@ var serializeAws_json1_1CreateAccessRequest = function (input, context) {
3220
3220
  input.PosixProfile !== null && { PosixProfile: serializeAws_json1_1PosixProfile(input.PosixProfile, context) })), (input.Role !== undefined && input.Role !== null && { Role: input.Role })), (input.ServerId !== undefined && input.ServerId !== null && { ServerId: input.ServerId }));
3221
3221
  };
3222
3222
  var serializeAws_json1_1CreateServerRequest = function (input, context) {
3223
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate !== undefined && input.Certificate !== null && { Certificate: input.Certificate })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.EndpointDetails !== undefined &&
3223
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Certificate !== undefined && input.Certificate !== null && { Certificate: input.Certificate })), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.EndpointDetails !== undefined &&
3224
3224
  input.EndpointDetails !== null && {
3225
3225
  EndpointDetails: serializeAws_json1_1EndpointDetails(input.EndpointDetails, context),
3226
3226
  })), (input.EndpointType !== undefined && input.EndpointType !== null && { EndpointType: input.EndpointType })), (input.HostKey !== undefined && input.HostKey !== null && { HostKey: input.HostKey })), (input.IdentityProviderDetails !== undefined &&
3227
3227
  input.IdentityProviderDetails !== null && {
3228
3228
  IdentityProviderDetails: serializeAws_json1_1IdentityProviderDetails(input.IdentityProviderDetails, context),
3229
3229
  })), (input.IdentityProviderType !== undefined &&
3230
- input.IdentityProviderType !== null && { IdentityProviderType: input.IdentityProviderType })), (input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole })), (input.Protocols !== undefined &&
3230
+ input.IdentityProviderType !== null && { IdentityProviderType: input.IdentityProviderType })), (input.LoggingRole !== undefined && input.LoggingRole !== null && { LoggingRole: input.LoggingRole })), (input.ProtocolDetails !== undefined &&
3231
+ input.ProtocolDetails !== null && {
3232
+ ProtocolDetails: serializeAws_json1_1ProtocolDetails(input.ProtocolDetails, context),
3233
+ })), (input.Protocols !== undefined &&
3231
3234
  input.Protocols !== null && { Protocols: serializeAws_json1_1Protocols(input.Protocols, context) })), (input.SecurityPolicyName !== undefined &&
3232
3235
  input.SecurityPolicyName !== null && { SecurityPolicyName: input.SecurityPolicyName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WorkflowDetails !== undefined &&
3233
3236
  input.WorkflowDetails !== null && {
@@ -3373,7 +3376,8 @@ var serializeAws_json1_1PosixProfile = function (input, context) {
3373
3376
  })), (input.Uid !== undefined && input.Uid !== null && { Uid: input.Uid }));
3374
3377
  };
3375
3378
  var serializeAws_json1_1ProtocolDetails = function (input, context) {
3376
- return __assign({}, (input.PassiveIp !== undefined && input.PassiveIp !== null && { PassiveIp: input.PassiveIp }));
3379
+ return __assign(__assign({}, (input.PassiveIp !== undefined && input.PassiveIp !== null && { PassiveIp: input.PassiveIp })), (input.TlsSessionResumptionMode !== undefined &&
3380
+ input.TlsSessionResumptionMode !== null && { TlsSessionResumptionMode: input.TlsSessionResumptionMode }));
3377
3381
  };
3378
3382
  var serializeAws_json1_1Protocols = function (input, context) {
3379
3383
  return input
@@ -4077,6 +4081,7 @@ var deserializeAws_json1_1PosixProfile = function (output, context) {
4077
4081
  var deserializeAws_json1_1ProtocolDetails = function (output, context) {
4078
4082
  return {
4079
4083
  PassiveIp: __expectString(output.PassiveIp),
4084
+ TlsSessionResumptionMode: __expectString(output.TlsSessionResumptionMode),
4080
4085
  };
4081
4086
  };
4082
4087
  var deserializeAws_json1_1Protocols = function (output, context) {
@@ -494,7 +494,7 @@ export interface IdentityProviderDetails {
494
494
  */
495
495
  InvocationRole?: string;
496
496
  /**
497
- * <p>The identifier of the Amazon Web ServicesDirectory Service directory that you want to stop sharing.</p>
497
+ * <p>The identifier of the Amazon Web Services Directory Service directory that you want to stop sharing.</p>
498
498
  */
499
499
  DirectoryId?: string;
500
500
  /**
@@ -514,6 +514,75 @@ export declare enum IdentityProviderType {
514
514
  AWS_LAMBDA = "AWS_LAMBDA",
515
515
  SERVICE_MANAGED = "SERVICE_MANAGED"
516
516
  }
517
+ export declare enum TlsSessionResumptionMode {
518
+ DISABLED = "DISABLED",
519
+ ENABLED = "ENABLED",
520
+ ENFORCED = "ENFORCED"
521
+ }
522
+ /**
523
+ * <p>
524
+ * The protocol settings that are configured for your server.
525
+ * </p>
526
+ */
527
+ export interface ProtocolDetails {
528
+ /**
529
+ * <p>
530
+ * Indicates passive mode, for FTP and FTPS protocols.
531
+ * Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
532
+ * For example:
533
+ * </p>
534
+ * <p>
535
+ * <code>
536
+ * aws transfer update-server --protocol-details PassiveIp=<i>0.0.0.0</i>
537
+ * </code>
538
+ * </p>
539
+ * <p>Replace <code>
540
+ * <i>0.0.0.0</i>
541
+ * </code> in the example above with the actual IP address you want to use.</p>
542
+ * <note>
543
+ * <p>
544
+ * If you change the <code>PassiveIp</code> value, you must stop and then restart your Transfer server for the change to take effect. For details on using Passive IP (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 Amazon Web Services Transfer Family</a>.
545
+ * </p>
546
+ * </note>
547
+ */
548
+ PassiveIp?: string;
549
+ /**
550
+ * <p>A property used with Transfer servers that use the FTPS protocol. TLS Session Resumption provides a mechanism to resume or share a negotiated secret
551
+ * key between the control and data connection for an FTPS session. <code>TlsSessionResumptionMode</code> determines whether or not the server resumes recent,
552
+ * negotiated sessions through a unique session ID. This property is available during <code>CreateServer</code> and <code>UpdateServer</code> calls.
553
+ * If a <code>TlsSessionResumptionMode</code> value is not specified during CreateServer, it is set to <code>ENFORCED</code> by default.</p>
554
+ * <ul>
555
+ * <li>
556
+ * <p>
557
+ * <code>DISABLED</code>: the server does not process TLS session resumption client requests and creates a new TLS session for each request. </p>
558
+ * </li>
559
+ * <li>
560
+ * <p>
561
+ * <code>ENABLED</code>: the server processes and accepts clients that are performing TLS session resumption.
562
+ * The server doesn't reject client data connections that do not perform the TLS session resumption client processing.</p>
563
+ * </li>
564
+ * <li>
565
+ * <p>
566
+ * <code>ENFORCED</code>: the server processes and accepts clients that are performing TLS session resumption.
567
+ * The server rejects client data connections that do not perform the TLS session resumption client processing.
568
+ * Before you set the value to <code>ENFORCED</code>, test your clients.</p>
569
+ * <note>
570
+ * <p>Not all FTPS clients perform TLS session resumption. So, if you choose to enforce
571
+ * TLS session resumption, you prevent any connections from FTPS clients that don't perform
572
+ * the protocol negotiation. To determine whether or not you can use the
573
+ * <code>ENFORCED</code> value, you need to test your clients.</p>
574
+ * </note>
575
+ * </li>
576
+ * </ul>
577
+ */
578
+ TlsSessionResumptionMode?: TlsSessionResumptionMode | string;
579
+ }
580
+ export declare namespace ProtocolDetails {
581
+ /**
582
+ * @internal
583
+ */
584
+ const filterSensitiveLog: (obj: ProtocolDetails) => any;
585
+ }
517
586
  export declare enum Protocol {
518
587
  FTP = "FTP",
519
588
  FTPS = "FTPS",
@@ -695,7 +764,7 @@ export interface CreateServerRequest {
695
764
  * <p>Use the <code>API_GATEWAY</code> value to integrate with an identity provider of your choosing. The
696
765
  * <code>API_GATEWAY</code> setting requires you to provide an API Gateway endpoint URL to call
697
766
  * for authentication using the <code>IdentityProviderDetails</code> parameter.</p>
698
- * <p>Use the <code>LAMBDA</code> value to directly use a Lambda function as your identity provider. If you choose this value,
767
+ * <p>Use the <code>AWS_LAMBDA</code> value to directly use a Lambda function as your identity provider. If you choose this value,
699
768
  * you must specify the ARN for the lambda function in the <code>Function</code> parameter for the <code>IdentityProviderDetails</code> data type.</p>
700
769
  */
701
770
  IdentityProviderType?: IdentityProviderType | string;
@@ -744,6 +813,16 @@ export interface CreateServerRequest {
744
813
  * </note>
745
814
  */
746
815
  Protocols?: (Protocol | string)[];
816
+ /**
817
+ * <p>The protocol settings that are configured for your server.</p>
818
+ * <p>
819
+ * Use the <code>PassiveIp</code> parameter to indicate passive mode (for FTP and FTPS protocols).
820
+ * Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
821
+ * </p>
822
+ * <p>Use the <code>TlsSessionResumptionMode</code> parameter to determine whether or not your Transfer server
823
+ * resumes recent, negotiated sessions through a unique session ID.</p>
824
+ */
825
+ ProtocolDetails?: ProtocolDetails;
747
826
  /**
748
827
  * <p>Specifies the name of the security policy that is attached to the server.</p>
749
828
  */
@@ -886,6 +965,11 @@ export interface CreateUserRequest {
886
965
  /**
887
966
  * <p>The public portion of the Secure Shell (SSH) key used to authenticate the user to the
888
967
  * server.</p>
968
+ * <note>
969
+ * <p>
970
+ * Currently, Transfer Family does not accept elliptical curve keys (keys beginning with <code>ecdsa</code>).
971
+ * </p>
972
+ * </note>
889
973
  */
890
974
  SshPublicKeyBody?: string;
891
975
  /**
@@ -1648,45 +1732,6 @@ export declare namespace DescribedSecurityPolicy {
1648
1732
  */
1649
1733
  const filterSensitiveLog: (obj: DescribedSecurityPolicy) => any;
1650
1734
  }
1651
- /**
1652
- * <p>
1653
- * The protocol settings that are configured for your server.
1654
- * </p>
1655
- * <note>
1656
- * <p>
1657
- * This type is only valid in the <code>UpdateServer</code> API.
1658
- * </p>
1659
- * </note>
1660
- */
1661
- export interface ProtocolDetails {
1662
- /**
1663
- * <p>
1664
- * Indicates passive mode, for FTP and FTPS protocols.
1665
- * Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
1666
- * For example:
1667
- * </p>
1668
- * <p>
1669
- * <code>
1670
- * aws transfer update-server --protocol-details PassiveIp=<i>0.0.0.0</i>
1671
- * </code>
1672
- * </p>
1673
- * <p>Replace <code>
1674
- * <i>0.0.0.0</i>
1675
- * </code> in the example above with the actual IP address you want to use.</p>
1676
- * <note>
1677
- * <p>
1678
- * If you change the <code>PassiveIp</code> value, you must stop and then restart your Transfer server for the change to take effect. For details on using Passive IP (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 Amazon Web Services Transfer Family</a>.
1679
- * </p>
1680
- * </note>
1681
- */
1682
- PassiveIp?: string;
1683
- }
1684
- export declare namespace ProtocolDetails {
1685
- /**
1686
- * @internal
1687
- */
1688
- const filterSensitiveLog: (obj: ProtocolDetails) => any;
1689
- }
1690
1735
  export declare enum State {
1691
1736
  OFFLINE = "OFFLINE",
1692
1737
  ONLINE = "ONLINE",
@@ -1759,7 +1804,7 @@ export interface DescribedServer {
1759
1804
  * <p>Use the <code>API_GATEWAY</code> value to integrate with an identity provider of your choosing. The
1760
1805
  * <code>API_GATEWAY</code> setting requires you to provide an API Gateway endpoint URL to call
1761
1806
  * for authentication using the <code>IdentityProviderDetails</code> parameter.</p>
1762
- * <p>Use the <code>LAMBDA</code> value to directly use a Lambda function as your identity provider. If you choose this value,
1807
+ * <p>Use the <code>AWS_LAMBDA</code> value to directly use a Lambda function as your identity provider. If you choose this value,
1763
1808
  * you must specify the ARN for the lambda function in the <code>Function</code> parameter for the <code>IdentityProviderDetails</code> data type.</p>
1764
1809
  */
1765
1810
  IdentityProviderType?: IdentityProviderType | string;
@@ -2321,7 +2366,7 @@ export interface ListedServer {
2321
2366
  * <p>Use the <code>API_GATEWAY</code> value to integrate with an identity provider of your choosing. The
2322
2367
  * <code>API_GATEWAY</code> setting requires you to provide an API Gateway endpoint URL to call
2323
2368
  * for authentication using the <code>IdentityProviderDetails</code> parameter.</p>
2324
- * <p>Use the <code>LAMBDA</code> value to directly use a Lambda function as your identity provider. If you choose this value,
2369
+ * <p>Use the <code>AWS_LAMBDA</code> value to directly use a Lambda function as your identity provider. If you choose this value,
2325
2370
  * you must specify the ARN for the lambda function in the <code>Function</code> parameter for the <code>IdentityProviderDetails</code> data type.</p>
2326
2371
  */
2327
2372
  IdentityProviderType?: IdentityProviderType | string;
@@ -3066,6 +3111,8 @@ export interface UpdateServerRequest {
3066
3111
  * Use the <code>PassiveIp</code> parameter to indicate passive mode (for FTP and FTPS protocols).
3067
3112
  * Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.
3068
3113
  * </p>
3114
+ * <p>Use the <code>TlsSessionResumptionMode</code> parameter to determine whether or not your Transfer server
3115
+ * resumes recent, negotiated sessions through a unique session ID.</p>
3069
3116
  */
3070
3117
  ProtocolDetails?: ProtocolDetails;
3071
3118
  /**
@@ -230,6 +230,22 @@ export declare enum IdentityProviderType {
230
230
  AWS_LAMBDA = "AWS_LAMBDA",
231
231
  SERVICE_MANAGED = "SERVICE_MANAGED"
232
232
  }
233
+ export declare enum TlsSessionResumptionMode {
234
+ DISABLED = "DISABLED",
235
+ ENABLED = "ENABLED",
236
+ ENFORCED = "ENFORCED"
237
+ }
238
+
239
+ export interface ProtocolDetails {
240
+
241
+ PassiveIp?: string;
242
+
243
+ TlsSessionResumptionMode?: TlsSessionResumptionMode | string;
244
+ }
245
+ export declare namespace ProtocolDetails {
246
+
247
+ const filterSensitiveLog: (obj: ProtocolDetails) => any;
248
+ }
233
249
  export declare enum Protocol {
234
250
  FTP = "FTP",
235
251
  FTPS = "FTPS",
@@ -286,6 +302,8 @@ export interface CreateServerRequest {
286
302
 
287
303
  Protocols?: (Protocol | string)[];
288
304
 
305
+ ProtocolDetails?: ProtocolDetails;
306
+
289
307
  SecurityPolicyName?: string;
290
308
 
291
309
  Tags?: Tag[];
@@ -677,15 +695,6 @@ export declare namespace DescribedSecurityPolicy {
677
695
 
678
696
  const filterSensitiveLog: (obj: DescribedSecurityPolicy) => any;
679
697
  }
680
-
681
- export interface ProtocolDetails {
682
-
683
- PassiveIp?: string;
684
- }
685
- export declare namespace ProtocolDetails {
686
-
687
- const filterSensitiveLog: (obj: ProtocolDetails) => any;
688
- }
689
698
  export declare enum State {
690
699
  OFFLINE = "OFFLINE",
691
700
  ONLINE = "ONLINE",
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.43.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,7 +32,7 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",