@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.
- 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 +6 -6
|
@@ -37,6 +37,11 @@ export declare class NoSuchBucket extends __BaseException {
|
|
|
37
37
|
readonly $fault: "client";
|
|
38
38
|
constructor(opts: __ExceptionOptionType<NoSuchBucket, __BaseException>);
|
|
39
39
|
}
|
|
40
|
+
export declare class NoSuchKey extends __BaseException {
|
|
41
|
+
readonly name: "NoSuchKey";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
constructor(opts: __ExceptionOptionType<NoSuchKey, __BaseException>);
|
|
44
|
+
}
|
|
40
45
|
export declare class InvalidObjectState extends __BaseException {
|
|
41
46
|
readonly name: "InvalidObjectState";
|
|
42
47
|
readonly $fault: "client";
|
|
@@ -44,16 +49,21 @@ export declare class InvalidObjectState extends __BaseException {
|
|
|
44
49
|
AccessTier?: IntelligentTieringAccessTier | undefined;
|
|
45
50
|
constructor(opts: __ExceptionOptionType<InvalidObjectState, __BaseException>);
|
|
46
51
|
}
|
|
47
|
-
export declare class
|
|
48
|
-
readonly name: "
|
|
52
|
+
export declare class NoSuchAnnotation extends __BaseException {
|
|
53
|
+
readonly name: "NoSuchAnnotation";
|
|
49
54
|
readonly $fault: "client";
|
|
50
|
-
constructor(opts: __ExceptionOptionType<
|
|
55
|
+
constructor(opts: __ExceptionOptionType<NoSuchAnnotation, __BaseException>);
|
|
51
56
|
}
|
|
52
57
|
export declare class NotFound extends __BaseException {
|
|
53
58
|
readonly name: "NotFound";
|
|
54
59
|
readonly $fault: "client";
|
|
55
60
|
constructor(opts: __ExceptionOptionType<NotFound, __BaseException>);
|
|
56
61
|
}
|
|
62
|
+
export declare class InvalidPrefix extends __BaseException {
|
|
63
|
+
readonly name: "InvalidPrefix";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
constructor(opts: __ExceptionOptionType<InvalidPrefix, __BaseException>);
|
|
66
|
+
}
|
|
57
67
|
export declare class EncryptionTypeMismatch extends __BaseException {
|
|
58
68
|
readonly name: "EncryptionTypeMismatch";
|
|
59
69
|
readonly $fault: "client";
|
|
@@ -76,6 +86,34 @@ export declare class TooManyParts extends __BaseException {
|
|
|
76
86
|
readonly $fault: "client";
|
|
77
87
|
constructor(opts: __ExceptionOptionType<TooManyParts, __BaseException>);
|
|
78
88
|
}
|
|
89
|
+
export declare class AnnotationLimitExceeded extends __BaseException {
|
|
90
|
+
readonly name: "AnnotationLimitExceeded";
|
|
91
|
+
readonly $fault: "client";
|
|
92
|
+
constructor(
|
|
93
|
+
opts: __ExceptionOptionType<AnnotationLimitExceeded, __BaseException>
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
export declare class AnnotationNameTooLong extends __BaseException {
|
|
97
|
+
readonly name: "AnnotationNameTooLong";
|
|
98
|
+
readonly $fault: "client";
|
|
99
|
+
constructor(
|
|
100
|
+
opts: __ExceptionOptionType<AnnotationNameTooLong, __BaseException>
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
export declare class InvalidAnnotationName extends __BaseException {
|
|
104
|
+
readonly name: "InvalidAnnotationName";
|
|
105
|
+
readonly $fault: "client";
|
|
106
|
+
constructor(
|
|
107
|
+
opts: __ExceptionOptionType<InvalidAnnotationName, __BaseException>
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
export declare class UnsupportedMediaType extends __BaseException {
|
|
111
|
+
readonly name: "UnsupportedMediaType";
|
|
112
|
+
readonly $fault: "client";
|
|
113
|
+
constructor(
|
|
114
|
+
opts: __ExceptionOptionType<UnsupportedMediaType, __BaseException>
|
|
115
|
+
);
|
|
116
|
+
}
|
|
79
117
|
export declare class IdempotencyParameterMismatch extends __BaseException {
|
|
80
118
|
readonly name: "IdempotencyParameterMismatch";
|
|
81
119
|
readonly $fault: "client";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
2
2
|
import {
|
|
3
3
|
AnalyticsS3ExportFileFormat,
|
|
4
|
+
AnnotationConfigurationState,
|
|
5
|
+
AnnotationDirective,
|
|
4
6
|
ArchiveStatus,
|
|
5
7
|
BucketAbacStatus,
|
|
6
8
|
BucketAccelerateStatus,
|
|
@@ -21,7 +23,6 @@ import {
|
|
|
21
23
|
ExistingObjectReplicationStatus,
|
|
22
24
|
ExpirationState,
|
|
23
25
|
ExpirationStatus,
|
|
24
|
-
FileHeaderInfo,
|
|
25
26
|
FilterRuleName,
|
|
26
27
|
IntelligentTieringAccessTier,
|
|
27
28
|
IntelligentTieringStatus,
|
|
@@ -30,7 +31,6 @@ import {
|
|
|
30
31
|
InventoryFrequency,
|
|
31
32
|
InventoryIncludedObjectVersions,
|
|
32
33
|
InventoryOptionalField,
|
|
33
|
-
JSONType,
|
|
34
34
|
LocationType,
|
|
35
35
|
MetadataDirective,
|
|
36
36
|
MetricsStatus,
|
|
@@ -65,7 +65,6 @@ import {
|
|
|
65
65
|
StorageClassAnalysisSchemaVersion,
|
|
66
66
|
TableSseAlgorithm,
|
|
67
67
|
TaggingDirective,
|
|
68
|
-
Tier,
|
|
69
68
|
TransitionDefaultMinimumObjectSize,
|
|
70
69
|
TransitionStorageClass,
|
|
71
70
|
Type,
|
|
@@ -230,6 +229,7 @@ export interface CopyObjectRequest {
|
|
|
230
229
|
Metadata?: Record<string, string> | undefined;
|
|
231
230
|
MetadataDirective?: MetadataDirective | undefined;
|
|
232
231
|
TaggingDirective?: TaggingDirective | undefined;
|
|
232
|
+
AnnotationDirective?: AnnotationDirective | undefined;
|
|
233
233
|
ServerSideEncryption?: ServerSideEncryption | undefined;
|
|
234
234
|
StorageClass?: StorageClass | undefined;
|
|
235
235
|
WebsiteRedirectLocation?: string | undefined;
|
|
@@ -289,6 +289,11 @@ export interface MetadataTableEncryptionConfiguration {
|
|
|
289
289
|
SseAlgorithm: TableSseAlgorithm | undefined;
|
|
290
290
|
KmsKeyArn?: string | undefined;
|
|
291
291
|
}
|
|
292
|
+
export interface AnnotationTableConfiguration {
|
|
293
|
+
ConfigurationState: AnnotationConfigurationState | undefined;
|
|
294
|
+
EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined;
|
|
295
|
+
Role?: string | undefined;
|
|
296
|
+
}
|
|
292
297
|
export interface InventoryTableConfiguration {
|
|
293
298
|
ConfigurationState: InventoryConfigurationState | undefined;
|
|
294
299
|
EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined;
|
|
@@ -304,6 +309,7 @@ export interface JournalTableConfiguration {
|
|
|
304
309
|
export interface MetadataConfiguration {
|
|
305
310
|
JournalTableConfiguration: JournalTableConfiguration | undefined;
|
|
306
311
|
InventoryTableConfiguration?: InventoryTableConfiguration | undefined;
|
|
312
|
+
AnnotationTableConfiguration?: AnnotationTableConfiguration | undefined;
|
|
307
313
|
}
|
|
308
314
|
export interface CreateBucketMetadataConfigurationRequest {
|
|
309
315
|
Bucket: string | undefined;
|
|
@@ -477,6 +483,19 @@ export interface DeleteObjectRequest {
|
|
|
477
483
|
IfMatchLastModifiedTime?: Date | undefined;
|
|
478
484
|
IfMatchSize?: number | undefined;
|
|
479
485
|
}
|
|
486
|
+
export interface DeleteObjectAnnotationOutput {
|
|
487
|
+
ObjectVersionId?: string | undefined;
|
|
488
|
+
RequestCharged?: RequestCharged | undefined;
|
|
489
|
+
}
|
|
490
|
+
export interface DeleteObjectAnnotationRequest {
|
|
491
|
+
Bucket: string | undefined;
|
|
492
|
+
Key: string | undefined;
|
|
493
|
+
AnnotationName: string | undefined;
|
|
494
|
+
VersionId?: string | undefined;
|
|
495
|
+
RequestPayer?: RequestPayer | undefined;
|
|
496
|
+
ExpectedBucketOwner?: string | undefined;
|
|
497
|
+
ObjectIfMatch?: string | undefined;
|
|
498
|
+
}
|
|
480
499
|
export interface DeletedObject {
|
|
481
500
|
Key?: string | undefined;
|
|
482
501
|
VersionId?: string | undefined;
|
|
@@ -815,15 +834,23 @@ export interface GetBucketLoggingRequest {
|
|
|
815
834
|
Bucket: string | undefined;
|
|
816
835
|
ExpectedBucketOwner?: string | undefined;
|
|
817
836
|
}
|
|
837
|
+
export interface ErrorDetails {
|
|
838
|
+
ErrorCode?: string | undefined;
|
|
839
|
+
ErrorMessage?: string | undefined;
|
|
840
|
+
}
|
|
841
|
+
export interface AnnotationTableConfigurationResult {
|
|
842
|
+
ConfigurationState: AnnotationConfigurationState | undefined;
|
|
843
|
+
TableStatus?: string | undefined;
|
|
844
|
+
Error?: ErrorDetails | undefined;
|
|
845
|
+
TableName?: string | undefined;
|
|
846
|
+
TableArn?: string | undefined;
|
|
847
|
+
Role?: string | undefined;
|
|
848
|
+
}
|
|
818
849
|
export interface DestinationResult {
|
|
819
850
|
TableBucketType?: S3TablesBucketType | undefined;
|
|
820
851
|
TableBucketArn?: string | undefined;
|
|
821
852
|
TableNamespace?: string | undefined;
|
|
822
853
|
}
|
|
823
|
-
export interface ErrorDetails {
|
|
824
|
-
ErrorCode?: string | undefined;
|
|
825
|
-
ErrorMessage?: string | undefined;
|
|
826
|
-
}
|
|
827
854
|
export interface InventoryTableConfigurationResult {
|
|
828
855
|
ConfigurationState: InventoryConfigurationState | undefined;
|
|
829
856
|
TableStatus?: string | undefined;
|
|
@@ -844,6 +871,9 @@ export interface MetadataConfigurationResult {
|
|
|
844
871
|
InventoryTableConfigurationResult?:
|
|
845
872
|
| InventoryTableConfigurationResult
|
|
846
873
|
| undefined;
|
|
874
|
+
AnnotationTableConfigurationResult?:
|
|
875
|
+
| AnnotationTableConfigurationResult
|
|
876
|
+
| undefined;
|
|
847
877
|
}
|
|
848
878
|
export interface GetBucketMetadataConfigurationResult {
|
|
849
879
|
MetadataConfigurationResult: MetadataConfigurationResult | undefined;
|
|
@@ -1226,6 +1256,36 @@ export interface GetObjectAclRequest {
|
|
|
1226
1256
|
RequestPayer?: RequestPayer | undefined;
|
|
1227
1257
|
ExpectedBucketOwner?: string | undefined;
|
|
1228
1258
|
}
|
|
1259
|
+
export interface GetObjectAnnotationOutput {
|
|
1260
|
+
AnnotationPayload?: StreamingBlobTypes | undefined;
|
|
1261
|
+
ObjectVersionId?: string | undefined;
|
|
1262
|
+
LastModified?: Date | undefined;
|
|
1263
|
+
ContentLength?: number | undefined;
|
|
1264
|
+
ETag?: string | undefined;
|
|
1265
|
+
ChecksumCRC32?: string | undefined;
|
|
1266
|
+
ChecksumCRC32C?: string | undefined;
|
|
1267
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
1268
|
+
ChecksumSHA1?: string | undefined;
|
|
1269
|
+
ChecksumSHA256?: string | undefined;
|
|
1270
|
+
ChecksumSHA512?: string | undefined;
|
|
1271
|
+
ChecksumMD5?: string | undefined;
|
|
1272
|
+
ChecksumXXHASH64?: string | undefined;
|
|
1273
|
+
ChecksumXXHASH3?: string | undefined;
|
|
1274
|
+
ChecksumXXHASH128?: string | undefined;
|
|
1275
|
+
ChecksumType?: ChecksumType | undefined;
|
|
1276
|
+
ServerSideEncryption?: ServerSideEncryption | undefined;
|
|
1277
|
+
RequestCharged?: RequestCharged | undefined;
|
|
1278
|
+
ReplicationStatus?: ReplicationStatus | undefined;
|
|
1279
|
+
}
|
|
1280
|
+
export interface GetObjectAnnotationRequest {
|
|
1281
|
+
Bucket: string | undefined;
|
|
1282
|
+
Key: string | undefined;
|
|
1283
|
+
AnnotationName: string | undefined;
|
|
1284
|
+
VersionId?: string | undefined;
|
|
1285
|
+
RequestPayer?: RequestPayer | undefined;
|
|
1286
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1287
|
+
ChecksumMode?: ChecksumMode | undefined;
|
|
1288
|
+
}
|
|
1229
1289
|
export interface Checksum {
|
|
1230
1290
|
ChecksumCRC32?: string | undefined;
|
|
1231
1291
|
ChecksumCRC32C?: string | undefined;
|
|
@@ -1560,6 +1620,36 @@ export interface ListMultipartUploadsRequest {
|
|
|
1560
1620
|
ExpectedBucketOwner?: string | undefined;
|
|
1561
1621
|
RequestPayer?: RequestPayer | undefined;
|
|
1562
1622
|
}
|
|
1623
|
+
export interface AnnotationEntry {
|
|
1624
|
+
AnnotationName: string | undefined;
|
|
1625
|
+
LastModified: Date | undefined;
|
|
1626
|
+
ETag?: string | undefined;
|
|
1627
|
+
ChecksumAlgorithm?: ChecksumAlgorithm[] | undefined;
|
|
1628
|
+
Size: number | undefined;
|
|
1629
|
+
ReplicationStatus?: ReplicationStatus | undefined;
|
|
1630
|
+
}
|
|
1631
|
+
export interface ListObjectAnnotationsOutput {
|
|
1632
|
+
Annotations?: AnnotationEntry[] | undefined;
|
|
1633
|
+
Bucket?: string | undefined;
|
|
1634
|
+
Key?: string | undefined;
|
|
1635
|
+
ObjectVersionId?: string | undefined;
|
|
1636
|
+
AnnotationPrefix?: string | undefined;
|
|
1637
|
+
MaxAnnotationResults?: number | undefined;
|
|
1638
|
+
AnnotationCount?: number | undefined;
|
|
1639
|
+
ContinuationToken?: string | undefined;
|
|
1640
|
+
NextContinuationToken?: string | undefined;
|
|
1641
|
+
RequestCharged?: RequestCharged | undefined;
|
|
1642
|
+
}
|
|
1643
|
+
export interface ListObjectAnnotationsRequest {
|
|
1644
|
+
Bucket: string | undefined;
|
|
1645
|
+
Key: string | undefined;
|
|
1646
|
+
VersionId?: string | undefined;
|
|
1647
|
+
MaxAnnotationResults?: number | undefined;
|
|
1648
|
+
AnnotationPrefix?: string | undefined;
|
|
1649
|
+
ContinuationToken?: string | undefined;
|
|
1650
|
+
RequestPayer?: RequestPayer | undefined;
|
|
1651
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1652
|
+
}
|
|
1563
1653
|
export interface RestoreStatus {
|
|
1564
1654
|
IsRestoreInProgress?: boolean | undefined;
|
|
1565
1655
|
RestoreExpiryDate?: Date | undefined;
|
|
@@ -1982,6 +2072,47 @@ export interface PutObjectAclRequest {
|
|
|
1982
2072
|
VersionId?: string | undefined;
|
|
1983
2073
|
ExpectedBucketOwner?: string | undefined;
|
|
1984
2074
|
}
|
|
2075
|
+
export interface PutObjectAnnotationOutput {
|
|
2076
|
+
Key?: string | undefined;
|
|
2077
|
+
AnnotationName?: string | undefined;
|
|
2078
|
+
ObjectVersionId?: string | undefined;
|
|
2079
|
+
ETag?: string | undefined;
|
|
2080
|
+
ChecksumCRC32?: string | undefined;
|
|
2081
|
+
ChecksumCRC32C?: string | undefined;
|
|
2082
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
2083
|
+
ChecksumSHA1?: string | undefined;
|
|
2084
|
+
ChecksumSHA256?: string | undefined;
|
|
2085
|
+
ChecksumSHA512?: string | undefined;
|
|
2086
|
+
ChecksumMD5?: string | undefined;
|
|
2087
|
+
ChecksumXXHASH64?: string | undefined;
|
|
2088
|
+
ChecksumXXHASH3?: string | undefined;
|
|
2089
|
+
ChecksumXXHASH128?: string | undefined;
|
|
2090
|
+
ChecksumType?: ChecksumType | undefined;
|
|
2091
|
+
ServerSideEncryption?: ServerSideEncryption | undefined;
|
|
2092
|
+
RequestCharged?: RequestCharged | undefined;
|
|
2093
|
+
}
|
|
2094
|
+
export interface PutObjectAnnotationRequest {
|
|
2095
|
+
Bucket: string | undefined;
|
|
2096
|
+
Key: string | undefined;
|
|
2097
|
+
VersionId?: string | undefined;
|
|
2098
|
+
AnnotationName: string | undefined;
|
|
2099
|
+
AnnotationPayload: StreamingBlobTypes | undefined;
|
|
2100
|
+
ObjectIfMatch?: string | undefined;
|
|
2101
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
2102
|
+
ChecksumCRC32?: string | undefined;
|
|
2103
|
+
ChecksumCRC32C?: string | undefined;
|
|
2104
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
2105
|
+
ChecksumSHA1?: string | undefined;
|
|
2106
|
+
ChecksumSHA256?: string | undefined;
|
|
2107
|
+
ChecksumSHA512?: string | undefined;
|
|
2108
|
+
ChecksumMD5?: string | undefined;
|
|
2109
|
+
ChecksumXXHASH64?: string | undefined;
|
|
2110
|
+
ChecksumXXHASH3?: string | undefined;
|
|
2111
|
+
ChecksumXXHASH128?: string | undefined;
|
|
2112
|
+
ContentMD5?: string | undefined;
|
|
2113
|
+
RequestPayer?: RequestPayer | undefined;
|
|
2114
|
+
ExpectedBucketOwner?: string | undefined;
|
|
2115
|
+
}
|
|
1985
2116
|
export interface PutObjectLegalHoldOutput {
|
|
1986
2117
|
RequestCharged?: RequestCharged | undefined;
|
|
1987
2118
|
}
|
|
@@ -2041,60 +2172,3 @@ export interface PutPublicAccessBlockRequest {
|
|
|
2041
2172
|
PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
|
|
2042
2173
|
ExpectedBucketOwner?: string | undefined;
|
|
2043
2174
|
}
|
|
2044
|
-
export interface RenameObjectOutput {}
|
|
2045
|
-
export interface RenameObjectRequest {
|
|
2046
|
-
Bucket: string | undefined;
|
|
2047
|
-
Key: string | undefined;
|
|
2048
|
-
RenameSource: string | undefined;
|
|
2049
|
-
DestinationIfMatch?: string | undefined;
|
|
2050
|
-
DestinationIfNoneMatch?: string | undefined;
|
|
2051
|
-
DestinationIfModifiedSince?: Date | undefined;
|
|
2052
|
-
DestinationIfUnmodifiedSince?: Date | undefined;
|
|
2053
|
-
SourceIfMatch?: string | undefined;
|
|
2054
|
-
SourceIfNoneMatch?: string | undefined;
|
|
2055
|
-
SourceIfModifiedSince?: Date | undefined;
|
|
2056
|
-
SourceIfUnmodifiedSince?: Date | undefined;
|
|
2057
|
-
ClientToken?: string | undefined;
|
|
2058
|
-
}
|
|
2059
|
-
export interface RestoreObjectOutput {
|
|
2060
|
-
RequestCharged?: RequestCharged | undefined;
|
|
2061
|
-
RestoreOutputPath?: string | undefined;
|
|
2062
|
-
}
|
|
2063
|
-
export interface GlacierJobParameters {
|
|
2064
|
-
Tier: Tier | undefined;
|
|
2065
|
-
}
|
|
2066
|
-
export interface Encryption {
|
|
2067
|
-
EncryptionType: ServerSideEncryption | undefined;
|
|
2068
|
-
KMSKeyId?: string | undefined;
|
|
2069
|
-
KMSContext?: string | undefined;
|
|
2070
|
-
}
|
|
2071
|
-
export interface MetadataEntry {
|
|
2072
|
-
Name?: string | undefined;
|
|
2073
|
-
Value?: string | undefined;
|
|
2074
|
-
}
|
|
2075
|
-
export interface S3Location {
|
|
2076
|
-
BucketName: string | undefined;
|
|
2077
|
-
Prefix: string | undefined;
|
|
2078
|
-
Encryption?: Encryption | undefined;
|
|
2079
|
-
CannedACL?: ObjectCannedACL | undefined;
|
|
2080
|
-
AccessControlList?: Grant[] | undefined;
|
|
2081
|
-
Tagging?: Tagging | undefined;
|
|
2082
|
-
UserMetadata?: MetadataEntry[] | undefined;
|
|
2083
|
-
StorageClass?: StorageClass | undefined;
|
|
2084
|
-
}
|
|
2085
|
-
export interface OutputLocation {
|
|
2086
|
-
S3?: S3Location | undefined;
|
|
2087
|
-
}
|
|
2088
|
-
export interface CSVInput {
|
|
2089
|
-
FileHeaderInfo?: FileHeaderInfo | undefined;
|
|
2090
|
-
Comments?: string | undefined;
|
|
2091
|
-
QuoteEscapeCharacter?: string | undefined;
|
|
2092
|
-
RecordDelimiter?: string | undefined;
|
|
2093
|
-
FieldDelimiter?: string | undefined;
|
|
2094
|
-
QuoteCharacter?: string | undefined;
|
|
2095
|
-
AllowQuotedRecordDelimiter?: boolean | undefined;
|
|
2096
|
-
}
|
|
2097
|
-
export interface JSONInput {
|
|
2098
|
-
Type?: JSONType | undefined;
|
|
2099
|
-
}
|
|
2100
|
-
export interface ParquetInput {}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
2
2
|
import {
|
|
3
|
+
AnnotationConfigurationState,
|
|
3
4
|
ChecksumAlgorithm,
|
|
4
5
|
CompressionType,
|
|
5
6
|
ExpressionType,
|
|
7
|
+
FileHeaderInfo,
|
|
6
8
|
InventoryConfigurationState,
|
|
9
|
+
JSONType,
|
|
10
|
+
ObjectCannedACL,
|
|
7
11
|
ObjectLockLegalHoldStatus,
|
|
8
12
|
ObjectLockMode,
|
|
9
13
|
QuoteFields,
|
|
@@ -16,14 +20,68 @@ import {
|
|
|
16
20
|
Tier,
|
|
17
21
|
} from "./enums";
|
|
18
22
|
import {
|
|
19
|
-
|
|
20
|
-
GlacierJobParameters,
|
|
21
|
-
JSONInput,
|
|
23
|
+
Grant,
|
|
22
24
|
MetadataTableEncryptionConfiguration,
|
|
23
|
-
OutputLocation,
|
|
24
|
-
ParquetInput,
|
|
25
25
|
RecordExpiration,
|
|
26
|
+
Tagging,
|
|
26
27
|
} from "./models_0";
|
|
28
|
+
export interface RenameObjectOutput {}
|
|
29
|
+
export interface RenameObjectRequest {
|
|
30
|
+
Bucket: string | undefined;
|
|
31
|
+
Key: string | undefined;
|
|
32
|
+
RenameSource: string | undefined;
|
|
33
|
+
DestinationIfMatch?: string | undefined;
|
|
34
|
+
DestinationIfNoneMatch?: string | undefined;
|
|
35
|
+
DestinationIfModifiedSince?: Date | undefined;
|
|
36
|
+
DestinationIfUnmodifiedSince?: Date | undefined;
|
|
37
|
+
SourceIfMatch?: string | undefined;
|
|
38
|
+
SourceIfNoneMatch?: string | undefined;
|
|
39
|
+
SourceIfModifiedSince?: Date | undefined;
|
|
40
|
+
SourceIfUnmodifiedSince?: Date | undefined;
|
|
41
|
+
ClientToken?: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
export interface RestoreObjectOutput {
|
|
44
|
+
RequestCharged?: RequestCharged | undefined;
|
|
45
|
+
RestoreOutputPath?: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface GlacierJobParameters {
|
|
48
|
+
Tier: Tier | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface Encryption {
|
|
51
|
+
EncryptionType: ServerSideEncryption | undefined;
|
|
52
|
+
KMSKeyId?: string | undefined;
|
|
53
|
+
KMSContext?: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
export interface MetadataEntry {
|
|
56
|
+
Name?: string | undefined;
|
|
57
|
+
Value?: string | undefined;
|
|
58
|
+
}
|
|
59
|
+
export interface S3Location {
|
|
60
|
+
BucketName: string | undefined;
|
|
61
|
+
Prefix: string | undefined;
|
|
62
|
+
Encryption?: Encryption | undefined;
|
|
63
|
+
CannedACL?: ObjectCannedACL | undefined;
|
|
64
|
+
AccessControlList?: Grant[] | undefined;
|
|
65
|
+
Tagging?: Tagging | undefined;
|
|
66
|
+
UserMetadata?: MetadataEntry[] | undefined;
|
|
67
|
+
StorageClass?: StorageClass | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface OutputLocation {
|
|
70
|
+
S3?: S3Location | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface CSVInput {
|
|
73
|
+
FileHeaderInfo?: FileHeaderInfo | undefined;
|
|
74
|
+
Comments?: string | undefined;
|
|
75
|
+
QuoteEscapeCharacter?: string | undefined;
|
|
76
|
+
RecordDelimiter?: string | undefined;
|
|
77
|
+
FieldDelimiter?: string | undefined;
|
|
78
|
+
QuoteCharacter?: string | undefined;
|
|
79
|
+
AllowQuotedRecordDelimiter?: boolean | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface JSONInput {
|
|
82
|
+
Type?: JSONType | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface ParquetInput {}
|
|
27
85
|
export interface InputSerialization {
|
|
28
86
|
CSV?: CSVInput | undefined;
|
|
29
87
|
CompressionType?: CompressionType | undefined;
|
|
@@ -178,6 +236,18 @@ export interface SelectObjectContentRequest {
|
|
|
178
236
|
ScanRange?: ScanRange | undefined;
|
|
179
237
|
ExpectedBucketOwner?: string | undefined;
|
|
180
238
|
}
|
|
239
|
+
export interface AnnotationTableConfigurationUpdates {
|
|
240
|
+
ConfigurationState: AnnotationConfigurationState | undefined;
|
|
241
|
+
EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined;
|
|
242
|
+
Role?: string | undefined;
|
|
243
|
+
}
|
|
244
|
+
export interface UpdateBucketMetadataAnnotationTableConfigurationRequest {
|
|
245
|
+
Bucket: string | undefined;
|
|
246
|
+
ContentMD5?: string | undefined;
|
|
247
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
248
|
+
AnnotationTableConfiguration: AnnotationTableConfigurationUpdates | undefined;
|
|
249
|
+
ExpectedBucketOwner?: string | undefined;
|
|
250
|
+
}
|
|
181
251
|
export interface InventoryTableConfigurationUpdates {
|
|
182
252
|
ConfigurationState: InventoryConfigurationState | undefined;
|
|
183
253
|
EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListObjectAnnotationsCommandInput,
|
|
4
|
+
ListObjectAnnotationsCommandOutput,
|
|
5
|
+
} from "../commands/ListObjectAnnotationsCommand";
|
|
6
|
+
import { S3PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListObjectAnnotations: (
|
|
8
|
+
config: S3PaginationConfiguration,
|
|
9
|
+
input: ListObjectAnnotationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListObjectAnnotationsCommandOutput>;
|
|
@@ -7,13 +7,18 @@ import {
|
|
|
7
7
|
} from "@smithy/types";
|
|
8
8
|
export declare var S3ServiceException$: StaticErrorSchema;
|
|
9
9
|
export declare var AccessDenied$: StaticErrorSchema;
|
|
10
|
+
export declare var AnnotationLimitExceeded$: StaticErrorSchema;
|
|
11
|
+
export declare var AnnotationNameTooLong$: StaticErrorSchema;
|
|
10
12
|
export declare var BucketAlreadyExists$: StaticErrorSchema;
|
|
11
13
|
export declare var BucketAlreadyOwnedByYou$: StaticErrorSchema;
|
|
12
14
|
export declare var EncryptionTypeMismatch$: StaticErrorSchema;
|
|
13
15
|
export declare var IdempotencyParameterMismatch$: StaticErrorSchema;
|
|
16
|
+
export declare var InvalidAnnotationName$: StaticErrorSchema;
|
|
14
17
|
export declare var InvalidObjectState$: StaticErrorSchema;
|
|
18
|
+
export declare var InvalidPrefix$: StaticErrorSchema;
|
|
15
19
|
export declare var InvalidRequest$: StaticErrorSchema;
|
|
16
20
|
export declare var InvalidWriteOffset$: StaticErrorSchema;
|
|
21
|
+
export declare var NoSuchAnnotation$: StaticErrorSchema;
|
|
17
22
|
export declare var NoSuchBucket$: StaticErrorSchema;
|
|
18
23
|
export declare var NoSuchKey$: StaticErrorSchema;
|
|
19
24
|
export declare var NoSuchUpload$: StaticErrorSchema;
|
|
@@ -21,6 +26,7 @@ export declare var NotFound$: StaticErrorSchema;
|
|
|
21
26
|
export declare var ObjectAlreadyInActiveTierError$: StaticErrorSchema;
|
|
22
27
|
export declare var ObjectNotInActiveTierError$: StaticErrorSchema;
|
|
23
28
|
export declare var TooManyParts$: StaticErrorSchema;
|
|
29
|
+
export declare var UnsupportedMediaType$: StaticErrorSchema;
|
|
24
30
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
25
31
|
export declare var AbacStatus$: StaticStructureSchema;
|
|
26
32
|
export declare var AbortIncompleteMultipartUpload$: StaticStructureSchema;
|
|
@@ -33,6 +39,10 @@ export declare var AnalyticsAndOperator$: StaticStructureSchema;
|
|
|
33
39
|
export declare var AnalyticsConfiguration$: StaticStructureSchema;
|
|
34
40
|
export declare var AnalyticsExportDestination$: StaticStructureSchema;
|
|
35
41
|
export declare var AnalyticsS3BucketDestination$: StaticStructureSchema;
|
|
42
|
+
export declare var AnnotationEntry$: StaticStructureSchema;
|
|
43
|
+
export declare var AnnotationTableConfiguration$: StaticStructureSchema;
|
|
44
|
+
export declare var AnnotationTableConfigurationResult$: StaticStructureSchema;
|
|
45
|
+
export declare var AnnotationTableConfigurationUpdates$: StaticStructureSchema;
|
|
36
46
|
export declare var BlockedEncryptionTypes$: StaticStructureSchema;
|
|
37
47
|
export declare var Bucket$: StaticStructureSchema;
|
|
38
48
|
export declare var BucketInfo$: StaticStructureSchema;
|
|
@@ -83,6 +93,8 @@ export declare var DeleteBucketWebsiteRequest$: StaticStructureSchema;
|
|
|
83
93
|
export declare var DeletedObject$: StaticStructureSchema;
|
|
84
94
|
export declare var DeleteMarkerEntry$: StaticStructureSchema;
|
|
85
95
|
export declare var DeleteMarkerReplication$: StaticStructureSchema;
|
|
96
|
+
export declare var DeleteObjectAnnotationOutput$: StaticStructureSchema;
|
|
97
|
+
export declare var DeleteObjectAnnotationRequest$: StaticStructureSchema;
|
|
86
98
|
export declare var DeleteObjectOutput$: StaticStructureSchema;
|
|
87
99
|
export declare var DeleteObjectRequest$: StaticStructureSchema;
|
|
88
100
|
export declare var DeleteObjectsOutput$: StaticStructureSchema;
|
|
@@ -150,6 +162,8 @@ export declare var GetBucketWebsiteOutput$: StaticStructureSchema;
|
|
|
150
162
|
export declare var GetBucketWebsiteRequest$: StaticStructureSchema;
|
|
151
163
|
export declare var GetObjectAclOutput$: StaticStructureSchema;
|
|
152
164
|
export declare var GetObjectAclRequest$: StaticStructureSchema;
|
|
165
|
+
export declare var GetObjectAnnotationOutput$: StaticStructureSchema;
|
|
166
|
+
export declare var GetObjectAnnotationRequest$: StaticStructureSchema;
|
|
153
167
|
export declare var GetObjectAttributesOutput$: StaticStructureSchema;
|
|
154
168
|
export declare var GetObjectAttributesParts$: StaticStructureSchema;
|
|
155
169
|
export declare var GetObjectAttributesRequest$: StaticStructureSchema;
|
|
@@ -213,6 +227,8 @@ export declare var ListDirectoryBucketsOutput$: StaticStructureSchema;
|
|
|
213
227
|
export declare var ListDirectoryBucketsRequest$: StaticStructureSchema;
|
|
214
228
|
export declare var ListMultipartUploadsOutput$: StaticStructureSchema;
|
|
215
229
|
export declare var ListMultipartUploadsRequest$: StaticStructureSchema;
|
|
230
|
+
export declare var ListObjectAnnotationsOutput$: StaticStructureSchema;
|
|
231
|
+
export declare var ListObjectAnnotationsRequest$: StaticStructureSchema;
|
|
216
232
|
export declare var ListObjectsOutput$: StaticStructureSchema;
|
|
217
233
|
export declare var ListObjectsRequest$: StaticStructureSchema;
|
|
218
234
|
export declare var ListObjectsV2Output$: StaticStructureSchema;
|
|
@@ -279,6 +295,8 @@ export declare var PutBucketVersioningRequest$: StaticStructureSchema;
|
|
|
279
295
|
export declare var PutBucketWebsiteRequest$: StaticStructureSchema;
|
|
280
296
|
export declare var PutObjectAclOutput$: StaticStructureSchema;
|
|
281
297
|
export declare var PutObjectAclRequest$: StaticStructureSchema;
|
|
298
|
+
export declare var PutObjectAnnotationOutput$: StaticStructureSchema;
|
|
299
|
+
export declare var PutObjectAnnotationRequest$: StaticStructureSchema;
|
|
282
300
|
export declare var PutObjectLegalHoldOutput$: StaticStructureSchema;
|
|
283
301
|
export declare var PutObjectLegalHoldRequest$: StaticStructureSchema;
|
|
284
302
|
export declare var PutObjectLockConfigurationOutput$: StaticStructureSchema;
|
|
@@ -340,6 +358,7 @@ export declare var TargetObjectKeyFormat$: StaticStructureSchema;
|
|
|
340
358
|
export declare var Tiering$: StaticStructureSchema;
|
|
341
359
|
export declare var TopicConfiguration$: StaticStructureSchema;
|
|
342
360
|
export declare var Transition$: StaticStructureSchema;
|
|
361
|
+
export declare var UpdateBucketMetadataAnnotationTableConfigurationRequest$: StaticStructureSchema;
|
|
343
362
|
export declare var UpdateBucketMetadataInventoryTableConfigurationRequest$: StaticStructureSchema;
|
|
344
363
|
export declare var UpdateBucketMetadataJournalTableConfigurationRequest$: StaticStructureSchema;
|
|
345
364
|
export declare var UpdateObjectEncryptionRequest$: StaticStructureSchema;
|
|
@@ -379,6 +398,7 @@ export declare var DeleteBucketReplication$: StaticOperationSchema;
|
|
|
379
398
|
export declare var DeleteBucketTagging$: StaticOperationSchema;
|
|
380
399
|
export declare var DeleteBucketWebsite$: StaticOperationSchema;
|
|
381
400
|
export declare var DeleteObject$: StaticOperationSchema;
|
|
401
|
+
export declare var DeleteObjectAnnotation$: StaticOperationSchema;
|
|
382
402
|
export declare var DeleteObjects$: StaticOperationSchema;
|
|
383
403
|
export declare var DeleteObjectTagging$: StaticOperationSchema;
|
|
384
404
|
export declare var DeletePublicAccessBlock$: StaticOperationSchema;
|
|
@@ -407,6 +427,7 @@ export declare var GetBucketVersioning$: StaticOperationSchema;
|
|
|
407
427
|
export declare var GetBucketWebsite$: StaticOperationSchema;
|
|
408
428
|
export declare var GetObject$: StaticOperationSchema;
|
|
409
429
|
export declare var GetObjectAcl$: StaticOperationSchema;
|
|
430
|
+
export declare var GetObjectAnnotation$: StaticOperationSchema;
|
|
410
431
|
export declare var GetObjectAttributes$: StaticOperationSchema;
|
|
411
432
|
export declare var GetObjectLegalHold$: StaticOperationSchema;
|
|
412
433
|
export declare var GetObjectLockConfiguration$: StaticOperationSchema;
|
|
@@ -423,6 +444,7 @@ export declare var ListBucketMetricsConfigurations$: StaticOperationSchema;
|
|
|
423
444
|
export declare var ListBuckets$: StaticOperationSchema;
|
|
424
445
|
export declare var ListDirectoryBuckets$: StaticOperationSchema;
|
|
425
446
|
export declare var ListMultipartUploads$: StaticOperationSchema;
|
|
447
|
+
export declare var ListObjectAnnotations$: StaticOperationSchema;
|
|
426
448
|
export declare var ListObjects$: StaticOperationSchema;
|
|
427
449
|
export declare var ListObjectsV2$: StaticOperationSchema;
|
|
428
450
|
export declare var ListObjectVersions$: StaticOperationSchema;
|
|
@@ -448,6 +470,7 @@ export declare var PutBucketVersioning$: StaticOperationSchema;
|
|
|
448
470
|
export declare var PutBucketWebsite$: StaticOperationSchema;
|
|
449
471
|
export declare var PutObject$: StaticOperationSchema;
|
|
450
472
|
export declare var PutObjectAcl$: StaticOperationSchema;
|
|
473
|
+
export declare var PutObjectAnnotation$: StaticOperationSchema;
|
|
451
474
|
export declare var PutObjectLegalHold$: StaticOperationSchema;
|
|
452
475
|
export declare var PutObjectLockConfiguration$: StaticOperationSchema;
|
|
453
476
|
export declare var PutObjectRetention$: StaticOperationSchema;
|
|
@@ -456,6 +479,7 @@ export declare var PutPublicAccessBlock$: StaticOperationSchema;
|
|
|
456
479
|
export declare var RenameObject$: StaticOperationSchema;
|
|
457
480
|
export declare var RestoreObject$: StaticOperationSchema;
|
|
458
481
|
export declare var SelectObjectContent$: StaticOperationSchema;
|
|
482
|
+
export declare var UpdateBucketMetadataAnnotationTableConfiguration$: StaticOperationSchema;
|
|
459
483
|
export declare var UpdateBucketMetadataInventoryTableConfiguration$: StaticOperationSchema;
|
|
460
484
|
export declare var UpdateBucketMetadataJournalTableConfiguration$: StaticOperationSchema;
|
|
461
485
|
export declare var UpdateObjectEncryption$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1071.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@aws-crypto/sha1-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
32
32
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
33
|
-
"@aws-sdk/core": "^3.974.
|
|
34
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-flexible-checksums": "^3.974.
|
|
36
|
-
"@aws-sdk/middleware-sdk-s3": "^3.972.
|
|
33
|
+
"@aws-sdk/core": "^3.974.22",
|
|
34
|
+
"@aws-sdk/credential-provider-node": "^3.972.57",
|
|
35
|
+
"@aws-sdk/middleware-flexible-checksums": "^3.974.32",
|
|
36
|
+
"@aws-sdk/middleware-sdk-s3": "^3.972.53",
|
|
37
37
|
"@aws-sdk/signature-v4-multi-region": "^3.996.35",
|
|
38
38
|
"@aws-sdk/types": "^3.973.13",
|
|
39
39
|
"@smithy/core": "^3.24.6",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"tslib": "^2.6.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
46
|
+
"@aws-sdk/signature-v4-crt": "3.1071.0",
|
|
47
47
|
"@smithy/snapshot-testing": "^2.1.7",
|
|
48
48
|
"@tsconfig/node20": "20.1.8",
|
|
49
49
|
"@types/node": "^20.14.8",
|