@aws-sdk/client-transfer 3.235.0 → 3.236.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const s = "fn", t = "argv", u = "ref";
5
- const a = false, b = true, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = { [u]: "Endpoint" }, j = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, l = {}, m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsFIPS"] }] }, n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsDualStack"] }] }, o = [i], p = [j], q = [], r = [k];
6
- const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseDualStack: { builtIn: "AWS::UseDualStack", required: b, default: a, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", type: d }, UseFIPS: { builtIn: "AWS::UseFIPS", required: b, default: a, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: d }, Endpoint: { builtIn: "SDK::Endpoint", required: a, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: e }], type: f, rules: [{ conditions: [{ [s]: "isSet", [t]: o }, { [s]: "parseURL", [t]: o, assign: "url" }], type: f, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: q, type: f, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: g }, { conditions: q, endpoint: { url: i, properties: l, headers: l }, type: h }] }] }, { conditions: [j, k], type: f, rules: [{ conditions: [m, n], type: f, rules: [{ conditions: q, endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: q, error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: g }] }, { conditions: p, type: f, rules: [{ conditions: [m], type: f, rules: [{ conditions: q, type: f, rules: [{ conditions: q, endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] }, { conditions: q, error: "FIPS is enabled but this partition does not support FIPS", type: g }] }, { conditions: r, type: f, rules: [{ conditions: [n], type: f, rules: [{ conditions: q, endpoint: { url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: q, error: "DualStack is enabled but this partition does not support DualStack", type: g }] }, { conditions: q, endpoint: { url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] };
4
+ const r = "fn", s = "argv", t = "ref";
5
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EndpointDetailsFilterSensitiveLog = exports.CreateProfileResponseFilterSensitiveLog = exports.CreateProfileRequestFilterSensitiveLog = exports.CreateConnectorResponseFilterSensitiveLog = exports.CreateConnectorRequestFilterSensitiveLog = exports.CreateAgreementResponseFilterSensitiveLog = exports.CreateAgreementRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.CreateAccessResponseFilterSensitiveLog = exports.CreateAccessRequestFilterSensitiveLog = exports.PosixProfileFilterSensitiveLog = exports.HomeDirectoryMapEntryFilterSensitiveLog = exports.CopyStepDetailsFilterSensitiveLog = exports.InputFileLocationFilterSensitiveLog = exports.S3InputFileLocationFilterSensitiveLog = exports.EfsFileLocationFilterSensitiveLog = exports.As2ConnectorConfigFilterSensitiveLog = exports.InvalidNextTokenException = exports.State = exports.ExecutionStatus = exports.ExecutionErrorType = exports.CustomStepStatus = exports.WorkflowStepType = 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;
4
- exports.DescribedServerFilterSensitiveLog = exports.DescribedSecurityPolicyFilterSensitiveLog = exports.DescribedProfileFilterSensitiveLog = exports.DescribedHostKeyFilterSensitiveLog = exports.DescribedExecutionFilterSensitiveLog = exports.ServiceMetadataFilterSensitiveLog = exports.UserDetailsFilterSensitiveLog = exports.ExecutionResultsFilterSensitiveLog = exports.ExecutionStepResultFilterSensitiveLog = exports.ExecutionErrorFilterSensitiveLog = exports.LoggingConfigurationFilterSensitiveLog = exports.FileLocationFilterSensitiveLog = exports.S3FileLocationFilterSensitiveLog = exports.DescribeConnectorResponseFilterSensitiveLog = exports.DescribedConnectorFilterSensitiveLog = exports.DescribeConnectorRequestFilterSensitiveLog = exports.DescribeCertificateResponseFilterSensitiveLog = exports.DescribedCertificateFilterSensitiveLog = exports.DescribeCertificateRequestFilterSensitiveLog = exports.DescribeAgreementResponseFilterSensitiveLog = exports.DescribedAgreementFilterSensitiveLog = exports.DescribeAgreementRequestFilterSensitiveLog = exports.DescribeAccessResponseFilterSensitiveLog = exports.DescribedAccessFilterSensitiveLog = exports.DescribeAccessRequestFilterSensitiveLog = exports.DeleteWorkflowRequestFilterSensitiveLog = exports.DeleteUserRequestFilterSensitiveLog = exports.DeleteSshPublicKeyRequestFilterSensitiveLog = exports.DeleteServerRequestFilterSensitiveLog = exports.DeleteProfileRequestFilterSensitiveLog = exports.DeleteHostKeyRequestFilterSensitiveLog = exports.DeleteConnectorRequestFilterSensitiveLog = exports.DeleteCertificateRequestFilterSensitiveLog = exports.DeleteAgreementRequestFilterSensitiveLog = exports.DeleteAccessRequestFilterSensitiveLog = exports.CreateWorkflowResponseFilterSensitiveLog = exports.CreateWorkflowRequestFilterSensitiveLog = exports.WorkflowStepFilterSensitiveLog = exports.TagStepDetailsFilterSensitiveLog = exports.S3TagFilterSensitiveLog = exports.DeleteStepDetailsFilterSensitiveLog = exports.CustomStepDetailsFilterSensitiveLog = exports.CreateUserResponseFilterSensitiveLog = exports.CreateUserRequestFilterSensitiveLog = exports.CreateServerResponseFilterSensitiveLog = exports.CreateServerRequestFilterSensitiveLog = exports.WorkflowDetailsFilterSensitiveLog = exports.WorkflowDetailFilterSensitiveLog = exports.ProtocolDetailsFilterSensitiveLog = exports.IdentityProviderDetailsFilterSensitiveLog = void 0;
5
- exports.ListServersRequestFilterSensitiveLog = exports.ListSecurityPoliciesResponseFilterSensitiveLog = exports.ListSecurityPoliciesRequestFilterSensitiveLog = exports.ListProfilesResponseFilterSensitiveLog = exports.ListProfilesRequestFilterSensitiveLog = exports.ListHostKeysResponseFilterSensitiveLog = exports.ListHostKeysRequestFilterSensitiveLog = exports.ListExecutionsResponseFilterSensitiveLog = exports.ListExecutionsRequestFilterSensitiveLog = exports.ListedWorkflowFilterSensitiveLog = exports.ListedUserFilterSensitiveLog = exports.ListedServerFilterSensitiveLog = exports.ListedProfileFilterSensitiveLog = exports.ListedHostKeyFilterSensitiveLog = exports.ListedExecutionFilterSensitiveLog = exports.ListConnectorsResponseFilterSensitiveLog = exports.ListedConnectorFilterSensitiveLog = exports.ListConnectorsRequestFilterSensitiveLog = exports.ListCertificatesResponseFilterSensitiveLog = exports.ListedCertificateFilterSensitiveLog = exports.ListCertificatesRequestFilterSensitiveLog = exports.ListAgreementsResponseFilterSensitiveLog = exports.ListedAgreementFilterSensitiveLog = exports.ListAgreementsRequestFilterSensitiveLog = exports.ListAccessesResponseFilterSensitiveLog = exports.ListedAccessFilterSensitiveLog = exports.ListAccessesRequestFilterSensitiveLog = exports.ImportSshPublicKeyResponseFilterSensitiveLog = exports.ImportSshPublicKeyRequestFilterSensitiveLog = exports.ImportHostKeyResponseFilterSensitiveLog = exports.ImportHostKeyRequestFilterSensitiveLog = exports.ImportCertificateResponseFilterSensitiveLog = exports.ImportCertificateRequestFilterSensitiveLog = exports.DescribeWorkflowResponseFilterSensitiveLog = exports.DescribeWorkflowRequestFilterSensitiveLog = exports.DescribeUserResponseFilterSensitiveLog = exports.DescribeUserRequestFilterSensitiveLog = exports.DescribeServerResponseFilterSensitiveLog = exports.DescribeServerRequestFilterSensitiveLog = exports.DescribeSecurityPolicyResponseFilterSensitiveLog = exports.DescribeSecurityPolicyRequestFilterSensitiveLog = exports.DescribeProfileResponseFilterSensitiveLog = exports.DescribeProfileRequestFilterSensitiveLog = exports.DescribeHostKeyResponseFilterSensitiveLog = exports.DescribeHostKeyRequestFilterSensitiveLog = exports.DescribeExecutionResponseFilterSensitiveLog = exports.DescribeExecutionRequestFilterSensitiveLog = exports.DescribedWorkflowFilterSensitiveLog = exports.DescribedUserFilterSensitiveLog = exports.SshPublicKeyFilterSensitiveLog = void 0;
6
- exports.UpdateUserResponseFilterSensitiveLog = exports.UpdateUserRequestFilterSensitiveLog = exports.UpdateServerResponseFilterSensitiveLog = exports.UpdateServerRequestFilterSensitiveLog = exports.UpdateProfileResponseFilterSensitiveLog = exports.UpdateProfileRequestFilterSensitiveLog = exports.UpdateHostKeyResponseFilterSensitiveLog = exports.UpdateHostKeyRequestFilterSensitiveLog = exports.UpdateConnectorResponseFilterSensitiveLog = exports.UpdateConnectorRequestFilterSensitiveLog = exports.UpdateCertificateResponseFilterSensitiveLog = exports.UpdateCertificateRequestFilterSensitiveLog = exports.UpdateAgreementResponseFilterSensitiveLog = exports.UpdateAgreementRequestFilterSensitiveLog = exports.UpdateAccessResponseFilterSensitiveLog = exports.UpdateAccessRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TestIdentityProviderResponseFilterSensitiveLog = exports.TestIdentityProviderRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopServerRequestFilterSensitiveLog = exports.StartServerRequestFilterSensitiveLog = exports.StartFileTransferResponseFilterSensitiveLog = exports.StartFileTransferRequestFilterSensitiveLog = exports.SendWorkflowStepStateResponseFilterSensitiveLog = exports.SendWorkflowStepStateRequestFilterSensitiveLog = exports.ListWorkflowsResponseFilterSensitiveLog = exports.ListWorkflowsRequestFilterSensitiveLog = exports.ListUsersResponseFilterSensitiveLog = exports.ListUsersRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListServersResponseFilterSensitiveLog = void 0;
3
+ exports.CreateProfileResponseFilterSensitiveLog = exports.CreateProfileRequestFilterSensitiveLog = exports.CreateConnectorResponseFilterSensitiveLog = exports.CreateConnectorRequestFilterSensitiveLog = exports.CreateAgreementResponseFilterSensitiveLog = exports.CreateAgreementRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.CreateAccessResponseFilterSensitiveLog = exports.CreateAccessRequestFilterSensitiveLog = exports.PosixProfileFilterSensitiveLog = exports.HomeDirectoryMapEntryFilterSensitiveLog = exports.CopyStepDetailsFilterSensitiveLog = exports.InputFileLocationFilterSensitiveLog = exports.S3InputFileLocationFilterSensitiveLog = exports.EfsFileLocationFilterSensitiveLog = exports.As2ConnectorConfigFilterSensitiveLog = exports.InvalidNextTokenException = exports.State = exports.ExecutionStatus = exports.ExecutionErrorType = exports.CustomStepStatus = exports.WorkflowStepType = exports.EncryptionType = exports.ThrottlingException = exports.Protocol = exports.TlsSessionResumptionMode = exports.SetStatOption = exports.IdentityProviderType = exports.EndpointType = exports.Domain = exports.ProfileType = 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
+ exports.DescribedProfileFilterSensitiveLog = exports.DescribedHostKeyFilterSensitiveLog = exports.DescribedExecutionFilterSensitiveLog = exports.ServiceMetadataFilterSensitiveLog = exports.UserDetailsFilterSensitiveLog = exports.ExecutionResultsFilterSensitiveLog = exports.ExecutionStepResultFilterSensitiveLog = exports.ExecutionErrorFilterSensitiveLog = exports.LoggingConfigurationFilterSensitiveLog = exports.FileLocationFilterSensitiveLog = exports.S3FileLocationFilterSensitiveLog = exports.DescribeConnectorResponseFilterSensitiveLog = exports.DescribedConnectorFilterSensitiveLog = exports.DescribeConnectorRequestFilterSensitiveLog = exports.DescribeCertificateResponseFilterSensitiveLog = exports.DescribedCertificateFilterSensitiveLog = exports.DescribeCertificateRequestFilterSensitiveLog = exports.DescribeAgreementResponseFilterSensitiveLog = exports.DescribedAgreementFilterSensitiveLog = exports.DescribeAgreementRequestFilterSensitiveLog = exports.DescribeAccessResponseFilterSensitiveLog = exports.DescribedAccessFilterSensitiveLog = exports.DescribeAccessRequestFilterSensitiveLog = exports.DeleteWorkflowRequestFilterSensitiveLog = exports.DeleteUserRequestFilterSensitiveLog = exports.DeleteSshPublicKeyRequestFilterSensitiveLog = exports.DeleteServerRequestFilterSensitiveLog = exports.DeleteProfileRequestFilterSensitiveLog = exports.DeleteHostKeyRequestFilterSensitiveLog = exports.DeleteConnectorRequestFilterSensitiveLog = exports.DeleteCertificateRequestFilterSensitiveLog = exports.DeleteAgreementRequestFilterSensitiveLog = exports.DeleteAccessRequestFilterSensitiveLog = exports.CreateWorkflowResponseFilterSensitiveLog = exports.CreateWorkflowRequestFilterSensitiveLog = exports.WorkflowStepFilterSensitiveLog = exports.TagStepDetailsFilterSensitiveLog = exports.S3TagFilterSensitiveLog = exports.DeleteStepDetailsFilterSensitiveLog = exports.DecryptStepDetailsFilterSensitiveLog = exports.CustomStepDetailsFilterSensitiveLog = exports.CreateUserResponseFilterSensitiveLog = exports.CreateUserRequestFilterSensitiveLog = exports.CreateServerResponseFilterSensitiveLog = exports.CreateServerRequestFilterSensitiveLog = exports.WorkflowDetailsFilterSensitiveLog = exports.WorkflowDetailFilterSensitiveLog = exports.ProtocolDetailsFilterSensitiveLog = exports.IdentityProviderDetailsFilterSensitiveLog = exports.EndpointDetailsFilterSensitiveLog = void 0;
5
+ exports.ListSecurityPoliciesRequestFilterSensitiveLog = exports.ListProfilesResponseFilterSensitiveLog = exports.ListProfilesRequestFilterSensitiveLog = exports.ListHostKeysResponseFilterSensitiveLog = exports.ListHostKeysRequestFilterSensitiveLog = exports.ListExecutionsResponseFilterSensitiveLog = exports.ListExecutionsRequestFilterSensitiveLog = exports.ListedWorkflowFilterSensitiveLog = exports.ListedUserFilterSensitiveLog = exports.ListedServerFilterSensitiveLog = exports.ListedProfileFilterSensitiveLog = exports.ListedHostKeyFilterSensitiveLog = exports.ListedExecutionFilterSensitiveLog = exports.ListConnectorsResponseFilterSensitiveLog = exports.ListedConnectorFilterSensitiveLog = exports.ListConnectorsRequestFilterSensitiveLog = exports.ListCertificatesResponseFilterSensitiveLog = exports.ListedCertificateFilterSensitiveLog = exports.ListCertificatesRequestFilterSensitiveLog = exports.ListAgreementsResponseFilterSensitiveLog = exports.ListedAgreementFilterSensitiveLog = exports.ListAgreementsRequestFilterSensitiveLog = exports.ListAccessesResponseFilterSensitiveLog = exports.ListedAccessFilterSensitiveLog = exports.ListAccessesRequestFilterSensitiveLog = exports.ImportSshPublicKeyResponseFilterSensitiveLog = exports.ImportSshPublicKeyRequestFilterSensitiveLog = exports.ImportHostKeyResponseFilterSensitiveLog = exports.ImportHostKeyRequestFilterSensitiveLog = exports.ImportCertificateResponseFilterSensitiveLog = exports.ImportCertificateRequestFilterSensitiveLog = exports.DescribeWorkflowResponseFilterSensitiveLog = exports.DescribeWorkflowRequestFilterSensitiveLog = exports.DescribeUserResponseFilterSensitiveLog = exports.DescribeUserRequestFilterSensitiveLog = exports.DescribeServerResponseFilterSensitiveLog = exports.DescribeServerRequestFilterSensitiveLog = exports.DescribeSecurityPolicyResponseFilterSensitiveLog = exports.DescribeSecurityPolicyRequestFilterSensitiveLog = exports.DescribeProfileResponseFilterSensitiveLog = exports.DescribeProfileRequestFilterSensitiveLog = exports.DescribeHostKeyResponseFilterSensitiveLog = exports.DescribeHostKeyRequestFilterSensitiveLog = exports.DescribeExecutionResponseFilterSensitiveLog = exports.DescribeExecutionRequestFilterSensitiveLog = exports.DescribedWorkflowFilterSensitiveLog = exports.DescribedUserFilterSensitiveLog = exports.SshPublicKeyFilterSensitiveLog = exports.DescribedServerFilterSensitiveLog = exports.DescribedSecurityPolicyFilterSensitiveLog = void 0;
6
+ exports.UpdateUserResponseFilterSensitiveLog = exports.UpdateUserRequestFilterSensitiveLog = exports.UpdateServerResponseFilterSensitiveLog = exports.UpdateServerRequestFilterSensitiveLog = exports.UpdateProfileResponseFilterSensitiveLog = exports.UpdateProfileRequestFilterSensitiveLog = exports.UpdateHostKeyResponseFilterSensitiveLog = exports.UpdateHostKeyRequestFilterSensitiveLog = exports.UpdateConnectorResponseFilterSensitiveLog = exports.UpdateConnectorRequestFilterSensitiveLog = exports.UpdateCertificateResponseFilterSensitiveLog = exports.UpdateCertificateRequestFilterSensitiveLog = exports.UpdateAgreementResponseFilterSensitiveLog = exports.UpdateAgreementRequestFilterSensitiveLog = exports.UpdateAccessResponseFilterSensitiveLog = exports.UpdateAccessRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TestIdentityProviderResponseFilterSensitiveLog = exports.TestIdentityProviderRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopServerRequestFilterSensitiveLog = exports.StartServerRequestFilterSensitiveLog = exports.StartFileTransferResponseFilterSensitiveLog = exports.StartFileTransferRequestFilterSensitiveLog = exports.SendWorkflowStepStateResponseFilterSensitiveLog = exports.SendWorkflowStepStateRequestFilterSensitiveLog = exports.ListWorkflowsResponseFilterSensitiveLog = exports.ListWorkflowsRequestFilterSensitiveLog = exports.ListUsersResponseFilterSensitiveLog = exports.ListUsersRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListServersResponseFilterSensitiveLog = exports.ListServersRequestFilterSensitiveLog = exports.ListSecurityPoliciesResponseFilterSensitiveLog = void 0;
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const TransferServiceException_1 = require("./TransferServiceException");
9
9
  class AccessDeniedException extends TransferServiceException_1.TransferServiceException {
@@ -177,20 +177,6 @@ class ServiceUnavailableException extends TransferServiceException_1.TransferSer
177
177
  }
178
178
  }
