@aws-sdk/client-s3 3.454.0 → 3.458.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 +93 -93
- package/dist-cjs/commands/AbortMultipartUploadCommand.js +1 -0
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +1 -0
- package/dist-cjs/commands/CreateMultipartUploadCommand.js +1 -0
- package/dist-cjs/commands/DeleteObjectCommand.js +1 -0
- package/dist-cjs/commands/GetObjectAclCommand.js +1 -0
- package/dist-cjs/commands/GetObjectCommand.js +1 -0
- package/dist-cjs/commands/HeadObjectCommand.js +1 -0
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +1 -0
- package/dist-cjs/commands/ListObjectVersionsCommand.js +1 -0
- package/dist-cjs/commands/ListObjectsCommand.js +1 -0
- package/dist-cjs/commands/ListObjectsV2Command.js +1 -0
- package/dist-cjs/commands/ListPartsCommand.js +1 -0
- package/dist-cjs/commands/PutObjectAclCommand.js +1 -0
- package/dist-cjs/commands/PutObjectCommand.js +1 -0
- package/dist-cjs/commands/UploadPartCommand.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +6 -2
- package/dist-cjs/protocols/Aws_restXml.js +52 -0
- package/dist-es/commands/AbortMultipartUploadCommand.js +1 -0
- package/dist-es/commands/CompleteMultipartUploadCommand.js +1 -0
- package/dist-es/commands/CreateMultipartUploadCommand.js +1 -0
- package/dist-es/commands/DeleteObjectCommand.js +1 -0
- package/dist-es/commands/GetObjectAclCommand.js +1 -0
- package/dist-es/commands/GetObjectCommand.js +1 -0
- package/dist-es/commands/HeadObjectCommand.js +1 -0
- package/dist-es/commands/ListMultipartUploadsCommand.js +1 -0
- package/dist-es/commands/ListObjectVersionsCommand.js +1 -0
- package/dist-es/commands/ListObjectsCommand.js +1 -0
- package/dist-es/commands/ListObjectsV2Command.js +1 -0
- package/dist-es/commands/ListPartsCommand.js +1 -0
- package/dist-es/commands/PutObjectAclCommand.js +1 -0
- package/dist-es/commands/PutObjectCommand.js +1 -0
- package/dist-es/commands/UploadPartCommand.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restXml.js +52 -0
- package/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -0
- package/dist-types/commands/GetObjectCommand.d.ts +5 -4
- package/dist-types/commands/HeadObjectCommand.d.ts +14 -3
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +0 -1
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +6 -0
- package/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectCommand.d.ts +41 -41
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +77 -204
- package/dist-types/models/models_1.d.ts +189 -1
- package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -32
- package/dist-types/ts3.4/models/models_1.d.ts +34 -0
- package/package.json +3 -3
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
|
+
AccessControlPolicy,
|
|
4
5
|
ChecksumAlgorithm,
|
|
5
6
|
Grant,
|
|
6
7
|
ObjectCannedACL,
|
|
7
8
|
ObjectLockConfiguration,
|
|
9
|
+
ObjectLockLegalHold,
|
|
8
10
|
ObjectLockLegalHoldStatus,
|
|
9
11
|
ObjectLockMode,
|
|
10
12
|
ObjectLockRetention,
|
|
@@ -17,6 +19,38 @@ import {
|
|
|
17
19
|
Tagging,
|
|
18
20
|
} from "./models_0";
|
|
19
21
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
22
|
+
export interface PutObjectAclOutput {
|
|
23
|
+
RequestCharged?: RequestCharged;
|
|
24
|
+
}
|
|
25
|
+
export interface PutObjectAclRequest {
|
|
26
|
+
ACL?: ObjectCannedACL;
|
|
27
|
+
AccessControlPolicy?: AccessControlPolicy;
|
|
28
|
+
Bucket: string | undefined;
|
|
29
|
+
ContentMD5?: string;
|
|
30
|
+
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
31
|
+
GrantFullControl?: string;
|
|
32
|
+
GrantRead?: string;
|
|
33
|
+
GrantReadACP?: string;
|
|
34
|
+
GrantWrite?: string;
|
|
35
|
+
GrantWriteACP?: string;
|
|
36
|
+
Key: string | undefined;
|
|
37
|
+
RequestPayer?: RequestPayer;
|
|
38
|
+
VersionId?: string;
|
|
39
|
+
ExpectedBucketOwner?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface PutObjectLegalHoldOutput {
|
|
42
|
+
RequestCharged?: RequestCharged;
|
|
43
|
+
}
|
|
44
|
+
export interface PutObjectLegalHoldRequest {
|
|
45
|
+
Bucket: string | undefined;
|
|
46
|
+
Key: string | undefined;
|
|
47
|
+
LegalHold?: ObjectLockLegalHold;
|
|
48
|
+
RequestPayer?: RequestPayer;
|
|
49
|
+
VersionId?: string;
|
|
50
|
+
ContentMD5?: string;
|
|
51
|
+
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
52
|
+
ExpectedBucketOwner?: string;
|
|
53
|
+
}
|
|
20
54
|
export interface PutObjectLockConfigurationOutput {
|
|
21
55
|
RequestCharged?: RequestCharged;
|
|
22
56
|
}
|
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.458.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@aws-crypto/sha1-browser": "3.0.0",
|
|
28
28
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.458.0",
|
|
31
31
|
"@aws-sdk/core": "3.451.0",
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.458.0",
|
|
33
33
|
"@aws-sdk/middleware-bucket-endpoint": "3.451.0",
|
|
34
34
|
"@aws-sdk/middleware-expect-continue": "3.451.0",
|
|
35
35
|
"@aws-sdk/middleware-flexible-checksums": "3.451.0",
|