@aws-sdk/client-s3 3.1069.0 → 3.1071.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.
Files changed (56) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +133 -2
  3. package/dist-cjs/models/errors.js +76 -4
  4. package/dist-cjs/schemas/schemas_0.js +279 -100
  5. package/dist-es/S3.js +12 -0
  6. package/dist-es/commands/DeleteObjectAnnotationCommand.js +23 -0
  7. package/dist-es/commands/GetObjectAnnotationCommand.js +28 -0
  8. package/dist-es/commands/ListObjectAnnotationsCommand.js +23 -0
  9. package/dist-es/commands/PutObjectAnnotationCommand.js +29 -0
  10. package/dist-es/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.js +27 -0
  11. package/dist-es/commands/index.js +5 -0
  12. package/dist-es/models/enums.js +12 -1
  13. package/dist-es/models/errors.js +76 -4
  14. package/dist-es/pagination/ListObjectAnnotationsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +1 -0
  16. package/dist-es/schemas/schemas_0.js +260 -100
  17. package/dist-types/S3.d.ts +42 -0
  18. package/dist-types/S3Client.d.ts +7 -2
  19. package/dist-types/commands/CopyObjectCommand.d.ts +1 -0
  20. package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +27 -0
  21. package/dist-types/commands/DeleteObjectAnnotationCommand.d.ts +119 -0
  22. package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +11 -0
  23. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  24. package/dist-types/commands/GetObjectAnnotationCommand.d.ts +141 -0
  25. package/dist-types/commands/ListObjectAnnotationsCommand.d.ts +138 -0
  26. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  27. package/dist-types/commands/PutObjectAnnotationCommand.d.ts +166 -0
  28. package/dist-types/commands/RenameObjectCommand.d.ts +1 -1
  29. package/dist-types/commands/RestoreObjectCommand.d.ts +1 -2
  30. package/dist-types/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +110 -0
  31. package/dist-types/commands/index.d.ts +5 -0
  32. package/dist-types/models/enums.d.ts +29 -2
  33. package/dist-types/models/errors.d.ts +76 -4
  34. package/dist-types/models/models_0.d.ts +925 -549
  35. package/dist-types/models/models_1.d.ts +380 -2
  36. package/dist-types/pagination/ListObjectAnnotationsPaginator.d.ts +7 -0
  37. package/dist-types/pagination/index.d.ts +1 -0
  38. package/dist-types/schemas/schemas_0.d.ts +24 -0
  39. package/dist-types/ts3.4/S3.d.ts +98 -0
  40. package/dist-types/ts3.4/S3Client.d.ts +30 -0
  41. package/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +53 -0
  42. package/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +61 -0
  43. package/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +53 -0
  44. package/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +61 -0
  45. package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -2
  47. package/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +49 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  49. package/dist-types/ts3.4/models/enums.d.ts +18 -3
  50. package/dist-types/ts3.4/models/errors.d.ts +41 -3
  51. package/dist-types/ts3.4/models/models_0.d.ts +138 -64
  52. package/dist-types/ts3.4/models/models_1.d.ts +75 -5
  53. package/dist-types/ts3.4/pagination/ListObjectAnnotationsPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  55. package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
  56. package/package.json +6 -6
@@ -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 key does not exist.</p>
116
+ * <p>The specified annotation does not exist on this object.</p>
105
117
  * @public
106
118
  */
107
- export declare class NoSuchKey extends __BaseException {
108
- readonly name: "NoSuchKey";
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<NoSuchKey, __BaseException>);
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>