@aws-sdk/client-s3 3.802.0 → 3.804.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 (204) hide show
  1. package/dist-types/S3Client.d.ts +0 -1
  2. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +1 -1
  3. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -1
  4. package/dist-types/commands/CopyObjectCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateBucketCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteObjectCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteObjectsCommand.d.ts +1 -1
  26. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
  27. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
  28. package/dist-types/commands/GetBucketAclCommand.d.ts +1 -1
  29. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
  30. package/dist-types/commands/GetBucketCorsCommand.d.ts +1 -1
  31. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
  32. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  33. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  34. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -1
  35. package/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
  36. package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
  37. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +1 -1
  38. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
  39. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
  40. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
  41. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -1
  42. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
  43. package/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
  44. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
  45. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
  46. package/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -1
  47. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -1
  48. package/dist-types/commands/GetObjectAclCommand.d.ts +1 -1
  49. package/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -1
  50. package/dist-types/commands/GetObjectCommand.d.ts +1 -1
  51. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -1
  52. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
  53. package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -1
  54. package/dist-types/commands/GetObjectTaggingCommand.d.ts +1 -1
  55. package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
  56. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
  57. package/dist-types/commands/HeadBucketCommand.d.ts +1 -1
  58. package/dist-types/commands/HeadObjectCommand.d.ts +1 -1
  59. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -1
  64. package/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListObjectsCommand.d.ts +1 -1
  66. package/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
  67. package/dist-types/commands/ListPartsCommand.d.ts +1 -1
  68. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  69. package/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
  70. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  71. package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  72. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
  73. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  74. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  75. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  76. package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
  77. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  78. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  79. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  80. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
  81. package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
  82. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  83. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
  84. package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -1
  85. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
  86. package/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
  87. package/dist-types/commands/PutObjectCommand.d.ts +1 -1
  88. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  89. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
  90. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
  91. package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  92. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  93. package/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
  94. package/dist-types/commands/SelectObjectContentCommand.d.ts +1 -1
  95. package/dist-types/commands/UploadPartCommand.d.ts +1 -1
  96. package/dist-types/commands/UploadPartCopyCommand.d.ts +1 -1
  97. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
  98. package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
  99. package/dist-types/runtimeConfig.browser.d.ts +24 -25
  100. package/dist-types/runtimeConfig.d.ts +19 -20
  101. package/dist-types/runtimeConfig.native.d.ts +25 -26
  102. package/dist-types/runtimeConfig.shared.d.ts +3 -4
  103. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +1 -1
  152. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +1 -1
  153. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
  193. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  194. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -1
  195. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +1 -1
  196. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +1 -1
  197. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +1 -1
  198. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +1 -1
  199. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
  200. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +27 -43
  201. package/dist-types/ts3.4/runtimeConfig.d.ts +20 -32
  202. package/dist-types/ts3.4/runtimeConfig.native.d.ts +28 -44
  203. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  204. package/package.json +29 -29
@@ -12,9 +12,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
12
12
  _: unknown
13
13
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
14
  defaultUserAgentProvider: (
15
- config?:
16
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
17
- | undefined
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
16
  ) => Promise<import("@smithy/types").UserAgent>;
19
17
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
20
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -36,12 +34,12 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
36
34
  cacheMiddleware?: boolean | undefined;
37
35
  urlParser: import("@smithy/types").UrlParser;
38
36
  base64Decoder: import("@smithy/types").Decoder;
39
- base64Encoder: (_input: string | Uint8Array) => string;
37
+ base64Encoder: (_input: Uint8Array | string) => string;
40
38
  utf8Decoder: import("@smithy/types").Decoder;
41
- utf8Encoder: (input: string | Uint8Array) => string;
39
+ utf8Encoder: (input: Uint8Array | string) => string;
42
40
  disableHostPrefix: boolean;
43
41
  serviceId: string;
44
- profile?: string | undefined;
42
+ profile?: string;
45
43
  getAwsChunkedEncodingStream:
46
44
  | import("@smithy/types").GetAwsChunkedEncodingStream<any>
47
45
  | import("@smithy/types").GetAwsChunkedEncodingStream<
