@aws-sdk/client-transfer 3.52.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/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./TransferClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { TransferServiceException } from "./models/TransferServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var TransferServiceException = (function (_super) {
4
+ __extends(TransferServiceException, _super);
5
+ function TransferServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, TransferServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return TransferServiceException;
11
+ }(__ServiceException));
12
+ export { TransferServiceException };
@@ -1,5 +1,32 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { TransferServiceException as __BaseException } from "./TransferServiceException";
4
+ var AccessDeniedException = (function (_super) {
5
+ __extends(AccessDeniedException, _super);
6
+ function AccessDeniedException(opts) {
7
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
8
+ _this.name = "AccessDeniedException";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
11
+ _this.Message = opts.Message;
12
+ return _this;
13
+ }
14
+ return AccessDeniedException;
15
+ }(__BaseException));
16
+ export { AccessDeniedException };
17
+ var ConflictException = (function (_super) {
18
+ __extends(ConflictException, _super);
19
+ function ConflictException(opts) {
20
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
21
+ _this.name = "ConflictException";
22
+ _this.$fault = "client";
23
+ Object.setPrototypeOf(_this, ConflictException.prototype);
24
+ _this.Message = opts.Message;
25
+ return _this;
26
+ }
27
+ return ConflictException;
28
+ }(__BaseException));
29
+ export { ConflictException };
3
30
  export var EfsFileLocation;
4
31
  (function (EfsFileLocation) {
5
32
  EfsFileLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -42,6 +69,75 @@ export var CreateAccessResponse;
42
69
  (function (CreateAccessResponse) {
43
70
  CreateAccessResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
44
71
  })(CreateAccessResponse || (CreateAccessResponse = {}));
72
+ var InternalServiceError = (function (_super) {
73
+ __extends(InternalServiceError, _super);
74
+ function InternalServiceError(opts) {
75
+ var _this = _super.call(this, __assign({ name: "InternalServiceError", $fault: "server" }, opts)) || this;
76
+ _this.name = "InternalServiceError";
77
+ _this.$fault = "server";
78
+ Object.setPrototypeOf(_this, InternalServiceError.prototype);
79
+ _this.Message = opts.Message;
80
+ return _this;
81
+ }
82
+ return InternalServiceError;
83
+ }(__BaseException));
84
+ export { InternalServiceError };
85
+ var InvalidRequestException = (function (_super) {
86
+ __extends(InvalidRequestException, _super);
87
+ function InvalidRequestException(opts) {
88
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
89
+ _this.name = "InvalidRequestException";
90
+ _this.$fault = "client";
91
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
92
+ _this.Message = opts.Message;
93
+ return _this;
94
+ }
95
+ return InvalidRequestException;
96
+ }(__BaseException));
97
+ export { InvalidRequestException };
98
+ var ResourceExistsException = (function (_super) {
99
+ __extends(ResourceExistsException, _super);
100
+ function ResourceExistsException(opts) {
101
+ var _this = _super.call(this, __assign({ name: "ResourceExistsException", $fault: "client" }, opts)) || this;
102
+ _this.name = "ResourceExistsException";
103
+ _this.$fault = "client";
104
+ Object.setPrototypeOf(_this, ResourceExistsException.prototype);
105
+ _this.Message = opts.Message;
106
+ _this.Resource = opts.Resource;
107
+ _this.ResourceType = opts.ResourceType;
108
+ return _this;
109
+ }
110
+ return ResourceExistsException;
111
+ }(__BaseException));
112
+ export { ResourceExistsException };
113
+ var ResourceNotFoundException = (function (_super) {
114
+ __extends(ResourceNotFoundException, _super);
115
+ function ResourceNotFoundException(opts) {
116
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
117
+ _this.name = "ResourceNotFoundException";
118
+ _this.$fault = "client";
119
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
120
+ _this.Message = opts.Message;
121
+ _this.Resource = opts.Resource;
122
+ _this.ResourceType = opts.ResourceType;
123
+ return _this;
124
+ }
125
+ return ResourceNotFoundException;
126
+ }(__BaseException));
127
+ export { ResourceNotFoundException };
128
+ var ServiceUnavailableException = (function (_super) {
129
+ __extends(ServiceUnavailableException, _super);
130
+ function ServiceUnavailableException(opts) {
131
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
132
+ _this.name = "ServiceUnavailableException";
133
+ _this.$fault = "server";
134
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
135
+ _this.Message = opts.Message;
136
+ return _this;
137
+ }
138
+ return ServiceUnavailableException;
139
+ }(__BaseException));
140
+ export { ServiceUnavailableException };
45
141
  export var Domain;
46
142
  (function (Domain) {
47
143
  Domain["EFS"] = "EFS";
@@ -104,6 +200,19 @@ export var CreateServerResponse;
104
200
  (function (CreateServerResponse) {
105
201
  CreateServerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
106
202
  })(CreateServerResponse || (CreateServerResponse = {}));
203
+ var ThrottlingException = (function (_super) {
204
+ __extends(ThrottlingException, _super);
205
+ function ThrottlingException(opts) {
206
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
207
+ _this.name = "ThrottlingException";
208
+ _this.$fault = "client";
209
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
210
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
211
+ return _this;
212
+ }
213
+ return ThrottlingException;
214
+ }(__BaseException));
215
+ export { ThrottlingException };
107
216
  export var CreateUserRequest;
108
217
  (function (CreateUserRequest) {
109
218
  CreateUserRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -308,6 +417,19 @@ export var ImportSshPublicKeyResponse;
308
417
  (function (ImportSshPublicKeyResponse) {
309
418
  ImportSshPublicKeyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
310
419
  })(ImportSshPublicKeyResponse || (ImportSshPublicKeyResponse = {}));
420
+ var InvalidNextTokenException = (function (_super) {
421
+ __extends(InvalidNextTokenException, _super);
422
+ function InvalidNextTokenException(opts) {
423
+ var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
424
+ _this.name = "InvalidNextTokenException";
425
+ _this.$fault = "client";
426
+ Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
427
+ _this.Message = opts.Message;
428
+ return _this;
429
+ }
430
+ return InvalidNextTokenException;
431
+ }(__BaseException));
432
+ export { InvalidNextTokenException };
311
433
  export var ListAccessesRequest;
312
434
  (function (ListAccessesRequest) {
313
435
  ListAccessesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };