@aws-sdk/client-s3 3.50.0 → 3.53.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 (228) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist-cjs/S3.js +15 -0
  3. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +2 -0
  4. package/dist-cjs/commands/DeleteObjectsCommand.js +6 -2
  5. package/dist-cjs/commands/GetObjectAttributesCommand.js +40 -0
  6. package/dist-cjs/commands/GetObjectCommand.js +7 -0
  7. package/dist-cjs/commands/ListPartsCommand.js +2 -0
  8. package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
  9. package/dist-cjs/commands/PutBucketAclCommand.js +6 -2
  10. package/dist-cjs/commands/PutBucketCorsCommand.js +6 -2
  11. package/dist-cjs/commands/PutBucketEncryptionCommand.js +6 -2
  12. package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
  13. package/dist-cjs/commands/PutBucketLoggingCommand.js +6 -2
  14. package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +2 -2
  15. package/dist-cjs/commands/PutBucketPolicyCommand.js +6 -2
  16. package/dist-cjs/commands/PutBucketReplicationCommand.js +6 -2
  17. package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +6 -2
  18. package/dist-cjs/commands/PutBucketTaggingCommand.js +6 -2
  19. package/dist-cjs/commands/PutBucketVersioningCommand.js +6 -2
  20. package/dist-cjs/commands/PutBucketWebsiteCommand.js +6 -2
  21. package/dist-cjs/commands/PutObjectAclCommand.js +6 -2
  22. package/dist-cjs/commands/PutObjectCommand.js +6 -0
  23. package/dist-cjs/commands/PutObjectLegalHoldCommand.js +6 -2
  24. package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +6 -2
  25. package/dist-cjs/commands/PutObjectRetentionCommand.js +9 -5
  26. package/dist-cjs/commands/PutObjectTaggingCommand.js +9 -5
  27. package/dist-cjs/commands/PutPublicAccessBlockCommand.js +8 -4
  28. package/dist-cjs/commands/RestoreObjectCommand.js +7 -2
  29. package/dist-cjs/commands/UploadPartCommand.js +6 -0
  30. package/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -2
  31. package/dist-cjs/commands/index.js +1 -0
  32. package/dist-cjs/index.js +3 -0
  33. package/dist-cjs/models/S3ServiceException.js +11 -0
  34. package/dist-cjs/models/models_0.js +165 -41
  35. package/dist-cjs/models/models_1.js +51 -1
  36. package/dist-cjs/protocols/Aws_restXml.js +962 -1057
  37. package/dist-cjs/runtimeConfig.browser.js +17 -13
  38. package/dist-cjs/runtimeConfig.js +17 -14
  39. package/dist-es/S3.js +15 -0
  40. package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -0
  41. package/dist-es/commands/DeleteObjectsCommand.js +6 -2
  42. package/dist-es/commands/GetObjectAttributesCommand.js +43 -0
  43. package/dist-es/commands/GetObjectCommand.js +7 -0
  44. package/dist-es/commands/ListPartsCommand.js +2 -0
  45. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
  46. package/dist-es/commands/PutBucketAclCommand.js +6 -2
  47. package/dist-es/commands/PutBucketCorsCommand.js +6 -2
  48. package/dist-es/commands/PutBucketEncryptionCommand.js +6 -2
  49. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
  50. package/dist-es/commands/PutBucketLoggingCommand.js +6 -2
  51. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -2
  52. package/dist-es/commands/PutBucketPolicyCommand.js +6 -2
  53. package/dist-es/commands/PutBucketReplicationCommand.js +6 -2
  54. package/dist-es/commands/PutBucketRequestPaymentCommand.js +6 -2
  55. package/dist-es/commands/PutBucketTaggingCommand.js +6 -2
  56. package/dist-es/commands/PutBucketVersioningCommand.js +6 -2
  57. package/dist-es/commands/PutBucketWebsiteCommand.js +6 -2
  58. package/dist-es/commands/PutObjectAclCommand.js +6 -2
  59. package/dist-es/commands/PutObjectCommand.js +6 -0
  60. package/dist-es/commands/PutObjectLegalHoldCommand.js +6 -2
  61. package/dist-es/commands/PutObjectLockConfigurationCommand.js +6 -2
  62. package/dist-es/commands/PutObjectRetentionCommand.js +7 -3
  63. package/dist-es/commands/PutObjectTaggingCommand.js +7 -3
  64. package/dist-es/commands/PutPublicAccessBlockCommand.js +7 -3
  65. package/dist-es/commands/RestoreObjectCommand.js +7 -2
  66. package/dist-es/commands/UploadPartCommand.js +6 -0
  67. package/dist-es/commands/WriteGetObjectResponseCommand.js +0 -2
  68. package/dist-es/commands/index.js +1 -0
  69. package/dist-es/index.js +1 -0
  70. package/dist-es/models/S3ServiceException.js +12 -0
  71. package/dist-es/models/models_0.js +141 -27
  72. package/dist-es/models/models_1.js +38 -1
  73. package/dist-es/protocols/Aws_restXml.js +1366 -900
  74. package/dist-es/runtimeConfig.browser.js +5 -3
  75. package/dist-es/runtimeConfig.js +5 -4
  76. package/dist-types/S3.d.ts +332 -90
  77. package/dist-types/S3Client.d.ts +19 -7
  78. package/dist-types/commands/CopyObjectCommand.d.ts +11 -5
  79. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +33 -11
  80. package/dist-types/commands/GetBucketCorsCommand.d.ts +7 -5
  81. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
  82. package/dist-types/commands/GetObjectAclCommand.d.ts +9 -1
  83. package/dist-types/commands/GetObjectAttributesCommand.d.ts +190 -0
  84. package/dist-types/commands/GetObjectCommand.d.ts +3 -5
  85. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +11 -1
  86. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +9 -0
  87. package/dist-types/commands/GetObjectRetentionCommand.d.ts +9 -0
  88. package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -3
  89. package/dist-types/commands/HeadObjectCommand.d.ts +6 -1
  90. package/dist-types/commands/ListBucketsCommand.d.ts +2 -1
  91. package/dist-types/commands/ListPartsCommand.d.ts +8 -0
  92. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -4
  93. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -1
  94. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -4
  95. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -1
  96. package/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -4
  97. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  98. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -8
  99. package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  100. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  101. package/dist-types/commands/RestoreObjectCommand.d.ts +24 -32
  102. package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -4
  103. package/dist-types/commands/index.d.ts +1 -0
  104. package/dist-types/index.d.ts +1 -0
  105. package/dist-types/models/S3ServiceException.d.ts +10 -0
  106. package/dist-types/models/models_0.d.ts +1065 -406
  107. package/dist-types/models/models_1.d.ts +434 -48
  108. package/dist-types/protocols/Aws_restXml.d.ts +3 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  110. package/dist-types/runtimeConfig.d.ts +2 -0
  111. package/dist-types/runtimeConfig.native.d.ts +3 -1
  112. package/dist-types/ts3.4/S3.d.ts +470 -0
  113. package/dist-types/ts3.4/S3Client.d.ts +184 -0
  114. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +24 -0
  197. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +17 -0
  199. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +17 -0
  201. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +17 -0
  202. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +24 -0
  205. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +24 -0
  207. package/dist-types/ts3.4/commands/index.d.ts +93 -0
  208. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  209. package/dist-types/ts3.4/index.d.ts +7 -0
  210. package/dist-types/ts3.4/models/S3ServiceException.d.ts +6 -0
  211. package/dist-types/ts3.4/models/index.d.ts +2 -0
  212. package/dist-types/ts3.4/models/models_0.d.ts +3903 -0
  213. package/dist-types/ts3.4/models/models_1.d.ts +767 -0
  214. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  215. package/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +4 -0
  216. package/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +4 -0
  217. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  218. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +281 -0
  219. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +49 -0
  220. package/dist-types/ts3.4/runtimeConfig.d.ts +50 -0
  221. package/dist-types/ts3.4/runtimeConfig.native.d.ts +48 -0
  222. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +15 -0
  223. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  224. package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +7 -0
  225. package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +7 -0
  226. package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +7 -0
  227. package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +7 -0
  228. package/package.json +50 -47