@@ -52,28 +50,25 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
52
50
  signingEscapePath: boolean;
53
51
  useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
54
52
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
55
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
53
+ customUserAgent?: string | import("@smithy/types").UserAgent;
56
54
  userAgentAppId?:
57
55
  | string
58
- | import("@smithy/types").Provider<string | undefined>
59
- | undefined;
56
+ | undefined
57
+ | import("@smithy/types").Provider<string | undefined>;
60
58
  requestChecksumCalculation?:
61
59
  | import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
62
60
  | import("@smithy/types").Provider<
63
61
  import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
64
- >
65
- | undefined;
62
+ >;
66
63
  responseChecksumValidation?:
67
64
  | import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
68
65
  | import("@smithy/types").Provider<
69
66
  import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
70
- >
71
- | undefined;
72
- requestStreamBufferSize?: number | false | undefined;
67
+ >;
68
+ requestStreamBufferSize?: number | false;
73
69
  retryStrategy?:
74
70
  | import("@smithy/types").RetryStrategy
75
- | import("@smithy/types").RetryStrategyV2
76
- | undefined;
71
+ | import("@smithy/types").RetryStrategyV2;
77
72
  endpoint?:
78
73
  | ((
79
74
  | string
@@ -94,29 +89,24 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
94
89
  endpointProvider: (
95
90
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
96
91
  context?: {
97
- logger?: import("@smithy/types").Logger | undefined;
92
+ logger?: import("@smithy/types").Logger;
98
93
  }
99
94
  ) => import("@smithy/types").EndpointV2;
100
- tls?: boolean | undefined;
101
- serviceConfiguredEndpoint?: undefined;
102
- authSchemePreference?:
103
- | string[]
104
- | import("@smithy/types").Provider<string[]>
105
- | undefined;
95
+ tls?: boolean;
96
+ serviceConfiguredEndpoint?: never;
97
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
106
98
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
107
99
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
108
100
  credentials?:
109
101
  | import("@smithy/types").AwsCredentialIdentity
110
- | import("@smithy/types").AwsCredentialIdentityProvider
111
- | undefined;
102
+ | import("@smithy/types").AwsCredentialIdentityProvider;
112
103
  signer?:
113
104
  | import("@smithy/types").RequestSigner
114
105
  | ((
115
- authScheme?: import("@smithy/types").AuthScheme | undefined
116
- ) => Promise<import("@smithy/types").RequestSigner>)
117
- | undefined;
118
- systemClockOffset?: number | undefined;
119
- signingRegion?: string | undefined;
106
+ authScheme?: import("@smithy/types").AuthScheme
107
+ ) => Promise<import("@smithy/types").RequestSigner>);
108
+ systemClockOffset?: number;
109
+ signingRegion?: string;
120
110
  signerConstructor:
