@aws-sdk/client-s3 3.828.0 → 3.832.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/index.js +140 -24
- package/dist-cjs/runtimeConfig.shared.js +1 -1
- package/dist-es/S3.js +2 -0
- package/dist-es/commands/RenameObjectCommand.js +28 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/protocols/Aws_restXml.js +88 -16
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-types/S3.d.ts +7 -0
- package/dist-types/S3Client.d.ts +5 -4
- package/dist-types/commands/CopyObjectCommand.d.ts +9 -1
- package/dist-types/commands/CreateBucketCommand.d.ts +16 -1
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +9 -1
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketAclCommand.d.ts +8 -1
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +8 -1
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +12 -0
- package/dist-types/commands/HeadObjectCommand.d.ts +1 -0
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/ListBucketsCommand.d.ts +8 -1
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +8 -1
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +8 -1
- package/dist-types/commands/ListObjectsCommand.d.ts +8 -1
- package/dist-types/commands/ListPartsCommand.d.ts +8 -1
- package/dist-types/commands/PutBucketAclCommand.d.ts +13 -2
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +13 -2
- package/dist-types/commands/PutObjectAclCommand.d.ts +4 -1
- package/dist-types/commands/PutObjectCommand.d.ts +9 -1
- package/dist-types/commands/RenameObjectCommand.d.ts +142 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +26 -26
- package/dist-types/models/models_0.d.ts +41 -9
- package/dist-types/models/models_1.d.ts +123 -0
- package/dist-types/protocols/Aws_restXml.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +8 -8
- package/dist-types/runtimeConfig.d.ts +6 -6
- package/dist-types/runtimeConfig.native.d.ts +8 -8
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/S3.d.ts +17 -0
- package/dist-types/ts3.4/S3Client.d.ts +7 -1
- package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -26
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +23 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +20 -8
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -6
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -1
- package/package.json +6 -4
|
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
17
17
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
21
|
-
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
20
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
34
34
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
35
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
36
36
|
signingEscapePath: boolean;
|
|
37
|
-
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
37
|
+
useArnRegion: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
38
38
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
39
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
40
40
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -57,12 +57,12 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
57
57
|
signingRegion?: string;
|
|
58
58
|
signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
59
59
|
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
60
|
-
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
61
|
-
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
62
|
-
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
60
|
+
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean | undefined>)) | undefined;
|
|
61
|
+
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean | undefined>)) | undefined;
|
|
62
|
+
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean | undefined>)) | undefined;
|
|
63
63
|
followRegionRedirects?: boolean;
|
|
64
64
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
65
65
|
bucketEndpoint?: boolean;
|
|
66
|
-
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
|
|
67
|
-
disableS3ExpressSessionAuth?: boolean | import("@smithy/types").Provider<boolean>;
|
|
66
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
67
|
+
disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
68
68
|
};
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
21
21
|
signerConstructor: typeof SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
22
22
|
signingEscapePath: boolean;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
|
-
useArnRegion: boolean | import("@smithy/types").Provider<boolean
|
|
24
|
+
useArnRegion: boolean | import("@smithy/types").Provider<boolean | undefined> | undefined;
|
|
25
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
26
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
27
27
|
};
|
package/dist-types/ts3.4/S3.d.ts
CHANGED
|
@@ -371,6 +371,10 @@ import {
|
|
|
371
371
|
PutPublicAccessBlockCommandInput,
|
|
372
372
|
PutPublicAccessBlockCommandOutput,
|
|
373
373
|
} from "./commands/PutPublicAccessBlockCommand";
|
|
374
|
+
import {
|
|
375
|
+
RenameObjectCommandInput,
|
|
376
|
+
RenameObjectCommandOutput,
|
|
377
|
+
} from "./commands/RenameObjectCommand";
|
|
374
378
|
import {
|
|
375
379
|
RestoreObjectCommandInput,
|
|
376
380
|
RestoreObjectCommandOutput,
|
|
@@ -1682,6 +1686,19 @@ export interface S3 {
|
|
|
1682
1686
|
options: __HttpHandlerOptions,
|
|
1683
1687
|
cb: (err: any, data?: PutPublicAccessBlockCommandOutput) => void
|
|
1684
1688
|
): void;
|
|
1689
|
+
renameObject(
|
|
1690
|
+
args: RenameObjectCommandInput,
|
|
1691
|
+
options?: __HttpHandlerOptions
|
|
1692
|
+
): Promise<RenameObjectCommandOutput>;
|
|
1693
|
+
renameObject(
|
|
1694
|
+
args: RenameObjectCommandInput,
|
|
1695
|
+
cb: (err: any, data?: RenameObjectCommandOutput) => void
|
|
1696
|
+
): void;
|
|
1697
|
+
renameObject(
|
|
1698
|
+
args: RenameObjectCommandInput,
|
|
1699
|
+
options: __HttpHandlerOptions,
|
|
1700
|
+
cb: (err: any, data?: RenameObjectCommandOutput) => void
|
|
1701
|
+
): void;
|
|
1685
1702
|
restoreObject(
|
|
1686
1703
|
args: RestoreObjectCommandInput,
|
|
1687
1704
|
options?: __HttpHandlerOptions
|
|
@@ -431,6 +431,10 @@ import {
|
|
|
431
431
|
PutPublicAccessBlockCommandInput,
|
|
432
432
|
PutPublicAccessBlockCommandOutput,
|
|
433
433
|
} from "./commands/PutPublicAccessBlockCommand";
|
|
434
|
+
import {
|
|
435
|
+
RenameObjectCommandInput,
|
|
436
|
+
RenameObjectCommandOutput,
|
|
437
|
+
} from "./commands/RenameObjectCommand";
|
|
434
438
|
import {
|
|
435
439
|
RestoreObjectCommandInput,
|
|
436
440
|
RestoreObjectCommandOutput,
|
|
@@ -552,6 +556,7 @@ export type ServiceInputTypes =
|
|
|
552
556
|
| PutObjectRetentionCommandInput
|
|
553
557
|
| PutObjectTaggingCommandInput
|
|
554
558
|
| PutPublicAccessBlockCommandInput
|
|
559
|
+
| RenameObjectCommandInput
|
|
555
560
|
| RestoreObjectCommandInput
|
|
556
561
|
| SelectObjectContentCommandInput
|
|
557
562
|
| UploadPartCommandInput
|
|
@@ -651,6 +656,7 @@ export type ServiceOutputTypes =
|
|
|
651
656
|
| PutObjectRetentionCommandOutput
|
|
652
657
|
| PutObjectTaggingCommandOutput
|
|
653
658
|
| PutPublicAccessBlockCommandOutput
|
|
659
|
+
| RenameObjectCommandOutput
|
|
654
660
|
| RestoreObjectCommandOutput
|
|
655
661
|
| SelectObjectContentCommandOutput
|
|
656
662
|
| UploadPartCommandOutput
|
|
@@ -687,7 +693,7 @@ export interface ClientDefaults
|
|
|
687
693
|
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
688
694
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
689
695
|
signingEscapePath?: boolean;
|
|
690
|
-
useArnRegion?: boolean | Provider<boolean>;
|
|
696
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
691
697
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
692
698
|
}
|
|
693
699
|
export type S3ClientConfigType = Partial<
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { RenameObjectOutput, RenameObjectRequest } from "../models/models_1";
|
|
4
|
+
import {
|
|
5
|
+
S3ClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../S3Client";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface RenameObjectCommandInput extends RenameObjectRequest {}
|
|
12
|
+
export interface RenameObjectCommandOutput
|
|
13
|
+
extends RenameObjectOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const RenameObjectCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: RenameObjectCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
RenameObjectCommandInput,
|
|
20
|
+
RenameObjectCommandOutput,
|
|
21
|
+
S3ClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: RenameObjectCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
RenameObjectCommandInput,
|
|
29
|
+
RenameObjectCommandOutput,
|
|
30
|
+
S3ClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class RenameObjectCommand extends RenameObjectCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: RenameObjectRequest;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: RenameObjectCommandInput;
|
|
44
|
+
output: RenameObjectCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -91,6 +91,7 @@ export * from "./PutObjectLockConfigurationCommand";
|
|
|
91
91
|
export * from "./PutObjectRetentionCommand";
|
|
92
92
|
export * from "./PutObjectTaggingCommand";
|
|
93
93
|
export * from "./PutPublicAccessBlockCommand";
|
|
94
|
+
export * from "./RenameObjectCommand";
|
|
94
95
|
export * from "./RestoreObjectCommand";
|
|
95
96
|
export * from "./SelectObjectContentCommand";
|
|
96
97
|
export * from "./UploadPartCommand";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
Provider,
|
|
6
6
|
} from "@smithy/types";
|
|
7
7
|
export interface ClientInputEndpointParameters {
|
|
8
|
-
region?: string | Provider<string>;
|
|
9
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
10
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
11
|
endpoint?:
|
|
12
12
|
| string
|
|
13
13
|
| Provider<string>
|
|
@@ -15,12 +15,18 @@ export interface ClientInputEndpointParameters {
|
|
|
15
15
|
| Provider<Endpoint>
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
|
-
forcePathStyle?: boolean | Provider<boolean>;
|
|
19
|
-
useAccelerateEndpoint?: boolean | Provider<boolean>;
|
|
20
|
-
useGlobalEndpoint?: boolean | Provider<boolean>;
|
|
21
|
-
disableMultiregionAccessPoints?:
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
forcePathStyle?: boolean | undefined | Provider<boolean | undefined>;
|
|
19
|
+
useAccelerateEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
20
|
+
useGlobalEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
21
|
+
disableMultiregionAccessPoints?:
|
|
22
|
+
| boolean
|
|
23
|
+
| undefined
|
|
24
|
+
| Provider<boolean | undefined>;
|
|
25
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
26
|
+
disableS3ExpressSessionAuth?:
|
|
27
|
+
| boolean
|
|
28
|
+
| undefined
|
|
29
|
+
| Provider<boolean | undefined>;
|
|
24
30
|
}
|
|
25
31
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
26
32
|
defaultSigningName: string;
|
|
@@ -71,21 +77,21 @@ export declare const commonParams: {
|
|
|
71
77
|
};
|
|
72
78
|
};
|
|
73
79
|
export interface EndpointParameters extends __EndpointParameters {
|
|
74
|
-
Bucket?: string;
|
|
75
|
-
Region?: string;
|
|
76
|
-
UseFIPS?: boolean;
|
|
77
|
-
UseDualStack?: boolean;
|
|
78
|
-
Endpoint?: string;
|
|
79
|
-
ForcePathStyle?: boolean;
|
|
80
|
-
Accelerate?: boolean;
|
|
81
|
-
UseGlobalEndpoint?: boolean;
|
|
82
|
-
UseObjectLambdaEndpoint?: boolean;
|
|
83
|
-
Key?: string;
|
|
84
|
-
Prefix?: string;
|
|
85
|
-
CopySource?: string;
|
|
86
|
-
DisableAccessPoints?: boolean;
|
|
87
|
-
DisableMultiRegionAccessPoints?: boolean;
|
|
88
|
-
UseArnRegion?: boolean;
|
|
89
|
-
UseS3ExpressControlEndpoint?: boolean;
|
|
90
|
-
DisableS3ExpressSessionAuth?: boolean;
|
|
80
|
+
Bucket?: string | undefined;
|
|
81
|
+
Region?: string | undefined;
|
|
82
|
+
UseFIPS?: boolean | undefined;
|
|
83
|
+
UseDualStack?: boolean | undefined;
|
|
84
|
+
Endpoint?: string | undefined;
|
|
85
|
+
ForcePathStyle?: boolean | undefined;
|
|
86
|
+
Accelerate?: boolean | undefined;
|
|
87
|
+
UseGlobalEndpoint?: boolean | undefined;
|
|
88
|
+
UseObjectLambdaEndpoint?: boolean | undefined;
|
|
89
|
+
Key?: string | undefined;
|
|
90
|
+
Prefix?: string | undefined;
|
|
91
|
+
CopySource?: string | undefined;
|
|
92
|
+
DisableAccessPoints?: boolean | undefined;
|
|
93
|
+
DisableMultiRegionAccessPoints?: boolean | undefined;
|
|
94
|
+
UseArnRegion?: boolean | undefined;
|
|
95
|
+
UseS3ExpressControlEndpoint?: boolean | undefined;
|
|
96
|
+
DisableS3ExpressSessionAuth?: boolean | undefined;
|
|
91
97
|
}
|
|
@@ -494,6 +494,7 @@ export interface DeleteBucketEncryptionRequest {
|
|
|
494
494
|
export interface DeleteBucketIntelligentTieringConfigurationRequest {
|
|
495
495
|
Bucket: string | undefined;
|
|
496
496
|
Id: string | undefined;
|
|
497
|
+
ExpectedBucketOwner?: string | undefined;
|
|
497
498
|
}
|
|
498
499
|
export interface DeleteBucketInventoryConfigurationRequest {
|
|
499
500
|
Bucket: string | undefined;
|
|
@@ -776,6 +777,7 @@ export interface GetBucketIntelligentTieringConfigurationOutput {
|
|
|
776
777
|
export interface GetBucketIntelligentTieringConfigurationRequest {
|
|
777
778
|
Bucket: string | undefined;
|
|
778
779
|
Id: string | undefined;
|
|
780
|
+
ExpectedBucketOwner?: string | undefined;
|
|
779
781
|
}
|
|
780
782
|
export interface SSEKMS {
|
|
781
783
|
KeyId: string | undefined;
|
|
@@ -1674,6 +1676,7 @@ export interface HeadObjectOutput {
|
|
|
1674
1676
|
RequestCharged?: RequestCharged | undefined;
|
|
1675
1677
|
ReplicationStatus?: ReplicationStatus | undefined;
|
|
1676
1678
|
PartsCount?: number | undefined;
|
|
1679
|
+
TagCount?: number | undefined;
|
|
1677
1680
|
ObjectLockMode?: ObjectLockMode | undefined;
|
|
1678
1681
|
ObjectLockRetainUntilDate?: Date | undefined;
|
|
1679
1682
|
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
|
|
@@ -1723,6 +1726,7 @@ export interface ListBucketIntelligentTieringConfigurationsOutput {
|
|
|
1723
1726
|
export interface ListBucketIntelligentTieringConfigurationsRequest {
|
|
1724
1727
|
Bucket: string | undefined;
|
|
1725
1728
|
ContinuationToken?: string | undefined;
|
|
1729
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1726
1730
|
}
|
|
1727
1731
|
export interface ListBucketInventoryConfigurationsOutput {
|
|
1728
1732
|
ContinuationToken?: string | undefined;
|
|
@@ -59,6 +59,7 @@ export interface PutBucketEncryptionRequest {
|
|
|
59
59
|
export interface PutBucketIntelligentTieringConfigurationRequest {
|
|
60
60
|
Bucket: string | undefined;
|
|
61
61
|
Id: string | undefined;
|
|
62
|
+
ExpectedBucketOwner?: string | undefined;
|
|
62
63
|
IntelligentTieringConfiguration: IntelligentTieringConfiguration | undefined;
|
|
63
64
|
}
|
|
64
65
|
export interface PutBucketInventoryConfigurationRequest {
|
|
@@ -341,6 +342,28 @@ export interface PutPublicAccessBlockRequest {
|
|
|
341
342
|
PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
|
|
342
343
|
ExpectedBucketOwner?: string | undefined;
|
|
343
344
|
}
|
|
345
|
+
export declare class IdempotencyParameterMismatch extends __BaseException {
|
|
346
|
+
readonly name: "IdempotencyParameterMismatch";
|
|
347
|
+
readonly $fault: "client";
|
|
348
|
+
constructor(
|
|
349
|
+
opts: __ExceptionOptionType<IdempotencyParameterMismatch, __BaseException>
|
|
350
|
+
);
|
|
351
|
+
}
|
|
352
|
+
export interface RenameObjectOutput {}
|
|
353
|
+
export interface RenameObjectRequest {
|
|
354
|
+
Bucket: string | undefined;
|
|
355
|
+
Key: string | undefined;
|
|
356
|
+
RenameSource: string | undefined;
|
|
357
|
+
DestinationIfMatch?: string | undefined;
|
|
358
|
+
DestinationIfNoneMatch?: string | undefined;
|
|
359
|
+
DestinationIfModifiedSince?: Date | undefined;
|
|
360
|
+
DestinationIfUnmodifiedSince?: Date | undefined;
|
|
361
|
+
SourceIfMatch?: string | undefined;
|
|
362
|
+
SourceIfNoneMatch?: string | undefined;
|
|
363
|
+
SourceIfModifiedSince?: Date | undefined;
|
|
364
|
+
SourceIfUnmodifiedSince?: Date | undefined;
|
|
365
|
+
ClientToken?: string | undefined;
|
|
366
|
+
}
|
|
344
367
|
export declare class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
345
368
|
readonly name: "ObjectAlreadyInActiveTierError";
|
|
346
369
|
readonly $fault: "client";
|
|
@@ -379,6 +379,10 @@ import {
|
|
|
379
379
|
PutPublicAccessBlockCommandInput,
|
|
380
380
|
PutPublicAccessBlockCommandOutput,
|
|
381
381
|
} from "../commands/PutPublicAccessBlockCommand";
|
|
382
|
+
import {
|
|
383
|
+
RenameObjectCommandInput,
|
|
384
|
+
RenameObjectCommandOutput,
|
|
385
|
+
} from "../commands/RenameObjectCommand";
|
|
382
386
|
import {
|
|
383
387
|
RestoreObjectCommandInput,
|
|
384
388
|
RestoreObjectCommandOutput,
|
|
@@ -771,6 +775,10 @@ export declare const se_PutPublicAccessBlockCommand: (
|
|
|
771
775
|
input: PutPublicAccessBlockCommandInput,
|
|
772
776
|
context: __SerdeContext
|
|
773
777
|
) => Promise<__HttpRequest>;
|
|
778
|
+
export declare const se_RenameObjectCommand: (
|
|
779
|
+
input: RenameObjectCommandInput,
|
|
780
|
+
context: __SerdeContext
|
|
781
|
+
) => Promise<__HttpRequest>;
|
|
774
782
|
export declare const se_RestoreObjectCommand: (
|
|
775
783
|
input: RestoreObjectCommandInput,
|
|
776
784
|
context: __SerdeContext
|
|
@@ -1163,6 +1171,10 @@ export declare const de_PutPublicAccessBlockCommand: (
|
|
|
1163
1171
|
output: __HttpResponse,
|
|
1164
1172
|
context: __SerdeContext
|
|
1165
1173
|
) => Promise<PutPublicAccessBlockCommandOutput>;
|
|
1174
|
+
export declare const de_RenameObjectCommand: (
|
|
1175
|
+
output: __HttpResponse,
|
|
1176
|
+
context: __SerdeContext
|
|
1177
|
+
) => Promise<RenameObjectCommandOutput>;
|
|
1166
1178
|
export declare const de_RestoreObjectCommand: (
|
|
1167
1179
|
output: __HttpResponse,
|
|
1168
1180
|
context: __SerdeContext
|
|
@@ -28,8 +28,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
28
28
|
streamHasher:
|
|
29
29
|
| import("@smithy/types").StreamHasher<import("stream").Readable>
|
|
30
30
|
| import("@smithy/types").StreamHasher<Blob>;
|
|
31
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
32
|
-
|
|
31
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
32
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
33
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
34
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
33
35
|
apiVersion: string;
|
|
34
36
|
cacheMiddleware?: boolean | undefined;
|
|
35
37
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -48,7 +50,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
48
50
|
logger: import("@smithy/types").Logger;
|
|
49
51
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
50
52
|
signingEscapePath: boolean;
|
|
51
|
-
useArnRegion:
|
|
53
|
+
useArnRegion:
|
|
54
|
+
| boolean
|
|
55
|
+
| undefined
|
|
56
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
52
57
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
53
58
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
54
59
|
userAgentAppId?:
|
|
@@ -118,19 +123,26 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
118
123
|
| undefined
|
|
119
124
|
| import("@smithy/types").Provider<string[] | undefined>;
|
|
120
125
|
forcePathStyle?:
|
|
121
|
-
| (boolean &
|
|
126
|
+
| (boolean &
|
|
127
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
122
128
|
| undefined;
|
|
123
129
|
useAccelerateEndpoint?:
|
|
124
|
-
| (boolean &
|
|
130
|
+
| (boolean &
|
|
131
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
125
132
|
| undefined;
|
|
126
133
|
disableMultiregionAccessPoints?:
|
|
127
|
-
| (boolean &
|
|
134
|
+
| (boolean &
|
|
135
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
128
136
|
| undefined;
|
|
129
137
|
followRegionRedirects?: boolean;
|
|
130
138
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
131
139
|
bucketEndpoint?: boolean;
|
|
132
|
-
useGlobalEndpoint?:
|
|
140
|
+
useGlobalEndpoint?:
|
|
141
|
+
| boolean
|
|
142
|
+
| undefined
|
|
143
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
133
144
|
disableS3ExpressSessionAuth?:
|
|
134
145
|
| boolean
|
|
135
|
-
|
|
|
146
|
+
| undefined
|
|
147
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
136
148
|
};
|
|
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
20
20
|
) => Promise<import("@aws-sdk/types").UserAgent>;
|
|
21
21
|
disableS3ExpressSessionAuth:
|
|
22
22
|
| boolean
|
|
23
|
-
| import("@aws-sdk/types").Provider<boolean>;
|
|
23
|
+
| import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
24
24
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
25
25
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
26
26
|
md5: __HashConstructor;
|
|
@@ -48,7 +48,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
48
48
|
streamHasher:
|
|
49
49
|
| import("@aws-sdk/types").StreamHasher<import("stream").Readable>
|
|
50
50
|
| import("@aws-sdk/types").StreamHasher<Blob>;
|
|
51
|
-
useArnRegion:
|
|
51
|
+
useArnRegion:
|
|
52
|
+
| boolean
|
|
53
|
+
| import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
52
54
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
53
55
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
54
56
|
userAgentAppId:
|
|
@@ -124,16 +126,22 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
124
126
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
125
127
|
) => import("@aws-sdk/types").RequestSigner);
|
|
126
128
|
forcePathStyle?:
|
|
127
|
-
| (boolean &
|
|
129
|
+
| (boolean &
|
|
130
|
+
(boolean | import("@aws-sdk/types").Provider<boolean | undefined>))
|
|
128
131
|
| undefined;
|
|
129
132
|
useAccelerateEndpoint?:
|
|
130
|
-
| (boolean &
|
|
133
|
+
| (boolean &
|
|
134
|
+
(boolean | import("@aws-sdk/types").Provider<boolean | undefined>))
|
|
131
135
|
| undefined;
|
|
132
136
|
disableMultiregionAccessPoints?:
|
|
133
|
-
| (boolean &
|
|
137
|
+
| (boolean &
|
|
138
|
+
(boolean | import("@aws-sdk/types").Provider<boolean | undefined>))
|
|
134
139
|
| undefined;
|
|
135
140
|
followRegionRedirects?: boolean;
|
|
136
141
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
137
142
|
bucketEndpoint?: boolean;
|
|
138
|
-
useGlobalEndpoint?:
|
|
143
|
+
useGlobalEndpoint?:
|
|
144
|
+
| boolean
|
|
145
|
+
| undefined
|
|
146
|
+
| import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
139
147
|
};
|
|
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
19
19
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
20
20
|
disableHostPrefix: boolean;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
23
|
-
|
|
22
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
23
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
25
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
26
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
27
|
profile?: string;
|
|
26
28
|
defaultUserAgentProvider: (
|
|
@@ -52,7 +54,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
52
54
|
import("@smithy/smithy-client").DefaultsMode
|
|
53
55
|
>;
|
|
54
56
|
signingEscapePath: boolean;
|
|
55
|
-
useArnRegion:
|
|
57
|
+
useArnRegion:
|
|
58
|
+
| boolean
|
|
59
|
+
| undefined
|
|
60
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
56
61
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
57
62
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
63
|
userAgentAppId?:
|
|
@@ -122,19 +127,26 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
122
127
|
| undefined
|
|
123
128
|
| import("@smithy/types").Provider<string[] | undefined>;
|
|
124
129
|
forcePathStyle?:
|
|
125
|
-
| (boolean &
|
|
130
|
+
| (boolean &
|
|
131
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
126
132
|
| undefined;
|
|
127
133
|
useAccelerateEndpoint?:
|
|
128
|
-
| (boolean &
|
|
134
|
+
| (boolean &
|
|
135
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
129
136
|
| undefined;
|
|
130
137
|
disableMultiregionAccessPoints?:
|
|
131
|
-
| (boolean &
|
|
138
|
+
| (boolean &
|
|
139
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
132
140
|
| undefined;
|
|
133
141
|
followRegionRedirects?: boolean;
|
|
134
142
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
135
143
|
bucketEndpoint?: boolean;
|
|
136
|
-
useGlobalEndpoint?:
|
|
144
|
+
useGlobalEndpoint?:
|
|
145
|
+
| boolean
|
|
146
|
+
| undefined
|
|
147
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
137
148
|
disableS3ExpressSessionAuth?:
|
|
138
149
|
| boolean
|
|
139
|
-
|
|
|
150
|
+
| undefined
|
|
151
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
140
152
|
};
|
|
@@ -30,7 +30,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
30
30
|
) => import("@smithy/types").RequestSigner);
|
|
31
31
|
signingEscapePath: boolean;
|
|
32
32
|
urlParser: import("@smithy/types").UrlParser;
|
|
33
|
-
useArnRegion:
|
|
33
|
+
useArnRegion:
|
|
34
|
+
| boolean
|
|
35
|
+
| import("@smithy/types").Provider<boolean | undefined>
|
|
36
|
+
| undefined;
|
|
34
37
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
38
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
36
39
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.832.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",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
32
|
"@aws-sdk/core": "3.826.0",
|
|
33
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
34
|
-
"@aws-sdk/middleware-bucket-endpoint": "3.
|
|
33
|
+
"@aws-sdk/credential-provider-node": "3.830.0",
|
|
34
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.830.0",
|
|
35
35
|
"@aws-sdk/middleware-expect-continue": "3.821.0",
|
|
36
36
|
"@aws-sdk/middleware-flexible-checksums": "3.826.0",
|
|
37
37
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
@@ -81,7 +81,9 @@
|
|
|
81
81
|
"@smithy/util-stream": "^4.2.2",
|
|
82
82
|
"@smithy/util-utf8": "^4.0.0",
|
|
83
83
|
"@smithy/util-waiter": "^4.0.5",
|
|
84
|
-
"
|
|
84
|
+
"@types/uuid": "^9.0.1",
|
|
85
|
+
"tslib": "^2.6.2",
|
|
86
|
+
"uuid": "^9.0.1"
|
|
85
87
|
},
|
|
86
88
|
"devDependencies": {
|
|
87
89
|
"@aws-sdk/signature-v4-crt": "3.828.0",
|