@aws-sdk/client-transfer 3.1148.0 → 3.1149.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/index.js +11 -1
- package/dist-es/models/TransferServiceException.js +1 -0
- package/dist-es/models/errors.js +9 -0
- package/dist-types/models/TransferServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +9 -0
- package/dist-types/ts3.4/models/TransferServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +9 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class TransferServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.transfer#TransferServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, TransferServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class TransferServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends TransferServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.transfer#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
Message;
|
|
@@ -153,6 +155,7 @@ class AccessDeniedException extends TransferServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class InternalServiceError extends TransferServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.transfer#InternalServiceError";
|
|
156
159
|
name = "InternalServiceError";
|
|
157
160
|
$fault = "server";
|
|
158
161
|
Message;
|
|
@@ -167,6 +170,7 @@ class InternalServiceError extends TransferServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class InvalidRequestException extends TransferServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.transfer#InvalidRequestException";
|
|
170
174
|
name = "InvalidRequestException";
|
|
171
175
|
$fault = "client";
|
|
172
176
|
Message;
|
|
@@ -181,6 +185,7 @@ class InvalidRequestException extends TransferServiceException {
|
|
|
181
185
|
}
|
|
182
186
|
}
|
|
183
187
|
class ResourceExistsException extends TransferServiceException {
|
|
188
|
+
static shapeId = "com.amazonaws.transfer#ResourceExistsException";
|
|
184
189
|
name = "ResourceExistsException";
|
|
185
190
|
$fault = "client";
|
|
186
191
|
Message;
|
|
@@ -199,6 +204,7 @@ class ResourceExistsException extends TransferServiceException {
|
|
|
199
204
|
}
|
|
200
205
|
}
|
|
201
206
|
class ResourceNotFoundException extends TransferServiceException {
|
|
207
|
+
static shapeId = "com.amazonaws.transfer#ResourceNotFoundException";
|
|
202
208
|
name = "ResourceNotFoundException";
|
|
203
209
|
$fault = "client";
|
|
204
210
|
Message;
|
|
@@ -217,6 +223,7 @@ class ResourceNotFoundException extends TransferServiceException {
|
|
|
217
223
|
}
|
|
218
224
|
}
|
|
219
225
|
class ServiceUnavailableException extends TransferServiceException {
|
|
226
|
+
static shapeId = "com.amazonaws.transfer#ServiceUnavailableException";
|
|
220
227
|
name = "ServiceUnavailableException";
|
|
221
228
|
$fault = "server";
|
|
222
229
|
Message;
|
|
@@ -231,6 +238,7 @@ class ServiceUnavailableException extends TransferServiceException {
|
|
|
231
238
|
}
|
|
232
239
|
}
|
|
233
240
|
class ThrottlingException extends TransferServiceException {
|
|
241
|
+
static shapeId = "com.amazonaws.transfer#ThrottlingException";
|
|
234
242
|
name = "ThrottlingException";
|
|
235
243
|
$fault = "client";
|
|
236
244
|
RetryAfterSeconds;
|
|
@@ -245,6 +253,7 @@ class ThrottlingException extends TransferServiceException {
|
|
|
245
253
|
}
|
|
246
254
|
}
|
|
247
255
|
class InvalidNextTokenException extends TransferServiceException {
|
|
256
|
+
static shapeId = "com.amazonaws.transfer#InvalidNextTokenException";
|
|
248
257
|
name = "InvalidNextTokenException";
|
|
249
258
|
$fault = "client";
|
|
250
259
|
Message;
|
|
@@ -259,6 +268,7 @@ class InvalidNextTokenException extends TransferServiceException {
|
|
|
259
268
|
}
|
|
260
269
|
}
|
|
261
270
|
class ConflictException extends TransferServiceException {
|
|
271
|
+
static shapeId = "com.amazonaws.transfer#ConflictException";
|
|
262
272
|
name = "ConflictException";
|
|
263
273
|
$fault = "client";
|
|
264
274
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class TransferServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.transfer#TransferServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, TransferServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TransferServiceException as __BaseException } from "./TransferServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.transfer#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class InternalServiceError extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.transfer#InternalServiceError";
|
|
17
19
|
name = "InternalServiceError";
|
|
18
20
|
$fault = "server";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class InternalServiceError extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class InvalidRequestException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.transfer#InvalidRequestException";
|
|
31
34
|
name = "InvalidRequestException";
|
|
32
35
|
$fault = "client";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class InvalidRequestException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class ResourceExistsException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.transfer#ResourceExistsException";
|
|
45
49
|
name = "ResourceExistsException";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Message;
|
|
@@ -60,6 +64,7 @@ export class ResourceExistsException extends __BaseException {
|
|
|
60
64
|
}
|
|
61
65
|
}
|
|
62
66
|
export class ResourceNotFoundException extends __BaseException {
|
|
67
|
+
static shapeId = "com.amazonaws.transfer#ResourceNotFoundException";
|
|
63
68
|
name = "ResourceNotFoundException";
|
|
64
69
|
$fault = "client";
|
|
65
70
|
Message;
|
|
@@ -78,6 +83,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
78
83
|
}
|
|
79
84
|
}
|
|
80
85
|
export class ServiceUnavailableException extends __BaseException {
|
|
86
|
+
static shapeId = "com.amazonaws.transfer#ServiceUnavailableException";
|
|
81
87
|
name = "ServiceUnavailableException";
|
|
82
88
|
$fault = "server";
|
|
83
89
|
Message;
|
|
@@ -92,6 +98,7 @@ export class ServiceUnavailableException extends __BaseException {
|
|
|
92
98
|
}
|
|
93
99
|
}
|
|
94
100
|
export class ThrottlingException extends __BaseException {
|
|
101
|
+
static shapeId = "com.amazonaws.transfer#ThrottlingException";
|
|
95
102
|
name = "ThrottlingException";
|
|
96
103
|
$fault = "client";
|
|
97
104
|
RetryAfterSeconds;
|
|
@@ -106,6 +113,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
106
113
|
}
|
|
107
114
|
}
|
|
108
115
|
export class InvalidNextTokenException extends __BaseException {
|
|
116
|
+
static shapeId = "com.amazonaws.transfer#InvalidNextTokenException";
|
|
109
117
|
name = "InvalidNextTokenException";
|
|
110
118
|
$fault = "client";
|
|
111
119
|
Message;
|
|
@@ -120,6 +128,7 @@ export class InvalidNextTokenException extends __BaseException {
|
|
|
120
128
|
}
|
|
121
129
|
}
|
|
122
130
|
export class ConflictException extends __BaseException {
|
|
131
|
+
static shapeId = "com.amazonaws.transfer#ConflictException";
|
|
123
132
|
name = "ConflictException";
|
|
124
133
|
$fault = "client";
|
|
125
134
|
Message;
|
|
@@ -5,6 +5,7 @@ import { TransferServiceException as __BaseException } from "./TransferServiceEx
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "AccessDeniedException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
Message?: string | undefined;
|
|
@@ -18,6 +19,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
21
|
export declare class InternalServiceError extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
21
23
|
readonly name: "InternalServiceError";
|
|
22
24
|
readonly $fault: "server";
|
|
23
25
|
Message: string | undefined;
|
|
@@ -31,6 +33,7 @@ export declare class InternalServiceError extends __BaseException {
|
|
|
31
33
|
* @public
|
|
32
34
|
*/
|
|
33
35
|
export declare class InvalidRequestException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
34
37
|
readonly name: "InvalidRequestException";
|
|
35
38
|
readonly $fault: "client";
|
|
36
39
|
Message: string | undefined;
|
|
@@ -44,6 +47,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
44
47
|
* @public
|
|
45
48
|
*/
|
|
46
49
|
export declare class ResourceExistsException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
47
51
|
readonly name: "ResourceExistsException";
|
|
48
52
|
readonly $fault: "client";
|
|
49
53
|
Message: string | undefined;
|
|
@@ -59,6 +63,7 @@ export declare class ResourceExistsException extends __BaseException {
|
|
|
59
63
|
* @public
|
|
60
64
|
*/
|
|
61
65
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
66
|
+
static readonly shapeId: string;
|
|
62
67
|
readonly name: "ResourceNotFoundException";
|
|
63
68
|
readonly $fault: "client";
|
|
64
69
|
Message: string | undefined;
|
|
@@ -74,6 +79,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
74
79
|
* @public
|
|
75
80
|
*/
|
|
76
81
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
82
|
+
static readonly shapeId: string;
|
|
77
83
|
readonly name: "ServiceUnavailableException";
|
|
78
84
|
readonly $fault: "server";
|
|
79
85
|
Message?: string | undefined;
|
|
@@ -87,6 +93,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
87
93
|
* @public
|
|
88
94
|
*/
|
|
89
95
|
export declare class ThrottlingException extends __BaseException {
|
|
96
|
+
static readonly shapeId: string;
|
|
90
97
|
readonly name: "ThrottlingException";
|
|
91
98
|
readonly $fault: "client";
|
|
92
99
|
RetryAfterSeconds?: string | undefined;
|
|
@@ -100,6 +107,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
100
107
|
* @public
|
|
101
108
|
*/
|
|
102
109
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
110
|
+
static readonly shapeId: string;
|
|
103
111
|
readonly name: "InvalidNextTokenException";
|
|
104
112
|
readonly $fault: "client";
|
|
105
113
|
Message: string | undefined;
|
|
@@ -113,6 +121,7 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
113
121
|
* @public
|
|
114
122
|
*/
|
|
115
123
|
export declare class ConflictException extends __BaseException {
|
|
124
|
+
static readonly shapeId: string;
|
|
116
125
|
readonly name: "ConflictException";
|
|
117
126
|
readonly $fault: "client";
|
|
118
127
|
Message: string | undefined;
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { TransferServiceException as __BaseException } from "./TransferServiceException";
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "AccessDeniedException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class InternalServiceError extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "InternalServiceError";
|
|
11
13
|
readonly $fault: "server";
|
|
12
14
|
Message: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class InvalidRequestException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "InvalidRequestException";
|
|
17
20
|
readonly $fault: "client";
|
|
18
21
|
Message: string | undefined;
|
|
19
22
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
20
23
|
}
|
|
21
24
|
export declare class ResourceExistsException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
22
26
|
readonly name: "ResourceExistsException";
|
|
23
27
|
readonly $fault: "client";
|
|
24
28
|
Message: string | undefined;
|
|
@@ -27,6 +31,7 @@ export declare class ResourceExistsException extends __BaseException {
|
|
|
27
31
|
constructor(opts: __ExceptionOptionType<ResourceExistsException, __BaseException>);
|
|
28
32
|
}
|
|
29
33
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
34
|
+
static readonly shapeId: string;
|
|
30
35
|
readonly name: "ResourceNotFoundException";
|
|
31
36
|
readonly $fault: "client";
|
|
32
37
|
Message: string | undefined;
|
|
@@ -35,24 +40,28 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
35
40
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
36
41
|
}
|
|
37
42
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
43
|
+
static readonly shapeId: string;
|
|
38
44
|
readonly name: "ServiceUnavailableException";
|
|
39
45
|
readonly $fault: "server";
|
|
40
46
|
Message?: string | undefined;
|
|
41
47
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
42
48
|
}
|
|
43
49
|
export declare class ThrottlingException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
44
51
|
readonly name: "ThrottlingException";
|
|
45
52
|
readonly $fault: "client";
|
|
46
53
|
RetryAfterSeconds?: string | undefined;
|
|
47
54
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
48
55
|
}
|
|
49
56
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
57
|
+
static readonly shapeId: string;
|
|
50
58
|
readonly name: "InvalidNextTokenException";
|
|
51
59
|
readonly $fault: "client";
|
|
52
60
|
Message: string | undefined;
|
|
53
61
|
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
54
62
|
}
|
|
55
63
|
export declare class ConflictException extends __BaseException {
|
|
64
|
+
static readonly shapeId: string;
|
|
56
65
|
readonly name: "ConflictException";
|
|
57
66
|
readonly $fault: "client";
|
|
58
67
|
Message: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transfer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transfer",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|