121
111
  | (new (
122
112
  options: import("@smithy/signature-v4").SignatureV4Init &
@@ -125,8 +115,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
125
115
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
126
116
  sigv4aSigningRegionSet?:
127
117
  | string[]
128
- | import("@smithy/types").Provider<string[] | undefined>
129
- | undefined;
118
+ | undefined
119
+ | import("@smithy/types").Provider<string[] | undefined>;
130
120
  forcePathStyle?:
131
121
  | (boolean & (boolean | import("@smithy/types").Provider<boolean>))
132
122
  | undefined;
@@ -136,17 +126,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
136
126
  disableMultiregionAccessPoints?:
137
127
  | (boolean & (boolean | import("@smithy/types").Provider<boolean>))
138
128
  | undefined;
139
- followRegionRedirects?: boolean | undefined;
140
- s3ExpressIdentityProvider?:
141
- | import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
142
- | undefined;
143
- bucketEndpoint?: boolean | undefined;
144
- useGlobalEndpoint?:
145
- | boolean
146
- | import("@smithy/types").Provider<boolean>
147
- | undefined;
129
+ followRegionRedirects?: boolean;
130
+ s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
131
+ bucketEndpoint?: boolean;
132
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
148
133
  disableS3ExpressSessionAuth?:
149
134
  | boolean
150
- | import("@smithy/types").Provider<boolean>
151
- | undefined;
135
+ | import("@smithy/types").Provider<boolean>;
152
136
  };
@@ -11,16 +11,12 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
11
11
  credentialDefaultProvider:
12
12
  | ((input: any) => import("@aws-sdk/types").AwsCredentialIdentityProvider)
13
13
  | ((
14
- init?:
15
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
- | undefined
14
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
17
15
  ) => import("@aws-sdk/types").MemoizedProvider<
18
16
  import("@aws-sdk/types").AwsCredentialIdentity
19
17
  >);
20
18
  defaultUserAgentProvider: (
21
- config?:
22
- | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
23
- | undefined
19
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
24
20
  ) => Promise<import("@aws-sdk/types").UserAgent>;
25
21
  disableS3ExpressSessionAuth:
26
22
  | boolean
@@ -62,12 +58,12 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
62
58
  cacheMiddleware?: boolean | undefined;
63
59
  urlParser: import("@aws-sdk/types").UrlParser;
64
60
  base64Decoder: import("@aws-sdk/types").Decoder;
65
- base64Encoder: (_input: string | Uint8Array) => string;
61
+ base64Encoder: (_input: Uint8Array | string) => string;
66
62
  utf8Decoder: import("@aws-sdk/types").Decoder;
67
- utf8Encoder: (input: string | Uint8Array) => string;
63
+ utf8Encoder: (input: Uint8Array | string) => string;
68
64
  disableHostPrefix: boolean;
69
65
  serviceId: string;
70
- profile?: string | undefined;
66
+ profile?: string;
71
67
  getAwsChunkedEncodingStream:
72
68
  | import("@aws-sdk/types").GetAwsChunkedEncodingStream<any>
73
69
  | import("@aws-sdk/types").GetAwsChunkedEncodingStream<
@@ -77,12 +73,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
77
73
  extensions: import("./runtimeExtensions").RuntimeExtension[];
78
74
  signingEscapePath: boolean;
79
75
  sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
80
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
81
- requestStreamBufferSize?: number | false | undefined;
76
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent;
77
+ requestStreamBufferSize?: number | false;
82
78
  retryStrategy?:
83
79
  | import("@aws-sdk/types").RetryStrategy
84
- | import("@aws-sdk/types").RetryStrategyV2
85
- | undefined;
80
+ | import("@aws-sdk/types").RetryStrategyV2;
86
81
  endpoint?:
87
82
  | ((
88
83
  | string
@@ -105,25 +100,23 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
105
100
  endpointProvider: (
106
101
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
107
102
  context?: {
108
- logger?: import("@aws-sdk/types").Logger | undefined;
103
+ logger?: import("@aws-sdk/types").Logger;
109
104
  }
110
105
  ) => import("@aws-sdk/types").EndpointV2;
111
- tls?: boolean | undefined;
112
- serviceConfiguredEndpoint?: undefined;
106
+ tls?: boolean;
107
+ serviceConfiguredEndpoint?: never;
113
108
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
114
109
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
115
110
  credentials?:
116
111
  | import("@aws-sdk/types").AwsCredentialIdentity
117
- | import("@aws-sdk/types").AwsCredentialIdentityProvider
118
- | undefined;
112
+ | import("@aws-sdk/types").AwsCredentialIdentityProvider;
119
113
  signer?:
120
114
  | import("@aws-sdk/types").RequestSigner
121
115
  | ((
122
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
123
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
124
- | undefined;
125
- systemClockOffset?: number | undefined;
126
- signingRegion?: string | undefined;
116
+ authScheme?: import("@aws-sdk/types").AuthScheme
117
+ ) => Promise<import("@aws-sdk/types").RequestSigner>);
118
+ systemClockOffset?: number;
119
+ signingRegion?: string;
127
120
  signerConstructor:
128
121
  | (new (
129
122
  options: import("@smithy/signature-v4").SignatureV4Init &
@@ -139,13 +132,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
139
132
  disableMultiregionAccessPoints?:
140
133
  | (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>))
141
134
  | undefined;
142
- followRegionRedirects?: boolean | undefined;
143
- s3ExpressIdentityProvider?:
144
- | import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
145
- | undefined;
146
- bucketEndpoint?: boolean | undefined;
147
- useGlobalEndpoint?:
148
- | boolean
149
- | import("@aws-sdk/types").Provider<boolean>
150
- | undefined;
135
+ followRegionRedirects?: boolean;
136
+ s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
137
+ bucketEndpoint?: boolean;
138
+ useGlobalEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean>;
151
139
  };
@@ -9,24 +9,22 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
- cacheMiddleware?: boolean | undefined;
12
+ cacheMiddleware?: boolean;
13
13
  urlParser: import("@smithy/types").UrlParser;
14
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
16
  base64Decoder: import("@smithy/types").Decoder;
17
- base64Encoder: (_input: string | Uint8Array) => string;
17
+ base64Encoder: (_input: Uint8Array | string) => string;
18
18
  utf8Decoder: import("@smithy/types").Decoder;
19
- utf8Encoder: (input: string | Uint8Array) => string;
19
+ utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
- profile?: string | undefined;
25
+ profile?: string;
26
26
  defaultUserAgentProvider: (
27
- config?:
28
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
- | undefined
27
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
30
28
  ) => Promise<import("@smithy/types").UserAgent>;
31
29
  streamHasher:
32
30
  | import("@smithy/types").StreamHasher<import("stream").Readable>
@@ -56,28 +54,25 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
56
54
  signingEscapePath: boolean;
57
55
  useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
58
56
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
59
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
57
+ customUserAgent?: string | import("@smithy/types").UserAgent;
60
58
  userAgentAppId?:
61
59
  | string
62
- | import("@smithy/types").Provider<string | undefined>
63
- | undefined;
60
+ | undefined
61
+ | import("@smithy/types").Provider<string | undefined>;
64
62
  requestChecksumCalculation?:
65
63
  | import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
66
64
  | import("@smithy/types").Provider<
67
65
  import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
68
- >
69
- | undefined;
66
+ >;
70
67
  responseChecksumValidation?:
71
68
  | import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
72
69
  | import("@smithy/types").Provider<
73
70
  import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
74
- >
75
- | undefined;
76
- requestStreamBufferSize?: number | false | undefined;
71
+ >;
72
+ requestStreamBufferSize?: number | false;
77
73
  retryStrategy?:
78
74
  | import("@smithy/types").RetryStrategy
79
- | import("@smithy/types").RetryStrategyV2
80
- | undefined;
75
+ | import("@smithy/types").RetryStrategyV2;
81
76
  endpoint?:
82
77
  | ((
83
78
  | string
@@ -98,29 +93,24 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
98
93
  endpointProvider: (
99
94
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
100
95
  context?: {
101
- logger?: import("@smithy/types").Logger | undefined;
96
+ logger?: import("@smithy/types").Logger;
102
97
  }
103
98
  ) => import("@smithy/types").EndpointV2;
104
- tls?: boolean | undefined;
105
- serviceConfiguredEndpoint?: undefined;
106
- authSchemePreference?:
107
- | string[]
108
- | import("@smithy/types").Provider<string[]>
109
- | undefined;
99
+ tls?: boolean;
100
+ serviceConfiguredEndpoint?: never;
101
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
110
102
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
111
103
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
112
104
  credentials?:
113
105
  | import("@smithy/types").AwsCredentialIdentity
114
- | import("@smithy/types").AwsCredentialIdentityProvider
115
- | undefined;
106
+ | import("@smithy/types").AwsCredentialIdentityProvider;
116
107
  signer?:
117
108
  | import("@smithy/types").RequestSigner
118
109
  | ((
119
- authScheme?: import("@smithy/types").AuthScheme | undefined
120
- ) => Promise<import("@smithy/types").RequestSigner>)
121
- | undefined;
122
- systemClockOffset?: number | undefined;
123
- signingRegion?: string | undefined;
110
+ authScheme?: import("@smithy/types").AuthScheme
111
+ ) => Promise<import("@smithy/types").RequestSigner>);
112
+ systemClockOffset?: number;
113
+ signingRegion?: string;
124
114
  signerConstructor:
125
115
  | (new (
126
116
  options: import("@smithy/signature-v4").SignatureV4Init &
@@ -129,8 +119,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
129
119
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
130
120
  sigv4aSigningRegionSet?:
131
121
  | string[]
132
- | import("@smithy/types").Provider<string[] | undefined>
133
- | undefined;
122
+ | undefined
123
+ | import("@smithy/types").Provider<string[] | undefined>;
134
124
  forcePathStyle?:
135
125
  | (boolean & (boolean | import("@smithy/types").Provider<boolean>))
136
126
  | undefined;
@@ -140,17 +130,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
140
130
  disableMultiregionAccessPoints?:
141
131
  | (boolean & (boolean | import("@smithy/types").Provider<boolean>))
142
132
  | undefined;
143
- followRegionRedirects?: boolean | undefined;
144
- s3ExpressIdentityProvider?:
145
- | import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
146
- | undefined;
147
- bucketEndpoint?: boolean | undefined;
148
- useGlobalEndpoint?:
149
- | boolean
150
- | import("@smithy/types").Provider<boolean>
151
- | undefined;
133
+ followRegionRedirects?: boolean;
134
+ s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
135
+ bucketEndpoint?: boolean;
136
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
152
137
  disableS3ExpressSessionAuth?:
153
138
  | boolean
154
- | import("@smithy/types").Provider<boolean>
155
- | undefined;
139
+ | import("@smithy/types").Provider<boolean>;
156
140
  };
@@ -3,12 +3,12 @@ import { S3ClientConfig } from "./S3Client";
3
3
  export declare const getRuntimeConfig: (config: S3ClientConfig) => {
4
4
  apiVersion: string;
5
5
  base64Decoder: import("@smithy/types").Decoder;
6
- base64Encoder: (_input: string | Uint8Array) => string;
6
+ base64Encoder: (_input: Uint8Array | string) => string;
7
7
  disableHostPrefix: boolean;
8
8
  endpointProvider: (
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
- logger?: import("@smithy/types").Logger | undefined;
11
+ logger?: import("@smithy/types").Logger;
12
12
  }
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -32,5 +32,5 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
32
32
  urlParser: import("@smithy/types").UrlParser;
33
33
  useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
34
34
  utf8Decoder: import("@smithy/types").Decoder;
35
- utf8Encoder: (input: string | Uint8Array) => string;
35
+ utf8Encoder: (input: Uint8Array | string) => string;
36
36
  };
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.802.0",
4
+ "version": "3.804.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -27,27 +27,27 @@
27
27
  "@aws-crypto/sha1-browser": "5.2.0",
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "3.799.0",
31
- "@aws-sdk/credential-provider-node": "3.799.0",
32
- "@aws-sdk/middleware-bucket-endpoint": "3.775.0",
33
- "@aws-sdk/middleware-expect-continue": "3.775.0",
34
- "@aws-sdk/middleware-flexible-checksums": "3.799.0",
35
- "@aws-sdk/middleware-host-header": "3.775.0",
36
- "@aws-sdk/middleware-location-constraint": "3.775.0",
37
- "@aws-sdk/middleware-logger": "3.775.0",
38
- "@aws-sdk/middleware-recursion-detection": "3.775.0",
39
- "@aws-sdk/middleware-sdk-s3": "3.799.0",
40
- "@aws-sdk/middleware-ssec": "3.775.0",
41
- "@aws-sdk/middleware-user-agent": "3.799.0",
42
- "@aws-sdk/region-config-resolver": "3.775.0",
43
- "@aws-sdk/signature-v4-multi-region": "3.800.0",
44
- "@aws-sdk/types": "3.775.0",
45
- "@aws-sdk/util-endpoints": "3.787.0",
46
- "@aws-sdk/util-user-agent-browser": "3.775.0",
47
- "@aws-sdk/util-user-agent-node": "3.799.0",
48
- "@aws-sdk/xml-builder": "3.775.0",
30
+ "@aws-sdk/core": "3.804.0",
31
+ "@aws-sdk/credential-provider-node": "3.804.0",
32
+ "@aws-sdk/middleware-bucket-endpoint": "3.804.0",
33
+ "@aws-sdk/middleware-expect-continue": "3.804.0",
34
+ "@aws-sdk/middleware-flexible-checksums": "3.804.0",
35
+ "@aws-sdk/middleware-host-header": "3.804.0",
36
+ "@aws-sdk/middleware-location-constraint": "3.804.0",
37
+ "@aws-sdk/middleware-logger": "3.804.0",
38
+ "@aws-sdk/middleware-recursion-detection": "3.804.0",
39
+ "@aws-sdk/middleware-sdk-s3": "3.804.0",
40
+ "@aws-sdk/middleware-ssec": "3.804.0",
41
+ "@aws-sdk/middleware-user-agent": "3.804.0",
42
+ "@aws-sdk/region-config-resolver": "3.804.0",
43
+ "@aws-sdk/signature-v4-multi-region": "3.804.0",
44
+ "@aws-sdk/types": "3.804.0",
45
+ "@aws-sdk/util-endpoints": "3.804.0",
46
+ "@aws-sdk/util-user-agent-browser": "3.804.0",
47
+ "@aws-sdk/util-user-agent-node": "3.804.0",
48
+ "@aws-sdk/xml-builder": "3.804.0",
49
49
  "@smithy/config-resolver": "^4.1.0",
50
- "@smithy/core": "^3.3.0",
50
+ "@smithy/core": "^3.3.1",
51
51
  "@smithy/eventstream-serde-browser": "^4.0.2",
52
52
  "@smithy/eventstream-serde-config-resolver": "^4.1.0",
53
53
  "@smithy/eventstream-serde-node": "^4.0.2",
@@ -58,37 +58,37 @@
58
58
  "@smithy/invalid-dependency": "^4.0.2",
59
59
  "@smithy/md5-js": "^4.0.2",
60
60
  "@smithy/middleware-content-length": "^4.0.2",
61
- "@smithy/middleware-endpoint": "^4.1.1",
62
- "@smithy/middleware-retry": "^4.1.1",
61
+ "@smithy/middleware-endpoint": "^4.1.2",
62
+ "@smithy/middleware-retry": "^4.1.3",
63
63
  "@smithy/middleware-serde": "^4.0.3",
64
64
  "@smithy/middleware-stack": "^4.0.2",
65
65
  "@smithy/node-config-provider": "^4.0.2",
66
66
  "@smithy/node-http-handler": "^4.0.4",
67
67
  "@smithy/protocol-http": "^5.1.0",
68
- "@smithy/smithy-client": "^4.2.1",
68
+ "@smithy/smithy-client": "^4.2.2",
69
69
  "@smithy/types": "^4.2.0",
70
70
  "@smithy/url-parser": "^4.0.2",
71
71
  "@smithy/util-base64": "^4.0.0",
72
72
  "@smithy/util-body-length-browser": "^4.0.0",
73
73
  "@smithy/util-body-length-node": "^4.0.0",
74
- "@smithy/util-defaults-mode-browser": "^4.0.9",
75
- "@smithy/util-defaults-mode-node": "^4.0.9",
74
+ "@smithy/util-defaults-mode-browser": "^4.0.10",
75
+ "@smithy/util-defaults-mode-node": "^4.0.10",
76
76
  "@smithy/util-endpoints": "^3.0.2",
77
77
  "@smithy/util-middleware": "^4.0.2",
78
- "@smithy/util-retry": "^4.0.2",
78
+ "@smithy/util-retry": "^4.0.3",
79
79
  "@smithy/util-stream": "^4.2.0",
80
80
  "@smithy/util-utf8": "^4.0.0",
81
81
  "@smithy/util-waiter": "^4.0.3",
82
82
  "tslib": "^2.6.2"
83
83
  },
84
84
  "devDependencies": {
85
- "@aws-sdk/signature-v4-crt": "3.800.0",
85
+ "@aws-sdk/signature-v4-crt": "3.804.0",
86
86
  "@tsconfig/node18": "18.2.4",
87
87
  "@types/node": "^18.19.69",
88
88
  "concurrently": "7.0.0",
89
89
  "downlevel-dts": "0.10.1",
90
90
  "rimraf": "3.0.2",
91
- "typescript": "~5.2.2"
91
+ "typescript": "~5.8.3"
92
92
  },
93
93
  "engines": {
94
94
  "node": ">=18.0.0"