@aws-sdk/client-transfer 3.238.0 → 3.241.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +15 -15
- package/dist-cjs/protocols/Aws_json1_1.js +24 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +13 -13
- package/dist-es/protocols/Aws_json1_1.js +24 -0
- package/dist-types/Transfer.d.ts +0 -16
- package/dist-types/commands/DeleteServerCommand.d.ts +0 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +0 -2
- package/dist-types/commands/DescribeAccessCommand.d.ts +0 -1
- package/dist-types/commands/DescribeServerCommand.d.ts +0 -1
- package/dist-types/commands/DescribeUserCommand.d.ts +0 -1
- package/dist-types/commands/ImportSshPublicKeyCommand.d.ts +0 -1
- package/dist-types/commands/StartServerCommand.d.ts +0 -2
- package/dist-types/commands/StopServerCommand.d.ts +0 -3
- package/dist-types/commands/TagResourceCommand.d.ts +0 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +0 -1
- package/dist-types/commands/UpdateServerCommand.d.ts +0 -1
- package/dist-types/commands/UpdateUserCommand.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +12 -108
- package/dist-types/ts3.4/models/models_0.d.ts +8 -8
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
4
|
+
const q = "fn", r = "argv", s = "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 = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, 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: o, 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: p, 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,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.
|
|
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.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
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
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
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;
|
|
@@ -177,6 +177,20 @@ 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;
|
|
180
194
|
var ProfileType;
|
|
181
195
|
(function (ProfileType) {
|
|
182
196
|
ProfileType["LOCAL"] = "LOCAL";
|
|
@@ -218,20 +232,6 @@ var Protocol;
|
|
|
218
232
|
Protocol["FTPS"] = "FTPS";
|
|
219
233
|
Protocol["SFTP"] = "SFTP";
|
|
220
234
|
})(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
235
|
var EncryptionType;
|
|
236
236
|
(function (EncryptionType) {
|
|
237
237
|
EncryptionType["PGP"] = "PGP";
|
|
@@ -669,6 +669,9 @@ 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);
|
|
672
675
|
default:
|
|
673
676
|
const parsedBody = parsedOutput.body;
|
|
674
677
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -715,6 +718,9 @@ const deserializeAws_json1_1CreateConnectorCommandError = async (output, context
|
|
|
715
718
|
case "ServiceUnavailableException":
|
|
716
719
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
717
720
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
721
|
+
case "ThrottlingException":
|
|
722
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
723
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
718
724
|
default:
|
|
719
725
|
const parsedBody = parsedOutput.body;
|
|
720
726
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -758,6 +764,9 @@ const deserializeAws_json1_1CreateProfileCommandError = async (output, context)
|
|
|
758
764
|
case "ServiceUnavailableException":
|
|
759
765
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
760
766
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
767
|
+
case "ThrottlingException":
|
|
768
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
769
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
761
770
|
default:
|
|
762
771
|
const parsedBody = parsedOutput.body;
|
|
763
772
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2821,6 +2830,9 @@ const deserializeAws_json1_1UpdateAccessCommandError = async (output, context) =
|
|
|
2821
2830
|
case "ServiceUnavailableException":
|
|
2822
2831
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2823
2832
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2833
|
+
case "ThrottlingException":
|
|
2834
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
2835
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2824
2836
|
default:
|
|
2825
2837
|
const parsedBody = parsedOutput.body;
|
|
2826
2838
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2867,6 +2879,9 @@ const deserializeAws_json1_1UpdateAgreementCommandError = async (output, context
|
|
|
2867
2879
|
case "ServiceUnavailableException":
|
|
2868
2880
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2869
2881
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2882
|
+
case "ThrottlingException":
|
|
2883
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
2884
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2870
2885
|
default:
|
|
2871
2886
|
const parsedBody = parsedOutput.body;
|
|
2872
2887
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2910,6 +2925,9 @@ const deserializeAws_json1_1UpdateCertificateCommandError = async (output, conte
|
|
|
2910
2925
|
case "ServiceUnavailableException":
|
|
2911
2926
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2912
2927
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2928
|
+
case "ThrottlingException":
|
|
2929
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
2930
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2913
2931
|
default:
|
|
2914
2932
|
const parsedBody = parsedOutput.body;
|
|
2915
2933
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2956,6 +2974,9 @@ const deserializeAws_json1_1UpdateConnectorCommandError = async (output, context
|
|
|
2956
2974
|
case "ServiceUnavailableException":
|
|
2957
2975
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2958
2976
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2977
|
+
case "ThrottlingException":
|
|
2978
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
2979
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2959
2980
|
default:
|
|
2960
2981
|
const parsedBody = parsedOutput.body;
|
|
2961
2982
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -3045,6 +3066,9 @@ const deserializeAws_json1_1UpdateProfileCommandError = async (output, context)
|
|
|
3045
3066
|
case "ServiceUnavailableException":
|
|
3046
3067
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
3047
3068
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
3069
|
+
case "ThrottlingException":
|
|
3070
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
3071
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3048
3072
|
default:
|
|
3049
3073
|
const parsedBody = parsedOutput.body;
|
|
3050
3074
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
1
|
+
const q = "fn", r = "argv", s = "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 = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, 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: o, 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: p, 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,6 +164,19 @@ 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
|
+
}
|
|
167
180
|
export var ProfileType;
|
|
168
181
|
(function (ProfileType) {
|
|
169
182
|
ProfileType["LOCAL"] = "LOCAL";
|
|
@@ -205,19 +218,6 @@ export var Protocol;
|
|
|
205
218
|
Protocol["FTPS"] = "FTPS";
|
|
206
219
|
Protocol["SFTP"] = "SFTP";
|
|
207
220
|
})(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
221
|
export var EncryptionType;
|
|
222
222
|
(function (EncryptionType) {
|
|
223
223
|
EncryptionType["PGP"] = "PGP";
|
|
@@ -604,6 +604,9 @@ 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);
|
|
607
610
|
default:
|
|
608
611
|
const parsedBody = parsedOutput.body;
|
|
609
612
|
throwDefaultError({
|
|
@@ -649,6 +652,9 @@ const deserializeAws_json1_1CreateConnectorCommandError = async (output, context
|
|
|
649
652
|
case "ServiceUnavailableException":
|
|
650
653
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
651
654
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
655
|
+
case "ThrottlingException":
|
|
656
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
657
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
652
658
|
default:
|
|
653
659
|
const parsedBody = parsedOutput.body;
|
|
654
660
|
throwDefaultError({
|
|
@@ -691,6 +697,9 @@ const deserializeAws_json1_1CreateProfileCommandError = async (output, context)
|
|
|
691
697
|
case "ServiceUnavailableException":
|
|
692
698
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
693
699
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
700
|
+
case "ThrottlingException":
|
|
701
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
702
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
694
703
|
default:
|
|
695
704
|
const parsedBody = parsedOutput.body;
|
|
696
705
|
throwDefaultError({
|
|
@@ -2707,6 +2716,9 @@ const deserializeAws_json1_1UpdateAccessCommandError = async (output, context) =
|
|
|
2707
2716
|
case "ServiceUnavailableException":
|
|
2708
2717
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2709
2718
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2719
|
+
case "ThrottlingException":
|
|
2720
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
2721
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2710
2722
|
default:
|
|
2711
2723
|
const parsedBody = parsedOutput.body;
|
|
2712
2724
|
throwDefaultError({
|
|
@@ -2752,6 +2764,9 @@ const deserializeAws_json1_1UpdateAgreementCommandError = async (output, context
|
|
|
2752
2764
|
case "ServiceUnavailableException":
|
|
2753
2765
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2754
2766
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2767
|
+
case "ThrottlingException":
|
|
2768
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
2769
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2755
2770
|
default:
|
|
2756
2771
|
const parsedBody = parsedOutput.body;
|
|
2757
2772
|
throwDefaultError({
|
|
@@ -2794,6 +2809,9 @@ const deserializeAws_json1_1UpdateCertificateCommandError = async (output, conte
|
|
|
2794
2809
|
case "ServiceUnavailableException":
|
|
2795
2810
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2796
2811
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2812
|
+
case "ThrottlingException":
|
|
2813
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
2814
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2797
2815
|
default:
|
|
2798
2816
|
const parsedBody = parsedOutput.body;
|
|
2799
2817
|
throwDefaultError({
|
|
@@ -2839,6 +2857,9 @@ const deserializeAws_json1_1UpdateConnectorCommandError = async (output, context
|
|
|
2839
2857
|
case "ServiceUnavailableException":
|
|
2840
2858
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2841
2859
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2860
|
+
case "ThrottlingException":
|
|
2861
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
2862
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2842
2863
|
default:
|
|
2843
2864
|
const parsedBody = parsedOutput.body;
|
|
2844
2865
|
throwDefaultError({
|
|
@@ -2926,6 +2947,9 @@ const deserializeAws_json1_1UpdateProfileCommandError = async (output, context)
|
|
|
2926
2947
|
case "ServiceUnavailableException":
|
|
2927
2948
|
case "com.amazonaws.transfer#ServiceUnavailableException":
|
|
2928
2949
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2950
|
+
case "ThrottlingException":
|
|
2951
|
+
case "com.amazonaws.transfer#ThrottlingException":
|
|
2952
|
+
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2929
2953
|
default:
|
|
2930
2954
|
const parsedBody = parsedOutput.body;
|
|
2931
2955
|
throwDefaultError({
|
package/dist-types/Transfer.d.ts
CHANGED
|
@@ -177,7 +177,6 @@ export declare class Transfer extends TransferClient {
|
|
|
177
177
|
deleteProfile(args: DeleteProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
|
|
178
178
|
/**
|
|
179
179
|
* <p>Deletes the file transfer protocol-enabled server that you specify.</p>
|
|
180
|
-
*
|
|
181
180
|
* <p>No response returns from this operation.</p>
|
|
182
181
|
*/
|
|
183
182
|
deleteServer(args: DeleteServerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServerCommandOutput>;
|
|
@@ -191,9 +190,7 @@ export declare class Transfer extends TransferClient {
|
|
|
191
190
|
deleteSshPublicKey(args: DeleteSshPublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSshPublicKeyCommandOutput) => void): void;
|
|
192
191
|
/**
|
|
193
192
|
* <p>Deletes the user belonging to a file transfer protocol-enabled server you specify.</p>
|
|
194
|
-
*
|
|
195
193
|
* <p>No response returns from this operation.</p>
|
|
196
|
-
*
|
|
197
194
|
* <note>
|
|
198
195
|
* <p>When you delete a user from a server, the user's information is lost.</p>
|
|
199
196
|
* </note>
|
|
@@ -211,7 +208,6 @@ export declare class Transfer extends TransferClient {
|
|
|
211
208
|
* <p>Describes the access that is assigned to the specific file transfer protocol-enabled
|
|
212
209
|
* server, as identified by its <code>ServerId</code> property and its
|
|
213
210
|
* <code>ExternalId</code>.</p>
|
|
214
|
-
*
|
|
215
211
|
* <p>The response from this call returns the properties of the access that is associated with
|
|
216
212
|
* the <code>ServerId</code> value that was specified.</p>
|
|
217
213
|
*/
|
|
@@ -267,7 +263,6 @@ export declare class Transfer extends TransferClient {
|
|
|
267
263
|
/**
|
|
268
264
|
* <p>Describes a file transfer protocol-enabled server that you specify by passing the
|
|
269
265
|
* <code>ServerId</code> parameter.</p>
|
|
270
|
-
*
|
|
271
266
|
* <p>The response contains a description of a server's properties. When you set
|
|
272
267
|
* <code>EndpointType</code> to VPC, the response will contain the
|
|
273
268
|
* <code>EndpointDetails</code>.</p>
|
|
@@ -278,7 +273,6 @@ export declare class Transfer extends TransferClient {
|
|
|
278
273
|
/**
|
|
279
274
|
* <p>Describes the user assigned to the specific file transfer protocol-enabled server, as
|
|
280
275
|
* identified by its <code>ServerId</code> property.</p>
|
|
281
|
-
*
|
|
282
276
|
* <p>The response from this call returns the properties of the user associated with the
|
|
283
277
|
* <code>ServerId</code> value that was specified.</p>
|
|
284
278
|
*/
|
|
@@ -310,7 +304,6 @@ export declare class Transfer extends TransferClient {
|
|
|
310
304
|
* <p>Adds a Secure Shell (SSH) public key to a user account identified by a
|
|
311
305
|
* <code>UserName</code> value assigned to the specific file transfer protocol-enabled server,
|
|
312
306
|
* identified by <code>ServerId</code>.</p>
|
|
313
|
-
*
|
|
314
307
|
* <p>The response returns the <code>UserName</code> value, the <code>ServerId</code> value, and
|
|
315
308
|
* the name of the <code>SshPublicKeyId</code>.</p>
|
|
316
309
|
*/
|
|
@@ -426,11 +419,9 @@ export declare class Transfer extends TransferClient {
|
|
|
426
419
|
* <p>Changes the state of a file transfer protocol-enabled server from <code>OFFLINE</code> to
|
|
427
420
|
* <code>ONLINE</code>. It has no impact on a server that is already <code>ONLINE</code>. An
|
|
428
421
|
* <code>ONLINE</code> server can accept and process file transfer jobs.</p>
|
|
429
|
-
*
|
|
430
422
|
* <p>The state of <code>STARTING</code> indicates that the server is in an intermediate state,
|
|
431
423
|
* either not fully able to respond, or not fully online. The values of <code>START_FAILED</code>
|
|
432
424
|
* can indicate an error condition.</p>
|
|
433
|
-
*
|
|
434
425
|
* <p>No response is returned from this call.</p>
|
|
435
426
|
*/
|
|
436
427
|
startServer(args: StartServerCommandInput, options?: __HttpHandlerOptions): Promise<StartServerCommandOutput>;
|
|
@@ -441,16 +432,13 @@ export declare class Transfer extends TransferClient {
|
|
|
441
432
|
* <code>OFFLINE</code>. An <code>OFFLINE</code> server cannot accept and process file transfer
|
|
442
433
|
* jobs. Information tied to your server, such as server and user properties, are not affected by
|
|
443
434
|
* stopping your server.</p>
|
|
444
|
-
*
|
|
445
435
|
* <note>
|
|
446
436
|
* <p>Stopping the server does not reduce or impact your file transfer protocol endpoint
|
|
447
437
|
* billing; you must delete the server to stop being billed.</p>
|
|
448
438
|
* </note>
|
|
449
|
-
*
|
|
450
439
|
* <p>The state of <code>STOPPING</code> indicates that the server is in an intermediate state,
|
|
451
440
|
* either not fully able to respond, or not fully offline. The values of <code>STOP_FAILED</code>
|
|
452
441
|
* can indicate an error condition.</p>
|
|
453
|
-
*
|
|
454
442
|
* <p>No response is returned from this call.</p>
|
|
455
443
|
*/
|
|
456
444
|
stopServer(args: StopServerCommandInput, options?: __HttpHandlerOptions): Promise<StopServerCommandOutput>;
|
|
@@ -459,7 +447,6 @@ export declare class Transfer extends TransferClient {
|
|
|
459
447
|
/**
|
|
460
448
|
* <p>Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
|
|
461
449
|
* Resources are users, servers, roles, and other entities.</p>
|
|
462
|
-
*
|
|
463
450
|
* <p>There is no response returned from this call.</p>
|
|
464
451
|
*/
|
|
465
452
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
@@ -512,7 +499,6 @@ export declare class Transfer extends TransferClient {
|
|
|
512
499
|
/**
|
|
513
500
|
* <p>Detaches a key-value pair from a resource, as identified by its Amazon Resource Name
|
|
514
501
|
* (ARN). Resources are users, servers, roles, and other entities.</p>
|
|
515
|
-
*
|
|
516
502
|
* <p>No response is returned from this call.</p>
|
|
517
503
|
*/
|
|
518
504
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
@@ -565,7 +551,6 @@ export declare class Transfer extends TransferClient {
|
|
|
565
551
|
/**
|
|
566
552
|
* <p>Updates the file transfer protocol-enabled server's properties after that server has
|
|
567
553
|
* been created.</p>
|
|
568
|
-
*
|
|
569
554
|
* <p>The <code>UpdateServer</code> call returns the <code>ServerId</code> of the server you
|
|
570
555
|
* updated.</p>
|
|
571
556
|
*/
|
|
@@ -576,7 +561,6 @@ export declare class Transfer extends TransferClient {
|
|
|
576
561
|
* <p>Assigns new properties to a user. Parameters you pass modify any or all of the following:
|
|
577
562
|
* the home directory, role, and policy for the <code>UserName</code> and <code>ServerId</code>
|
|
578
563
|
* you specify.</p>
|
|
579
|
-
*
|
|
580
564
|
* <p>The response returns the <code>ServerId</code> and the <code>UserName</code> for the
|
|
581
565
|
* updated user.</p>
|
|
582
566
|
*/
|
|
@@ -9,7 +9,6 @@ export interface DeleteServerCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the file transfer protocol-enabled server that you specify.</p>
|
|
12
|
-
*
|
|
13
12
|
* <p>No response returns from this operation.</p>
|
|
14
13
|
* @example
|
|
15
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,9 +9,7 @@ export interface DeleteUserCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the user belonging to a file transfer protocol-enabled server you specify.</p>
|
|
12
|
-
*
|
|
13
12
|
* <p>No response returns from this operation.</p>
|
|
14
|
-
*
|
|
15
13
|
* <note>
|
|
16
14
|
* <p>When you delete a user from a server, the user's information is lost.</p>
|
|
17
15
|
* </note>
|
|
@@ -11,7 +11,6 @@ export interface DescribeAccessCommandOutput extends DescribeAccessResponse, __M
|
|
|
11
11
|
* <p>Describes the access that is assigned to the specific file transfer protocol-enabled
|
|
12
12
|
* server, as identified by its <code>ServerId</code> property and its
|
|
13
13
|
* <code>ExternalId</code>.</p>
|
|
14
|
-
*
|
|
15
14
|
* <p>The response from this call returns the properties of the access that is associated with
|
|
16
15
|
* the <code>ServerId</code> value that was specified.</p>
|
|
17
16
|
* @example
|
|
@@ -10,7 +10,6 @@ export interface DescribeServerCommandOutput extends DescribeServerResponse, __M
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes a file transfer protocol-enabled server that you specify by passing the
|
|
12
12
|
* <code>ServerId</code> parameter.</p>
|
|
13
|
-
*
|
|
14
13
|
* <p>The response contains a description of a server's properties. When you set
|
|
15
14
|
* <code>EndpointType</code> to VPC, the response will contain the
|
|
16
15
|
* <code>EndpointDetails</code>.</p>
|
|
@@ -10,7 +10,6 @@ export interface DescribeUserCommandOutput extends DescribeUserResponse, __Metad
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes the user assigned to the specific file transfer protocol-enabled server, as
|
|
12
12
|
* identified by its <code>ServerId</code> property.</p>
|
|
13
|
-
*
|
|
14
13
|
* <p>The response from this call returns the properties of the user associated with the
|
|
15
14
|
* <code>ServerId</code> value that was specified.</p>
|
|
16
15
|
* @example
|
|
@@ -11,7 +11,6 @@ export interface ImportSshPublicKeyCommandOutput extends ImportSshPublicKeyRespo
|
|
|
11
11
|
* <p>Adds a Secure Shell (SSH) public key to a user account identified by a
|
|
12
12
|
* <code>UserName</code> value assigned to the specific file transfer protocol-enabled server,
|
|
13
13
|
* identified by <code>ServerId</code>.</p>
|
|
14
|
-
*
|
|
15
14
|
* <p>The response returns the <code>UserName</code> value, the <code>ServerId</code> value, and
|
|
16
15
|
* the name of the <code>SshPublicKeyId</code>.</p>
|
|
17
16
|
* @example
|
|
@@ -11,11 +11,9 @@ export interface StartServerCommandOutput extends __MetadataBearer {
|
|
|
11
11
|
* <p>Changes the state of a file transfer protocol-enabled server from <code>OFFLINE</code> to
|
|
12
12
|
* <code>ONLINE</code>. It has no impact on a server that is already <code>ONLINE</code>. An
|
|
13
13
|
* <code>ONLINE</code> server can accept and process file transfer jobs.</p>
|
|
14
|
-
*
|
|
15
14
|
* <p>The state of <code>STARTING</code> indicates that the server is in an intermediate state,
|
|
16
15
|
* either not fully able to respond, or not fully online. The values of <code>START_FAILED</code>
|
|
17
16
|
* can indicate an error condition.</p>
|
|
18
|
-
*
|
|
19
17
|
* <p>No response is returned from this call.</p>
|
|
20
18
|
* @example
|
|
21
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -12,16 +12,13 @@ export interface StopServerCommandOutput extends __MetadataBearer {
|
|
|
12
12
|
* <code>OFFLINE</code>. An <code>OFFLINE</code> server cannot accept and process file transfer
|
|
13
13
|
* jobs. Information tied to your server, such as server and user properties, are not affected by
|
|
14
14
|
* stopping your server.</p>
|
|
15
|
-
*
|
|
16
15
|
* <note>
|
|
17
16
|
* <p>Stopping the server does not reduce or impact your file transfer protocol endpoint
|
|
18
17
|
* billing; you must delete the server to stop being billed.</p>
|
|
19
18
|
* </note>
|
|
20
|
-
*
|
|
21
19
|
* <p>The state of <code>STOPPING</code> indicates that the server is in an intermediate state,
|
|
22
20
|
* either not fully able to respond, or not fully offline. The values of <code>STOP_FAILED</code>
|
|
23
21
|
* can indicate an error condition.</p>
|
|
24
|
-
*
|
|
25
22
|
* <p>No response is returned from this call.</p>
|
|
26
23
|
* @example
|
|
27
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,7 +10,6 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
|
|
12
12
|
* Resources are users, servers, roles, and other entities.</p>
|
|
13
|
-
*
|
|
14
13
|
* <p>There is no response returned from this call.</p>
|
|
15
14
|
* @example
|
|
16
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,7 +10,6 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Detaches a key-value pair from a resource, as identified by its Amazon Resource Name
|
|
12
12
|
* (ARN). Resources are users, servers, roles, and other entities.</p>
|
|
13
|
-
*
|
|
14
13
|
* <p>No response is returned from this call.</p>
|
|
15
14
|
* @example
|
|
16
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,7 +10,6 @@ export interface UpdateServerCommandOutput extends UpdateServerResponse, __Metad
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Updates the file transfer protocol-enabled server's properties after that server has
|
|
12
12
|
* been created.</p>
|
|
13
|
-
*
|
|
14
13
|
* <p>The <code>UpdateServer</code> call returns the <code>ServerId</code> of the server you
|
|
15
14
|
* updated.</p>
|
|
16
15
|
* @example
|
|
@@ -11,7 +11,6 @@ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataB
|
|
|
11
11
|
* <p>Assigns new properties to a user. Parameters you pass modify any or all of the following:
|
|
12
12
|
* the home directory, role, and policy for the <code>UserName</code> and <code>ServerId</code>
|
|
13
13
|
* you specify.</p>
|
|
14
|
-
*
|
|
15
14
|
* <p>The response returns the <code>ServerId</code> and the <code>UserName</code> for the
|
|
16
15
|
* updated user.</p>
|
|
17
16
|
* @example
|
|
@@ -130,7 +130,6 @@ export declare class ConflictException extends __BaseException {
|
|
|
130
130
|
/**
|
|
131
131
|
* <p>Reserved for future use.</p>
|
|
132
132
|
* <p>
|
|
133
|
-
*
|
|
134
133
|
* </p>
|
|
135
134
|
*/
|
|
136
135
|
export interface EfsFileLocation {
|
|
@@ -301,7 +300,6 @@ export interface CreateAccessRequest {
|
|
|
301
300
|
* <p>A session policy for your user so that you can use the same Identity and Access Management (IAM) role across multiple users. This policy scopes down a user's
|
|
302
301
|
* access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include <code>${Transfer:UserName}</code>,
|
|
303
302
|
* <code>${Transfer:HomeDirectory}</code>, and <code>${Transfer:HomeBucket}</code>.</p>
|
|
304
|
-
*
|
|
305
303
|
* <note>
|
|
306
304
|
* <p>This policy applies only when the domain of <code>ServerId</code> is Amazon S3. Amazon EFS does not use session policies.</p>
|
|
307
305
|
* <p>For session policies, Transfer Family stores the policy as a JSON blob, instead
|
|
@@ -338,13 +336,10 @@ export interface CreateAccessRequest {
|
|
|
338
336
|
* The users of the group that you associate have access to your Amazon S3 or Amazon EFS
|
|
339
337
|
* resources over the enabled protocols using Transfer Family. If you know the group name,
|
|
340
338
|
* you can view the SID values by running the following command using Windows PowerShell.</p>
|
|
341
|
-
*
|
|
342
339
|
* <p>
|
|
343
340
|
* <code>Get-ADGroup -Filter {samAccountName -like "<i>YourGroupName</i>*"} -Properties * | Select SamAccountName,ObjectSid</code>
|
|
344
341
|
* </p>
|
|
345
|
-
*
|
|
346
342
|
* <p>In that command, replace <i>YourGroupName</i> with the name of your Active Directory group.</p>
|
|
347
|
-
*
|
|
348
343
|
* <p>The regular expression used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces.
|
|
349
344
|
* You can also include underscores or any of the following characters: =,.@:/-</p>
|
|
350
345
|
*/
|
|
@@ -498,6 +493,18 @@ export interface CreateAgreementResponse {
|
|
|
498
493
|
*/
|
|
499
494
|
AgreementId: string | undefined;
|
|
500
495
|
}
|
|
496
|
+
/**
|
|
497
|
+
* <p>The request was denied due to request throttling.</p>
|
|
498
|
+
*/
|
|
499
|
+
export declare class ThrottlingException extends __BaseException {
|
|
500
|
+
readonly name: "ThrottlingException";
|
|
501
|
+
readonly $fault: "client";
|
|
502
|
+
RetryAfterSeconds?: string;
|
|
503
|
+
/**
|
|
504
|
+
* @internal
|
|
505
|
+
*/
|
|
506
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
507
|
+
}
|
|
501
508
|
export interface CreateConnectorRequest {
|
|
502
509
|
/**
|
|
503
510
|
* <p>The URL of the partner's AS2 endpoint.</p>
|
|
@@ -593,7 +600,6 @@ export declare enum Domain {
|
|
|
593
600
|
* <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Servicesaccount on or before May 19, 2021,
|
|
594
601
|
* you will not be affected. After this date, use
|
|
595
602
|
* <code>EndpointType</code>=<code>VPC</code>.</p>
|
|
596
|
-
*
|
|
597
603
|
* <p>For more information, see
|
|
598
604
|
* https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.</p>
|
|
599
605
|
* </note>
|
|
@@ -602,9 +608,7 @@ export interface EndpointDetails {
|
|
|
602
608
|
/**
|
|
603
609
|
* <p>A list of address allocation IDs that are required to attach an Elastic IP address to your
|
|
604
610
|
* server's endpoint.</p>
|
|
605
|
-
*
|
|
606
611
|
* <note>
|
|
607
|
-
*
|
|
608
612
|
* <p>This property can only be set when <code>EndpointType</code> is set to <code>VPC</code>
|
|
609
613
|
* and it is only valid in the <code>UpdateServer</code> API.</p>
|
|
610
614
|
* </note>
|
|
@@ -612,7 +616,6 @@ export interface EndpointDetails {
|
|
|
612
616
|
AddressAllocationIds?: string[];
|
|
613
617
|
/**
|
|
614
618
|
* <p>A list of subnet IDs that are required to host your server endpoint in your VPC.</p>
|
|
615
|
-
*
|
|
616
619
|
* <note>
|
|
617
620
|
* <p>This property can only be set when <code>EndpointType</code> is set to
|
|
618
621
|
* <code>VPC</code>.</p>
|
|
@@ -621,11 +624,9 @@ export interface EndpointDetails {
|
|
|
621
624
|
SubnetIds?: string[];
|
|
622
625
|
/**
|
|
623
626
|
* <p>The identifier of the VPC endpoint.</p>
|
|
624
|
-
*
|
|
625
627
|
* <note>
|
|
626
628
|
* <p>This property can only be set when <code>EndpointType</code> is set to
|
|
627
629
|
* <code>VPC_ENDPOINT</code>.</p>
|
|
628
|
-
*
|
|
629
630
|
* <p>For more information, see
|
|
630
631
|
* https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.</p>
|
|
631
632
|
* </note>
|
|
@@ -633,7 +634,6 @@ export interface EndpointDetails {
|
|
|
633
634
|
VpcEndpointId?: string;
|
|
634
635
|
/**
|
|
635
636
|
* <p>The VPC identifier of the VPC in which a server's endpoint will be hosted.</p>
|
|
636
|
-
*
|
|
637
637
|
* <note>
|
|
638
638
|
* <p>This property can only be set when <code>EndpointType</code> is set to
|
|
639
639
|
* <code>VPC</code>.</p>
|
|
@@ -643,11 +643,9 @@ export interface EndpointDetails {
|
|
|
643
643
|
/**
|
|
644
644
|
* <p>A list of security groups IDs that are available to attach to your server's
|
|
645
645
|
* endpoint.</p>
|
|
646
|
-
*
|
|
647
646
|
* <note>
|
|
648
647
|
* <p>This property can only be set when <code>EndpointType</code> is set to
|
|
649
648
|
* <code>VPC</code>.</p>
|
|
650
|
-
*
|
|
651
649
|
* <p>You can edit the <code>SecurityGroupIds</code> property in the <a href="https://docs.aws.amazon.com/transfer/latest/userguide/API_UpdateServer.html">UpdateServer</a> API only if you are changing the <code>EndpointType</code> from
|
|
652
650
|
* <code>PUBLIC</code> or <code>VPC_ENDPOINT</code> to <code>VPC</code>. To change security
|
|
653
651
|
* groups associated with your server's VPC endpoint after creation, use the Amazon EC2
|
|
@@ -724,7 +722,6 @@ export interface ProtocolDetails {
|
|
|
724
722
|
* <p>
|
|
725
723
|
* <i>Special values</i>
|
|
726
724
|
* </p>
|
|
727
|
-
*
|
|
728
725
|
* <p>The <code>AUTO</code> and <code>0.0.0.0</code> are special values for the <code>PassiveIp</code> parameter. The value <code>PassiveIp=AUTO</code>
|
|
729
726
|
* is assigned by default to FTP and FTPS type servers. In this case, the server automatically responds with one of the endpoint IPs within the PASV response.
|
|
730
727
|
* <code>PassiveIp=0.0.0.0</code> has a more unique application for its usage. For example, if you have a High Availability (HA) Network Load Balancer (NLB) environment,
|
|
@@ -829,20 +826,15 @@ export interface CreateServerRequest {
|
|
|
829
826
|
/**
|
|
830
827
|
* <p>The Amazon Resource Name (ARN) of the Certificate Manager (ACM) certificate. Required
|
|
831
828
|
* when <code>Protocols</code> is set to <code>FTPS</code>.</p>
|
|
832
|
-
*
|
|
833
829
|
* <p>To request a new public certificate, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html">Request a public certificate</a>
|
|
834
830
|
* in the <i>Certificate Manager User Guide</i>.</p>
|
|
835
|
-
*
|
|
836
831
|
* <p>To import an existing certificate into ACM, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing certificates into ACM</a>
|
|
837
832
|
* in the <i>Certificate Manager User Guide</i>.</p>
|
|
838
|
-
*
|
|
839
833
|
* <p>To request a private certificate to use FTPS through private IP addresses, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html">Request a
|
|
840
834
|
* private certificate</a> in the <i>Certificate Manager User
|
|
841
835
|
* Guide</i>.</p>
|
|
842
|
-
*
|
|
843
836
|
* <p>Certificates with the following cryptographic algorithms and key sizes are
|
|
844
837
|
* supported:</p>
|
|
845
|
-
*
|
|
846
838
|
* <ul>
|
|
847
839
|
* <li>
|
|
848
840
|
* <p>2048-bit RSA (RSA_2048)</p>
|
|
@@ -860,7 +852,6 @@ export interface CreateServerRequest {
|
|
|
860
852
|
* <p>Elliptic Prime Curve 521 bit (EC_secp521r1)</p>
|
|
861
853
|
* </li>
|
|
862
854
|
* </ul>
|
|
863
|
-
*
|
|
864
855
|
* <note>
|
|
865
856
|
* <p>The certificate must be a valid SSL/TLS X.509 version 3 certificate with FQDN or IP
|
|
866
857
|
* address specified and information about the issuer.</p>
|
|
@@ -871,7 +862,6 @@ export interface CreateServerRequest {
|
|
|
871
862
|
* <p>The domain of the storage system that is used for file transfers. There are two domains
|
|
872
863
|
* available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The
|
|
873
864
|
* default value is S3.</p>
|
|
874
|
-
*
|
|
875
865
|
* <note>
|
|
876
866
|
* <p>After the server is created, the domain cannot be changed.</p>
|
|
877
867
|
* </note>
|
|
@@ -896,7 +886,6 @@ export interface CreateServerRequest {
|
|
|
896
886
|
* <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Services account on or before May 19, 2021,
|
|
897
887
|
* you will not be affected. After this date, use
|
|
898
888
|
* <code>EndpointType</code>=<code>VPC</code>.</p>
|
|
899
|
-
*
|
|
900
889
|
* <p>For more information, see
|
|
901
890
|
* https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.</p>
|
|
902
891
|
* <p>It is recommended that you use <code>VPC</code> as the <code>EndpointType</code>. With
|
|
@@ -910,31 +899,23 @@ export interface CreateServerRequest {
|
|
|
910
899
|
/**
|
|
911
900
|
* <p>The RSA, ECDSA, or ED25519 private key to use for your SFTP-enabled server. You can add multiple host keys, in case you want
|
|
912
901
|
* to rotate keys, or have a set of active keys that use different algorithms.</p>
|
|
913
|
-
*
|
|
914
902
|
* <p>Use the following command to generate an RSA 2048 bit key with no passphrase:</p>
|
|
915
903
|
* <p>
|
|
916
904
|
* <code>ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key</code>.</p>
|
|
917
905
|
* <p>Use a minimum value of 2048 for the <code>-b</code> option. You can create a stronger key by using 3072 or 4096.</p>
|
|
918
|
-
*
|
|
919
906
|
* <p>Use the following command to generate an ECDSA 256 bit key with no passphrase:</p>
|
|
920
907
|
* <p>
|
|
921
908
|
* <code>ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key</code>.</p>
|
|
922
909
|
* <p>Valid values for the <code>-b</code> option for ECDSA are 256, 384, and 521.</p>
|
|
923
|
-
*
|
|
924
910
|
* <p>Use the following command to generate an ED25519 key with no passphrase:</p>
|
|
925
911
|
* <p>
|
|
926
912
|
* <code>ssh-keygen -t ed25519 -N "" -f my-new-server-key</code>.</p>
|
|
927
|
-
*
|
|
928
913
|
* <p>For all of these commands, you can replace <i>my-new-server-key</i> with a string of your choice.</p>
|
|
929
|
-
*
|
|
930
914
|
* <important>
|
|
931
915
|
* <p>If you aren't planning to migrate existing users from an existing SFTP-enabled
|
|
932
916
|
* server to a new server, don't update the host key. Accidentally changing a
|
|
933
917
|
* server's host key can be disruptive.</p>
|
|
934
918
|
* </important>
|
|
935
|
-
*
|
|
936
|
-
*
|
|
937
|
-
*
|
|
938
919
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key">Update host keys for your SFTP-enabled server</a> in the <i>Transfer Family User Guide</i>.</p>
|
|
939
920
|
*/
|
|
940
921
|
HostKey?: string;
|
|
@@ -978,7 +959,6 @@ export interface CreateServerRequest {
|
|
|
978
959
|
/**
|
|
979
960
|
* <p>Specifies a string to display when users connect to a server. This string is displayed before the user authenticates.
|
|
980
961
|
* For example, the following banner displays details about using the system:</p>
|
|
981
|
-
*
|
|
982
962
|
* <p>
|
|
983
963
|
* <code>This system is for the use of authorized users only. Individuals using this computer system without authority,
|
|
984
964
|
* or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by
|
|
@@ -1009,7 +989,6 @@ export interface CreateServerRequest {
|
|
|
1009
989
|
* <code>AS2</code> (Applicability Statement 2): used for transporting structured business-to-business data</p>
|
|
1010
990
|
* </li>
|
|
1011
991
|
* </ul>
|
|
1012
|
-
*
|
|
1013
992
|
* <note>
|
|
1014
993
|
* <ul>
|
|
1015
994
|
* <li>
|
|
@@ -1089,18 +1068,6 @@ export interface CreateServerResponse {
|
|
|
1089
1068
|
*/
|
|
1090
1069
|
ServerId: string | undefined;
|
|
1091
1070
|
}
|
|
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
|
-
}
|
|
1104
1071
|
export interface CreateUserRequest {
|
|
1105
1072
|
/**
|
|
1106
1073
|
* <p>The landing directory (folder) for a user when they log in to the server using the client.</p>
|
|
@@ -1123,14 +1090,11 @@ export interface CreateUserRequest {
|
|
|
1123
1090
|
* role provides access to paths in <code>Target</code>. This value
|
|
1124
1091
|
* can be set only when <code>HomeDirectoryType</code> is set to
|
|
1125
1092
|
* <i>LOGICAL</i>.</p>
|
|
1126
|
-
*
|
|
1127
1093
|
* <p>The following is an <code>Entry</code> and <code>Target</code> pair example.</p>
|
|
1128
|
-
*
|
|
1129
1094
|
* <p>
|
|
1130
1095
|
* <code>[ { "Entry": "/directory1", "Target":
|
|
1131
1096
|
* "/bucket_name/home/mydirectory" } ]</code>
|
|
1132
1097
|
* </p>
|
|
1133
|
-
*
|
|
1134
1098
|
* <p>In most cases, you can use this value instead of the session policy to lock your user
|
|
1135
1099
|
* down to the designated home directory ("<code>chroot</code>"). To do this, you can set
|
|
1136
1100
|
* <code>Entry</code> to <code>/</code> and set <code>Target</code> to the HomeDirectory
|
|
@@ -1145,20 +1109,13 @@ export interface CreateUserRequest {
|
|
|
1145
1109
|
* <p>A session policy for your user so that you can use the same Identity and Access Management (IAM) role across multiple users. This policy scopes down a user's
|
|
1146
1110
|
* access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include <code>${Transfer:UserName}</code>,
|
|
1147
1111
|
* <code>${Transfer:HomeDirectory}</code>, and <code>${Transfer:HomeBucket}</code>.</p>
|
|
1148
|
-
*
|
|
1149
1112
|
* <note>
|
|
1150
1113
|
* <p>This policy applies only when the domain of <code>ServerId</code> is Amazon S3. Amazon EFS does not use session policies.</p>
|
|
1151
1114
|
* <p>For session policies, Transfer Family stores the policy as a JSON blob, instead
|
|
1152
1115
|
* of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass
|
|
1153
1116
|
* it in the <code>Policy</code> argument.</p>
|
|
1154
|
-
*
|
|
1155
|
-
*
|
|
1156
|
-
*
|
|
1157
1117
|
* <p>For an example of a session policy, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/session-policy.html">Example session
|
|
1158
1118
|
* policy</a>.</p>
|
|
1159
|
-
*
|
|
1160
|
-
*
|
|
1161
|
-
*
|
|
1162
1119
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html">AssumeRole</a> in the <i>Amazon Web Services
|
|
1163
1120
|
* Security Token Service API Reference</i>.</p>
|
|
1164
1121
|
* </note>
|
|
@@ -1468,13 +1425,10 @@ export interface DeleteAccessRequest {
|
|
|
1468
1425
|
* The users of the group that you associate have access to your Amazon S3 or Amazon EFS
|
|
1469
1426
|
* resources over the enabled protocols using Transfer Family. If you know the group name,
|
|
1470
1427
|
* you can view the SID values by running the following command using Windows PowerShell.</p>
|
|
1471
|
-
*
|
|
1472
1428
|
* <p>
|
|
1473
1429
|
* <code>Get-ADGroup -Filter {samAccountName -like "<i>YourGroupName</i>*"} -Properties * | Select SamAccountName,ObjectSid</code>
|
|
1474
1430
|
* </p>
|
|
1475
|
-
*
|
|
1476
1431
|
* <p>In that command, replace <i>YourGroupName</i> with the name of your Active Directory group.</p>
|
|
1477
|
-
*
|
|
1478
1432
|
* <p>The regular expression used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces.
|
|
1479
1433
|
* You can also include underscores or any of the following characters: =,.@:/-</p>
|
|
1480
1434
|
*/
|
|
@@ -1566,13 +1520,10 @@ export interface DescribeAccessRequest {
|
|
|
1566
1520
|
* The users of the group that you associate have access to your Amazon S3 or Amazon EFS
|
|
1567
1521
|
* resources over the enabled protocols using Transfer Family. If you know the group name,
|
|
1568
1522
|
* you can view the SID values by running the following command using Windows PowerShell.</p>
|
|
1569
|
-
*
|
|
1570
1523
|
* <p>
|
|
1571
1524
|
* <code>Get-ADGroup -Filter {samAccountName -like "<i>YourGroupName</i>*"} -Properties * | Select SamAccountName,ObjectSid</code>
|
|
1572
1525
|
* </p>
|
|
1573
|
-
*
|
|
1574
1526
|
* <p>In that command, replace <i>YourGroupName</i> with the name of your Active Directory group.</p>
|
|
1575
|
-
*
|
|
1576
1527
|
* <p>The regular expression used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces.
|
|
1577
1528
|
* You can also include underscores or any of the following characters: =,.@:/-</p>
|
|
1578
1529
|
*/
|
|
@@ -1596,7 +1547,6 @@ export interface DescribedAccess {
|
|
|
1596
1547
|
* role provides access to paths in <code>Target</code>. This value
|
|
1597
1548
|
* can be set only when <code>HomeDirectoryType</code> is set to
|
|
1598
1549
|
* <i>LOGICAL</i>.</p>
|
|
1599
|
-
*
|
|
1600
1550
|
* <p>In most cases, you can use this value instead of the session policy to lock down the
|
|
1601
1551
|
* associated access to the designated home directory ("<code>chroot</code>"). To do this, you
|
|
1602
1552
|
* can set <code>Entry</code> to '/' and set <code>Target</code> to the
|
|
@@ -1636,13 +1586,10 @@ export interface DescribedAccess {
|
|
|
1636
1586
|
* The users of the group that you associate have access to your Amazon S3 or Amazon EFS
|
|
1637
1587
|
* resources over the enabled protocols using Transfer Family. If you know the group name,
|
|
1638
1588
|
* you can view the SID values by running the following command using Windows PowerShell.</p>
|
|
1639
|
-
*
|
|
1640
1589
|
* <p>
|
|
1641
1590
|
* <code>Get-ADGroup -Filter {samAccountName -like "<i>YourGroupName</i>*"} -Properties * | Select SamAccountName,ObjectSid</code>
|
|
1642
1591
|
* </p>
|
|
1643
|
-
*
|
|
1644
1592
|
* <p>In that command, replace <i>YourGroupName</i> with the name of your Active Directory group.</p>
|
|
1645
|
-
*
|
|
1646
1593
|
* <p>The regular expression used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces.
|
|
1647
1594
|
* You can also include underscores or any of the following characters: =,.@:/-</p>
|
|
1648
1595
|
*/
|
|
@@ -2347,7 +2294,6 @@ export interface DescribedServer {
|
|
|
2347
2294
|
/**
|
|
2348
2295
|
* <p>Specifies a string to display when users connect to a server. This string is displayed before the user authenticates.
|
|
2349
2296
|
* For example, the following banner displays details about using the system:</p>
|
|
2350
|
-
*
|
|
2351
2297
|
* <p>
|
|
2352
2298
|
* <code>This system is for the use of authorized users only. Individuals using this computer system without authority,
|
|
2353
2299
|
* or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by
|
|
@@ -2378,7 +2324,6 @@ export interface DescribedServer {
|
|
|
2378
2324
|
* <code>AS2</code> (Applicability Statement 2): used for transporting structured business-to-business data</p>
|
|
2379
2325
|
* </li>
|
|
2380
2326
|
* </ul>
|
|
2381
|
-
*
|
|
2382
2327
|
* <note>
|
|
2383
2328
|
* <ul>
|
|
2384
2329
|
* <li>
|
|
@@ -2421,7 +2366,6 @@ export interface DescribedServer {
|
|
|
2421
2366
|
* <code>ONLINE</code> indicates that the server can accept jobs and transfer files. A
|
|
2422
2367
|
* <code>State</code> value of <code>OFFLINE</code> means that the server cannot perform file
|
|
2423
2368
|
* transfer operations.</p>
|
|
2424
|
-
*
|
|
2425
2369
|
* <p>The states of <code>STARTING</code> and <code>STOPPING</code> indicate that the server is
|
|
2426
2370
|
* in an intermediate state, either not fully able to respond, or not fully offline. The values
|
|
2427
2371
|
* of <code>START_FAILED</code> or <code>STOP_FAILED</code> can indicate an error
|
|
@@ -2493,7 +2437,6 @@ export interface DescribedUser {
|
|
|
2493
2437
|
* role provides access to paths in <code>Target</code>. This value
|
|
2494
2438
|
* can be set only when <code>HomeDirectoryType</code> is set to
|
|
2495
2439
|
* <i>LOGICAL</i>.</p>
|
|
2496
|
-
*
|
|
2497
2440
|
* <p>In most cases, you can use this value instead of the session policy to lock your user
|
|
2498
2441
|
* down to the designated home directory ("<code>chroot</code>"). To do this, you can set
|
|
2499
2442
|
* <code>Entry</code> to '/' and set <code>Target</code> to the HomeDirectory
|
|
@@ -2843,13 +2786,10 @@ export interface ListedAccess {
|
|
|
2843
2786
|
* The users of the group that you associate have access to your Amazon S3 or Amazon EFS
|
|
2844
2787
|
* resources over the enabled protocols using Transfer Family. If you know the group name,
|
|
2845
2788
|
* you can view the SID values by running the following command using Windows PowerShell.</p>
|
|
2846
|
-
*
|
|
2847
2789
|
* <p>
|
|
2848
2790
|
* <code>Get-ADGroup -Filter {samAccountName -like "<i>YourGroupName</i>*"} -Properties * | Select SamAccountName,ObjectSid</code>
|
|
2849
2791
|
* </p>
|
|
2850
|
-
*
|
|
2851
2792
|
* <p>In that command, replace <i>YourGroupName</i> with the name of your Active Directory group.</p>
|
|
2852
|
-
*
|
|
2853
2793
|
* <p>The regular expression used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces.
|
|
2854
2794
|
* You can also include underscores or any of the following characters: =,.@:/-</p>
|
|
2855
2795
|
*/
|
|
@@ -3194,7 +3134,6 @@ export interface ListedServer {
|
|
|
3194
3134
|
* <code>ONLINE</code> indicates that the server can accept jobs and transfer files. A
|
|
3195
3135
|
* <code>State</code> value of <code>OFFLINE</code> means that the server cannot perform file
|
|
3196
3136
|
* transfer operations.</p>
|
|
3197
|
-
*
|
|
3198
3137
|
* <p>The states of <code>STARTING</code> and <code>STOPPING</code> indicate that the server is
|
|
3199
3138
|
* in an intermediate state, either not fully able to respond, or not fully offline. The values
|
|
3200
3139
|
* of <code>START_FAILED</code> or <code>STOP_FAILED</code> can indicate an error
|
|
@@ -3234,12 +3173,10 @@ export interface ListedUser {
|
|
|
3234
3173
|
* when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust
|
|
3235
3174
|
* relationship that allows the server to access your resources when servicing your users' transfer requests.</p>
|
|
3236
3175
|
* <note>
|
|
3237
|
-
*
|
|
3238
3176
|
* <p>The IAM role that controls your users' access to your Amazon S3 bucket for servers with <code>Domain=S3</code>, or your EFS file system for servers with <code>Domain=EFS</code>.
|
|
3239
3177
|
* </p>
|
|
3240
3178
|
* <p>The policies attached to this role determine the level of access you want to provide your users when
|
|
3241
3179
|
* transferring files into and out of your S3 buckets or EFS file systems.</p>
|
|
3242
|
-
*
|
|
3243
3180
|
* </note>
|
|
3244
3181
|
*/
|
|
3245
3182
|
Role?: string;
|
|
@@ -3625,9 +3562,7 @@ export interface TestIdentityProviderRequest {
|
|
|
3625
3562
|
ServerId: string | undefined;
|
|
3626
3563
|
/**
|
|
3627
3564
|
* <p>The type of file transfer protocol to be tested.</p>
|
|
3628
|
-
*
|
|
3629
3565
|
* <p>The available protocols are:</p>
|
|
3630
|
-
*
|
|
3631
3566
|
* <ul>
|
|
3632
3567
|
* <li>
|
|
3633
3568
|
* <p>Secure Shell (SSH) File Transfer Protocol (SFTP)</p>
|
|
@@ -3727,7 +3662,6 @@ export interface UpdateAccessRequest {
|
|
|
3727
3662
|
* <p>A session policy for your user so that you can use the same Identity and Access Management (IAM) role across multiple users. This policy scopes down a user's
|
|
3728
3663
|
* access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include <code>${Transfer:UserName}</code>,
|
|
3729
3664
|
* <code>${Transfer:HomeDirectory}</code>, and <code>${Transfer:HomeBucket}</code>.</p>
|
|
3730
|
-
*
|
|
3731
3665
|
* <note>
|
|
3732
3666
|
* <p>This policy applies only when the domain of <code>ServerId</code> is Amazon S3. Amazon EFS does not use session policies.</p>
|
|
3733
3667
|
* <p>For session policies, Transfer Family stores the policy as a JSON blob, instead
|
|
@@ -3764,13 +3698,10 @@ export interface UpdateAccessRequest {
|
|
|
3764
3698
|
* The users of the group that you associate have access to your Amazon S3 or Amazon EFS
|
|
3765
3699
|
* resources over the enabled protocols using Transfer Family. If you know the group name,
|
|
3766
3700
|
* you can view the SID values by running the following command using Windows PowerShell.</p>
|
|
3767
|
-
*
|
|
3768
3701
|
* <p>
|
|
3769
3702
|
* <code>Get-ADGroup -Filter {samAccountName -like "<i>YourGroupName</i>*"} -Properties * | Select SamAccountName,ObjectSid</code>
|
|
3770
3703
|
* </p>
|
|
3771
|
-
*
|
|
3772
3704
|
* <p>In that command, replace <i>YourGroupName</i> with the name of your Active Directory group.</p>
|
|
3773
|
-
*
|
|
3774
3705
|
* <p>The regular expression used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces.
|
|
3775
3706
|
* You can also include underscores or any of the following characters: =,.@:/-</p>
|
|
3776
3707
|
*/
|
|
@@ -3950,20 +3881,15 @@ export interface UpdateServerRequest {
|
|
|
3950
3881
|
/**
|
|
3951
3882
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web ServicesCertificate Manager (ACM) certificate. Required
|
|
3952
3883
|
* when <code>Protocols</code> is set to <code>FTPS</code>.</p>
|
|
3953
|
-
*
|
|
3954
3884
|
* <p>To request a new public certificate, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html">Request a public certificate</a>
|
|
3955
3885
|
* in the <i> Amazon Web ServicesCertificate Manager User Guide</i>.</p>
|
|
3956
|
-
*
|
|
3957
3886
|
* <p>To import an existing certificate into ACM, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing certificates into ACM</a>
|
|
3958
3887
|
* in the <i> Amazon Web ServicesCertificate Manager User Guide</i>.</p>
|
|
3959
|
-
*
|
|
3960
3888
|
* <p>To request a private certificate to use FTPS through private IP addresses, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html">Request a
|
|
3961
3889
|
* private certificate</a> in the <i> Amazon Web ServicesCertificate Manager User
|
|
3962
3890
|
* Guide</i>.</p>
|
|
3963
|
-
*
|
|
3964
3891
|
* <p>Certificates with the following cryptographic algorithms and key sizes are
|
|
3965
3892
|
* supported:</p>
|
|
3966
|
-
*
|
|
3967
3893
|
* <ul>
|
|
3968
3894
|
* <li>
|
|
3969
3895
|
* <p>2048-bit RSA (RSA_2048)</p>
|
|
@@ -3981,7 +3907,6 @@ export interface UpdateServerRequest {
|
|
|
3981
3907
|
* <p>Elliptic Prime Curve 521 bit (EC_secp521r1)</p>
|
|
3982
3908
|
* </li>
|
|
3983
3909
|
* </ul>
|
|
3984
|
-
*
|
|
3985
3910
|
* <note>
|
|
3986
3911
|
* <p>The certificate must be a valid SSL/TLS X.509 version 3 certificate with FQDN or IP
|
|
3987
3912
|
* address specified and information about the issuer.</p>
|
|
@@ -4035,7 +3960,6 @@ export interface UpdateServerRequest {
|
|
|
4035
3960
|
* <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Servicesaccount on or before May 19, 2021,
|
|
4036
3961
|
* you will not be affected. After this date, use
|
|
4037
3962
|
* <code>EndpointType</code>=<code>VPC</code>.</p>
|
|
4038
|
-
*
|
|
4039
3963
|
* <p>For more information, see
|
|
4040
3964
|
* https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.</p>
|
|
4041
3965
|
* <p>It is recommended that you use <code>VPC</code> as the <code>EndpointType</code>. With
|
|
@@ -4049,31 +3973,23 @@ export interface UpdateServerRequest {
|
|
|
4049
3973
|
/**
|
|
4050
3974
|
* <p>The RSA, ECDSA, or ED25519 private key to use for your SFTP-enabled server. You can add multiple host keys, in case you want
|
|
4051
3975
|
* to rotate keys, or have a set of active keys that use different algorithms.</p>
|
|
4052
|
-
*
|
|
4053
3976
|
* <p>Use the following command to generate an RSA 2048 bit key with no passphrase:</p>
|
|
4054
3977
|
* <p>
|
|
4055
3978
|
* <code>ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key</code>.</p>
|
|
4056
3979
|
* <p>Use a minimum value of 2048 for the <code>-b</code> option. You can create a stronger key by using 3072 or 4096.</p>
|
|
4057
|
-
*
|
|
4058
3980
|
* <p>Use the following command to generate an ECDSA 256 bit key with no passphrase:</p>
|
|
4059
3981
|
* <p>
|
|
4060
3982
|
* <code>ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key</code>.</p>
|
|
4061
3983
|
* <p>Valid values for the <code>-b</code> option for ECDSA are 256, 384, and 521.</p>
|
|
4062
|
-
*
|
|
4063
3984
|
* <p>Use the following command to generate an ED25519 key with no passphrase:</p>
|
|
4064
3985
|
* <p>
|
|
4065
3986
|
* <code>ssh-keygen -t ed25519 -N "" -f my-new-server-key</code>.</p>
|
|
4066
|
-
*
|
|
4067
3987
|
* <p>For all of these commands, you can replace <i>my-new-server-key</i> with a string of your choice.</p>
|
|
4068
|
-
*
|
|
4069
3988
|
* <important>
|
|
4070
3989
|
* <p>If you aren't planning to migrate existing users from an existing SFTP-enabled
|
|
4071
3990
|
* server to a new server, don't update the host key. Accidentally changing a
|
|
4072
3991
|
* server's host key can be disruptive.</p>
|
|
4073
3992
|
* </important>
|
|
4074
|
-
*
|
|
4075
|
-
*
|
|
4076
|
-
*
|
|
4077
3993
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key">Update host keys for your SFTP-enabled server</a> in the <i>Transfer Family User Guide</i>.</p>
|
|
4078
3994
|
*/
|
|
4079
3995
|
HostKey?: string;
|
|
@@ -4098,7 +4014,6 @@ export interface UpdateServerRequest {
|
|
|
4098
4014
|
/**
|
|
4099
4015
|
* <p>Specifies a string to display when users connect to a server. This string is displayed before the user authenticates.
|
|
4100
4016
|
* For example, the following banner displays details about using the system:</p>
|
|
4101
|
-
*
|
|
4102
4017
|
* <p>
|
|
4103
4018
|
* <code>This system is for the use of authorized users only. Individuals using this computer system without authority,
|
|
4104
4019
|
* or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by
|
|
@@ -4129,7 +4044,6 @@ export interface UpdateServerRequest {
|
|
|
4129
4044
|
* <code>AS2</code> (Applicability Statement 2): used for transporting structured business-to-business data</p>
|
|
4130
4045
|
* </li>
|
|
4131
4046
|
* </ul>
|
|
4132
|
-
*
|
|
4133
4047
|
* <note>
|
|
4134
4048
|
* <ul>
|
|
4135
4049
|
* <li>
|
|
@@ -4209,17 +4123,14 @@ export interface UpdateUserRequest {
|
|
|
4209
4123
|
* role provides access to paths in <code>Target</code>. This value
|
|
4210
4124
|
* can be set only when <code>HomeDirectoryType</code> is set to
|
|
4211
4125
|
* <i>LOGICAL</i>.</p>
|
|
4212
|
-
*
|
|
4213
4126
|
* <p>The following is an <code>Entry</code> and <code>Target</code> pair example.</p>
|
|
4214
4127
|
* <p>
|
|
4215
4128
|
* <code>[ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ]</code>
|
|
4216
4129
|
* </p>
|
|
4217
|
-
*
|
|
4218
4130
|
* <p>In most cases, you can use this value instead of the session policy to lock down your
|
|
4219
4131
|
* user to the designated home directory ("<code>chroot</code>"). To do this, you can set
|
|
4220
4132
|
* <code>Entry</code> to '/' and set <code>Target</code> to the HomeDirectory
|
|
4221
4133
|
* parameter value.</p>
|
|
4222
|
-
*
|
|
4223
4134
|
* <p>The following is an <code>Entry</code> and <code>Target</code> pair example for <code>chroot</code>.</p>
|
|
4224
4135
|
* <p>
|
|
4225
4136
|
* <code>[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]</code>
|
|
@@ -4230,20 +4141,13 @@ export interface UpdateUserRequest {
|
|
|
4230
4141
|
* <p>A session policy for your user so that you can use the same Identity and Access Management (IAM) role across multiple users. This policy scopes down a user's
|
|
4231
4142
|
* access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include <code>${Transfer:UserName}</code>,
|
|
4232
4143
|
* <code>${Transfer:HomeDirectory}</code>, and <code>${Transfer:HomeBucket}</code>.</p>
|
|
4233
|
-
*
|
|
4234
4144
|
* <note>
|
|
4235
4145
|
* <p>This policy applies only when the domain of <code>ServerId</code> is Amazon S3. Amazon EFS does not use session policies.</p>
|
|
4236
4146
|
* <p>For session policies, Transfer Family stores the policy as a JSON blob, instead
|
|
4237
4147
|
* of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass
|
|
4238
4148
|
* it in the <code>Policy</code> argument.</p>
|
|
4239
|
-
*
|
|
4240
|
-
*
|
|
4241
|
-
*
|
|
4242
4149
|
* <p>For an example of a session policy, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/session-policy">Creating a session
|
|
4243
4150
|
* policy</a>.</p>
|
|
4244
|
-
*
|
|
4245
|
-
*
|
|
4246
|
-
*
|
|
4247
4151
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html">AssumeRole</a> in the <i>Amazon Web Services
|
|
4248
4152
|
* Security Token Service API Reference</i>.</p>
|
|
4249
4153
|
* </note>
|
|
@@ -183,6 +183,14 @@ 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
|
+
}
|
|
186
194
|
export interface CreateConnectorRequest {
|
|
187
195
|
Url: string | undefined;
|
|
188
196
|
As2Config: As2ConnectorConfig | undefined;
|
|
@@ -283,14 +291,6 @@ export interface CreateServerRequest {
|
|
|
283
291
|
export interface CreateServerResponse {
|
|
284
292
|
ServerId: string | undefined;
|
|
285
293
|
}
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transfer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.241.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.241.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.241.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.234.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.234.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.241.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.229.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-node": "3.226.0",
|