@aws-sdk/client-s3 3.1069.0 → 3.1070.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/README.md +35 -0
- package/dist-cjs/index.js +133 -2
- package/dist-cjs/models/errors.js +76 -4
- package/dist-cjs/schemas/schemas_0.js +279 -100
- package/dist-es/S3.js +12 -0
- package/dist-es/commands/DeleteObjectAnnotationCommand.js +23 -0
- package/dist-es/commands/GetObjectAnnotationCommand.js +28 -0
- package/dist-es/commands/ListObjectAnnotationsCommand.js +23 -0
- package/dist-es/commands/PutObjectAnnotationCommand.js +29 -0
- package/dist-es/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.js +27 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +12 -1
- package/dist-es/models/errors.js +76 -4
- package/dist-es/pagination/ListObjectAnnotationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +260 -100
- package/dist-types/S3.d.ts +42 -0
- package/dist-types/S3Client.d.ts +7 -2
- package/dist-types/commands/CopyObjectCommand.d.ts +1 -0
- package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +27 -0
- package/dist-types/commands/DeleteObjectAnnotationCommand.d.ts +119 -0
- package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +11 -0
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectAnnotationCommand.d.ts +141 -0
- package/dist-types/commands/ListObjectAnnotationsCommand.d.ts +138 -0
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectAnnotationCommand.d.ts +166 -0
- package/dist-types/commands/RenameObjectCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +1 -2
- package/dist-types/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +29 -2
- package/dist-types/models/errors.d.ts +76 -4
- package/dist-types/models/models_0.d.ts +925 -549
- package/dist-types/models/models_1.d.ts +380 -2
- package/dist-types/pagination/ListObjectAnnotationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/S3.d.ts +98 -0
- package/dist-types/ts3.4/S3Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +61 -0
- package/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +61 -0
- package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -3
- package/dist-types/ts3.4/models/errors.d.ts +41 -3
- package/dist-types/ts3.4/models/models_0.d.ts +138 -64
- package/dist-types/ts3.4/models/models_1.d.ts +75 -5
- package/dist-types/ts3.4/pagination/ListObjectAnnotationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/package.json +2 -2
|
@@ -80,6 +80,18 @@ export declare class NoSuchBucket extends __BaseException {
|
|
|
80
80
|
*/
|
|
81
81
|
constructor(opts: __ExceptionOptionType<NoSuchBucket, __BaseException>);
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* <p>The specified key does not exist.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class NoSuchKey extends __BaseException {
|
|
88
|
+
readonly name: "NoSuchKey";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
constructor(opts: __ExceptionOptionType<NoSuchKey, __BaseException>);
|
|
94
|
+
}
|
|
83
95
|
/**
|
|
84
96
|
* <p>Object is archived and inaccessible until restored.</p>
|
|
85
97
|
* <p>If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the
|
|
@@ -101,16 +113,16 @@ export declare class InvalidObjectState extends __BaseException {
|
|
|
101
113
|
constructor(opts: __ExceptionOptionType<InvalidObjectState, __BaseException>);
|
|
102
114
|
}
|
|
103
115
|
/**
|
|
104
|
-
* <p>The specified
|
|
116
|
+
* <p>The specified annotation does not exist on this object.</p>
|
|
105
117
|
* @public
|
|
106
118
|
*/
|
|
107
|
-
export declare class
|
|
108
|
-
readonly name: "
|
|
119
|
+
export declare class NoSuchAnnotation extends __BaseException {
|
|
120
|
+
readonly name: "NoSuchAnnotation";
|
|
109
121
|
readonly $fault: "client";
|
|
110
122
|
/**
|
|
111
123
|
* @internal
|
|
112
124
|
*/
|
|
113
|
-
constructor(opts: __ExceptionOptionType<
|
|
125
|
+
constructor(opts: __ExceptionOptionType<NoSuchAnnotation, __BaseException>);
|
|
114
126
|
}
|
|
115
127
|
/**
|
|
116
128
|
* <p>The specified content does not exist.</p>
|
|
@@ -124,6 +136,18 @@ export declare class NotFound extends __BaseException {
|
|
|
124
136
|
*/
|
|
125
137
|
constructor(opts: __ExceptionOptionType<NotFound, __BaseException>);
|
|
126
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* <p>The annotation prefix you provided is invalid.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export declare class InvalidPrefix extends __BaseException {
|
|
144
|
+
readonly name: "InvalidPrefix";
|
|
145
|
+
readonly $fault: "client";
|
|
146
|
+
/**
|
|
147
|
+
* @internal
|
|
148
|
+
*/
|
|
149
|
+
constructor(opts: __ExceptionOptionType<InvalidPrefix, __BaseException>);
|
|
150
|
+
}
|
|
127
151
|
/**
|
|
128
152
|
* <p> The existing object was created with a different encryption type. Subsequent write requests must
|
|
129
153
|
* include the appropriate encryption parameters in the request or while creating the session. </p>
|
|
@@ -176,6 +200,54 @@ export declare class TooManyParts extends __BaseException {
|
|
|
176
200
|
*/
|
|
177
201
|
constructor(opts: __ExceptionOptionType<TooManyParts, __BaseException>);
|
|
178
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* <p>The request would exceed the maximum number of annotations allowed per object.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export declare class AnnotationLimitExceeded extends __BaseException {
|
|
208
|
+
readonly name: "AnnotationLimitExceeded";
|
|
209
|
+
readonly $fault: "client";
|
|
210
|
+
/**
|
|
211
|
+
* @internal
|
|
212
|
+
*/
|
|
213
|
+
constructor(opts: __ExceptionOptionType<AnnotationLimitExceeded, __BaseException>);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* <p>The annotation name exceeds 512 bytes.</p>
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export declare class AnnotationNameTooLong extends __BaseException {
|
|
220
|
+
readonly name: "AnnotationNameTooLong";
|
|
221
|
+
readonly $fault: "client";
|
|
222
|
+
/**
|
|
223
|
+
* @internal
|
|
224
|
+
*/
|
|
225
|
+
constructor(opts: __ExceptionOptionType<AnnotationNameTooLong, __BaseException>);
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* <p>The annotation name you provided is invalid.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export declare class InvalidAnnotationName extends __BaseException {
|
|
232
|
+
readonly name: "InvalidAnnotationName";
|
|
233
|
+
readonly $fault: "client";
|
|
234
|
+
/**
|
|
235
|
+
* @internal
|
|
236
|
+
*/
|
|
237
|
+
constructor(opts: __ExceptionOptionType<InvalidAnnotationName, __BaseException>);
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* <p>The annotation payload is not valid UTF-8 encoded text.</p>
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
export declare class UnsupportedMediaType extends __BaseException {
|
|
244
|
+
readonly name: "UnsupportedMediaType";
|
|
245
|
+
readonly $fault: "client";
|
|
246
|
+
/**
|
|
247
|
+
* @internal
|
|
248
|
+
*/
|
|
249
|
+
constructor(opts: __ExceptionOptionType<UnsupportedMediaType, __BaseException>);
|
|
250
|
+
}
|
|
179
251
|
/**
|
|
180
252
|
* <p>Parameters on this idempotent request are inconsistent with parameters used in previous request(s). </p>
|
|
181
253
|
* <p>For a list of error codes and more information on Amazon S3 errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">Error codes</a>.</p>
|