@@ -0,0 +1,767 @@
1
+
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
+ import { Readable } from "stream";
4
+ import { ChecksumAlgorithm, Grant, ObjectCannedACL, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, PublicAccessBlockConfiguration, ReplicationStatus, RequestCharged, RequestPayer, ServerSideEncryption, StorageClass, Tagging } from "./models_0";
5
+ import { S3ServiceException as __BaseException } from "./S3ServiceException";
6
+ export interface PutObjectRetentionOutput {
7
+
8
+ RequestCharged?: RequestCharged | string;
9
+ }
10
+ export declare namespace PutObjectRetentionOutput {
11
+
12
+ const filterSensitiveLog: (obj: PutObjectRetentionOutput) => any;
13
+ }
14
+ export interface PutObjectRetentionRequest {
15
+
16
+ Bucket: string | undefined;
17
+
18
+ Key: string | undefined;
19
+
20
+ Retention?: ObjectLockRetention;
21
+
22
+ RequestPayer?: RequestPayer | string;
23
+
24
+ VersionId?: string;
25
+
26
+ BypassGovernanceRetention?: boolean;
27
+
28
+ ContentMD5?: string;
29
+
30
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
31
+
32
+ ExpectedBucketOwner?: string;
33
+ }
34
+ export declare namespace PutObjectRetentionRequest {
35
+
36
+ const filterSensitiveLog: (obj: PutObjectRetentionRequest) => any;
37
+ }
38
+ export interface PutObjectTaggingOutput {
39
+
40
+ VersionId?: string;
41
+ }
42
+ export declare namespace PutObjectTaggingOutput {
43
+
44
+ const filterSensitiveLog: (obj: PutObjectTaggingOutput) => any;
45
+ }
46
+ export interface PutObjectTaggingRequest {
47
+
48
+ Bucket: string | undefined;
49
+
50
+ Key: string | undefined;
51
+
52
+ VersionId?: string;
53
+
54
+ ContentMD5?: string;
55
+
56
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
57
+
58
+ Tagging: Tagging | undefined;
59
+
60
+ ExpectedBucketOwner?: string;
61
+
62
+ RequestPayer?: RequestPayer | string;
63
+ }
64
+ export declare namespace PutObjectTaggingRequest {
65
+
66
+ const filterSensitiveLog: (obj: PutObjectTaggingRequest) => any;
67
+ }
68
+ export interface PutPublicAccessBlockRequest {
69
+
70
+ Bucket: string | undefined;
71
+
72
+ ContentMD5?: string;
73
+
74
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
75
+
76
+ PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
77
+
78
+ ExpectedBucketOwner?: string;
79
+ }
80
+ export declare namespace PutPublicAccessBlockRequest {
81
+
82
+ const filterSensitiveLog: (obj: PutPublicAccessBlockRequest) => any;
83
+ }
84
+
85
+ export declare class ObjectAlreadyInActiveTierError extends __BaseException {
86
+ readonly name: "ObjectAlreadyInActiveTierError";
87
+ readonly $fault: "client";
88
+
89
+ constructor(opts: __ExceptionOptionType<ObjectAlreadyInActiveTierError, __BaseException>);
90
+ }
91
+ export interface RestoreObjectOutput {
92
+
93
+ RequestCharged?: RequestCharged | string;
94
+
95
+ RestoreOutputPath?: string;
96
+ }
97
+ export declare namespace RestoreObjectOutput {
98
+
99
+ const filterSensitiveLog: (obj: RestoreObjectOutput) => any;
100
+ }
101
+ export declare type Tier = "Bulk" | "Expedited" | "Standard";
102
+
103
+ export interface GlacierJobParameters {
104
+
105
+ Tier: Tier | string | undefined;
106
+ }
107
+ export declare namespace GlacierJobParameters {
108
+
109
+ const filterSensitiveLog: (obj: GlacierJobParameters) => any;
110
+ }
111
+
112
+ export interface Encryption {
113
+
114
+ EncryptionType: ServerSideEncryption | string | undefined;
115
+
116
+ KMSKeyId?: string;
117
+
118
+ KMSContext?: string;
119
+ }
120
+ export declare namespace Encryption {
121
+
122
+ const filterSensitiveLog: (obj: Encryption) => any;
123
+ }
124
+
125
+ export interface MetadataEntry {
126
+
127
+ Name?: string;
128
+
129
+ Value?: string;
130
+ }
131
+ export declare namespace MetadataEntry {
132
+
133
+ const filterSensitiveLog: (obj: MetadataEntry) => any;
134
+ }
135
+
136
+ export interface S3Location {
137
+
138
+ BucketName: string | undefined;
139
+
140
+ Prefix: string | undefined;
141
+
142
+ Encryption?: Encryption;
143
+
144
+ CannedACL?: ObjectCannedACL | string;
145
+
146
+ AccessControlList?: Grant[];
147
+
148
+ Tagging?: Tagging;
149
+
150
+ UserMetadata?: MetadataEntry[];
151
+
152
+ StorageClass?: StorageClass | string;
153
+ }
154
+ export declare namespace S3Location {
155
+
156
+ const filterSensitiveLog: (obj: S3Location) => any;
157
+ }
158
+
159
+ export interface OutputLocation {
160
+
161
+ S3?: S3Location;
162
+ }
163
+ export declare namespace OutputLocation {
164
+
165
+ const filterSensitiveLog: (obj: OutputLocation) => any;
166
+ }
167
+ export declare type ExpressionType = "SQL";
168
+ export declare type CompressionType = "BZIP2" | "GZIP" | "NONE";
169
+ export declare enum FileHeaderInfo {
170
+ IGNORE = "IGNORE",
171
+ NONE = "NONE",
172
+ USE = "USE"
173
+ }
174
+
175
+ export interface CSVInput {
176
+
177
+ FileHeaderInfo?: FileHeaderInfo | string;
178
+
179
+ Comments?: string;
180
+
181
+ QuoteEscapeCharacter?: string;
182
+
183
+ RecordDelimiter?: string;
184
+
185
+ FieldDelimiter?: string;
186
+
187
+ QuoteCharacter?: string;
188
+
189
+ AllowQuotedRecordDelimiter?: boolean;
190
+ }
191
+ export declare namespace CSVInput {
192
+
193
+ const filterSensitiveLog: (obj: CSVInput) => any;
194
+ }
195
+ export declare enum JSONType {
196
+ DOCUMENT = "DOCUMENT",
197
+ LINES = "LINES"
198
+ }
199
+
200
+ export interface JSONInput {
201
+
202
+ Type?: JSONType | string;
203
+ }
204
+ export declare namespace JSONInput {
205
+
206
+ const filterSensitiveLog: (obj: JSONInput) => any;
207
+ }
208
+
209
+ export interface ParquetInput {
210
+ }
211
+ export declare namespace ParquetInput {
212
+
213
+ const filterSensitiveLog: (obj: ParquetInput) => any;
214
+ }
215
+
216
+ export interface InputSerialization {
217
+
218
+ CSV?: CSVInput;
219
+
220
+ CompressionType?: CompressionType | string;
221
+
222
+ JSON?: JSONInput;
223
+
224
+ Parquet?: ParquetInput;
225
+ }
226
+ export declare namespace InputSerialization {
227
+
228
+ const filterSensitiveLog: (obj: InputSerialization) => any;
229
+ }
230
+ export declare enum QuoteFields {
231
+ ALWAYS = "ALWAYS",
232
+ ASNEEDED = "ASNEEDED"
233
+ }
234
+
235
+ export interface CSVOutput {
236
+
237
+ QuoteFields?: QuoteFields | string;
238
+
239
+ QuoteEscapeCharacter?: string;
240
+
241
+ RecordDelimiter?: string;
242
+
243
+ FieldDelimiter?: string;
244
+
245
+ QuoteCharacter?: string;
246
+ }
247
+ export declare namespace CSVOutput {
248
+
249
+ const filterSensitiveLog: (obj: CSVOutput) => any;
250
+ }
251
+
252
+ export interface JSONOutput {
253
+
254
+ RecordDelimiter?: string;
255
+ }
256
+ export declare namespace JSONOutput {
257
+
258
+ const filterSensitiveLog: (obj: JSONOutput) => any;
259
+ }
260
+
261
+ export interface OutputSerialization {
262
+
263
+ CSV?: CSVOutput;
264
+
265
+ JSON?: JSONOutput;
266
+ }
267
+ export declare namespace OutputSerialization {
268
+
269
+ const filterSensitiveLog: (obj: OutputSerialization) => any;
270
+ }
271
+
272
+ export interface SelectParameters {
273
+
274
+ InputSerialization: InputSerialization | undefined;
275
+
276
+ ExpressionType: ExpressionType | string | undefined;
277
+
278
+ Expression: string | undefined;
279
+
280
+ OutputSerialization: OutputSerialization | undefined;
281
+ }
282
+ export declare namespace SelectParameters {
283
+
284
+ const filterSensitiveLog: (obj: SelectParameters) => any;
285
+ }
286
+ export declare enum RestoreRequestType {
287
+ SELECT = "SELECT"
288
+ }
289
+
290
+ export interface RestoreRequest {
291
+
292
+ Days?: number;
293
+
294
+ GlacierJobParameters?: GlacierJobParameters;
295
+
296
+ Type?: RestoreRequestType | string;
297
+
298
+ Tier?: Tier | string;
299
+
300
+ Description?: string;
301
+
302
+ SelectParameters?: SelectParameters;
303
+
304
+ OutputLocation?: OutputLocation;
305
+ }
306
+ export declare namespace RestoreRequest {
307
+
308
+ const filterSensitiveLog: (obj: RestoreRequest) => any;
309
+ }
310
+ export interface RestoreObjectRequest {
311
+
312
+ Bucket: string | undefined;
313
+
314
+ Key: string | undefined;
315
+
316
+ VersionId?: string;
317
+
318
+ RestoreRequest?: RestoreRequest;
319
+
320
+ RequestPayer?: RequestPayer | string;
321
+
322
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
323
+
324
+ ExpectedBucketOwner?: string;
325
+ }
326
+ export declare namespace RestoreObjectRequest {
327
+
328
+ const filterSensitiveLog: (obj: RestoreObjectRequest) => any;
329
+ }
330
+
331
+ export interface ContinuationEvent {
332
+ }
333
+ export declare namespace ContinuationEvent {
334
+
335
+ const filterSensitiveLog: (obj: ContinuationEvent) => any;
336
+ }
337
+
338
+ export interface EndEvent {
339
+ }
340
+ export declare namespace EndEvent {
341
+
342
+ const filterSensitiveLog: (obj: EndEvent) => any;
343
+ }
344
+
345
+ export interface Progress {
346
+
347
+ BytesScanned?: number;
348
+
349
+ BytesProcessed?: number;
350
+
351
+ BytesReturned?: number;
352
+ }
353
+ export declare namespace Progress {
354
+
355
+ const filterSensitiveLog: (obj: Progress) => any;
356
+ }
357
+
358
+ export interface ProgressEvent {
359
+
360
+ Details?: Progress;
361
+ }
362
+ export declare namespace ProgressEvent {
363
+
364
+ const filterSensitiveLog: (obj: ProgressEvent) => any;
365
+ }
366
+
367
+ export interface RecordsEvent {
368
+
369
+ Payload?: Uint8Array;
370
+ }
371
+ export declare namespace RecordsEvent {
372
+
373
+ const filterSensitiveLog: (obj: RecordsEvent) => any;
374
+ }
375
+
376
+ export interface Stats {
377
+
378
+ BytesScanned?: number;
379
+
380
+ BytesProcessed?: number;
381
+
382
+ BytesReturned?: number;
383
+ }
384
+ export declare namespace Stats {
385
+
386
+ const filterSensitiveLog: (obj: Stats) => any;
387
+ }
388
+
389
+ export interface StatsEvent {
390
+
391
+ Details?: Stats;
392
+ }
393
+ export declare namespace StatsEvent {
394
+
395
+ const filterSensitiveLog: (obj: StatsEvent) => any;
396
+ }
397
+
398
+ export declare type SelectObjectContentEventStream = SelectObjectContentEventStream.ContMember | SelectObjectContentEventStream.EndMember | SelectObjectContentEventStream.ProgressMember | SelectObjectContentEventStream.RecordsMember | SelectObjectContentEventStream.StatsMember | SelectObjectContentEventStream.$UnknownMember;
399
+ export declare namespace SelectObjectContentEventStream {
400
+
401
+ interface RecordsMember {
402
+ Records: RecordsEvent;
403
+ Stats?: never;
404
+ Progress?: never;
405
+ Cont?: never;
406
+ End?: never;
407
+ $unknown?: never;
408
+ }
409
+
410
+ interface StatsMember {
411
+ Records?: never;
412
+ Stats: StatsEvent;
413
+ Progress?: never;
414
+ Cont?: never;
415
+ End?: never;
416
+ $unknown?: never;
417
+ }
418
+
419
+ interface ProgressMember {
420
+ Records?: never;
421
+ Stats?: never;
422
+ Progress: ProgressEvent;
423
+ Cont?: never;
424
+ End?: never;
425
+ $unknown?: never;
426
+ }
427
+
428
+ interface ContMember {
429
+ Records?: never;
430
+ Stats?: never;
431
+ Progress?: never;
432
+ Cont: ContinuationEvent;
433
+ End?: never;
434
+ $unknown?: never;
435
+ }
436
+
437
+ interface EndMember {
438
+ Records?: never;
439
+ Stats?: never;
440
+ Progress?: never;
441
+ Cont?: never;
442
+ End: EndEvent;
443
+ $unknown?: never;
444
+ }
445
+ interface $UnknownMember {
446
+ Records?: never;
447
+ Stats?: never;
448
+ Progress?: never;
449
+ Cont?: never;
450
+ End?: never;
451
+ $unknown: [
452
+ string,
453
+ any
454
+ ];
455
+ }
456
+ interface Visitor<T> {
457
+ Records: (value: RecordsEvent) => T;
458
+ Stats: (value: StatsEvent) => T;
459
+ Progress: (value: ProgressEvent) => T;
460
+ Cont: (value: ContinuationEvent) => T;
461
+ End: (value: EndEvent) => T;
462
+ _: (name: string, value: any) => T;
463
+ }
464
+ const visit: <T>(value: SelectObjectContentEventStream, visitor: Visitor<T>) => T;
465
+
466
+ const filterSensitiveLog: (obj: SelectObjectContentEventStream) => any;
467
+ }
468
+ export interface SelectObjectContentOutput {
469
+
470
+ Payload?: AsyncIterable<SelectObjectContentEventStream>;
471
+ }
472
+ export declare namespace SelectObjectContentOutput {
473
+
474
+ const filterSensitiveLog: (obj: SelectObjectContentOutput) => any;
475
+ }
476
+
477
+ export interface RequestProgress {
478
+
479
+ Enabled?: boolean;
480
+ }
481
+ export declare namespace RequestProgress {
482
+
483
+ const filterSensitiveLog: (obj: RequestProgress) => any;
484
+ }
485
+
486
+ export interface ScanRange {
487
+
488
+ Start?: number;
489
+
490
+ End?: number;
491
+ }
492
+ export declare namespace ScanRange {
493
+
494
+ const filterSensitiveLog: (obj: ScanRange) => any;
495
+ }
496
+
497
+ export interface SelectObjectContentRequest {
498
+
499
+ Bucket: string | undefined;
500
+
501
+ Key: string | undefined;
502
+
503
+ SSECustomerAlgorithm?: string;
504
+
505
+ SSECustomerKey?: string;
506
+
507
+ SSECustomerKeyMD5?: string;
508
+
509
+ Expression: string | undefined;
510
+
511
+ ExpressionType: ExpressionType | string | undefined;
512
+
513
+ RequestProgress?: RequestProgress;
514
+
515
+ InputSerialization: InputSerialization | undefined;
516
+
517
+ OutputSerialization: OutputSerialization | undefined;
518
+
519
+ ScanRange?: ScanRange;
520
+
521
+ ExpectedBucketOwner?: string;
522
+ }
523
+ export declare namespace SelectObjectContentRequest {
524
+
525
+ const filterSensitiveLog: (obj: SelectObjectContentRequest) => any;
526
+ }
527
+ export interface UploadPartOutput {
528
+
529
+ ServerSideEncryption?: ServerSideEncryption | string;
530
+
531
+ ETag?: string;
532
+
533
+ ChecksumCRC32?: string;
534
+
535
+ ChecksumCRC32C?: string;
536
+
537
+ ChecksumSHA1?: string;
538
+
539
+ ChecksumSHA256?: string;
540
+
541
+ SSECustomerAlgorithm?: string;
542
+
543
+ SSECustomerKeyMD5?: string;
544
+
545
+ SSEKMSKeyId?: string;
546
+
547
+ BucketKeyEnabled?: boolean;
548
+
549
+ RequestCharged?: RequestCharged | string;
550
+ }
551
+ export declare namespace UploadPartOutput {
552
+
553
+ const filterSensitiveLog: (obj: UploadPartOutput) => any;
554
+ }
555
+ export interface UploadPartRequest {
556
+
557
+ Body?: Readable | ReadableStream | Blob;
558
+
559
+ Bucket: string | undefined;
560
+
561
+ ContentLength?: number;
562
+
563
+ ContentMD5?: string;
564
+
565
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
566
+
567
+ ChecksumCRC32?: string;
568
+
569
+ ChecksumCRC32C?: string;
570
+
571
+ ChecksumSHA1?: string;
572
+
573
+ ChecksumSHA256?: string;
574
+
575
+ Key: string | undefined;
576
+
577
+ PartNumber: number | undefined;
578
+
579
+ UploadId: string | undefined;
580
+
581
+ SSECustomerAlgorithm?: string;
582
+
583
+ SSECustomerKey?: string;
584
+
585
+ SSECustomerKeyMD5?: string;
586
+
587
+ RequestPayer?: RequestPayer | string;
588
+
589
+ ExpectedBucketOwner?: string;
590
+ }
591
+ export declare namespace UploadPartRequest {
592
+
593
+ const filterSensitiveLog: (obj: UploadPartRequest) => any;
594
+ }
595
+
596
+ export interface CopyPartResult {
597
+
598
+ ETag?: string;
599
+
600
+ LastModified?: Date;
601
+
602
+ ChecksumCRC32?: string;
603
+
604
+ ChecksumCRC32C?: string;
605
+
606
+ ChecksumSHA1?: string;
607
+
608
+ ChecksumSHA256?: string;
609
+ }
610
+ export declare namespace CopyPartResult {
611
+
612
+ const filterSensitiveLog: (obj: CopyPartResult) => any;
613
+ }
614
+ export interface UploadPartCopyOutput {
615
+
616
+ CopySourceVersionId?: string;
617
+
618
+ CopyPartResult?: CopyPartResult;
619
+
620
+ ServerSideEncryption?: ServerSideEncryption | string;
621
+
622
+ SSECustomerAlgorithm?: string;
623
+
624
+ SSECustomerKeyMD5?: string;
625
+
626
+ SSEKMSKeyId?: string;
627
+
628
+ BucketKeyEnabled?: boolean;
629
+
630
+ RequestCharged?: RequestCharged | string;
631
+ }
632
+ export declare namespace UploadPartCopyOutput {
633
+
634
+ const filterSensitiveLog: (obj: UploadPartCopyOutput) => any;
635
+ }
636
+ export interface UploadPartCopyRequest {
637
+
638
+ Bucket: string | undefined;
639
+
640
+ CopySource: string | undefined;
641
+
642
+ CopySourceIfMatch?: string;
643
+
644
+ CopySourceIfModifiedSince?: Date;
645
+
646
+ CopySourceIfNoneMatch?: string;
647
+
648
+ CopySourceIfUnmodifiedSince?: Date;
649
+
650
+ CopySourceRange?: string;
651
+
652
+ Key: string | undefined;
653
+
654
+ PartNumber: number | undefined;
655
+
656
+ UploadId: string | undefined;
657
+
658
+ SSECustomerAlgorithm?: string;
659
+
660
+ SSECustomerKey?: string;
661
+
662
+ SSECustomerKeyMD5?: string;
663
+
664
+ CopySourceSSECustomerAlgorithm?: string;
665
+
666
+ CopySourceSSECustomerKey?: string;
667
+
668
+ CopySourceSSECustomerKeyMD5?: string;
669
+
670
+ RequestPayer?: RequestPayer | string;
671
+
672
+ ExpectedBucketOwner?: string;
673
+
674
+ ExpectedSourceBucketOwner?: string;
675
+ }
676
+ export declare namespace UploadPartCopyRequest {
677
+
678
+ const filterSensitiveLog: (obj: UploadPartCopyRequest) => any;
679
+ }
680
+ export interface WriteGetObjectResponseRequest {
681
+
682
+ RequestRoute: string | undefined;
683
+
684
+ RequestToken: string | undefined;
685
+
686
+ Body?: Readable | ReadableStream | Blob;
687
+
688
+ StatusCode?: number;
689
+
690
+ ErrorCode?: string;
691
+
692
+ ErrorMessage?: string;
693
+
694
+ AcceptRanges?: string;
695
+
696
+ CacheControl?: string;
697
+
698
+ ContentDisposition?: string;
699
+
700
+ ContentEncoding?: string;
701
+
702
+ ContentLanguage?: string;
703
+
704
+ ContentLength?: number;
705
+
706
+ ContentRange?: string;
707
+
708
+ ContentType?: string;
709
+
710
+ ChecksumCRC32?: string;
711
+
712
+ ChecksumCRC32C?: string;
713
+
714
+ ChecksumSHA1?: string;
715
+
716
+ ChecksumSHA256?: string;
717
+
718
+ DeleteMarker?: boolean;
719
+
720
+ ETag?: string;
721
+
722
+ Expires?: Date;
723
+
724
+ Expiration?: string;
725
+
726
+ LastModified?: Date;
727
+
728
+ MissingMeta?: number;
729
+
730
+ Metadata?: {
731
+ [key: string]: string;
732
+ };
733
+
734
+ ObjectLockMode?: ObjectLockMode | string;
735
+
736
+ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
737
+
738
+ ObjectLockRetainUntilDate?: Date;
739
+
740
+ PartsCount?: number;
741
+
742
+ ReplicationStatus?: ReplicationStatus | string;
743
+
744
+ RequestCharged?: RequestCharged | string;
745
+
746
+ Restore?: string;
747
+
748
+ ServerSideEncryption?: ServerSideEncryption | string;
749
+
750
+ SSECustomerAlgorithm?: string;
751
+
752
+ SSEKMSKeyId?: string;
753
+
754
+ SSECustomerKeyMD5?: string;
755
+
756
+ StorageClass?: StorageClass | string;
757
+
758
+ TagCount?: number;
759
+
760
+ VersionId?: string;
761
+
762
+ BucketKeyEnabled?: boolean;
763
+ }
764
+ export declare namespace WriteGetObjectResponseRequest {
765
+
766
+ const filterSensitiveLog: (obj: WriteGetObjectResponseRequest) => any;
767
+ }