@aws-sdk/client-s3 3.43.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/dist-cjs/endpoints.js +9 -60
- package/dist-cjs/models/models_0.js +11 -66
- package/dist-cjs/models/models_1.js +7 -1
- package/dist-cjs/protocols/Aws_restXml.js +20 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +9 -60
- package/dist-es/models/models_0.js +4 -40
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restXml.js +21 -3
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/S3.d.ts +115 -35
- package/dist-types/S3Client.d.ts +5 -1
- package/dist-types/commands/CopyObjectCommand.d.ts +11 -1
- package/dist-types/commands/CreateBucketCommand.d.ts +39 -11
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketAclCommand.d.ts +7 -0
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectAclCommand.d.ts +7 -1
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketAclCommand.d.ts +7 -1
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +8 -3
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -2
- package/dist-types/commands/PutObjectAclCommand.d.ts +7 -2
- package/dist-types/commands/PutObjectCommand.d.ts +14 -2
- package/dist-types/commands/SelectObjectContentCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +61 -88
- package/dist-types/models/models_1.d.ts +16 -1
- package/dist-types/runtimeConfig.browser.d.ts +4 -3
- package/dist-types/runtimeConfig.d.ts +5 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/S3Client.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +18 -50
- package/dist-types/ts3.4/models/models_1.d.ts +10 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/package.json +52 -58
|
@@ -41,10 +41,6 @@ export interface NoSuchUpload extends __SmithyException, $MetadataBearer {
|
|
|
41
41
|
name: "NoSuchUpload";
|
|
42
42
|
$fault: "client";
|
|
43
43
|
}
|
|
44
|
-
export declare namespace NoSuchUpload {
|
|
45
|
-
|
|
46
|
-
const filterSensitiveLog: (obj: NoSuchUpload) => any;
|
|
47
|
-
}
|
|
48
44
|
export declare type BucketAccelerateStatus = "Enabled" | "Suspended";
|
|
49
45
|
|
|
50
46
|
export interface AccelerateConfiguration {
|
|
@@ -225,7 +221,7 @@ export declare type ObjectCannedACL = "authenticated-read" | "aws-exec-read" | "
|
|
|
225
221
|
export declare type MetadataDirective = "COPY" | "REPLACE";
|
|
226
222
|
export declare type ObjectLockLegalHoldStatus = "OFF" | "ON";
|
|
227
223
|
export declare type ObjectLockMode = "COMPLIANCE" | "GOVERNANCE";
|
|
228
|
-
export declare type StorageClass = "DEEP_ARCHIVE" | "GLACIER" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "OUTPOSTS" | "REDUCED_REDUNDANCY" | "STANDARD" | "STANDARD_IA";
|
|
224
|
+
export declare type StorageClass = "DEEP_ARCHIVE" | "GLACIER" | "GLACIER_IR" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "OUTPOSTS" | "REDUCED_REDUNDANCY" | "STANDARD" | "STANDARD_IA";
|
|
229
225
|
export declare type TaggingDirective = "COPY" | "REPLACE";
|
|
230
226
|
export interface CopyObjectRequest {
|
|
231
227
|
|
|
@@ -320,28 +316,16 @@ export interface ObjectNotInActiveTierError extends __SmithyException, $Metadata
|
|
|
320
316
|
name: "ObjectNotInActiveTierError";
|
|
321
317
|
$fault: "client";
|
|
322
318
|
}
|
|
323
|
-
export declare namespace ObjectNotInActiveTierError {
|
|
324
|
-
|
|
325
|
-
const filterSensitiveLog: (obj: ObjectNotInActiveTierError) => any;
|
|
326
|
-
}
|
|
327
319
|
|
|
328
320
|
export interface BucketAlreadyExists extends __SmithyException, $MetadataBearer {
|
|
329
321
|
name: "BucketAlreadyExists";
|
|
330
322
|
$fault: "client";
|
|
331
323
|
}
|
|
332
|
-
export declare namespace BucketAlreadyExists {
|
|
333
|
-
|
|
334
|
-
const filterSensitiveLog: (obj: BucketAlreadyExists) => any;
|
|
335
|
-
}
|
|
336
324
|
|
|
337
325
|
export interface BucketAlreadyOwnedByYou extends __SmithyException, $MetadataBearer {
|
|
338
326
|
name: "BucketAlreadyOwnedByYou";
|
|
339
327
|
$fault: "client";
|
|
340
328
|
}
|
|
341
|
-
export declare namespace BucketAlreadyOwnedByYou {
|
|
342
|
-
|
|
343
|
-
const filterSensitiveLog: (obj: BucketAlreadyOwnedByYou) => any;
|
|
344
|
-
}
|
|
345
329
|
export interface CreateBucketOutput {
|
|
346
330
|
|
|
347
331
|
Location?: string;
|
|
@@ -361,6 +345,7 @@ export declare namespace CreateBucketConfiguration {
|
|
|
361
345
|
|
|
362
346
|
const filterSensitiveLog: (obj: CreateBucketConfiguration) => any;
|
|
363
347
|
}
|
|
348
|
+
export declare type ObjectOwnership = "BucketOwnerEnforced" | "BucketOwnerPreferred" | "ObjectWriter";
|
|
364
349
|
export interface CreateBucketRequest {
|
|
365
350
|
|
|
366
351
|
ACL?: BucketCannedACL | string;
|
|
@@ -380,6 +365,8 @@ export interface CreateBucketRequest {
|
|
|
380
365
|
GrantWriteACP?: string;
|
|
381
366
|
|
|
382
367
|
ObjectLockEnabledForBucket?: boolean;
|
|
368
|
+
|
|
369
|
+
ObjectOwnership?: ObjectOwnership | string;
|
|
383
370
|
}
|
|
384
371
|
export declare namespace CreateBucketRequest {
|
|
385
372
|
|
|
@@ -1327,7 +1314,7 @@ export declare namespace NoncurrentVersionExpiration {
|
|
|
1327
1314
|
|
|
1328
1315
|
const filterSensitiveLog: (obj: NoncurrentVersionExpiration) => any;
|
|
1329
1316
|
}
|
|
1330
|
-
export declare type TransitionStorageClass = "DEEP_ARCHIVE" | "GLACIER" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "STANDARD_IA";
|
|
1317
|
+
export declare type TransitionStorageClass = "DEEP_ARCHIVE" | "GLACIER" | "GLACIER_IR" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "STANDARD_IA";
|
|
1331
1318
|
|
|
1332
1319
|
export interface NoncurrentVersionTransition {
|
|
1333
1320
|
|
|
@@ -1569,7 +1556,14 @@ export declare namespace GetBucketNotificationConfigurationRequest {
|
|
|
1569
1556
|
|
|
1570
1557
|
const filterSensitiveLog: (obj: GetBucketNotificationConfigurationRequest) => any;
|
|
1571
1558
|
}
|
|
1572
|
-
|
|
1559
|
+
|
|
1560
|
+
export interface EventBridgeConfiguration {
|
|
1561
|
+
}
|
|
1562
|
+
export declare namespace EventBridgeConfiguration {
|
|
1563
|
+
|
|
1564
|
+
const filterSensitiveLog: (obj: EventBridgeConfiguration) => any;
|
|
1565
|
+
}
|
|
1566
|
+
export declare type Event = "s3:IntelligentTiering" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:LifecycleTransition" | "s3:ObjectAcl:Put" | "s3:ObjectCreated:*" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Put" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Completed" | "s3:ObjectRestore:Delete" | "s3:ObjectRestore:Post" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Delete" | "s3:ObjectTagging:Put" | "s3:ReducedRedundancyLostObject" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationReplicatedAfterThreshold";
|
|
1573
1567
|
export declare type FilterRuleName = "prefix" | "suffix";
|
|
1574
1568
|
|
|
1575
1569
|
export interface FilterRule {
|
|
@@ -1653,12 +1647,13 @@ export interface NotificationConfiguration {
|
|
|
1653
1647
|
QueueConfigurations?: QueueConfiguration[];
|
|
1654
1648
|
|
|
1655
1649
|
LambdaFunctionConfigurations?: LambdaFunctionConfiguration[];
|
|
1650
|
+
|
|
1651
|
+
EventBridgeConfiguration?: EventBridgeConfiguration;
|
|
1656
1652
|
}
|
|
1657
1653
|
export declare namespace NotificationConfiguration {
|
|
1658
1654
|
|
|
1659
1655
|
const filterSensitiveLog: (obj: NotificationConfiguration) => any;
|
|
1660
1656
|
}
|
|
1661
|
-
export declare type ObjectOwnership = "BucketOwnerPreferred" | "ObjectWriter";
|
|
1662
1657
|
|
|
1663
1658
|
export interface OwnershipControlsRule {
|
|
1664
1659
|
|
|
@@ -2241,19 +2236,11 @@ export interface InvalidObjectState extends __SmithyException, $MetadataBearer {
|
|
|
2241
2236
|
StorageClass?: StorageClass | string;
|
|
2242
2237
|
AccessTier?: IntelligentTieringAccessTier | string;
|
|
2243
2238
|
}
|
|
2244
|
-
export declare namespace InvalidObjectState {
|
|
2245
|
-
|
|
2246
|
-
const filterSensitiveLog: (obj: InvalidObjectState) => any;
|
|
2247
|
-
}
|
|
2248
2239
|
|
|
2249
2240
|
export interface NoSuchKey extends __SmithyException, $MetadataBearer {
|
|
2250
2241
|
name: "NoSuchKey";
|
|
2251
2242
|
$fault: "client";
|
|
2252
2243
|
}
|
|
2253
|
-
export declare namespace NoSuchKey {
|
|
2254
|
-
|
|
2255
|
-
const filterSensitiveLog: (obj: NoSuchKey) => any;
|
|
2256
|
-
}
|
|
2257
2244
|
export interface GetObjectAclOutput {
|
|
2258
2245
|
|
|
2259
2246
|
Owner?: Owner;
|
|
@@ -2501,10 +2488,6 @@ export interface NotFound extends __SmithyException, $MetadataBearer {
|
|
|
2501
2488
|
name: "NotFound";
|
|
2502
2489
|
$fault: "client";
|
|
2503
2490
|
}
|
|
2504
|
-
export declare namespace NotFound {
|
|
2505
|
-
|
|
2506
|
-
const filterSensitiveLog: (obj: NotFound) => any;
|
|
2507
|
-
}
|
|
2508
2491
|
export declare type ArchiveStatus = "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS";
|
|
2509
2492
|
export interface HeadObjectOutput {
|
|
2510
2493
|
|
|
@@ -2823,7 +2806,7 @@ export declare namespace ListMultipartUploadsRequest {
|
|
|
2823
2806
|
|
|
2824
2807
|
const filterSensitiveLog: (obj: ListMultipartUploadsRequest) => any;
|
|
2825
2808
|
}
|
|
2826
|
-
export declare type ObjectStorageClass = "DEEP_ARCHIVE" | "GLACIER" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "OUTPOSTS" | "REDUCED_REDUNDANCY" | "STANDARD" | "STANDARD_IA";
|
|
2809
|
+
export declare type ObjectStorageClass = "DEEP_ARCHIVE" | "GLACIER" | "GLACIER_IR" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "OUTPOSTS" | "REDUCED_REDUNDANCY" | "STANDARD" | "STANDARD_IA";
|
|
2827
2810
|
|
|
2828
2811
|
export interface _Object {
|
|
2829
2812
|
|
|
@@ -2896,10 +2879,6 @@ export interface NoSuchBucket extends __SmithyException, $MetadataBearer {
|
|
|
2896
2879
|
name: "NoSuchBucket";
|
|
2897
2880
|
$fault: "client";
|
|
2898
2881
|
}
|
|
2899
|
-
export declare namespace NoSuchBucket {
|
|
2900
|
-
|
|
2901
|
-
const filterSensitiveLog: (obj: NoSuchBucket) => any;
|
|
2902
|
-
}
|
|
2903
2882
|
export interface ListObjectsV2Output {
|
|
2904
2883
|
|
|
2905
2884
|
IsTruncated?: boolean;
|
|
@@ -3300,6 +3279,8 @@ export interface PutBucketNotificationConfigurationRequest {
|
|
|
3300
3279
|
NotificationConfiguration: NotificationConfiguration | undefined;
|
|
3301
3280
|
|
|
3302
3281
|
ExpectedBucketOwner?: string;
|
|
3282
|
+
|
|
3283
|
+
SkipDestinationValidation?: boolean;
|
|
3303
3284
|
}
|
|
3304
3285
|
export declare namespace PutBucketNotificationConfigurationRequest {
|
|
3305
3286
|
|
|
@@ -3723,10 +3704,6 @@ export interface ObjectAlreadyInActiveTierError extends __SmithyException, $Meta
|
|
|
3723
3704
|
name: "ObjectAlreadyInActiveTierError";
|
|
3724
3705
|
$fault: "client";
|
|
3725
3706
|
}
|
|
3726
|
-
export declare namespace ObjectAlreadyInActiveTierError {
|
|
3727
|
-
|
|
3728
|
-
const filterSensitiveLog: (obj: ObjectAlreadyInActiveTierError) => any;
|
|
3729
|
-
}
|
|
3730
3707
|
export interface RestoreObjectOutput {
|
|
3731
3708
|
|
|
3732
3709
|
RequestCharged?: RequestCharged | string;
|
|
@@ -3738,12 +3715,3 @@ export declare namespace RestoreObjectOutput {
|
|
|
3738
3715
|
const filterSensitiveLog: (obj: RestoreObjectOutput) => any;
|
|
3739
3716
|
}
|
|
3740
3717
|
export declare type Tier = "Bulk" | "Expedited" | "Standard";
|
|
3741
|
-
|
|
3742
|
-
export interface GlacierJobParameters {
|
|
3743
|
-
|
|
3744
|
-
Tier: Tier | string | undefined;
|
|
3745
|
-
}
|
|
3746
|
-
export declare namespace GlacierJobParameters {
|
|
3747
|
-
|
|
3748
|
-
const filterSensitiveLog: (obj: GlacierJobParameters) => any;
|
|
3749
|
-
}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
import { Readable } from "stream";
|
|
3
|
-
import {
|
|
3
|
+
import { Grant, ObjectCannedACL, ObjectLockLegalHoldStatus, ObjectLockMode, ReplicationStatus, RequestCharged, RequestPayer, ServerSideEncryption, StorageClass, Tagging, Tier } from "./models_0";
|
|
4
|
+
|
|
5
|
+
export interface GlacierJobParameters {
|
|
6
|
+
|
|
7
|
+
Tier: Tier | string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace GlacierJobParameters {
|
|
10
|
+
|
|
11
|
+
const filterSensitiveLog: (obj: GlacierJobParameters) => any;
|
|
12
|
+
}
|
|
4
13
|
|
|
5
14
|
export interface Encryption {
|
|
6
15
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
3
3
|
import { S3ClientConfig } from "./S3Client";
|
|
4
4
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
8
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
9
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
10
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -13,7 +14,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -37,7 +38,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
37
38
|
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
38
39
|
systemClockOffset?: number | undefined;
|
|
39
40
|
signingRegion?: string | undefined;
|
|
40
|
-
signerConstructor:
|
|
41
|
+
signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4;
|
|
41
42
|
bucketEndpoint?: boolean | undefined;
|
|
42
43
|
forcePathStyle?: boolean | undefined;
|
|
43
44
|
useAccelerateEndpoint?: boolean | undefined;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
3
3
|
import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
|
|
4
4
|
import { S3ClientConfig } from "./S3Client";
|
|
5
5
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
md5: __HashConstructor;
|
|
16
17
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
18
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
18
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
19
20
|
sha256: __HashConstructor;
|
|
20
21
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -38,7 +39,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
38
39
|
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
39
40
|
systemClockOffset?: number | undefined;
|
|
40
41
|
signingRegion?: string | undefined;
|
|
41
|
-
signerConstructor:
|
|
42
|
+
signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4;
|
|
42
43
|
bucketEndpoint?: boolean | undefined;
|
|
43
44
|
forcePathStyle?: boolean | undefined;
|
|
44
45
|
useAccelerateEndpoint?: boolean | undefined;
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
29
29
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
30
30
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
31
31
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
32
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
32
33
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
33
34
|
tls?: boolean | undefined;
|
|
34
35
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -36,7 +37,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
36
37
|
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
37
38
|
systemClockOffset?: number | undefined;
|
|
38
39
|
signingRegion?: string | undefined;
|
|
39
|
-
signerConstructor:
|
|
40
|
+
signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4;
|
|
40
41
|
bucketEndpoint?: boolean | undefined;
|
|
41
42
|
forcePathStyle?: boolean | undefined;
|
|
42
43
|
useAccelerateEndpoint?: boolean | undefined;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
8
8
|
logger: __Logger;
|
|
9
9
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
10
10
|
serviceId: string;
|
|
11
|
-
signerConstructor:
|
|
11
|
+
signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof S3SignatureV4;
|
|
12
12
|
signingEscapePath: boolean;
|
|
13
13
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
14
14
|
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*",
|
|
15
13
|
"test": "yarn test:unit",
|
|
16
14
|
"test:e2e": "ts-mocha test/**/*.ispec.ts && karma start karma.conf.js",
|
|
17
15
|
"test:unit": "ts-mocha test/**/*.spec.ts"
|
|
@@ -23,66 +21,62 @@
|
|
|
23
21
|
"dependencies": {
|
|
24
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
25
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/config-resolver": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
29
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
30
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
32
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
33
|
-
"@aws-sdk/hash-blob-browser": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/hash-stream-node": "3.
|
|
36
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
37
|
-
"@aws-sdk/md5-js": "3.
|
|
38
|
-
"@aws-sdk/middleware-apply-body-checksum": "3.
|
|
39
|
-
"@aws-sdk/middleware-bucket-endpoint": "3.
|
|
40
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
41
|
-
"@aws-sdk/middleware-expect-continue": "3.
|
|
42
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
43
|
-
"@aws-sdk/middleware-location-constraint": "3.
|
|
44
|
-
"@aws-sdk/middleware-logger": "3.
|
|
45
|
-
"@aws-sdk/middleware-retry": "3.
|
|
46
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
47
|
-
"@aws-sdk/middleware-serde": "3.
|
|
48
|
-
"@aws-sdk/middleware-signing": "3.
|
|
49
|
-
"@aws-sdk/middleware-ssec": "3.
|
|
50
|
-
"@aws-sdk/middleware-stack": "3.
|
|
51
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
52
|
-
"@aws-sdk/node-config-provider": "3.
|
|
53
|
-
"@aws-sdk/node-http-handler": "3.
|
|
54
|
-
"@aws-sdk/protocol-http": "3.
|
|
55
|
-
"@aws-sdk/smithy-client": "3.
|
|
56
|
-
"@aws-sdk/types": "3.
|
|
57
|
-
"@aws-sdk/url-parser": "3.
|
|
58
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
59
|
-
"@aws-sdk/util-base64-node": "3.
|
|
60
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
61
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
62
|
-
"@aws-sdk/util-
|
|
63
|
-
"@aws-sdk/util-
|
|
64
|
-
"@aws-sdk/util-
|
|
65
|
-
"@aws-sdk/util-
|
|
66
|
-
"@aws-sdk/util-
|
|
67
|
-
"@aws-sdk/
|
|
24
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
27
|
+
"@aws-sdk/eventstream-serde-browser": "3.47.0",
|
|
28
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.47.0",
|
|
29
|
+
"@aws-sdk/eventstream-serde-node": "3.47.0",
|
|
30
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
31
|
+
"@aws-sdk/hash-blob-browser": "3.47.0",
|
|
32
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
33
|
+
"@aws-sdk/hash-stream-node": "3.47.0",
|
|
34
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
35
|
+
"@aws-sdk/md5-js": "3.47.0",
|
|
36
|
+
"@aws-sdk/middleware-apply-body-checksum": "3.47.0",
|
|
37
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.47.0",
|
|
38
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
39
|
+
"@aws-sdk/middleware-expect-continue": "3.47.0",
|
|
40
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
41
|
+
"@aws-sdk/middleware-location-constraint": "3.47.0",
|
|
42
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
43
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
44
|
+
"@aws-sdk/middleware-sdk-s3": "3.47.0",
|
|
45
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
46
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
47
|
+
"@aws-sdk/middleware-ssec": "3.47.0",
|
|
48
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
49
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
50
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
51
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
52
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
53
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
54
|
+
"@aws-sdk/types": "3.47.0",
|
|
55
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
56
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
57
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
58
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
59
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
60
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
61
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
62
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
63
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
64
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
65
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
66
|
+
"@aws-sdk/util-waiter": "3.47.0",
|
|
67
|
+
"@aws-sdk/xml-builder": "3.47.0",
|
|
68
68
|
"entities": "2.2.0",
|
|
69
69
|
"fast-xml-parser": "3.19.0",
|
|
70
70
|
"tslib": "^2.3.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
73
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
74
74
|
"@types/chai": "^4.2.11",
|
|
75
75
|
"@types/mocha": "^8.0.4",
|
|
76
|
-
"@types/node": "^12.7.5"
|
|
77
|
-
"downlevel-dts": "0.7.0",
|
|
78
|
-
"jest": "^26.1.0",
|
|
79
|
-
"rimraf": "^3.0.0",
|
|
80
|
-
"ts-jest": "^26.4.1",
|
|
81
|
-
"typedoc": "^0.19.2",
|
|
82
|
-
"typescript": "~4.3.5"
|
|
76
|
+
"@types/node": "^12.7.5"
|
|
83
77
|
},
|
|
84
78
|
"engines": {
|
|
85
|
-
"node": ">=
|
|
79
|
+
"node": ">=12.0.0"
|
|
86
80
|
},
|
|
87
81
|
"typesVersions": {
|
|
88
82
|
"<4.0": {
|