179
179
  exports.ServiceUnavailableException = ServiceUnavailableException;
180
- class ThrottlingException extends TransferServiceException_1.TransferServiceException {
181
- constructor(opts) {
182
- super({
183
- name: "ThrottlingException",
184
- $fault: "client",
185
- ...opts,
186
- });
187
- this.name = "ThrottlingException";
188
- this.$fault = "client";
189
- Object.setPrototypeOf(this, ThrottlingException.prototype);
190
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
191
- }
192
- }
193
- exports.ThrottlingException = ThrottlingException;
194
180
  var ProfileType;
195
181
  (function (ProfileType) {
196
182
  ProfileType["LOCAL"] = "LOCAL";
@@ -232,10 +218,29 @@ var Protocol;
232
218
  Protocol["FTPS"] = "FTPS";
233
219
  Protocol["SFTP"] = "SFTP";
234
220
  })(Protocol = exports.Protocol || (exports.Protocol = {}));
221
+ class ThrottlingException extends TransferServiceException_1.TransferServiceException {
222
+ constructor(opts) {
223
+ super({
224
+ name: "ThrottlingException",
225
+ $fault: "client",
226
+ ...opts,
227
+ });
228
+ this.name = "ThrottlingException";
229
+ this.$fault = "client";
230
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
231
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
232
+ }
233
+ }
234
+ exports.ThrottlingException = ThrottlingException;
235
+ var EncryptionType;
236
+ (function (EncryptionType) {
237
+ EncryptionType["PGP"] = "PGP";
238
+ })(EncryptionType = exports.EncryptionType || (exports.EncryptionType = {}));
235
239
  var WorkflowStepType;
