@aws-sdk/client-transfer 3.50.0 → 3.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/TransferServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +134 -3
- package/dist-cjs/protocols/Aws_json1_1.js +378 -1302
- package/dist-es/index.js +1 -0
- package/dist-es/models/TransferServiceException.js +12 -0
- package/dist-es/models/models_0.js +123 -1
- package/dist-es/protocols/Aws_json1_1.js +789 -1422
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/TransferServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +137 -74
- package/dist-types/ts3.4/Transfer.d.ts +165 -0
- package/dist-types/ts3.4/TransferClient.d.ts +105 -0
- package/dist-types/ts3.4/commands/CreateAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSshPublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSecurityPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeWorkflowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportSshPublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccessesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendWorkflowStepStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TestIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +32 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/TransferServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1353 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccessesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListSecurityPoliciesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListServersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +98 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,37 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
* **clients:** update clients as of 2022/02/23 ([#3356](https://github.com/aws/aws-sdk-js-v3/issues/3356)) ([b6b2e25](https://github.com/aws/aws-sdk-js-v3/commit/b6b2e258add12c73d807483ca078401a6d84a12b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
30
|
+
|
|
31
|
+
**Note:** Version bump only for package @aws-sdk/client-transfer
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
6
37
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
38
|
|
|
8
39
|
**Note:** Version bump only for package @aws-sdk/client-transfer
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransferServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Transfer"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./TransferClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var TransferServiceException_1 = require("./models/TransferServiceException");
|
|
11
|
+
Object.defineProperty(exports, "TransferServiceException", { enumerable: true, get: function () { return TransferServiceException_1.TransferServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransferServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class TransferServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, TransferServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.TransferServiceException = TransferServiceException;
|
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateUserResponse = exports.UpdateUserRequest = exports.UpdateServerResponse = exports.UpdateServerRequest = void 0;
|
|
3
|
+
exports.DescribeAccessResponse = exports.DescribedAccess = exports.DescribeAccessRequest = exports.DeleteWorkflowRequest = exports.DeleteUserRequest = exports.DeleteSshPublicKeyRequest = exports.DeleteServerRequest = exports.DeleteAccessRequest = exports.CustomStepStatus = exports.CreateWorkflowResponse = exports.CreateWorkflowRequest = exports.WorkflowStep = exports.WorkflowStepType = exports.TagStepDetails = exports.S3Tag = exports.DeleteStepDetails = exports.CustomStepDetails = exports.CreateUserResponse = exports.CreateUserRequest = exports.ThrottlingException = exports.CreateServerResponse = exports.CreateServerRequest = exports.WorkflowDetails = exports.WorkflowDetail = exports.Tag = exports.Protocol = exports.ProtocolDetails = exports.TlsSessionResumptionMode = exports.IdentityProviderType = exports.IdentityProviderDetails = exports.EndpointType = exports.EndpointDetails = exports.Domain = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.ResourceExistsException = exports.InvalidRequestException = exports.InternalServiceError = exports.CreateAccessResponse = exports.CreateAccessRequest = exports.PosixProfile = exports.HomeDirectoryType = exports.HomeDirectoryMapEntry = exports.CopyStepDetails = exports.OverwriteExisting = exports.InputFileLocation = exports.S3InputFileLocation = exports.EfsFileLocation = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.SendWorkflowStepStateRequest = exports.ListWorkflowsResponse = exports.ListWorkflowsRequest = exports.ListUsersResponse = exports.ListUsersRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServersResponse = exports.ListServersRequest = exports.ListSecurityPoliciesResponse = exports.ListSecurityPoliciesRequest = exports.ListExecutionsResponse = exports.ListExecutionsRequest = exports.ListedWorkflow = exports.ListedUser = exports.ListedServer = exports.ListedExecution = exports.ListAccessesResponse = exports.ListedAccess = exports.ListAccessesRequest = exports.InvalidNextTokenException = exports.ImportSshPublicKeyResponse = exports.ImportSshPublicKeyRequest = exports.DescribeWorkflowResponse = exports.DescribeWorkflowRequest = exports.DescribeUserResponse = exports.DescribeUserRequest = exports.DescribeServerResponse = exports.DescribeServerRequest = exports.DescribeSecurityPolicyResponse = exports.DescribeSecurityPolicyRequest = exports.DescribeExecutionResponse = exports.DescribeExecutionRequest = exports.DescribedWorkflow = exports.DescribedUser = exports.SshPublicKey = exports.DescribedServer = exports.State = exports.DescribedSecurityPolicy = exports.DescribedExecution = exports.ExecutionStatus = exports.ServiceMetadata = exports.UserDetails = exports.ExecutionResults = exports.ExecutionStepResult = exports.ExecutionError = exports.ExecutionErrorType = exports.LoggingConfiguration = exports.FileLocation = exports.S3FileLocation = void 0;
|
|
5
|
+
exports.UpdateUserResponse = exports.UpdateUserRequest = exports.UpdateServerResponse = exports.UpdateServerRequest = exports.UpdateAccessResponse = exports.UpdateAccessRequest = exports.UntagResourceRequest = exports.TestIdentityProviderResponse = exports.TestIdentityProviderRequest = exports.TagResourceRequest = exports.StopServerRequest = exports.StartServerRequest = exports.SendWorkflowStepStateResponse = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const TransferServiceException_1 = require("./TransferServiceException");
|
|
8
|
+
class AccessDeniedException extends TransferServiceException_1.TransferServiceException {
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
this.name = "AccessDeniedException";
|
|
16
|
+
this.$fault = "client";
|
|
17
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
18
|
+
this.Message = opts.Message;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
22
|
+
class ConflictException extends TransferServiceException_1.TransferServiceException {
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
this.name = "ConflictException";
|
|
30
|
+
this.$fault = "client";
|
|
31
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
32
|
+
this.Message = opts.Message;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.ConflictException = ConflictException;
|
|
7
36
|
var EfsFileLocation;
|
|
8
37
|
(function (EfsFileLocation) {
|
|
9
38
|
EfsFileLocation.filterSensitiveLog = (obj) => ({
|
|
@@ -62,6 +91,80 @@ var CreateAccessResponse;
|
|
|
62
91
|
...obj,
|
|
63
92
|
});
|
|
64
93
|
})(CreateAccessResponse = exports.CreateAccessResponse || (exports.CreateAccessResponse = {}));
|
|
94
|
+
class InternalServiceError extends TransferServiceException_1.TransferServiceException {
|
|
95
|
+
constructor(opts) {
|
|
96
|
+
super({
|
|
97
|
+
name: "InternalServiceError",
|
|
98
|
+
$fault: "server",
|
|
99
|
+
...opts,
|
|
100
|
+
});
|
|
101
|
+
this.name = "InternalServiceError";
|
|
102
|
+
this.$fault = "server";
|
|
103
|
+
Object.setPrototypeOf(this, InternalServiceError.prototype);
|
|
104
|
+
this.Message = opts.Message;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.InternalServiceError = InternalServiceError;
|
|
108
|
+
class InvalidRequestException extends TransferServiceException_1.TransferServiceException {
|
|
109
|
+
constructor(opts) {
|
|
110
|
+
super({
|
|
111
|
+
name: "InvalidRequestException",
|
|
112
|
+
$fault: "client",
|
|
113
|
+
...opts,
|
|
114
|
+
});
|
|
115
|
+
this.name = "InvalidRequestException";
|
|
116
|
+
this.$fault = "client";
|
|
117
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
118
|
+
this.Message = opts.Message;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
122
|
+
class ResourceExistsException extends TransferServiceException_1.TransferServiceException {
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "ResourceExistsException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
this.name = "ResourceExistsException";
|
|
130
|
+
this.$fault = "client";
|
|
131
|
+
Object.setPrototypeOf(this, ResourceExistsException.prototype);
|
|
132
|
+
this.Message = opts.Message;
|
|
133
|
+
this.Resource = opts.Resource;
|
|
134
|
+
this.ResourceType = opts.ResourceType;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
exports.ResourceExistsException = ResourceExistsException;
|
|
138
|
+
class ResourceNotFoundException extends TransferServiceException_1.TransferServiceException {
|
|
139
|
+
constructor(opts) {
|
|
140
|
+
super({
|
|
141
|
+
name: "ResourceNotFoundException",
|
|
142
|
+
$fault: "client",
|
|
143
|
+
...opts,
|
|
144
|
+
});
|
|
145
|
+
this.name = "ResourceNotFoundException";
|
|
146
|
+
this.$fault = "client";
|
|
147
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
148
|
+
this.Message = opts.Message;
|
|
149
|
+
this.Resource = opts.Resource;
|
|
150
|
+
this.ResourceType = opts.ResourceType;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
154
|
+
class ServiceUnavailableException extends TransferServiceException_1.TransferServiceException {
|
|
155
|
+
constructor(opts) {
|
|
156
|
+
super({
|
|
157
|
+
name: "ServiceUnavailableException",
|
|
158
|
+
$fault: "server",
|
|
159
|
+
...opts,
|
|
160
|
+
});
|
|
161
|
+
this.name = "ServiceUnavailableException";
|
|
162
|
+
this.$fault = "server";
|
|
163
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
164
|
+
this.Message = opts.Message;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
65
168
|
var Domain;
|
|
66
169
|
(function (Domain) {
|
|
67
170
|
Domain["EFS"] = "EFS";
|
|
@@ -141,6 +244,20 @@ var CreateServerResponse;
|
|
|
141
244
|
...obj,
|
|
142
245
|
});
|
|
143
246
|
})(CreateServerResponse = exports.CreateServerResponse || (exports.CreateServerResponse = {}));
|
|
247
|
+
class ThrottlingException extends TransferServiceException_1.TransferServiceException {
|
|
248
|
+
constructor(opts) {
|
|
249
|
+
super({
|
|
250
|
+
name: "ThrottlingException",
|
|
251
|
+
$fault: "client",
|
|
252
|
+
...opts,
|
|
253
|
+
});
|
|
254
|
+
this.name = "ThrottlingException";
|
|
255
|
+
this.$fault = "client";
|
|
256
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
257
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
exports.ThrottlingException = ThrottlingException;
|
|
144
261
|
var CreateUserRequest;
|
|
145
262
|
(function (CreateUserRequest) {
|
|
146
263
|
CreateUserRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -431,6 +548,20 @@ var ImportSshPublicKeyResponse;
|
|
|
431
548
|
...obj,
|
|
432
549
|
});
|
|
433
550
|
})(ImportSshPublicKeyResponse = exports.ImportSshPublicKeyResponse || (exports.ImportSshPublicKeyResponse = {}));
|
|
551
|
+
class InvalidNextTokenException extends TransferServiceException_1.TransferServiceException {
|
|
552
|
+
constructor(opts) {
|
|
553
|
+
super({
|
|
554
|
+
name: "InvalidNextTokenException",
|
|
555
|
+
$fault: "client",
|
|
556
|
+
...opts,
|
|
557
|
+
});
|
|
558
|
+
this.name = "InvalidNextTokenException";
|
|
559
|
+
this.$fault = "client";
|
|
560
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
561
|
+
this.Message = opts.Message;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
434
565
|
var ListAccessesRequest;
|
|
435
566
|
(function (ListAccessesRequest) {
|
|
436
567
|
ListAccessesRequest.filterSensitiveLog = (obj) => ({
|