@aws-sdk/client-s3 3.844.0 → 3.846.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 (139) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +594 -121
  3. package/dist-es/S3.js +10 -0
  4. package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
  5. package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
  6. package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
  7. package/dist-es/commands/ListPartsCommand.js +1 -1
  8. package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
  9. package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +16 -24
  12. package/dist-es/models/models_1.js +24 -0
  13. package/dist-es/protocols/Aws_restXml.js +325 -3
  14. package/dist-types/S3.d.ts +35 -0
  15. package/dist-types/S3Client.d.ts +7 -2
  16. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
  17. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +46 -57
  18. package/dist-types/commands/CopyObjectCommand.d.ts +95 -106
  19. package/dist-types/commands/CreateBucketCommand.d.ts +70 -82
  20. package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
  21. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
  22. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +88 -113
  23. package/dist-types/commands/CreateSessionCommand.d.ts +45 -50
  24. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
  25. package/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
  26. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
  27. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
  28. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
  29. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
  30. package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
  31. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
  32. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
  33. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
  34. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
  35. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
  36. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
  37. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
  38. package/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
  39. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
  40. package/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
  41. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
  42. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
  43. package/dist-types/commands/GetBucketAclCommand.d.ts +9 -11
  44. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
  45. package/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
  46. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +16 -19
  47. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
  48. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
  49. package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
  50. package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -2
  51. package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
  52. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
  53. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
  54. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
  55. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +9 -8
  56. package/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
  57. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
  58. package/dist-types/commands/GetBucketReplicationCommand.d.ts +11 -12
  59. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
  60. package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
  61. package/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
  62. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
  63. package/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
  64. package/dist-types/commands/GetObjectAttributesCommand.d.ts +55 -70
  65. package/dist-types/commands/GetObjectCommand.d.ts +66 -81
  66. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
  67. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
  68. package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
  69. package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
  70. package/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
  71. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
  72. package/dist-types/commands/HeadBucketCommand.d.ts +33 -35
  73. package/dist-types/commands/HeadObjectCommand.d.ts +50 -62
  74. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
  75. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
  76. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
  77. package/dist-types/commands/ListBucketsCommand.d.ts +10 -9
  78. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +9 -9
  79. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +41 -49
  80. package/dist-types/commands/ListObjectVersionsCommand.d.ts +7 -9
  81. package/dist-types/commands/ListObjectsCommand.d.ts +8 -7
  82. package/dist-types/commands/ListObjectsV2Command.d.ts +28 -31
  83. package/dist-types/commands/ListPartsCommand.d.ts +21 -24
  84. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
  85. package/dist-types/commands/PutBucketAclCommand.d.ts +51 -62
  86. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
  87. package/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
  88. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +40 -48
  89. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +11 -12
  90. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
  91. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
  92. package/dist-types/commands/PutBucketLoggingCommand.d.ts +26 -33
  93. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
  94. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
  95. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
  96. package/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
  97. package/dist-types/commands/PutBucketReplicationCommand.d.ts +31 -38
  98. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
  99. package/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
  100. package/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
  101. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
  102. package/dist-types/commands/PutObjectAclCommand.d.ts +53 -61
  103. package/dist-types/commands/PutObjectCommand.d.ts +56 -66
  104. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
  105. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
  106. package/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
  107. package/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
  108. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
  109. package/dist-types/commands/RenameObjectCommand.d.ts +34 -40
  110. package/dist-types/commands/RestoreObjectCommand.d.ts +76 -85
  111. package/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
  112. package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
  113. package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
  114. package/dist-types/commands/UploadPartCommand.d.ts +64 -74
  115. package/dist-types/commands/UploadPartCopyCommand.d.ts +80 -96
  116. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +29 -33
  117. package/dist-types/commands/index.d.ts +5 -0
  118. package/dist-types/models/models_0.d.ts +2688 -3603
  119. package/dist-types/models/models_1.d.ts +2120 -743
  120. package/dist-types/protocols/Aws_restXml.d.ts +45 -0
  121. package/dist-types/ts3.4/S3.d.ts +109 -0
  122. package/dist-types/ts3.4/S3Client.d.ts +30 -0
  123. package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
  124. package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
  125. package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
  134. package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
  135. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  136. package/dist-types/ts3.4/models/models_0.d.ts +93 -206
  137. package/dist-types/ts3.4/models/models_1.d.ts +238 -0
  138. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
  139. package/package.json +15 -15
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateBucketMetadataJournalTableConfigurationRequest } from "../models/models_1";
4
+ import {
5
+ S3ClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../S3Client";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UpdateBucketMetadataJournalTableConfigurationCommandInput
12
+ extends UpdateBucketMetadataJournalTableConfigurationRequest {}
13
+ export interface UpdateBucketMetadataJournalTableConfigurationCommandOutput
14
+ extends __MetadataBearer {}
15
+ declare const UpdateBucketMetadataJournalTableConfigurationCommand_base: {
16
+ new (
17
+ input: UpdateBucketMetadataJournalTableConfigurationCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ UpdateBucketMetadataJournalTableConfigurationCommandInput,
20
+ UpdateBucketMetadataJournalTableConfigurationCommandOutput,
21
+ S3ClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: UpdateBucketMetadataJournalTableConfigurationCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ UpdateBucketMetadataJournalTableConfigurationCommandInput,
29
+ UpdateBucketMetadataJournalTableConfigurationCommandOutput,
30
+ S3ClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class UpdateBucketMetadataJournalTableConfigurationCommand extends UpdateBucketMetadataJournalTableConfigurationCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: UpdateBucketMetadataJournalTableConfigurationRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: UpdateBucketMetadataJournalTableConfigurationCommandInput;
44
+ output: UpdateBucketMetadataJournalTableConfigurationCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -2,6 +2,7 @@ export * from "./AbortMultipartUploadCommand";
2
2
  export * from "./CompleteMultipartUploadCommand";
3
3
  export * from "./CopyObjectCommand";
4
4
  export * from "./CreateBucketCommand";
5
+ export * from "./CreateBucketMetadataConfigurationCommand";
5
6
  export * from "./CreateBucketMetadataTableConfigurationCommand";
6
7
  export * from "./CreateMultipartUploadCommand";
7
8
  export * from "./CreateSessionCommand";
@@ -12,6 +13,7 @@ export * from "./DeleteBucketEncryptionCommand";
12
13
  export * from "./DeleteBucketIntelligentTieringConfigurationCommand";
13
14
  export * from "./DeleteBucketInventoryConfigurationCommand";
14
15
  export * from "./DeleteBucketLifecycleCommand";
16
+ export * from "./DeleteBucketMetadataConfigurationCommand";
15
17
  export * from "./DeleteBucketMetadataTableConfigurationCommand";
16
18
  export * from "./DeleteBucketMetricsConfigurationCommand";
17
19
  export * from "./DeleteBucketOwnershipControlsCommand";
@@ -33,6 +35,7 @@ export * from "./GetBucketInventoryConfigurationCommand";
33
35
  export * from "./GetBucketLifecycleConfigurationCommand";
34
36
  export * from "./GetBucketLocationCommand";
35
37
  export * from "./GetBucketLoggingCommand";
38
+ export * from "./GetBucketMetadataConfigurationCommand";
36
39
  export * from "./GetBucketMetadataTableConfigurationCommand";
37
40
  export * from "./GetBucketMetricsConfigurationCommand";
38
41
  export * from "./GetBucketNotificationConfigurationCommand";
@@ -94,6 +97,8 @@ export * from "./PutPublicAccessBlockCommand";
94
97
  export * from "./RenameObjectCommand";
95
98
  export * from "./RestoreObjectCommand";
96
99
  export * from "./SelectObjectContentCommand";
100
+ export * from "./UpdateBucketMetadataInventoryTableConfigurationCommand";
101
+ export * from "./UpdateBucketMetadataJournalTableConfigurationCommand";
97
102
  export * from "./UploadPartCommand";
98
103
  export * from "./UploadPartCopyCommand";
99
104
  export * from "./WriteGetObjectResponseCommand";
@@ -388,6 +388,51 @@ export interface CreateBucketRequest {
388
388
  ObjectLockEnabledForBucket?: boolean | undefined;
389
389
  ObjectOwnership?: ObjectOwnership | undefined;
390
390
  }
391
+ export declare const InventoryConfigurationState: {
392
+ readonly DISABLED: "DISABLED";
393
+ readonly ENABLED: "ENABLED";
394
+ };
395
+ export type InventoryConfigurationState =
396
+ (typeof InventoryConfigurationState)[keyof typeof InventoryConfigurationState];
397
+ export declare const TableSseAlgorithm: {
398
+ readonly AES256: "AES256";
399
+ readonly aws_kms: "aws:kms";
400
+ };
401
+ export type TableSseAlgorithm =
402
+ (typeof TableSseAlgorithm)[keyof typeof TableSseAlgorithm];
403
+ export interface MetadataTableEncryptionConfiguration {
404
+ SseAlgorithm: TableSseAlgorithm | undefined;
405
+ KmsKeyArn?: string | undefined;
406
+ }
407
+ export interface InventoryTableConfiguration {
408
+ ConfigurationState: InventoryConfigurationState | undefined;
409
+ EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined;
410
+ }
411
+ export declare const ExpirationState: {
412
+ readonly DISABLED: "DISABLED";
413
+ readonly ENABLED: "ENABLED";
414
+ };
415
+ export type ExpirationState =
416
+ (typeof ExpirationState)[keyof typeof ExpirationState];
417
+ export interface RecordExpiration {
418
+ Expiration: ExpirationState | undefined;
419
+ Days?: number | undefined;
420
+ }
421
+ export interface JournalTableConfiguration {
422
+ RecordExpiration: RecordExpiration | undefined;
423
+ EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined;
424
+ }
425
+ export interface MetadataConfiguration {
426
+ JournalTableConfiguration: JournalTableConfiguration | undefined;
427
+ InventoryTableConfiguration?: InventoryTableConfiguration | undefined;
428
+ }
429
+ export interface CreateBucketMetadataConfigurationRequest {
430
+ Bucket: string | undefined;
431
+ ContentMD5?: string | undefined;
432
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
433
+ MetadataConfiguration: MetadataConfiguration | undefined;
434
+ ExpectedBucketOwner?: string | undefined;
435
+ }
391
436
  export interface S3TablesDestination {
392
437
  TableBucketArn: string | undefined;
393
438
  TableName: string | undefined;
@@ -513,6 +558,10 @@ export interface DeleteBucketLifecycleRequest {
513
558
  Bucket: string | undefined;
514
559
  ExpectedBucketOwner?: string | undefined;
515
560
  }
561
+ export interface DeleteBucketMetadataConfigurationRequest {
562
+ Bucket: string | undefined;
563
+ ExpectedBucketOwner?: string | undefined;
564
+ }
516
565
  export interface DeleteBucketMetadataTableConfigurationRequest {
517
566
  Bucket: string | undefined;
518
567
  ExpectedBucketOwner?: string | undefined;
@@ -982,10 +1031,54 @@ export interface GetBucketLoggingRequest {
982
1031
  Bucket: string | undefined;
983
1032
  ExpectedBucketOwner?: string | undefined;
984
1033
  }
1034
+ export declare const S3TablesBucketType: {
1035
+ readonly aws: "aws";
1036
+ readonly customer: "customer";
1037
+ };
1038
+ export type S3TablesBucketType =
1039
+ (typeof S3TablesBucketType)[keyof typeof S3TablesBucketType];
1040
+ export interface DestinationResult {
1041
+ TableBucketType?: S3TablesBucketType | undefined;
1042
+ TableBucketArn?: string | undefined;
1043
+ TableNamespace?: string | undefined;
1044
+ }
985
1045
  export interface ErrorDetails {
986
1046
  ErrorCode?: string | undefined;
987
1047
  ErrorMessage?: string | undefined;
988
1048
  }
1049
+ export interface InventoryTableConfigurationResult {
1050
+ ConfigurationState: InventoryConfigurationState | undefined;
1051
+ TableStatus?: string | undefined;
1052
+ Error?: ErrorDetails | undefined;
1053
+ TableName?: string | undefined;
1054
+ TableArn?: string | undefined;
1055
+ }
1056
+ export interface JournalTableConfigurationResult {
1057
+ TableStatus: string | undefined;
1058
+ Error?: ErrorDetails | undefined;
1059
+ TableName: string | undefined;
1060
+ TableArn?: string | undefined;
1061
+ RecordExpiration: RecordExpiration | undefined;
1062
+ }
1063
+ export interface MetadataConfigurationResult {
1064
+ DestinationResult: DestinationResult | undefined;
1065
+ JournalTableConfigurationResult?: JournalTableConfigurationResult | undefined;
1066
+ InventoryTableConfigurationResult?:
1067
+ | InventoryTableConfigurationResult
1068
+ | undefined;
1069
+ }
1070
+ export interface GetBucketMetadataConfigurationResult {
1071
+ MetadataConfigurationResult: MetadataConfigurationResult | undefined;
1072
+ }
1073
+ export interface GetBucketMetadataConfigurationOutput {
1074
+ GetBucketMetadataConfigurationResult?:
1075
+ | GetBucketMetadataConfigurationResult
1076
+ | undefined;
1077
+ }
1078
+ export interface GetBucketMetadataConfigurationRequest {
1079
+ Bucket: string | undefined;
1080
+ ExpectedBucketOwner?: string | undefined;
1081
+ }
989
1082
  export interface S3TablesDestinationResult {
990
1083
  TableBucketArn: string | undefined;
991
1084
  TableName: string | undefined;
@@ -1832,209 +1925,6 @@ export interface RestoreStatus {
1832
1925
  IsRestoreInProgress?: boolean | undefined;
1833
1926
  RestoreExpiryDate?: Date | undefined;
1834
1927
  }
1835
- export declare const ObjectStorageClass: {
1836
- readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
1837
- readonly EXPRESS_ONEZONE: "EXPRESS_ONEZONE";
1838
- readonly FSX_OPENZFS: "FSX_OPENZFS";
1839
- readonly GLACIER: "GLACIER";
1840
- readonly GLACIER_IR: "GLACIER_IR";
1841
- readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
1842
- readonly ONEZONE_IA: "ONEZONE_IA";
1843
- readonly OUTPOSTS: "OUTPOSTS";
1844
- readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
1845
- readonly SNOW: "SNOW";
1846
- readonly STANDARD: "STANDARD";
1847
- readonly STANDARD_IA: "STANDARD_IA";
1848
- };
1849
- export type ObjectStorageClass =
1850
- (typeof ObjectStorageClass)[keyof typeof ObjectStorageClass];
1851
- export interface _Object {
1852
- Key?: string | undefined;
1853
- LastModified?: Date | undefined;
1854
- ETag?: string | undefined;
1855
- ChecksumAlgorithm?: ChecksumAlgorithm[] | undefined;
1856
- ChecksumType?: ChecksumType | undefined;
1857
- Size?: number | undefined;
1858
- StorageClass?: ObjectStorageClass | undefined;
1859
- Owner?: Owner | undefined;
1860
- RestoreStatus?: RestoreStatus | undefined;
1861
- }
1862
- export interface ListObjectsOutput {
1863
- IsTruncated?: boolean | undefined;
1864
- Marker?: string | undefined;
1865
- NextMarker?: string | undefined;
1866
- Contents?: _Object[] | undefined;
1867
- Name?: string | undefined;
1868
- Prefix?: string | undefined;
1869
- Delimiter?: string | undefined;
1870
- MaxKeys?: number | undefined;
1871
- CommonPrefixes?: CommonPrefix[] | undefined;
1872
- EncodingType?: EncodingType | undefined;
1873
- RequestCharged?: RequestCharged | undefined;
1874
- }
1875
- export declare const OptionalObjectAttributes: {
1876
- readonly RESTORE_STATUS: "RestoreStatus";
1877
- };
1878
- export type OptionalObjectAttributes =
1879
- (typeof OptionalObjectAttributes)[keyof typeof OptionalObjectAttributes];
1880
- export interface ListObjectsRequest {
1881
- Bucket: string | undefined;
1882
- Delimiter?: string | undefined;
1883
- EncodingType?: EncodingType | undefined;
1884
- Marker?: string | undefined;
1885
- MaxKeys?: number | undefined;
1886
- Prefix?: string | undefined;
1887
- RequestPayer?: RequestPayer | undefined;
1888
- ExpectedBucketOwner?: string | undefined;
1889
- OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined;
1890
- }
1891
- export interface ListObjectsV2Output {
1892
- IsTruncated?: boolean | undefined;
1893
- Contents?: _Object[] | undefined;
1894
- Name?: string | undefined;
1895
- Prefix?: string | undefined;
1896
- Delimiter?: string | undefined;
1897
- MaxKeys?: number | undefined;
1898
- CommonPrefixes?: CommonPrefix[] | undefined;
1899
- EncodingType?: EncodingType | undefined;
1900
- KeyCount?: number | undefined;
1901
- ContinuationToken?: string | undefined;
1902
- NextContinuationToken?: string | undefined;
1903
- StartAfter?: string | undefined;
1904
- RequestCharged?: RequestCharged | undefined;
1905
- }
1906
- export interface ListObjectsV2Request {
1907
- Bucket: string | undefined;
1908
- Delimiter?: string | undefined;
1909
- EncodingType?: EncodingType | undefined;
1910
- MaxKeys?: number | undefined;
1911
- Prefix?: string | undefined;
1912
- ContinuationToken?: string | undefined;
1913
- FetchOwner?: boolean | undefined;
1914
- StartAfter?: string | undefined;
1915
- RequestPayer?: RequestPayer | undefined;
1916
- ExpectedBucketOwner?: string | undefined;
1917
- OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined;
1918
- }
1919
- export interface DeleteMarkerEntry {
1920
- Owner?: Owner | undefined;
1921
- Key?: string | undefined;
1922
- VersionId?: string | undefined;
1923
- IsLatest?: boolean | undefined;
1924
- LastModified?: Date | undefined;
1925
- }
1926
- export declare const ObjectVersionStorageClass: {
1927
- readonly STANDARD: "STANDARD";
1928
- };
1929
- export type ObjectVersionStorageClass =
1930
- (typeof ObjectVersionStorageClass)[keyof typeof ObjectVersionStorageClass];
1931
- export interface ObjectVersion {
1932
- ETag?: string | undefined;
1933
- ChecksumAlgorithm?: ChecksumAlgorithm[] | undefined;
1934
- ChecksumType?: ChecksumType | undefined;
1935
- Size?: number | undefined;
1936
- StorageClass?: ObjectVersionStorageClass | undefined;
1937
- Key?: string | undefined;
1938
- VersionId?: string | undefined;
1939
- IsLatest?: boolean | undefined;
1940
- LastModified?: Date | undefined;
1941
- Owner?: Owner | undefined;
1942
- RestoreStatus?: RestoreStatus | undefined;
1943
- }
1944
- export interface ListObjectVersionsOutput {
1945
- IsTruncated?: boolean | undefined;
1946
- KeyMarker?: string | undefined;
1947
- VersionIdMarker?: string | undefined;
1948
- NextKeyMarker?: string | undefined;
1949
- NextVersionIdMarker?: string | undefined;
1950
- Versions?: ObjectVersion[] | undefined;
1951
- DeleteMarkers?: DeleteMarkerEntry[] | undefined;
1952
- Name?: string | undefined;
1953
- Prefix?: string | undefined;
1954
- Delimiter?: string | undefined;
1955
- MaxKeys?: number | undefined;
1956
- CommonPrefixes?: CommonPrefix[] | undefined;
1957
- EncodingType?: EncodingType | undefined;
1958
- RequestCharged?: RequestCharged | undefined;
1959
- }
1960
- export interface ListObjectVersionsRequest {
1961
- Bucket: string | undefined;
1962
- Delimiter?: string | undefined;
1963
- EncodingType?: EncodingType | undefined;
1964
- KeyMarker?: string | undefined;
1965
- MaxKeys?: number | undefined;
1966
- Prefix?: string | undefined;
1967
- VersionIdMarker?: string | undefined;
1968
- ExpectedBucketOwner?: string | undefined;
1969
- RequestPayer?: RequestPayer | undefined;
1970
- OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined;
1971
- }
1972
- export interface Part {
1973
- PartNumber?: number | undefined;
1974
- LastModified?: Date | undefined;
1975
- ETag?: string | undefined;
1976
- Size?: number | undefined;
1977
- ChecksumCRC32?: string | undefined;
1978
- ChecksumCRC32C?: string | undefined;
1979
- ChecksumCRC64NVME?: string | undefined;
1980
- ChecksumSHA1?: string | undefined;
1981
- ChecksumSHA256?: string | undefined;
1982
- }
1983
- export interface ListPartsOutput {
1984
- AbortDate?: Date | undefined;
1985
- AbortRuleId?: string | undefined;
1986
- Bucket?: string | undefined;
1987
- Key?: string | undefined;
1988
- UploadId?: string | undefined;
1989
- PartNumberMarker?: string | undefined;
1990
- NextPartNumberMarker?: string | undefined;
1991
- MaxParts?: number | undefined;
1992
- IsTruncated?: boolean | undefined;
1993
- Parts?: Part[] | undefined;
1994
- Initiator?: Initiator | undefined;
1995
- Owner?: Owner | undefined;
1996
- StorageClass?: StorageClass | undefined;
1997
- RequestCharged?: RequestCharged | undefined;
1998
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
1999
- ChecksumType?: ChecksumType | undefined;
2000
- }
2001
- export interface ListPartsRequest {
2002
- Bucket: string | undefined;
2003
- Key: string | undefined;
2004
- MaxParts?: number | undefined;
2005
- PartNumberMarker?: string | undefined;
2006
- UploadId: string | undefined;
2007
- RequestPayer?: RequestPayer | undefined;
2008
- ExpectedBucketOwner?: string | undefined;
2009
- SSECustomerAlgorithm?: string | undefined;
2010
- SSECustomerKey?: string | undefined;
2011
- SSECustomerKeyMD5?: string | undefined;
2012
- }
2013
- export interface PutBucketAccelerateConfigurationRequest {
2014
- Bucket: string | undefined;
2015
- AccelerateConfiguration: AccelerateConfiguration | undefined;
2016
- ExpectedBucketOwner?: string | undefined;
2017
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
2018
- }
2019
- export interface PutBucketAclRequest {
2020
- ACL?: BucketCannedACL | undefined;
2021
- AccessControlPolicy?: AccessControlPolicy | undefined;
2022
- Bucket: string | undefined;
2023
- ContentMD5?: string | undefined;
2024
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
2025
- GrantFullControl?: string | undefined;
2026
- GrantRead?: string | undefined;
2027
- GrantReadACP?: string | undefined;
2028
- GrantWrite?: string | undefined;
2029
- GrantWriteACP?: string | undefined;
2030
- ExpectedBucketOwner?: string | undefined;
2031
- }
2032
- export interface PutBucketAnalyticsConfigurationRequest {
2033
- Bucket: string | undefined;
2034
- Id: string | undefined;
2035
- AnalyticsConfiguration: AnalyticsConfiguration | undefined;
2036
- ExpectedBucketOwner?: string | undefined;
2037
- }
2038
1928
  export declare const CompleteMultipartUploadOutputFilterSensitiveLog: (
2039
1929
  obj: CompleteMultipartUploadOutput
2040
1930
  ) => any;
@@ -2111,6 +2001,3 @@ export declare const HeadObjectRequestFilterSensitiveLog: (
2111
2001
  export declare const ListBucketInventoryConfigurationsOutputFilterSensitiveLog: (
2112
2002
  obj: ListBucketInventoryConfigurationsOutput
2113
2003
  ) => any;
2114
- export declare const ListPartsRequestFilterSensitiveLog: (
2115
- obj: ListPartsRequest
2116
- ) => any;
@@ -1,18 +1,26 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { StreamingBlobTypes } from "@smithy/types";
3
3
  import {
4
+ AccelerateConfiguration,
4
5
  AccessControlPolicy,
6
+ AnalyticsConfiguration,
7
+ BucketCannedACL,
5
8
  BucketVersioningStatus,
6
9
  ChecksumAlgorithm,
7
10
  ChecksumType,
11
+ CommonPrefix,
8
12
  CORSRule,
13
+ EncodingType,
9
14
  ErrorDocument,
10
15
  Grant,
11
16
  IndexDocument,
17
+ Initiator,
12
18
  IntelligentTieringConfiguration,
13
19
  InventoryConfiguration,
20
+ InventoryConfigurationState,
14
21
  LifecycleRule,
15
22
  LoggingEnabled,
23
+ MetadataTableEncryptionConfiguration,
16
24
  MetricsConfiguration,
17
25
  NotificationConfiguration,
18
26
  ObjectCannedACL,
@@ -21,14 +29,17 @@ import {
21
29
  ObjectLockLegalHoldStatus,
22
30
  ObjectLockMode,
23
31
  ObjectLockRetention,
32
+ Owner,
24
33
  OwnershipControls,
25
34
  Payer,
26
35
  PublicAccessBlockConfiguration,
36
+ RecordExpiration,
27
37
  RedirectAllRequestsTo,
28
38
  ReplicationConfiguration,
29
39
  ReplicationStatus,
30
40
  RequestCharged,
31
41
  RequestPayer,
42
+ RestoreStatus,
32
43
  RoutingRule,
33
44
  ServerSideEncryption,
34
45
  ServerSideEncryptionConfiguration,
@@ -37,6 +48,209 @@ import {
37
48
  TransitionDefaultMinimumObjectSize,
38
49
  } from "./models_0";
39
50
  import { S3ServiceException as __BaseException } from "./S3ServiceException";
51
+ export declare const ObjectStorageClass: {
52
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
53
+ readonly EXPRESS_ONEZONE: "EXPRESS_ONEZONE";
54
+ readonly FSX_OPENZFS: "FSX_OPENZFS";
55
+ readonly GLACIER: "GLACIER";
56
+ readonly GLACIER_IR: "GLACIER_IR";
57
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
58
+ readonly ONEZONE_IA: "ONEZONE_IA";
59
+ readonly OUTPOSTS: "OUTPOSTS";
60
+ readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
61
+ readonly SNOW: "SNOW";
62
+ readonly STANDARD: "STANDARD";
63
+ readonly STANDARD_IA: "STANDARD_IA";
64
+ };
65
+ export type ObjectStorageClass =
66
+ (typeof ObjectStorageClass)[keyof typeof ObjectStorageClass];
67
+ export interface _Object {
68
+ Key?: string | undefined;
69
+ LastModified?: Date | undefined;
70
+ ETag?: string | undefined;
71
+ ChecksumAlgorithm?: ChecksumAlgorithm[] | undefined;
72
+ ChecksumType?: ChecksumType | undefined;
73
+ Size?: number | undefined;
74
+ StorageClass?: ObjectStorageClass | undefined;
75
+ Owner?: Owner | undefined;
76
+ RestoreStatus?: RestoreStatus | undefined;
77
+ }
78
+ export interface ListObjectsOutput {
79
+ IsTruncated?: boolean | undefined;
80
+ Marker?: string | undefined;
81
+ NextMarker?: string | undefined;
82
+ Contents?: _Object[] | undefined;
83
+ Name?: string | undefined;
84
+ Prefix?: string | undefined;
85
+ Delimiter?: string | undefined;
86
+ MaxKeys?: number | undefined;
87
+ CommonPrefixes?: CommonPrefix[] | undefined;
88
+ EncodingType?: EncodingType | undefined;
89
+ RequestCharged?: RequestCharged | undefined;
90
+ }
91
+ export declare const OptionalObjectAttributes: {
92
+ readonly RESTORE_STATUS: "RestoreStatus";
93
+ };
94
+ export type OptionalObjectAttributes =
95
+ (typeof OptionalObjectAttributes)[keyof typeof OptionalObjectAttributes];
96
+ export interface ListObjectsRequest {
97
+ Bucket: string | undefined;
98
+ Delimiter?: string | undefined;
99
+ EncodingType?: EncodingType | undefined;
100
+ Marker?: string | undefined;
101
+ MaxKeys?: number | undefined;
102
+ Prefix?: string | undefined;
103
+ RequestPayer?: RequestPayer | undefined;
104
+ ExpectedBucketOwner?: string | undefined;
105
+ OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined;
106
+ }
107
+ export interface ListObjectsV2Output {
108
+ IsTruncated?: boolean | undefined;
109
+ Contents?: _Object[] | undefined;
110
+ Name?: string | undefined;
111
+ Prefix?: string | undefined;
112
+ Delimiter?: string | undefined;
113
+ MaxKeys?: number | undefined;
114
+ CommonPrefixes?: CommonPrefix[] | undefined;
115
+ EncodingType?: EncodingType | undefined;
116
+ KeyCount?: number | undefined;
117
+ ContinuationToken?: string | undefined;
118
+ NextContinuationToken?: string | undefined;
119
+ StartAfter?: string | undefined;
120
+ RequestCharged?: RequestCharged | undefined;
121
+ }
122
+ export interface ListObjectsV2Request {
123
+ Bucket: string | undefined;
124
+ Delimiter?: string | undefined;
125
+ EncodingType?: EncodingType | undefined;
126
+ MaxKeys?: number | undefined;
127
+ Prefix?: string | undefined;
128
+ ContinuationToken?: string | undefined;
129
+ FetchOwner?: boolean | undefined;
130
+ StartAfter?: string | undefined;
131
+ RequestPayer?: RequestPayer | undefined;
132
+ ExpectedBucketOwner?: string | undefined;
133
+ OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined;
134
+ }
135
+ export interface DeleteMarkerEntry {
136
+ Owner?: Owner | undefined;
137
+ Key?: string | undefined;
138
+ VersionId?: string | undefined;
139
+ IsLatest?: boolean | undefined;
140
+ LastModified?: Date | undefined;
141
+ }
142
+ export declare const ObjectVersionStorageClass: {
143
+ readonly STANDARD: "STANDARD";
144
+ };
145
+ export type ObjectVersionStorageClass =
146
+ (typeof ObjectVersionStorageClass)[keyof typeof ObjectVersionStorageClass];
147
+ export interface ObjectVersion {
148
+ ETag?: string | undefined;
149
+ ChecksumAlgorithm?: ChecksumAlgorithm[] | undefined;
150
+ ChecksumType?: ChecksumType | undefined;
151
+ Size?: number | undefined;
152
+ StorageClass?: ObjectVersionStorageClass | undefined;
153
+ Key?: string | undefined;
154
+ VersionId?: string | undefined;
155
+ IsLatest?: boolean | undefined;
156
+ LastModified?: Date | undefined;
157
+ Owner?: Owner | undefined;
158
+ RestoreStatus?: RestoreStatus | undefined;
159
+ }
160
+ export interface ListObjectVersionsOutput {
161
+ IsTruncated?: boolean | undefined;
162
+ KeyMarker?: string | undefined;
163
+ VersionIdMarker?: string | undefined;
164
+ NextKeyMarker?: string | undefined;
165
+ NextVersionIdMarker?: string | undefined;
166
+ Versions?: ObjectVersion[] | undefined;
167
+ DeleteMarkers?: DeleteMarkerEntry[] | undefined;
168
+ Name?: string | undefined;
169
+ Prefix?: string | undefined;
170
+ Delimiter?: string | undefined;
171
+ MaxKeys?: number | undefined;
172
+ CommonPrefixes?: CommonPrefix[] | undefined;
173
+ EncodingType?: EncodingType | undefined;
174
+ RequestCharged?: RequestCharged | undefined;
175
+ }
176
+ export interface ListObjectVersionsRequest {
177
+ Bucket: string | undefined;
178
+ Delimiter?: string | undefined;
179
+ EncodingType?: EncodingType | undefined;
180
+ KeyMarker?: string | undefined;
181
+ MaxKeys?: number | undefined;
182
+ Prefix?: string | undefined;
183
+ VersionIdMarker?: string | undefined;
184
+ ExpectedBucketOwner?: string | undefined;
185
+ RequestPayer?: RequestPayer | undefined;
186
+ OptionalObjectAttributes?: OptionalObjectAttributes[] | undefined;
187
+ }
188
+ export interface Part {
189
+ PartNumber?: number | undefined;
190
+ LastModified?: Date | undefined;
191
+ ETag?: string | undefined;
192
+ Size?: number | undefined;
193
+ ChecksumCRC32?: string | undefined;
194
+ ChecksumCRC32C?: string | undefined;
195
+ ChecksumCRC64NVME?: string | undefined;
196
+ ChecksumSHA1?: string | undefined;
197
+ ChecksumSHA256?: string | undefined;
198
+ }
199
+ export interface ListPartsOutput {
200
+ AbortDate?: Date | undefined;
201
+ AbortRuleId?: string | undefined;
202
+ Bucket?: string | undefined;
203
+ Key?: string | undefined;
204
+ UploadId?: string | undefined;
205
+ PartNumberMarker?: string | undefined;
206
+ NextPartNumberMarker?: string | undefined;
207
+ MaxParts?: number | undefined;
208
+ IsTruncated?: boolean | undefined;
209
+ Parts?: Part[] | undefined;
210
+ Initiator?: Initiator | undefined;
211
+ Owner?: Owner | undefined;
212
+ StorageClass?: StorageClass | undefined;
213
+ RequestCharged?: RequestCharged | undefined;
214
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
215
+ ChecksumType?: ChecksumType | undefined;
216
+ }
217
+ export interface ListPartsRequest {
218
+ Bucket: string | undefined;
219
+ Key: string | undefined;
220
+ MaxParts?: number | undefined;
221
+ PartNumberMarker?: string | undefined;
222
+ UploadId: string | undefined;
223
+ RequestPayer?: RequestPayer | undefined;
224
+ ExpectedBucketOwner?: string | undefined;
225
+ SSECustomerAlgorithm?: string | undefined;
226
+ SSECustomerKey?: string | undefined;
227
+ SSECustomerKeyMD5?: string | undefined;
228
+ }
229
+ export interface PutBucketAccelerateConfigurationRequest {
230
+ Bucket: string | undefined;
231
+ AccelerateConfiguration: AccelerateConfiguration | undefined;
232
+ ExpectedBucketOwner?: string | undefined;
233
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
234
+ }
235
+ export interface PutBucketAclRequest {
236
+ ACL?: BucketCannedACL | undefined;
237
+ AccessControlPolicy?: AccessControlPolicy | undefined;
238
+ Bucket: string | undefined;
239
+ ContentMD5?: string | undefined;
240
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
241
+ GrantFullControl?: string | undefined;
242
+ GrantRead?: string | undefined;
243
+ GrantReadACP?: string | undefined;
244
+ GrantWrite?: string | undefined;
245
+ GrantWriteACP?: string | undefined;
246
+ ExpectedBucketOwner?: string | undefined;
247
+ }
248
+ export interface PutBucketAnalyticsConfigurationRequest {
249
+ Bucket: string | undefined;
250
+ Id: string | undefined;
251
+ AnalyticsConfiguration: AnalyticsConfiguration | undefined;
252
+ ExpectedBucketOwner?: string | undefined;
253
+ }
40
254
  export interface CORSConfiguration {
41
255
  CORSRules: CORSRule[] | undefined;
42
256
  }
@@ -611,6 +825,27 @@ export interface SelectObjectContentRequest {
611
825
  ScanRange?: ScanRange | undefined;
612
826
  ExpectedBucketOwner?: string | undefined;
613
827
  }
828
+ export interface InventoryTableConfigurationUpdates {
829
+ ConfigurationState: InventoryConfigurationState | undefined;
830
+ EncryptionConfiguration?: MetadataTableEncryptionConfiguration | undefined;
831
+ }
832
+ export interface UpdateBucketMetadataInventoryTableConfigurationRequest {
833
+ Bucket: string | undefined;
834
+ ContentMD5?: string | undefined;
835
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
836
+ InventoryTableConfiguration: InventoryTableConfigurationUpdates | undefined;
837
+ ExpectedBucketOwner?: string | undefined;
838
+ }
839
+ export interface JournalTableConfigurationUpdates {
840
+ RecordExpiration: RecordExpiration | undefined;
841
+ }
842
+ export interface UpdateBucketMetadataJournalTableConfigurationRequest {
843
+ Bucket: string | undefined;
844
+ ContentMD5?: string | undefined;
845
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
846
+ JournalTableConfiguration: JournalTableConfigurationUpdates | undefined;
847
+ ExpectedBucketOwner?: string | undefined;
848
+ }
614
849
  export interface UploadPartOutput {
615
850
  ServerSideEncryption?: ServerSideEncryption | undefined;
616
851
  ETag?: string | undefined;
@@ -728,6 +963,9 @@ export interface WriteGetObjectResponseRequest {
728
963
  VersionId?: string | undefined;
729
964
  BucketKeyEnabled?: boolean | undefined;
730
965
  }
966
+ export declare const ListPartsRequestFilterSensitiveLog: (
967
+ obj: ListPartsRequest
968
+ ) => any;
731
969
  export declare const PutBucketEncryptionRequestFilterSensitiveLog: (
732
970
  obj: PutBucketEncryptionRequest
733
971
  ) => any;