236
240
  (function (WorkflowStepType) {
237
241
  WorkflowStepType["COPY"] = "COPY";
238
242
  WorkflowStepType["CUSTOM"] = "CUSTOM";
243
+ WorkflowStepType["DECRYPT"] = "DECRYPT";
239
244
  WorkflowStepType["DELETE"] = "DELETE";
240
245
  WorkflowStepType["TAG"] = "TAG";
241
246
  })(WorkflowStepType = exports.WorkflowStepType || (exports.WorkflowStepType = {}));
@@ -390,6 +395,10 @@ const CustomStepDetailsFilterSensitiveLog = (obj) => ({
390
395
  ...obj,
391
396
  });
392
397
  exports.CustomStepDetailsFilterSensitiveLog = CustomStepDetailsFilterSensitiveLog;
398
+ const DecryptStepDetailsFilterSensitiveLog = (obj) => ({
399
+ ...obj,
400
+ });
401
+ exports.DecryptStepDetailsFilterSensitiveLog = DecryptStepDetailsFilterSensitiveLog;
393
402
  const DeleteStepDetailsFilterSensitiveLog = (obj) => ({
394
403
  ...obj,
395
404
  });
@@ -669,9 +669,6 @@ const deserializeAws_json1_1CreateAgreementCommandError = async (output, context
669
669
  case "ServiceUnavailableException":
670
670
  case "com.amazonaws.transfer#ServiceUnavailableException":
671
671
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
672
- case "ThrottlingException":
673
- case "com.amazonaws.transfer#ThrottlingException":
674
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
675
672
  default:
676
673
  const parsedBody = parsedOutput.body;
677
674
  (0, smithy_client_1.throwDefaultError)({
@@ -718,9 +715,6 @@ const deserializeAws_json1_1CreateConnectorCommandError = async (output, context
718
715
  case "ServiceUnavailableException":
719
716
  case "com.amazonaws.transfer#ServiceUnavailableException":
720
717
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
721
- case "ThrottlingException":
722
- case "com.amazonaws.transfer#ThrottlingException":
723
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
724
718
  default:
725
719
  const parsedBody = parsedOutput.body;
726
720
  (0, smithy_client_1.throwDefaultError)({
@@ -764,9 +758,6 @@ const deserializeAws_json1_1CreateProfileCommandError = async (output, context)
764
758
  case "ServiceUnavailableException":
765
759
  case "com.amazonaws.transfer#ServiceUnavailableException":
766
760
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
767
- case "ThrottlingException":
768
- case "com.amazonaws.transfer#ThrottlingException":
769
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
770
761
  default:
771
762
  const parsedBody = parsedOutput.body;
772
763
  (0, smithy_client_1.throwDefaultError)({
@@ -2830,9 +2821,6 @@ const deserializeAws_json1_1UpdateAccessCommandError = async (output, context) =
2830
2821
  case "ServiceUnavailableException":
2831
2822
  case "com.amazonaws.transfer#ServiceUnavailableException":
2832
2823
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
2833
- case "ThrottlingException":
2834
- case "com.amazonaws.transfer#ThrottlingException":
2835
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2836
2824
  default:
2837
2825
  const parsedBody = parsedOutput.body;
2838
2826
  (0, smithy_client_1.throwDefaultError)({
@@ -2879,9 +2867,6 @@ const deserializeAws_json1_1UpdateAgreementCommandError = async (output, context
2879
2867
  case "ServiceUnavailableException":
2880
2868
  case "com.amazonaws.transfer#ServiceUnavailableException":
2881
2869
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
2882
- case "ThrottlingException":
2883
- case "com.amazonaws.transfer#ThrottlingException":
2884
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2885
2870
  default:
2886
2871
  const parsedBody = parsedOutput.body;
2887
2872
  (0, smithy_client_1.throwDefaultError)({
@@ -2925,9 +2910,6 @@ const deserializeAws_json1_1UpdateCertificateCommandError = async (output, conte
2925
2910
  case "ServiceUnavailableException":
2926
2911
  case "com.amazonaws.transfer#ServiceUnavailableException":
2927
2912
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
2928
- case "ThrottlingException":
2929
- case "com.amazonaws.transfer#ThrottlingException":
2930
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2931
2913
  default:
2932
2914
  const parsedBody = parsedOutput.body;
2933
2915
  (0, smithy_client_1.throwDefaultError)({
@@ -2974,9 +2956,6 @@ const deserializeAws_json1_1UpdateConnectorCommandError = async (output, context
2974
2956
  case "ServiceUnavailableException":
2975
2957
  case "com.amazonaws.transfer#ServiceUnavailableException":
2976
2958
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
2977
- case "ThrottlingException":
2978
- case "com.amazonaws.transfer#ThrottlingException":
2979
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2980
2959
  default:
2981
2960
  const parsedBody = parsedOutput.body;
2982
2961
  (0, smithy_client_1.throwDefaultError)({
@@ -3066,9 +3045,6 @@ const deserializeAws_json1_1UpdateProfileCommandError = async (output, context)
3066
3045
  case "ServiceUnavailableException":
3067
3046
  case "com.amazonaws.transfer#ServiceUnavailableException":
3068
3047
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
3069
- case "ThrottlingException":
3070
- case "com.amazonaws.transfer#ThrottlingException":
3071
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
3072
3048
  default:
3073
3049
  const parsedBody = parsedOutput.body;
3074
3050
  (0, smithy_client_1.throwDefaultError)({
@@ -3414,6 +3390,17 @@ const serializeAws_json1_1CustomStepDetails = (input, context) => {
3414
3390
  ...(input.TimeoutSeconds != null && { TimeoutSeconds: input.TimeoutSeconds }),
3415
3391
  };
3416
3392
  };
3393
+ const serializeAws_json1_1DecryptStepDetails = (input, context) => {
3394
+ return {
3395
+ ...(input.DestinationFileLocation != null && {
3396
+ DestinationFileLocation: serializeAws_json1_1InputFileLocation(input.DestinationFileLocation, context),
3397
+ }),
3398
+ ...(input.Name != null && { Name: input.Name }),
3399
+ ...(input.OverwriteExisting != null && { OverwriteExisting: input.OverwriteExisting }),
3400
+ ...(input.SourceFileLocation != null && { SourceFileLocation: input.SourceFileLocation }),
3401
+ ...(input.Type != null && { Type: input.Type }),
3402
+ };
3403
+ };
3417
3404
  const serializeAws_json1_1DeleteAccessRequest = (input, context) => {
3418
3405
  return {
3419
3406
  ...(input.ExternalId != null && { ExternalId: input.ExternalId }),
@@ -3974,6 +3961,9 @@ const serializeAws_json1_1WorkflowStep = (input, context) => {
3974
3961
  ...(input.CustomStepDetails != null && {
3975
3962
  CustomStepDetails: serializeAws_json1_1CustomStepDetails(input.CustomStepDetails, context),
3976
3963
  }),
3964
+ ...(input.DecryptStepDetails != null && {
3965
+ DecryptStepDetails: serializeAws_json1_1DecryptStepDetails(input.DecryptStepDetails, context),
3966
+ }),
3977
3967
  ...(input.DeleteStepDetails != null && {
3978
3968
  DeleteStepDetails: serializeAws_json1_1DeleteStepDetails(input.DeleteStepDetails, context),
3979
3969
  }),
@@ -4100,6 +4090,17 @@ const deserializeAws_json1_1CustomStepDetails = (output, context) => {
4100
4090
  TimeoutSeconds: (0, smithy_client_1.expectInt32)(output.TimeoutSeconds),
4101
4091
  };
4102
4092
  };
4093
+ const deserializeAws_json1_1DecryptStepDetails = (output, context) => {
4094
+ return {
4095
+ DestinationFileLocation: output.DestinationFileLocation != null
4096
+ ? deserializeAws_json1_1InputFileLocation(output.DestinationFileLocation, context)
4097
+ : undefined,
4098
+ Name: (0, smithy_client_1.expectString)(output.Name),
4099
+ OverwriteExisting: (0, smithy_client_1.expectString)(output.OverwriteExisting),
4100
+ SourceFileLocation: (0, smithy_client_1.expectString)(output.SourceFileLocation),
4101
+ Type: (0, smithy_client_1.expectString)(output.Type),
4102
+ };
4103
+ };
4103
4104
  const deserializeAws_json1_1DeleteStepDetails = (output, context) => {
4104
4105
  return {
4105
4106
  Name: (0, smithy_client_1.expectString)(output.Name),
@@ -5056,6 +5057,9 @@ const deserializeAws_json1_1WorkflowStep = (output, context) => {
5056
5057
  CustomStepDetails: output.CustomStepDetails != null
5057
5058
  ? deserializeAws_json1_1CustomStepDetails(output.CustomStepDetails, context)
5058
5059
  : undefined,
5060
+ DecryptStepDetails: output.DecryptStepDetails != null
5061
+ ? deserializeAws_json1_1DecryptStepDetails(output.DecryptStepDetails, context)
5062
+ : undefined,
5059
5063
  DeleteStepDetails: output.DeleteStepDetails != null
5060
5064
  ? deserializeAws_json1_1DeleteStepDetails(output.DeleteStepDetails, context)
5061
5065
  : undefined,
@@ -1,4 +1,4 @@
1
- const s = "fn", t = "argv", u = "ref";
2
- const a = false, b = true, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = { [u]: "Endpoint" }, j = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, l = {}, m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsFIPS"] }] }, n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsDualStack"] }] }, o = [i], p = [j], q = [], r = [k];
3
- const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseDualStack: { builtIn: "AWS::UseDualStack", required: b, default: a, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", type: d }, UseFIPS: { builtIn: "AWS::UseFIPS", required: b, default: a, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: d }, Endpoint: { builtIn: "SDK::Endpoint", required: a, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: e }], type: f, rules: [{ conditions: [{ [s]: "isSet", [t]: o }, { [s]: "parseURL", [t]: o, assign: "url" }], type: f, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: q, type: f, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: g }, { conditions: q, endpoint: { url: i, properties: l, headers: l }, type: h }] }] }, { conditions: [j, k], type: f, rules: [{ conditions: [m, n], type: f, rules: [{ conditions: q, endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: q, error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: g }] }, { conditions: p, type: f, rules: [{ conditions: [m], type: f, rules: [{ conditions: q, type: f, rules: [{ conditions: q, endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] }, { conditions: q, error: "FIPS is enabled but this partition does not support FIPS", type: g }] }, { conditions: r, type: f, rules: [{ conditions: [n], type: f, rules: [{ conditions: q, endpoint: { url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: q, error: "DualStack is enabled but this partition does not support DualStack", type: g }] }, { conditions: q, endpoint: { url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] };
1
+ const r = "fn", s = "argv", t = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://transfer.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
4
  export const ruleSet = _data;
@@ -164,19 +164,6 @@ export class ServiceUnavailableException extends __BaseException {
164
164
  this.Message = opts.Message;
165
165
  }
166
166
  }
167
- export class ThrottlingException extends __BaseException {
168
- constructor(opts) {
169
- super({
170
- name: "ThrottlingException",
171
- $fault: "client",
172
- ...opts,
173
- });
174
- this.name = "ThrottlingException";
175
- this.$fault = "client";
176
- Object.setPrototypeOf(this, ThrottlingException.prototype);
177
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
178
- }
179
- }
180
167
  export var ProfileType;
181
168
  (function (ProfileType) {
182
169
  ProfileType["LOCAL"] = "LOCAL";
@@ -218,10 +205,28 @@ export var Protocol;
218
205
  Protocol["FTPS"] = "FTPS";
219
206
  Protocol["SFTP"] = "SFTP";
220
207
  })(Protocol || (Protocol = {}));
208
+ export class ThrottlingException extends __BaseException {
209
+ constructor(opts) {
210
+ super({
211
+ name: "ThrottlingException",
212
+ $fault: "client",
213
+ ...opts,
214
+ });
215
+ this.name = "ThrottlingException";
216
+ this.$fault = "client";
217
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
218
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
219
+ }
220
+ }
221
+ export var EncryptionType;
222
+ (function (EncryptionType) {
223
+ EncryptionType["PGP"] = "PGP";
224
+ })(EncryptionType || (EncryptionType = {}));
221
225
  export var WorkflowStepType;
222
226
  (function (WorkflowStepType) {
223
227
  WorkflowStepType["COPY"] = "COPY";
224
228
  WorkflowStepType["CUSTOM"] = "CUSTOM";
229
+ WorkflowStepType["DECRYPT"] = "DECRYPT";
225
230
  WorkflowStepType["DELETE"] = "DELETE";
226
231
  WorkflowStepType["TAG"] = "TAG";
227
232
  })(WorkflowStepType || (WorkflowStepType = {}));
@@ -349,6 +354,9 @@ export const CreateUserResponseFilterSensitiveLog = (obj) => ({
349
354
  export const CustomStepDetailsFilterSensitiveLog = (obj) => ({
350
355
  ...obj,
351
356
  });
357
+ export const DecryptStepDetailsFilterSensitiveLog = (obj) => ({
358
+ ...obj,
359
+ });
352
360
  export const DeleteStepDetailsFilterSensitiveLog = (obj) => ({
353
361
  ...obj,
354
362
  });
@@ -604,9 +604,6 @@ const deserializeAws_json1_1CreateAgreementCommandError = async (output, context
604
604
  case "ServiceUnavailableException":
605
605
  case "com.amazonaws.transfer#ServiceUnavailableException":
606
606
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
607
- case "ThrottlingException":
608
- case "com.amazonaws.transfer#ThrottlingException":
609
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
610
607
  default:
611
608
  const parsedBody = parsedOutput.body;
612
609
  throwDefaultError({
@@ -652,9 +649,6 @@ const deserializeAws_json1_1CreateConnectorCommandError = async (output, context
652
649
  case "ServiceUnavailableException":
653
650
  case "com.amazonaws.transfer#ServiceUnavailableException":
654
651
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
655
- case "ThrottlingException":
656
- case "com.amazonaws.transfer#ThrottlingException":
657
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
658
652
  default:
659
653
  const parsedBody = parsedOutput.body;
660
654
  throwDefaultError({
@@ -697,9 +691,6 @@ const deserializeAws_json1_1CreateProfileCommandError = async (output, context)
697
691
  case "ServiceUnavailableException":
698
692
  case "com.amazonaws.transfer#ServiceUnavailableException":
699
693
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
700
- case "ThrottlingException":
701
- case "com.amazonaws.transfer#ThrottlingException":
702
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
703
694
  default:
704
695
  const parsedBody = parsedOutput.body;
705
696
  throwDefaultError({
@@ -2716,9 +2707,6 @@ const deserializeAws_json1_1UpdateAccessCommandError = async (output, context) =
2716
2707
  case "ServiceUnavailableException":
2717
2708
  case "com.amazonaws.transfer#ServiceUnavailableException":
2718
2709
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
2719
- case "ThrottlingException":
2720
- case "com.amazonaws.transfer#ThrottlingException":
2721
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2722
2710
  default:
2723
2711
  const parsedBody = parsedOutput.body;
2724
2712
  throwDefaultError({
@@ -2764,9 +2752,6 @@ const deserializeAws_json1_1UpdateAgreementCommandError = async (output, context
2764
2752
  case "ServiceUnavailableException":
2765
2753
  case "com.amazonaws.transfer#ServiceUnavailableException":
2766
2754
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
2767
- case "ThrottlingException":
2768
- case "com.amazonaws.transfer#ThrottlingException":
2769
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2770
2755
  default:
2771
2756
  const parsedBody = parsedOutput.body;
2772
2757
  throwDefaultError({
@@ -2809,9 +2794,6 @@ const deserializeAws_json1_1UpdateCertificateCommandError = async (output, conte
2809
2794
  case "ServiceUnavailableException":
2810
2795
  case "com.amazonaws.transfer#ServiceUnavailableException":
2811
2796
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
2812
- case "ThrottlingException":
2813
- case "com.amazonaws.transfer#ThrottlingException":
2814
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2815
2797
  default:
2816
2798
  const parsedBody = parsedOutput.body;
2817
2799
  throwDefaultError({
@@ -2857,9 +2839,6 @@ const deserializeAws_json1_1UpdateConnectorCommandError = async (output, context
2857
2839
  case "ServiceUnavailableException":
2858
2840
  case "com.amazonaws.transfer#ServiceUnavailableException":
2859
2841
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
2860
- case "ThrottlingException":
2861
- case "com.amazonaws.transfer#ThrottlingException":
2862
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2863
2842
  default:
2864
2843
  const parsedBody = parsedOutput.body;
2865
2844
  throwDefaultError({
@@ -2947,9 +2926,6 @@ const deserializeAws_json1_1UpdateProfileCommandError = async (output, context)
2947
2926
  case "ServiceUnavailableException":
2948
2927
  case "com.amazonaws.transfer#ServiceUnavailableException":
2949
2928
  throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
2950
- case "ThrottlingException":
2951
- case "com.amazonaws.transfer#ThrottlingException":
2952
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2953
2929
  default:
2954
2930
  const parsedBody = parsedOutput.body;
2955
2931
  throwDefaultError({
@@ -3293,6 +3269,17 @@ const serializeAws_json1_1CustomStepDetails = (input, context) => {
3293
3269
  ...(input.TimeoutSeconds != null && { TimeoutSeconds: input.TimeoutSeconds }),
3294
3270
  };
3295
3271
  };
3272
+ const serializeAws_json1_1DecryptStepDetails = (input, context) => {
3273
+ return {
3274
+ ...(input.DestinationFileLocation != null && {
3275
+ DestinationFileLocation: serializeAws_json1_1InputFileLocation(input.DestinationFileLocation, context),
3276
+ }),
3277
+ ...(input.Name != null && { Name: input.Name }),
3278
+ ...(input.OverwriteExisting != null && { OverwriteExisting: input.OverwriteExisting }),
3279
+ ...(input.SourceFileLocation != null && { SourceFileLocation: input.SourceFileLocation }),
3280
+ ...(input.Type != null && { Type: input.Type }),
3281
+ };
3282
+ };
3296
3283
  const serializeAws_json1_1DeleteAccessRequest = (input, context) => {
3297
3284
  return {
3298
3285
  ...(input.ExternalId != null && { ExternalId: input.ExternalId }),
@@ -3853,6 +3840,9 @@ const serializeAws_json1_1WorkflowStep = (input, context) => {
3853
3840
  ...(input.CustomStepDetails != null && {
3854
3841
  CustomStepDetails: serializeAws_json1_1CustomStepDetails(input.CustomStepDetails, context),
3855
3842
  }),
3843
+ ...(input.DecryptStepDetails != null && {
3844
+ DecryptStepDetails: serializeAws_json1_1DecryptStepDetails(input.DecryptStepDetails, context),
3845
+ }),
3856
3846
  ...(input.DeleteStepDetails != null && {
3857
3847
  DeleteStepDetails: serializeAws_json1_1DeleteStepDetails(input.DeleteStepDetails, context),
3858
3848
  }),
@@ -3979,6 +3969,17 @@ const deserializeAws_json1_1CustomStepDetails = (output, context) => {
3979
3969
  TimeoutSeconds: __expectInt32(output.TimeoutSeconds),
3980
3970
  };
3981
3971
  };
3972
+ const deserializeAws_json1_1DecryptStepDetails = (output, context) => {
3973
+ return {
3974
+ DestinationFileLocation: output.DestinationFileLocation != null
3975
+ ? deserializeAws_json1_1InputFileLocation(output.DestinationFileLocation, context)
3976
+ : undefined,
3977
+ Name: __expectString(output.Name),
3978
+ OverwriteExisting: __expectString(output.OverwriteExisting),
3979
+ SourceFileLocation: __expectString(output.SourceFileLocation),
3980
+ Type: __expectString(output.Type),
3981
+ };
3982
+ };
3982
3983
  const deserializeAws_json1_1DeleteStepDetails = (output, context) => {
3983
3984
  return {
3984
3985
  Name: __expectString(output.Name),
@@ -4935,6 +4936,9 @@ const deserializeAws_json1_1WorkflowStep = (output, context) => {
4935
4936
  CustomStepDetails: output.CustomStepDetails != null
4936
4937
  ? deserializeAws_json1_1CustomStepDetails(output.CustomStepDetails, context)
4937
4938
  : undefined,
4939
+ DecryptStepDetails: output.DecryptStepDetails != null
4940
+ ? deserializeAws_json1_1DecryptStepDetails(output.DecryptStepDetails, context)
4941
+ : undefined,
4938
4942
  DeleteStepDetails: output.DeleteStepDetails != null
4939
4943
  ? deserializeAws_json1_1DeleteStepDetails(output.DeleteStepDetails, context)
4940
4944
  : undefined,
@@ -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?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -68,10 +68,6 @@ export interface As2ConnectorConfig {
68
68
  Compression?: CompressionEnum | string;
69
69
  /**
70
70
  * <p>The algorithm that is used to encrypt the file.</p>
71
- * <note>
72
- * <p>You can only specify <code>NONE</code> if the URL for your connector uses HTTPS. This ensures that
73
- * no traffic is sent in clear text.</p>
74
- * </note>
75
71
  */
76
72
  EncryptionAlgorithm?: EncryptionAlg | string;
77
73
  /**
@@ -81,7 +77,7 @@ export interface As2ConnectorConfig {
81
77
  /**
82
78
  * <p>The signing algorithm for the MDN response.</p>
83
79
  * <note>
84
- * <p>If set to DEFAULT (or not set at all), the value for <code>SigningAlgorithm</code> is used.</p>
80
+ * <p>If set to DEFAULT (or not set at all), the value for <code>SigningAlogorithm</code> is used.</p>
85
81
  * </note>
86
82
  */
87
83
  MdnSigningAlgorithm?: MdnSigningAlg | string;
@@ -502,18 +498,6 @@ export interface CreateAgreementResponse {
502
498
  */
503
499
  AgreementId: string | undefined;
504
500
  }
505
- /**
506
- * <p>The request was denied due to request throttling.</p>
507
- */
508
- export declare class ThrottlingException extends __BaseException {
509
- readonly name: "ThrottlingException";
510
- readonly $fault: "client";
511
- RetryAfterSeconds?: string;
512
- /**
513
- * @internal
514
- */
515
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
516
- }
517
501
  export interface CreateConnectorRequest {
518
502
  /**
519
503
  * <p>The URL of the partner's AS2 endpoint.</p>
@@ -806,7 +790,7 @@ export declare enum Protocol {
806
790
  }
807
791
  /**
808
792
  * <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
809
- * <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a
793
+ * <p>In additon to a workflow to execute when a file is uploaded completely, <code>WorkflowDeatails</code> can also contain a
810
794
  * workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when
811
795
  * the session disconnects.</p>
812
796
  */
@@ -1093,7 +1077,7 @@ export interface CreateServerRequest {
1093
1077
  Tags?: Tag[];
1094
1078
  /**
1095
1079
  * <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
1096
- * <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a
1080
+ * <p>In additon to a workflow to execute when a file is uploaded completely, <code>WorkflowDeatails</code> can also contain a
1097
1081
  * workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when
1098
1082
  * the session disconnects.</p>
1099
1083
  */
@@ -1105,6 +1089,18 @@ export interface CreateServerResponse {
1105
1089
  */
1106
1090
  ServerId: string | undefined;
1107
1091
  }
1092
+ /**
1093
+ * <p>The request was denied due to request throttling.</p>
1094
+ */
1095
+ export declare class ThrottlingException extends __BaseException {
1096
+ readonly name: "ThrottlingException";
1097
+ readonly $fault: "client";
1098
+ RetryAfterSeconds?: string;
1099
+ /**
1100
+ * @internal
1101
+ */
1102
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
1103
+ }
1108
1104
  export interface CreateUserRequest {
1109
1105
  /**
1110
1106
  * <p>The landing directory (folder) for a user when they log in to the server using the client.</p>
@@ -1191,23 +1187,7 @@ export interface CreateUserRequest {
1191
1187
  /**
1192
1188
  * <p>The public portion of the Secure Shell (SSH) key used to authenticate the user to the
1193
1189
  * server.</p>
1194
- * <p>The three standard SSH public key format elements are <code><key type></code>,
1195
- * <code><body base64></code>, and an optional <code><comment></code>, with spaces
1196
- * between each element.</p>
1197
1190
  * <p>Transfer Family accepts RSA, ECDSA, and ED25519 keys.</p>
1198
- * <ul>
1199
- * <li>
1200
- * <p>For RSA keys, the key type is <code>ssh-rsa</code>.</p>
1201
- * </li>
1202
- * <li>
1203
- * <p>For ED25519 keys, the key type is <code>ssh-ed25519</code>.</p>
1204
- * </li>
1205
- * <li>
1206
- * <p>For ECDSA keys, the key type is either <code>ecdsa-sha2-nistp256</code>,
1207
- * <code>ecdsa-sha2-nistp384</code>, or <code>ecdsa-sha2-nistp521</code>, depending on the
1208
- * size of the key you generated.</p>
1209
- * </li>
1210
- * </ul>
1211
1191
  */
1212
1192
  SshPublicKeyBody?: string;
1213
1193
  /**
@@ -1265,6 +1245,19 @@ export interface CustomStepDetails {
1265
1245
  */
1266
1246
  SourceFileLocation?: string;
1267
1247
  }
1248
+ export declare enum EncryptionType {
1249
+ PGP = "PGP"
1250
+ }
1251
+ export interface DecryptStepDetails {
1252
+ Name?: string;
1253
+ Type: EncryptionType | string | undefined;
1254
+ SourceFileLocation?: string;
1255
+ OverwriteExisting?: OverwriteExisting | string;
1256
+ /**
1257
+ * <p>Specifies the location for the file being copied. Only applicable for the Copy type of workflow steps.</p>
1258
+ */
1259
+ DestinationFileLocation: InputFileLocation | undefined;
1260
+ }
1268
1261
  /**
1269
1262
  * <p>The name of the step, used to identify the delete step.</p>
1270
1263
  */
@@ -1334,6 +1327,7 @@ export interface TagStepDetails {
1334
1327
  export declare enum WorkflowStepType {
1335
1328
  COPY = "COPY",
1336
1329
  CUSTOM = "CUSTOM",
1330
+ DECRYPT = "DECRYPT",
1337
1331
  DELETE = "DELETE",
1338
1332
  TAG = "TAG"
1339
1333
  }
@@ -1400,6 +1394,7 @@ export interface WorkflowStep {
1400
1394
  * <p>You specify one or more tags: each tag contains a key/value pair.</p>
1401
1395
  */
1402
1396
  TagStepDetails?: TagStepDetails;
1397
+ DecryptStepDetails?: DecryptStepDetails;
1403
1398
  }
1404
1399
  export interface CreateWorkflowRequest {
1405
1400
  /**
@@ -2445,7 +2440,7 @@ export interface DescribedServer {
2445
2440
  UserCount?: number;
2446
2441
  /**
2447
2442
  * <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
2448
- * <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a
2443
+ * <p>In additon to a workflow to execute when a file is uploaded completely, <code>WorkflowDeatails</code> can also contain a
2449
2444
  * workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when
2450
2445
  * the session disconnects.</p>
2451
2446
  */
@@ -4175,7 +4170,7 @@ export interface UpdateServerRequest {
4175
4170
  ServerId: string | undefined;
4176
4171
  /**
4177
4172
  * <p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p>
4178
- * <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a
4173
+ * <p>In additon to a workflow to execute when a file is uploaded completely, <code>WorkflowDeatails</code> can also contain a
4179
4174
  * workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when
4180
4175
  * the session disconnects.</p>
4181
4176
  * <p>To remove an associated workflow from a server, you can provide an empty <code>OnUpload</code> object, as in the following example.</p>
@@ -4404,6 +4399,10 @@ export declare const CreateUserResponseFilterSensitiveLog: (obj: CreateUserRespo
4404
4399
  * @internal
4405
4400
  */
4406
4401
  export declare const CustomStepDetailsFilterSensitiveLog: (obj: CustomStepDetails) => any;
4402
+ /**
4403
+ * @internal
4404
+ */
4405
+ export declare const DecryptStepDetailsFilterSensitiveLog: (obj: DecryptStepDetails) => any;
4407
4406
  /**
4408
4407
  * @internal
4409
4408
  */
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -183,14 +183,6 @@ export interface CreateAgreementRequest {
183
183
  export interface CreateAgreementResponse {
184
184
  AgreementId: string | undefined;
185
185
  }
186
- export declare class ThrottlingException extends __BaseException {
187
- readonly name: "ThrottlingException";
188
- readonly $fault: "client";
189
- RetryAfterSeconds?: string;
190
- constructor(
191
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
192
- );
193
- }
194
186
  export interface CreateConnectorRequest {
195
187
  Url: string | undefined;
196
188
  As2Config: As2ConnectorConfig | undefined;
@@ -291,6 +283,14 @@ export interface CreateServerRequest {
291
283
  export interface CreateServerResponse {
292
284
  ServerId: string | undefined;
293
285
  }
286
+ export declare class ThrottlingException extends __BaseException {
287
+ readonly name: "ThrottlingException";
288
+ readonly $fault: "client";
289
+ RetryAfterSeconds?: string;
290
+ constructor(
291
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
292
+ );
293
+ }
294
294
  export interface CreateUserRequest {
295
295
  HomeDirectory?: string;
296
296
  HomeDirectoryType?: HomeDirectoryType | string;
@@ -313,6 +313,16 @@ export interface CustomStepDetails {
313
313
  TimeoutSeconds?: number;
314
314
  SourceFileLocation?: string;
315
315
  }
316
+ export declare enum EncryptionType {
317
+ PGP = "PGP",
318
+ }
319
+ export interface DecryptStepDetails {
320
+ Name?: string;
321
+ Type: EncryptionType | string | undefined;
322
+ SourceFileLocation?: string;
323
+ OverwriteExisting?: OverwriteExisting | string;
324
+ DestinationFileLocation: InputFileLocation | undefined;
325
+ }
316
326
  export interface DeleteStepDetails {
317
327
  Name?: string;
318
328
  SourceFileLocation?: string;
@@ -329,6 +339,7 @@ export interface TagStepDetails {
329
339
  export declare enum WorkflowStepType {
330
340
  COPY = "COPY",
331
341
  CUSTOM = "CUSTOM",
342
+ DECRYPT = "DECRYPT",
332
343
  DELETE = "DELETE",
333
344
  TAG = "TAG",
334
345
  }
@@ -338,6 +349,7 @@ export interface WorkflowStep {
338
349
  CustomStepDetails?: CustomStepDetails;
339
350
  DeleteStepDetails?: DeleteStepDetails;
340
351
  TagStepDetails?: TagStepDetails;
352
+ DecryptStepDetails?: DecryptStepDetails;
341
353
  }
342
354
  export interface CreateWorkflowRequest {
343
355
  Description?: string;
@@ -1079,6 +1091,9 @@ export declare const CreateUserResponseFilterSensitiveLog: (
1079
1091
  export declare const CustomStepDetailsFilterSensitiveLog: (
1080
1092
  obj: CustomStepDetails
1081
1093
  ) => any;
1094
+ export declare const DecryptStepDetailsFilterSensitiveLog: (
1095
+ obj: DecryptStepDetails
1096
+ ) => any;
1082
1097
  export declare const DeleteStepDetailsFilterSensitiveLog: (
1083
1098
  obj: DeleteStepDetails
1084
1099
  ) => any;
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.235.0",
4
+ "version": "3.236.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.235.0",
22
+ "@aws-sdk/client-sts": "3.236.0",
23
23
  "@aws-sdk/config-resolver": "3.234.0",
24
- "@aws-sdk/credential-provider-node": "3.235.0",
24
+ "@aws-sdk/credential-provider-node": "3.236.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.226.0",
26
26
  "@aws-sdk/hash-node": "3.226.0",
27
27
  "@aws-sdk/invalid-dependency": "3.226.0",