@aws-sdk/client-s3 3.1147.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 +23 -1
- package/dist-es/models/S3ServiceException.js +1 -0
- package/dist-es/models/errors.js +21 -0
- package/dist-types/models/S3ServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +21 -0
- package/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +21 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1067,6 +1067,7 @@ const _mw13 = (Command, cs, config, o) => [
|
|
|
1067
1067
|
];
|
|
1068
1068
|
|
|
1069
1069
|
class S3ServiceException extends ServiceException {
|
|
1070
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.s3#S3ServiceException";
|
|
1070
1071
|
constructor(options) {
|
|
1071
1072
|
super(options);
|
|
1072
1073
|
Object.setPrototypeOf(this, S3ServiceException.prototype);
|
|
@@ -1074,6 +1075,7 @@ class S3ServiceException extends ServiceException {
|
|
|
1074
1075
|
}
|
|
1075
1076
|
|
|
1076
1077
|
class NoSuchUpload extends S3ServiceException {
|
|
1078
|
+
static shapeId = "com.amazonaws.s3#NoSuchUpload";
|
|
1077
1079
|
name = "NoSuchUpload";
|
|
1078
1080
|
$fault = "client";
|
|
1079
1081
|
constructor(opts) {
|
|
@@ -1086,6 +1088,7 @@ class NoSuchUpload extends S3ServiceException {
|
|
|
1086
1088
|
}
|
|
1087
1089
|
}
|
|
1088
1090
|
class AccessDenied extends S3ServiceException {
|
|
1091
|
+
static shapeId = "com.amazonaws.s3#AccessDenied";
|
|
1089
1092
|
name = "AccessDenied";
|
|
1090
1093
|
$fault = "client";
|
|
1091
1094
|
constructor(opts) {
|
|
@@ -1098,6 +1101,7 @@ class AccessDenied extends S3ServiceException {
|
|
|
1098
1101
|
}
|
|
1099
1102
|
}
|
|
1100
1103
|
class ObjectNotInActiveTierError extends S3ServiceException {
|
|
1104
|
+
static shapeId = "com.amazonaws.s3#ObjectNotInActiveTierError";
|
|
1101
1105
|
name = "ObjectNotInActiveTierError";
|
|
1102
1106
|
$fault = "client";
|
|
1103
1107
|
constructor(opts) {
|
|
@@ -1110,6 +1114,7 @@ class ObjectNotInActiveTierError extends S3ServiceException {
|
|
|
1110
1114
|
}
|
|
1111
1115
|
}
|
|
1112
1116
|
class BucketAlreadyExists extends S3ServiceException {
|
|
1117
|
+
static shapeId = "com.amazonaws.s3#BucketAlreadyExists";
|
|
1113
1118
|
name = "BucketAlreadyExists";
|
|
1114
1119
|
$fault = "client";
|
|
1115
1120
|
constructor(opts) {
|
|
@@ -1122,6 +1127,7 @@ class BucketAlreadyExists extends S3ServiceException {
|
|
|
1122
1127
|
}
|
|
1123
1128
|
}
|
|
1124
1129
|
class BucketAlreadyOwnedByYou extends S3ServiceException {
|
|
1130
|
+
static shapeId = "com.amazonaws.s3#BucketAlreadyOwnedByYou";
|
|
1125
1131
|
name = "BucketAlreadyOwnedByYou";
|
|
1126
1132
|
$fault = "client";
|
|
1127
1133
|
constructor(opts) {
|
|
@@ -1134,6 +1140,7 @@ class BucketAlreadyOwnedByYou extends S3ServiceException {
|
|
|
1134
1140
|
}
|
|
1135
1141
|
}
|
|
1136
1142
|
class NoSuchBucket extends S3ServiceException {
|
|
1143
|
+
static shapeId = "com.amazonaws.s3#NoSuchBucket";
|
|
1137
1144
|
name = "NoSuchBucket";
|
|
1138
1145
|
$fault = "client";
|
|
1139
1146
|
constructor(opts) {
|
|
@@ -1146,6 +1153,7 @@ class NoSuchBucket extends S3ServiceException {
|
|
|
1146
1153
|
}
|
|
1147
1154
|
}
|
|
1148
1155
|
class NoSuchKey extends S3ServiceException {
|
|
1156
|
+
static shapeId = "com.amazonaws.s3#NoSuchKey";
|
|
1149
1157
|
name = "NoSuchKey";
|
|
1150
1158
|
$fault = "client";
|
|
1151
1159
|
constructor(opts) {
|
|
@@ -1158,6 +1166,7 @@ class NoSuchKey extends S3ServiceException {
|
|
|
1158
1166
|
}
|
|
1159
1167
|
}
|
|
1160
1168
|
class InvalidObjectState extends S3ServiceException {
|
|
1169
|
+
static shapeId = "com.amazonaws.s3#InvalidObjectState";
|
|
1161
1170
|
name = "InvalidObjectState";
|
|
1162
1171
|
$fault = "client";
|
|
1163
1172
|
StorageClass;
|
|
@@ -1174,6 +1183,7 @@ class InvalidObjectState extends S3ServiceException {
|
|
|
1174
1183
|
}
|
|
1175
1184
|
}
|
|
1176
1185
|
class NoSuchAnnotation extends S3ServiceException {
|
|
1186
|
+
static shapeId = "com.amazonaws.s3#NoSuchAnnotation";
|
|
1177
1187
|
name = "NoSuchAnnotation";
|
|
1178
1188
|
$fault = "client";
|
|
1179
1189
|
constructor(opts) {
|
|
@@ -1186,6 +1196,7 @@ class NoSuchAnnotation extends S3ServiceException {
|
|
|
1186
1196
|
}
|
|
1187
1197
|
}
|
|
1188
1198
|
class NotFound extends S3ServiceException {
|
|
1199
|
+
static shapeId = "com.amazonaws.s3#NotFound";
|
|
1189
1200
|
name = "NotFound";
|
|
1190
1201
|
$fault = "client";
|
|
1191
1202
|
constructor(opts) {
|
|
@@ -1198,6 +1209,7 @@ class NotFound extends S3ServiceException {
|
|
|
1198
1209
|
}
|
|
1199
1210
|
}
|
|
1200
1211
|
class InvalidPrefix extends S3ServiceException {
|
|
1212
|
+
static shapeId = "com.amazonaws.s3#InvalidPrefix";
|
|
1201
1213
|
name = "InvalidPrefix";
|
|
1202
1214
|
$fault = "client";
|
|
1203
1215
|
constructor(opts) {
|
|
@@ -1210,6 +1222,7 @@ class InvalidPrefix extends S3ServiceException {
|
|
|
1210
1222
|
}
|
|
1211
1223
|
}
|
|
1212
1224
|
class EncryptionTypeMismatch extends S3ServiceException {
|
|
1225
|
+
static shapeId = "com.amazonaws.s3#EncryptionTypeMismatch";
|
|
1213
1226
|
name = "EncryptionTypeMismatch";
|
|
1214
1227
|
$fault = "client";
|
|
1215
1228
|
constructor(opts) {
|
|
@@ -1222,6 +1235,7 @@ class EncryptionTypeMismatch extends S3ServiceException {
|
|
|
1222
1235
|
}
|
|
1223
1236
|
}
|
|
1224
1237
|
class InvalidRequest extends S3ServiceException {
|
|
1238
|
+
static shapeId = "com.amazonaws.s3#InvalidRequest";
|
|
1225
1239
|
name = "InvalidRequest";
|
|
1226
1240
|
$fault = "client";
|
|
1227
1241
|
constructor(opts) {
|
|
@@ -1234,6 +1248,7 @@ class InvalidRequest extends S3ServiceException {
|
|
|
1234
1248
|
}
|
|
1235
1249
|
}
|
|
1236
1250
|
class InvalidWriteOffset extends S3ServiceException {
|
|
1251
|
+
static shapeId = "com.amazonaws.s3#InvalidWriteOffset";
|
|
1237
1252
|
name = "InvalidWriteOffset";
|
|
1238
1253
|
$fault = "client";
|
|
1239
1254
|
constructor(opts) {
|
|
@@ -1246,6 +1261,7 @@ class InvalidWriteOffset extends S3ServiceException {
|
|
|
1246
1261
|
}
|
|
1247
1262
|
}
|
|
1248
1263
|
class TooManyParts extends S3ServiceException {
|
|
1264
|
+
static shapeId = "com.amazonaws.s3#TooManyParts";
|
|
1249
1265
|
name = "TooManyParts";
|
|
1250
1266
|
$fault = "client";
|
|
1251
1267
|
constructor(opts) {
|
|
@@ -1258,6 +1274,7 @@ class TooManyParts extends S3ServiceException {
|
|
|
1258
1274
|
}
|
|
1259
1275
|
}
|
|
1260
1276
|
class AnnotationLimitExceeded extends S3ServiceException {
|
|
1277
|
+
static shapeId = "com.amazonaws.s3#AnnotationLimitExceeded";
|
|
1261
1278
|
name = "AnnotationLimitExceeded";
|
|
1262
1279
|
$fault = "client";
|
|
1263
1280
|
constructor(opts) {
|
|
@@ -1270,6 +1287,7 @@ class AnnotationLimitExceeded extends S3ServiceException {
|
|
|
1270
1287
|
}
|
|
1271
1288
|
}
|
|
1272
1289
|
class AnnotationNameTooLong extends S3ServiceException {
|
|
1290
|
+
static shapeId = "com.amazonaws.s3#AnnotationNameTooLong";
|
|
1273
1291
|
name = "AnnotationNameTooLong";
|
|
1274
1292
|
$fault = "client";
|
|
1275
1293
|
constructor(opts) {
|
|
@@ -1282,6 +1300,7 @@ class AnnotationNameTooLong extends S3ServiceException {
|
|
|
1282
1300
|
}
|
|
1283
1301
|
}
|
|
1284
1302
|
class InvalidAnnotationName extends S3ServiceException {
|
|
1303
|
+
static shapeId = "com.amazonaws.s3#InvalidAnnotationName";
|
|
1285
1304
|
name = "InvalidAnnotationName";
|
|
1286
1305
|
$fault = "client";
|
|
1287
1306
|
constructor(opts) {
|
|
@@ -1294,6 +1313,7 @@ class InvalidAnnotationName extends S3ServiceException {
|
|
|
1294
1313
|
}
|
|
1295
1314
|
}
|
|
1296
1315
|
class UnsupportedMediaType extends S3ServiceException {
|
|
1316
|
+
static shapeId = "com.amazonaws.s3#UnsupportedMediaType";
|
|
1297
1317
|
name = "UnsupportedMediaType";
|
|
1298
1318
|
$fault = "client";
|
|
1299
1319
|
constructor(opts) {
|
|
@@ -1306,6 +1326,7 @@ class UnsupportedMediaType extends S3ServiceException {
|
|
|
1306
1326
|
}
|
|
1307
1327
|
}
|
|
1308
1328
|
class IdempotencyParameterMismatch extends S3ServiceException {
|
|
1329
|
+
static shapeId = "com.amazonaws.s3#IdempotencyParameterMismatch";
|
|
1309
1330
|
name = "IdempotencyParameterMismatch";
|
|
1310
1331
|
$fault = "client";
|
|
1311
1332
|
constructor(opts) {
|
|
@@ -1318,6 +1339,7 @@ class IdempotencyParameterMismatch extends S3ServiceException {
|
|
|
1318
1339
|
}
|
|
1319
1340
|
}
|
|
1320
1341
|
class ObjectAlreadyInActiveTierError extends S3ServiceException {
|
|
1342
|
+
static shapeId = "com.amazonaws.s3#ObjectAlreadyInActiveTierError";
|
|
1321
1343
|
name = "ObjectAlreadyInActiveTierError";
|
|
1322
1344
|
$fault = "client";
|
|
1323
1345
|
constructor(opts) {
|
|
@@ -4757,7 +4779,7 @@ var WriteGetObjectResponse$ = [9, n0, _WGOR,
|
|
|
4757
4779
|
class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSession$) {
|
|
4758
4780
|
}
|
|
4759
4781
|
|
|
4760
|
-
var version = "3.
|
|
4782
|
+
var version = "3.1148.0";
|
|
4761
4783
|
var packageInfo = {
|
|
4762
4784
|
version: version};
|
|
4763
4785
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class S3ServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.s3#S3ServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, S3ServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
2
2
|
export class NoSuchUpload extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.s3#NoSuchUpload";
|
|
3
4
|
name = "NoSuchUpload";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class NoSuchUpload extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class AccessDenied extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.s3#AccessDenied";
|
|
15
17
|
name = "AccessDenied";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class AccessDenied extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class ObjectNotInActiveTierError extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.s3#ObjectNotInActiveTierError";
|
|
27
30
|
name = "ObjectNotInActiveTierError";
|
|
28
31
|
$fault = "client";
|
|
29
32
|
constructor(opts) {
|
|
@@ -36,6 +39,7 @@ export class ObjectNotInActiveTierError extends __BaseException {
|
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export class BucketAlreadyExists extends __BaseException {
|
|
42
|
+
static shapeId = "com.amazonaws.s3#BucketAlreadyExists";
|
|
39
43
|
name = "BucketAlreadyExists";
|
|
40
44
|
$fault = "client";
|
|
41
45
|
constructor(opts) {
|
|
@@ -48,6 +52,7 @@ export class BucketAlreadyExists extends __BaseException {
|
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
export class BucketAlreadyOwnedByYou extends __BaseException {
|
|
55
|
+
static shapeId = "com.amazonaws.s3#BucketAlreadyOwnedByYou";
|
|
51
56
|
name = "BucketAlreadyOwnedByYou";
|
|
52
57
|
$fault = "client";
|
|
53
58
|
constructor(opts) {
|
|
@@ -60,6 +65,7 @@ export class BucketAlreadyOwnedByYou extends __BaseException {
|
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
export class NoSuchBucket extends __BaseException {
|
|
68
|
+
static shapeId = "com.amazonaws.s3#NoSuchBucket";
|
|
63
69
|
name = "NoSuchBucket";
|
|
64
70
|
$fault = "client";
|
|
65
71
|
constructor(opts) {
|
|
@@ -72,6 +78,7 @@ export class NoSuchBucket extends __BaseException {
|
|
|
72
78
|
}
|
|
73
79
|
}
|
|
74
80
|
export class NoSuchKey extends __BaseException {
|
|
81
|
+
static shapeId = "com.amazonaws.s3#NoSuchKey";
|
|
75
82
|
name = "NoSuchKey";
|
|
76
83
|
$fault = "client";
|
|
77
84
|
constructor(opts) {
|
|
@@ -84,6 +91,7 @@ export class NoSuchKey extends __BaseException {
|
|
|
84
91
|
}
|
|
85
92
|
}
|
|
86
93
|
export class InvalidObjectState extends __BaseException {
|
|
94
|
+
static shapeId = "com.amazonaws.s3#InvalidObjectState";
|
|
87
95
|
name = "InvalidObjectState";
|
|
88
96
|
$fault = "client";
|
|
89
97
|
StorageClass;
|
|
@@ -100,6 +108,7 @@ export class InvalidObjectState extends __BaseException {
|
|
|
100
108
|
}
|
|
101
109
|
}
|
|
102
110
|
export class NoSuchAnnotation extends __BaseException {
|
|
111
|
+
static shapeId = "com.amazonaws.s3#NoSuchAnnotation";
|
|
103
112
|
name = "NoSuchAnnotation";
|
|
104
113
|
$fault = "client";
|
|
105
114
|
constructor(opts) {
|
|
@@ -112,6 +121,7 @@ export class NoSuchAnnotation extends __BaseException {
|
|
|
112
121
|
}
|
|
113
122
|
}
|
|
114
123
|
export class NotFound extends __BaseException {
|
|
124
|
+
static shapeId = "com.amazonaws.s3#NotFound";
|
|
115
125
|
name = "NotFound";
|
|
116
126
|
$fault = "client";
|
|
117
127
|
constructor(opts) {
|
|
@@ -124,6 +134,7 @@ export class NotFound extends __BaseException {
|
|
|
124
134
|
}
|
|
125
135
|
}
|
|
126
136
|
export class InvalidPrefix extends __BaseException {
|
|
137
|
+
static shapeId = "com.amazonaws.s3#InvalidPrefix";
|
|
127
138
|
name = "InvalidPrefix";
|
|
128
139
|
$fault = "client";
|
|
129
140
|
constructor(opts) {
|
|
@@ -136,6 +147,7 @@ export class InvalidPrefix extends __BaseException {
|
|
|
136
147
|
}
|
|
137
148
|
}
|
|
138
149
|
export class EncryptionTypeMismatch extends __BaseException {
|
|
150
|
+
static shapeId = "com.amazonaws.s3#EncryptionTypeMismatch";
|
|
139
151
|
name = "EncryptionTypeMismatch";
|
|
140
152
|
$fault = "client";
|
|
141
153
|
constructor(opts) {
|
|
@@ -148,6 +160,7 @@ export class EncryptionTypeMismatch extends __BaseException {
|
|
|
148
160
|
}
|
|
149
161
|
}
|
|
150
162
|
export class InvalidRequest extends __BaseException {
|
|
163
|
+
static shapeId = "com.amazonaws.s3#InvalidRequest";
|
|
151
164
|
name = "InvalidRequest";
|
|
152
165
|
$fault = "client";
|
|
153
166
|
constructor(opts) {
|
|
@@ -160,6 +173,7 @@ export class InvalidRequest extends __BaseException {
|
|
|
160
173
|
}
|
|
161
174
|
}
|
|
162
175
|
export class InvalidWriteOffset extends __BaseException {
|
|
176
|
+
static shapeId = "com.amazonaws.s3#InvalidWriteOffset";
|
|
163
177
|
name = "InvalidWriteOffset";
|
|
164
178
|
$fault = "client";
|
|
165
179
|
constructor(opts) {
|
|
@@ -172,6 +186,7 @@ export class InvalidWriteOffset extends __BaseException {
|
|
|
172
186
|
}
|
|
173
187
|
}
|
|
174
188
|
export class TooManyParts extends __BaseException {
|
|
189
|
+
static shapeId = "com.amazonaws.s3#TooManyParts";
|
|
175
190
|
name = "TooManyParts";
|
|
176
191
|
$fault = "client";
|
|
177
192
|
constructor(opts) {
|
|
@@ -184,6 +199,7 @@ export class TooManyParts extends __BaseException {
|
|
|
184
199
|
}
|
|
185
200
|
}
|
|
186
201
|
export class AnnotationLimitExceeded extends __BaseException {
|
|
202
|
+
static shapeId = "com.amazonaws.s3#AnnotationLimitExceeded";
|
|
187
203
|
name = "AnnotationLimitExceeded";
|
|
188
204
|
$fault = "client";
|
|
189
205
|
constructor(opts) {
|
|
@@ -196,6 +212,7 @@ export class AnnotationLimitExceeded extends __BaseException {
|
|
|
196
212
|
}
|
|
197
213
|
}
|
|
198
214
|
export class AnnotationNameTooLong extends __BaseException {
|
|
215
|
+
static shapeId = "com.amazonaws.s3#AnnotationNameTooLong";
|
|
199
216
|
name = "AnnotationNameTooLong";
|
|
200
217
|
$fault = "client";
|
|
201
218
|
constructor(opts) {
|
|
@@ -208,6 +225,7 @@ export class AnnotationNameTooLong extends __BaseException {
|
|
|
208
225
|
}
|
|
209
226
|
}
|
|
210
227
|
export class InvalidAnnotationName extends __BaseException {
|
|
228
|
+
static shapeId = "com.amazonaws.s3#InvalidAnnotationName";
|
|
211
229
|
name = "InvalidAnnotationName";
|
|
212
230
|
$fault = "client";
|
|
213
231
|
constructor(opts) {
|
|
@@ -220,6 +238,7 @@ export class InvalidAnnotationName extends __BaseException {
|
|
|
220
238
|
}
|
|
221
239
|
}
|
|
222
240
|
export class UnsupportedMediaType extends __BaseException {
|
|
241
|
+
static shapeId = "com.amazonaws.s3#UnsupportedMediaType";
|
|
223
242
|
name = "UnsupportedMediaType";
|
|
224
243
|
$fault = "client";
|
|
225
244
|
constructor(opts) {
|
|
@@ -232,6 +251,7 @@ export class UnsupportedMediaType extends __BaseException {
|
|
|
232
251
|
}
|
|
233
252
|
}
|
|
234
253
|
export class IdempotencyParameterMismatch extends __BaseException {
|
|
254
|
+
static shapeId = "com.amazonaws.s3#IdempotencyParameterMismatch";
|
|
235
255
|
name = "IdempotencyParameterMismatch";
|
|
236
256
|
$fault = "client";
|
|
237
257
|
constructor(opts) {
|
|
@@ -244,6 +264,7 @@ export class IdempotencyParameterMismatch extends __BaseException {
|
|
|
244
264
|
}
|
|
245
265
|
}
|
|
246
266
|
export class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
267
|
+
static shapeId = "com.amazonaws.s3#ObjectAlreadyInActiveTierError";
|
|
247
268
|
name = "ObjectAlreadyInActiveTierError";
|
|
248
269
|
$fault = "client";
|
|
249
270
|
constructor(opts) {
|
|
@@ -6,6 +6,7 @@ import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class NoSuchUpload extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "NoSuchUpload";
|
|
10
11
|
readonly $fault: "client";
|
|
11
12
|
/**
|
|
@@ -20,6 +21,7 @@ export declare class NoSuchUpload extends __BaseException {
|
|
|
20
21
|
* @public
|
|
21
22
|
*/
|
|
22
23
|
export declare class AccessDenied extends __BaseException {
|
|
24
|
+
static readonly shapeId: string;
|
|
23
25
|
readonly name: "AccessDenied";
|
|
24
26
|
readonly $fault: "client";
|
|
25
27
|
/**
|
|
@@ -33,6 +35,7 @@ export declare class AccessDenied extends __BaseException {
|
|
|
33
35
|
* @public
|
|
34
36
|
*/
|
|
35
37
|
export declare class ObjectNotInActiveTierError extends __BaseException {
|
|
38
|
+
static readonly shapeId: string;
|
|
36
39
|
readonly name: "ObjectNotInActiveTierError";
|
|
37
40
|
readonly $fault: "client";
|
|
38
41
|
/**
|
|
@@ -46,6 +49,7 @@ export declare class ObjectNotInActiveTierError extends __BaseException {
|
|
|
46
49
|
* @public
|
|
47
50
|
*/
|
|
48
51
|
export declare class BucketAlreadyExists extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
49
53
|
readonly name: "BucketAlreadyExists";
|
|
50
54
|
readonly $fault: "client";
|
|
51
55
|
/**
|
|
@@ -61,6 +65,7 @@ export declare class BucketAlreadyExists extends __BaseException {
|
|
|
61
65
|
* @public
|
|
62
66
|
*/
|
|
63
67
|
export declare class BucketAlreadyOwnedByYou extends __BaseException {
|
|
68
|
+
static readonly shapeId: string;
|
|
64
69
|
readonly name: "BucketAlreadyOwnedByYou";
|
|
65
70
|
readonly $fault: "client";
|
|
66
71
|
/**
|
|
@@ -73,6 +78,7 @@ export declare class BucketAlreadyOwnedByYou extends __BaseException {
|
|
|
73
78
|
* @public
|
|
74
79
|
*/
|
|
75
80
|
export declare class NoSuchBucket extends __BaseException {
|
|
81
|
+
static readonly shapeId: string;
|
|
76
82
|
readonly name: "NoSuchBucket";
|
|
77
83
|
readonly $fault: "client";
|
|
78
84
|
/**
|
|
@@ -85,6 +91,7 @@ export declare class NoSuchBucket extends __BaseException {
|
|
|
85
91
|
* @public
|
|
86
92
|
*/
|
|
87
93
|
export declare class NoSuchKey extends __BaseException {
|
|
94
|
+
static readonly shapeId: string;
|
|
88
95
|
readonly name: "NoSuchKey";
|
|
89
96
|
readonly $fault: "client";
|
|
90
97
|
/**
|
|
@@ -103,6 +110,7 @@ export declare class NoSuchKey extends __BaseException {
|
|
|
103
110
|
* @public
|
|
104
111
|
*/
|
|
105
112
|
export declare class InvalidObjectState extends __BaseException {
|
|
113
|
+
static readonly shapeId: string;
|
|
106
114
|
readonly name: "InvalidObjectState";
|
|
107
115
|
readonly $fault: "client";
|
|
108
116
|
StorageClass?: StorageClass | undefined;
|
|
@@ -117,6 +125,7 @@ export declare class InvalidObjectState extends __BaseException {
|
|
|
117
125
|
* @public
|
|
118
126
|
*/
|
|
119
127
|
export declare class NoSuchAnnotation extends __BaseException {
|
|
128
|
+
static readonly shapeId: string;
|
|
120
129
|
readonly name: "NoSuchAnnotation";
|
|
121
130
|
readonly $fault: "client";
|
|
122
131
|
/**
|
|
@@ -129,6 +138,7 @@ export declare class NoSuchAnnotation extends __BaseException {
|
|
|
129
138
|
* @public
|
|
130
139
|
*/
|
|
131
140
|
export declare class NotFound extends __BaseException {
|
|
141
|
+
static readonly shapeId: string;
|
|
132
142
|
readonly name: "NotFound";
|
|
133
143
|
readonly $fault: "client";
|
|
134
144
|
/**
|
|
@@ -141,6 +151,7 @@ export declare class NotFound extends __BaseException {
|
|
|
141
151
|
* @public
|
|
142
152
|
*/
|
|
143
153
|
export declare class InvalidPrefix extends __BaseException {
|
|
154
|
+
static readonly shapeId: string;
|
|
144
155
|
readonly name: "InvalidPrefix";
|
|
145
156
|
readonly $fault: "client";
|
|
146
157
|
/**
|
|
@@ -154,6 +165,7 @@ export declare class InvalidPrefix extends __BaseException {
|
|
|
154
165
|
* @public
|
|
155
166
|
*/
|
|
156
167
|
export declare class EncryptionTypeMismatch extends __BaseException {
|
|
168
|
+
static readonly shapeId: string;
|
|
157
169
|
readonly name: "EncryptionTypeMismatch";
|
|
158
170
|
readonly $fault: "client";
|
|
159
171
|
/**
|
|
@@ -167,6 +179,7 @@ export declare class EncryptionTypeMismatch extends __BaseException {
|
|
|
167
179
|
* @public
|
|
168
180
|
*/
|
|
169
181
|
export declare class InvalidRequest extends __BaseException {
|
|
182
|
+
static readonly shapeId: string;
|
|
170
183
|
readonly name: "InvalidRequest";
|
|
171
184
|
readonly $fault: "client";
|
|
172
185
|
/**
|
|
@@ -179,6 +192,7 @@ export declare class InvalidRequest extends __BaseException {
|
|
|
179
192
|
* @public
|
|
180
193
|
*/
|
|
181
194
|
export declare class InvalidWriteOffset extends __BaseException {
|
|
195
|
+
static readonly shapeId: string;
|
|
182
196
|
readonly name: "InvalidWriteOffset";
|
|
183
197
|
readonly $fault: "client";
|
|
184
198
|
/**
|
|
@@ -193,6 +207,7 @@ export declare class InvalidWriteOffset extends __BaseException {
|
|
|
193
207
|
* @public
|
|
194
208
|
*/
|
|
195
209
|
export declare class TooManyParts extends __BaseException {
|
|
210
|
+
static readonly shapeId: string;
|
|
196
211
|
readonly name: "TooManyParts";
|
|
197
212
|
readonly $fault: "client";
|
|
198
213
|
/**
|
|
@@ -205,6 +220,7 @@ export declare class TooManyParts extends __BaseException {
|
|
|
205
220
|
* @public
|
|
206
221
|
*/
|
|
207
222
|
export declare class AnnotationLimitExceeded extends __BaseException {
|
|
223
|
+
static readonly shapeId: string;
|
|
208
224
|
readonly name: "AnnotationLimitExceeded";
|
|
209
225
|
readonly $fault: "client";
|
|
210
226
|
/**
|
|
@@ -217,6 +233,7 @@ export declare class AnnotationLimitExceeded extends __BaseException {
|
|
|
217
233
|
* @public
|
|
218
234
|
*/
|
|
219
235
|
export declare class AnnotationNameTooLong extends __BaseException {
|
|
236
|
+
static readonly shapeId: string;
|
|
220
237
|
readonly name: "AnnotationNameTooLong";
|
|
221
238
|
readonly $fault: "client";
|
|
222
239
|
/**
|
|
@@ -229,6 +246,7 @@ export declare class AnnotationNameTooLong extends __BaseException {
|
|
|
229
246
|
* @public
|
|
230
247
|
*/
|
|
231
248
|
export declare class InvalidAnnotationName extends __BaseException {
|
|
249
|
+
static readonly shapeId: string;
|
|
232
250
|
readonly name: "InvalidAnnotationName";
|
|
233
251
|
readonly $fault: "client";
|
|
234
252
|
/**
|
|
@@ -241,6 +259,7 @@ export declare class InvalidAnnotationName extends __BaseException {
|
|
|
241
259
|
* @public
|
|
242
260
|
*/
|
|
243
261
|
export declare class UnsupportedMediaType extends __BaseException {
|
|
262
|
+
static readonly shapeId: string;
|
|
244
263
|
readonly name: "UnsupportedMediaType";
|
|
245
264
|
readonly $fault: "client";
|
|
246
265
|
/**
|
|
@@ -259,6 +278,7 @@ export declare class UnsupportedMediaType extends __BaseException {
|
|
|
259
278
|
* @public
|
|
260
279
|
*/
|
|
261
280
|
export declare class IdempotencyParameterMismatch extends __BaseException {
|
|
281
|
+
static readonly shapeId: string;
|
|
262
282
|
readonly name: "IdempotencyParameterMismatch";
|
|
263
283
|
readonly $fault: "client";
|
|
264
284
|
/**
|
|
@@ -271,6 +291,7 @@ export declare class IdempotencyParameterMismatch extends __BaseException {
|
|
|
271
291
|
* @public
|
|
272
292
|
*/
|
|
273
293
|
export declare class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
294
|
+
static readonly shapeId: string;
|
|
274
295
|
readonly name: "ObjectAlreadyInActiveTierError";
|
|
275
296
|
readonly $fault: "client";
|
|
276
297
|
/**
|
|
@@ -2,41 +2,49 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
|
|
|
2
2
|
import { IntelligentTieringAccessTier, StorageClass } from "./enums";
|
|
3
3
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
4
4
|
export declare class NoSuchUpload extends __BaseException {
|
|
5
|
+
static readonly shapeId: string;
|
|
5
6
|
readonly name: "NoSuchUpload";
|
|
6
7
|
readonly $fault: "client";
|
|
7
8
|
constructor(opts: __ExceptionOptionType<NoSuchUpload, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class AccessDenied extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "AccessDenied";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
constructor(opts: __ExceptionOptionType<AccessDenied, __BaseException>);
|
|
13
15
|
}
|
|
14
16
|
export declare class ObjectNotInActiveTierError extends __BaseException {
|
|
17
|
+
static readonly shapeId: string;
|
|
15
18
|
readonly name: "ObjectNotInActiveTierError";
|
|
16
19
|
readonly $fault: "client";
|
|
17
20
|
constructor(opts: __ExceptionOptionType<ObjectNotInActiveTierError, __BaseException>);
|
|
18
21
|
}
|
|
19
22
|
export declare class BucketAlreadyExists extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
20
24
|
readonly name: "BucketAlreadyExists";
|
|
21
25
|
readonly $fault: "client";
|
|
22
26
|
constructor(opts: __ExceptionOptionType<BucketAlreadyExists, __BaseException>);
|
|
23
27
|
}
|
|
24
28
|
export declare class BucketAlreadyOwnedByYou extends __BaseException {
|
|
29
|
+
static readonly shapeId: string;
|
|
25
30
|
readonly name: "BucketAlreadyOwnedByYou";
|
|
26
31
|
readonly $fault: "client";
|
|
27
32
|
constructor(opts: __ExceptionOptionType<BucketAlreadyOwnedByYou, __BaseException>);
|
|
28
33
|
}
|
|
29
34
|
export declare class NoSuchBucket extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
30
36
|
readonly name: "NoSuchBucket";
|
|
31
37
|
readonly $fault: "client";
|
|
32
38
|
constructor(opts: __ExceptionOptionType<NoSuchBucket, __BaseException>);
|
|
33
39
|
}
|
|
34
40
|
export declare class NoSuchKey extends __BaseException {
|
|
41
|
+
static readonly shapeId: string;
|
|
35
42
|
readonly name: "NoSuchKey";
|
|
36
43
|
readonly $fault: "client";
|
|
37
44
|
constructor(opts: __ExceptionOptionType<NoSuchKey, __BaseException>);
|
|
38
45
|
}
|
|
39
46
|
export declare class InvalidObjectState extends __BaseException {
|
|
47
|
+
static readonly shapeId: string;
|
|
40
48
|
readonly name: "InvalidObjectState";
|
|
41
49
|
readonly $fault: "client";
|
|
42
50
|
StorageClass?: StorageClass | undefined;
|
|
@@ -44,66 +52,79 @@ export declare class InvalidObjectState extends __BaseException {
|
|
|
44
52
|
constructor(opts: __ExceptionOptionType<InvalidObjectState, __BaseException>);
|
|
45
53
|
}
|
|
46
54
|
export declare class NoSuchAnnotation extends __BaseException {
|
|
55
|
+
static readonly shapeId: string;
|
|
47
56
|
readonly name: "NoSuchAnnotation";
|
|
48
57
|
readonly $fault: "client";
|
|
49
58
|
constructor(opts: __ExceptionOptionType<NoSuchAnnotation, __BaseException>);
|
|
50
59
|
}
|
|
51
60
|
export declare class NotFound extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
52
62
|
readonly name: "NotFound";
|
|
53
63
|
readonly $fault: "client";
|
|
54
64
|
constructor(opts: __ExceptionOptionType<NotFound, __BaseException>);
|
|
55
65
|
}
|
|
56
66
|
export declare class InvalidPrefix extends __BaseException {
|
|
67
|
+
static readonly shapeId: string;
|
|
57
68
|
readonly name: "InvalidPrefix";
|
|
58
69
|
readonly $fault: "client";
|
|
59
70
|
constructor(opts: __ExceptionOptionType<InvalidPrefix, __BaseException>);
|
|
60
71
|
}
|
|
61
72
|
export declare class EncryptionTypeMismatch extends __BaseException {
|
|
73
|
+
static readonly shapeId: string;
|
|
62
74
|
readonly name: "EncryptionTypeMismatch";
|
|
63
75
|
readonly $fault: "client";
|
|
64
76
|
constructor(opts: __ExceptionOptionType<EncryptionTypeMismatch, __BaseException>);
|
|
65
77
|
}
|
|
66
78
|
export declare class InvalidRequest extends __BaseException {
|
|
79
|
+
static readonly shapeId: string;
|
|
67
80
|
readonly name: "InvalidRequest";
|
|
68
81
|
readonly $fault: "client";
|
|
69
82
|
constructor(opts: __ExceptionOptionType<InvalidRequest, __BaseException>);
|
|
70
83
|
}
|
|
71
84
|
export declare class InvalidWriteOffset extends __BaseException {
|
|
85
|
+
static readonly shapeId: string;
|
|
72
86
|
readonly name: "InvalidWriteOffset";
|
|
73
87
|
readonly $fault: "client";
|
|
74
88
|
constructor(opts: __ExceptionOptionType<InvalidWriteOffset, __BaseException>);
|
|
75
89
|
}
|
|
76
90
|
export declare class TooManyParts extends __BaseException {
|
|
91
|
+
static readonly shapeId: string;
|
|
77
92
|
readonly name: "TooManyParts";
|
|
78
93
|
readonly $fault: "client";
|
|
79
94
|
constructor(opts: __ExceptionOptionType<TooManyParts, __BaseException>);
|
|
80
95
|
}
|
|
81
96
|
export declare class AnnotationLimitExceeded extends __BaseException {
|
|
97
|
+
static readonly shapeId: string;
|
|
82
98
|
readonly name: "AnnotationLimitExceeded";
|
|
83
99
|
readonly $fault: "client";
|
|
84
100
|
constructor(opts: __ExceptionOptionType<AnnotationLimitExceeded, __BaseException>);
|
|
85
101
|
}
|
|
86
102
|
export declare class AnnotationNameTooLong extends __BaseException {
|
|
103
|
+
static readonly shapeId: string;
|
|
87
104
|
readonly name: "AnnotationNameTooLong";
|
|
88
105
|
readonly $fault: "client";
|
|
89
106
|
constructor(opts: __ExceptionOptionType<AnnotationNameTooLong, __BaseException>);
|
|
90
107
|
}
|
|
91
108
|
export declare class InvalidAnnotationName extends __BaseException {
|
|
109
|
+
static readonly shapeId: string;
|
|
92
110
|
readonly name: "InvalidAnnotationName";
|
|
93
111
|
readonly $fault: "client";
|
|
94
112
|
constructor(opts: __ExceptionOptionType<InvalidAnnotationName, __BaseException>);
|
|
95
113
|
}
|
|
96
114
|
export declare class UnsupportedMediaType extends __BaseException {
|
|
115
|
+
static readonly shapeId: string;
|
|
97
116
|
readonly name: "UnsupportedMediaType";
|
|
98
117
|
readonly $fault: "client";
|
|
99
118
|
constructor(opts: __ExceptionOptionType<UnsupportedMediaType, __BaseException>);
|
|
100
119
|
}
|
|
101
120
|
export declare class IdempotencyParameterMismatch extends __BaseException {
|
|
121
|
+
static readonly shapeId: string;
|
|
102
122
|
readonly name: "IdempotencyParameterMismatch";
|
|
103
123
|
readonly $fault: "client";
|
|
104
124
|
constructor(opts: __ExceptionOptionType<IdempotencyParameterMismatch, __BaseException>);
|
|
105
125
|
}
|
|
106
126
|
export declare class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
127
|
+
static readonly shapeId: string;
|
|
107
128
|
readonly name: "ObjectAlreadyInActiveTierError";
|
|
108
129
|
readonly $fault: "client";
|
|
109
130
|
constructor(opts: __ExceptionOptionType<ObjectAlreadyInActiveTierError, __BaseException>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,20 +54,20 @@
|
|
|
54
54
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@aws-sdk/checksums": "^3.1001.
|
|
58
|
-
"@aws-sdk/core": "^3.978.
|
|
59
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
60
|
-
"@aws-sdk/middleware-sdk-s3": "^3.972.
|
|
61
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
57
|
+
"@aws-sdk/checksums": "^3.1001.2",
|
|
58
|
+
"@aws-sdk/core": "^3.978.2",
|
|
59
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
60
|
+
"@aws-sdk/middleware-sdk-s3": "^3.972.78",
|
|
61
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.48",
|
|
62
62
|
"@aws-sdk/types": "^3.974.6",
|
|
63
|
-
"@smithy/core": "^3.35.
|
|
63
|
+
"@smithy/core": "^3.35.2",
|
|
64
64
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
65
65
|
"@smithy/node-http-handler": "^4.12.1",
|
|
66
66
|
"@smithy/types": "^4.19.0",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
70
|
+
"@aws-sdk/signature-v4-crt": "3.1149.0",
|
|
71
71
|
"@smithy/snapshot-testing": "^2.3.2",
|
|
72
72
|
"@tsconfig/node20": "20.1.8",
|
|
73
73
|
"@types/node": "^20.14.8",
|