@aws-sdk/client-s3 3.830.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-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-types/S3.d.ts +7 -0
- package/dist-types/S3Client.d.ts +3 -2
- 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/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/ts3.4/S3.d.ts +17 -0
- package/dist-types/ts3.4/S3Client.d.ts +6 -0
- 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/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/package.json +4 -2
|
@@ -3,8 +3,9 @@ import { XmlNode as __XmlNode, XmlText as __XmlText } from "@aws-sdk/xml-builder
|
|
|
3
3
|
import { requestBuilder as rb } from "@smithy/core";
|
|
4
4
|
import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
5
5
|
import { collectBody, dateToUtcString as __dateToUtcString, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, getArrayIfSingleItem as __getArrayIfSingleItem, isSerializableHeaderValue, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, parseRfc7231DateTime as __parseRfc7231DateTime, quoteHeader as __quoteHeader, serializeDateTime as __serializeDateTime, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
6
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
6
7
|
import { AnalyticsFilter, BucketAlreadyExists, BucketAlreadyOwnedByYou, InvalidObjectState, MetricsFilter, NoSuchBucket, NoSuchKey, NoSuchUpload, NotFound, ObjectNotInActiveTierError, } from "../models/models_0";
|
|
7
|
-
import { EncryptionTypeMismatch, InvalidRequest, InvalidWriteOffset, ObjectAlreadyInActiveTierError, TooManyParts, } from "../models/models_1";
|
|
8
|
+
import { EncryptionTypeMismatch, IdempotencyParameterMismatch, InvalidRequest, InvalidWriteOffset, ObjectAlreadyInActiveTierError, TooManyParts, } from "../models/models_1";
|
|
8
9
|
import { S3ServiceException as __BaseException } from "../models/S3ServiceException";
|
|
9
10
|
export const se_AbortMultipartUploadCommand = async (input, context) => {
|
|
10
11
|
const b = rb(input, context);
|
|
@@ -289,7 +290,9 @@ export const se_DeleteBucketEncryptionCommand = async (input, context) => {
|
|
|
289
290
|
};
|
|
290
291
|
export const se_DeleteBucketIntelligentTieringConfigurationCommand = async (input, context) => {
|
|
291
292
|
const b = rb(input, context);
|
|
292
|
-
const headers = {}
|
|
293
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
294
|
+
[_xaebo]: input[_EBO],
|
|
295
|
+
});
|
|
293
296
|
b.bp("/");
|
|
294
297
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
295
298
|
const query = map({
|
|
@@ -581,7 +584,9 @@ export const se_GetBucketEncryptionCommand = async (input, context) => {
|
|
|
581
584
|
};
|
|
582
585
|
export const se_GetBucketIntelligentTieringConfigurationCommand = async (input, context) => {
|
|
583
586
|
const b = rb(input, context);
|
|
584
|
-
const headers = {}
|
|
587
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
588
|
+
[_xaebo]: input[_EBO],
|
|
589
|
+
});
|
|
585
590
|
b.bp("/");
|
|
586
591
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
587
592
|
const query = map({
|
|
@@ -1036,7 +1041,9 @@ export const se_ListBucketAnalyticsConfigurationsCommand = async (input, context
|
|
|
1036
1041
|
};
|
|
1037
1042
|
export const se_ListBucketIntelligentTieringConfigurationsCommand = async (input, context) => {
|
|
1038
1043
|
const b = rb(input, context);
|
|
1039
|
-
const headers = {}
|
|
1044
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1045
|
+
[_xaebo]: input[_EBO],
|
|
1046
|
+
});
|
|
1040
1047
|
b.bp("/");
|
|
1041
1048
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1042
1049
|
const query = map({
|
|
@@ -1342,9 +1349,10 @@ export const se_PutBucketEncryptionCommand = async (input, context) => {
|
|
|
1342
1349
|
};
|
|
1343
1350
|
export const se_PutBucketIntelligentTieringConfigurationCommand = async (input, context) => {
|
|
1344
1351
|
const b = rb(input, context);
|
|
1345
|
-
const headers = {
|
|
1352
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1346
1353
|
"content-type": "application/xml",
|
|
1347
|
-
|
|
1354
|
+
[_xaebo]: input[_EBO],
|
|
1355
|
+
});
|
|
1348
1356
|
b.bp("/");
|
|
1349
1357
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1350
1358
|
const query = map({
|
|
@@ -1877,6 +1885,30 @@ export const se_PutPublicAccessBlockCommand = async (input, context) => {
|
|
|
1877
1885
|
b.m("PUT").h(headers).q(query).b(body);
|
|
1878
1886
|
return b.build();
|
|
1879
1887
|
};
|
|
1888
|
+
export const se_RenameObjectCommand = async (input, context) => {
|
|
1889
|
+
const b = rb(input, context);
|
|
1890
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1891
|
+
[_xars]: input[_RS],
|
|
1892
|
+
[_im]: input[_DIM],
|
|
1893
|
+
[_inm]: input[_DINM],
|
|
1894
|
+
[_ims]: [() => isSerializableHeaderValue(input[_DIMS]), () => __dateToUtcString(input[_DIMS]).toString()],
|
|
1895
|
+
[_ius]: [() => isSerializableHeaderValue(input[_DIUS]), () => __dateToUtcString(input[_DIUS]).toString()],
|
|
1896
|
+
[_xarsim]: input[_SIM],
|
|
1897
|
+
[_xarsinm]: input[_SINM],
|
|
1898
|
+
[_xarsims]: [() => isSerializableHeaderValue(input[_SIMS]), () => __dateToUtcString(input[_SIMS]).toString()],
|
|
1899
|
+
[_xarsius]: [() => isSerializableHeaderValue(input[_SIUS]), () => __dateToUtcString(input[_SIUS]).toString()],
|
|
1900
|
+
[_xact_]: input[_CTl] ?? generateIdempotencyToken(),
|
|
1901
|
+
});
|
|
1902
|
+
b.bp("/{Key+}");
|
|
1903
|
+
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1904
|
+
b.p("Key", () => input.Key, "{Key+}", true);
|
|
1905
|
+
const query = map({
|
|
1906
|
+
[_rO]: [, ""],
|
|
1907
|
+
});
|
|
1908
|
+
let body;
|
|
1909
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
1910
|
+
return b.build();
|
|
1911
|
+
};
|
|
1880
1912
|
export const se_RestoreObjectCommand = async (input, context) => {
|
|
1881
1913
|
const b = rb(input, context);
|
|
1882
1914
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -2048,7 +2080,7 @@ export const se_WriteGetObjectResponseCommand = async (input, context) => {
|
|
|
2048
2080
|
() => __serializeDateTime(input[_OLRUD]).toString(),
|
|
2049
2081
|
],
|
|
2050
2082
|
[_xafhxampc]: [() => isSerializableHeaderValue(input[_PC]), () => input[_PC].toString()],
|
|
2051
|
-
[_xafhxars]: input[
|
|
2083
|
+
[_xafhxars]: input[_RSe],
|
|
2052
2084
|
[_xafhxarc]: input[_RC],
|
|
2053
2085
|
[_xafhxar]: input[_Re],
|
|
2054
2086
|
[_xafhxasse]: input[_SSE],
|
|
@@ -2768,7 +2800,7 @@ export const de_GetObjectCommand = async (output, context) => {
|
|
|
2768
2800
|
[_BKE]: [() => void 0 !== output.headers[_xassebke], () => __parseBoolean(output.headers[_xassebke])],
|
|
2769
2801
|
[_SC]: [, output.headers[_xasc]],
|
|
2770
2802
|
[_RC]: [, output.headers[_xarc]],
|
|
2771
|
-
[
|
|
2803
|
+
[_RSe]: [, output.headers[_xars_]],
|
|
2772
2804
|
[_PC]: [() => void 0 !== output.headers[_xampc], () => __strictParseInt32(output.headers[_xampc])],
|
|
2773
2805
|
[_TC]: [() => void 0 !== output.headers[_xatc], () => __strictParseInt32(output.headers[_xatc])],
|
|
2774
2806
|
[_OLM]: [, output.headers[_xaolm]],
|
|
@@ -2967,8 +2999,9 @@ export const de_HeadObjectCommand = async (output, context) => {
|
|
|
2967
2999
|
[_BKE]: [() => void 0 !== output.headers[_xassebke], () => __parseBoolean(output.headers[_xassebke])],
|
|
2968
3000
|
[_SC]: [, output.headers[_xasc]],
|
|
2969
3001
|
[_RC]: [, output.headers[_xarc]],
|
|
2970
|
-
[
|
|
3002
|
+
[_RSe]: [, output.headers[_xars_]],
|
|
2971
3003
|
[_PC]: [() => void 0 !== output.headers[_xampc], () => __strictParseInt32(output.headers[_xampc])],
|
|
3004
|
+
[_TC]: [() => void 0 !== output.headers[_xatc], () => __strictParseInt32(output.headers[_xatc])],
|
|
2972
3005
|
[_OLM]: [, output.headers[_xaolm]],
|
|
2973
3006
|
[_OLRUD]: [
|
|
2974
3007
|
() => void 0 !== output.headers[_xaolrud],
|
|
@@ -3675,6 +3708,16 @@ export const de_PutPublicAccessBlockCommand = async (output, context) => {
|
|
|
3675
3708
|
await collectBody(output.body, context);
|
|
3676
3709
|
return contents;
|
|
3677
3710
|
};
|
|
3711
|
+
export const de_RenameObjectCommand = async (output, context) => {
|
|
3712
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3713
|
+
return de_CommandError(output, context);
|
|
3714
|
+
}
|
|
3715
|
+
const contents = map({
|
|
3716
|
+
$metadata: deserializeMetadata(output),
|
|
3717
|
+
});
|
|
3718
|
+
await collectBody(output.body, context);
|
|
3719
|
+
return contents;
|
|
3720
|
+
};
|
|
3678
3721
|
export const de_RestoreObjectCommand = async (output, context) => {
|
|
3679
3722
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3680
3723
|
return de_CommandError(output, context);
|
|
@@ -3791,6 +3834,9 @@ const de_CommandError = async (output, context) => {
|
|
|
3791
3834
|
case "TooManyParts":
|
|
3792
3835
|
case "com.amazonaws.s3#TooManyParts":
|
|
3793
3836
|
throw await de_TooManyPartsRes(parsedOutput, context);
|
|
3837
|
+
case "IdempotencyParameterMismatch":
|
|
3838
|
+
case "com.amazonaws.s3#IdempotencyParameterMismatch":
|
|
3839
|
+
throw await de_IdempotencyParameterMismatchRes(parsedOutput, context);
|
|
3794
3840
|
case "ObjectAlreadyInActiveTierError":
|
|
3795
3841
|
case "com.amazonaws.s3#ObjectAlreadyInActiveTierError":
|
|
3796
3842
|
throw await de_ObjectAlreadyInActiveTierErrorRes(parsedOutput, context);
|
|
@@ -3831,6 +3877,15 @@ const de_EncryptionTypeMismatchRes = async (parsedOutput, context) => {
|
|
|
3831
3877
|
});
|
|
3832
3878
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3833
3879
|
};
|
|
3880
|
+
const de_IdempotencyParameterMismatchRes = async (parsedOutput, context) => {
|
|
3881
|
+
const contents = map({});
|
|
3882
|
+
const data = parsedOutput.body;
|
|
3883
|
+
const exception = new IdempotencyParameterMismatch({
|
|
3884
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3885
|
+
...contents,
|
|
3886
|
+
});
|
|
3887
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
3888
|
+
};
|
|
3834
3889
|
const de_InvalidObjectStateRes = async (parsedOutput, context) => {
|
|
3835
3890
|
const contents = map({});
|
|
3836
3891
|
const data = parsedOutput.body;
|
|
@@ -6341,8 +6396,8 @@ const de__Object = (output, context) => {
|
|
|
6341
6396
|
if (output[_O] != null) {
|
|
6342
6397
|
contents[_O] = de_Owner(output[_O], context);
|
|
6343
6398
|
}
|
|
6344
|
-
if (output[
|
|
6345
|
-
contents[
|
|
6399
|
+
if (output[_RSes] != null) {
|
|
6400
|
+
contents[_RSes] = de_RestoreStatus(output[_RSes], context);
|
|
6346
6401
|
}
|
|
6347
6402
|
return contents;
|
|
6348
6403
|
};
|
|
@@ -6447,8 +6502,8 @@ const de_ObjectVersion = (output, context) => {
|
|
|
6447
6502
|
if (output[_O] != null) {
|
|
6448
6503
|
contents[_O] = de_Owner(output[_O], context);
|
|
6449
6504
|
}
|
|
6450
|
-
if (output[
|
|
6451
|
-
contents[
|
|
6505
|
+
if (output[_RSes] != null) {
|
|
6506
|
+
contents[_RSes] = de_RestoreStatus(output[_RSes], context);
|
|
6452
6507
|
}
|
|
6453
6508
|
return contents;
|
|
6454
6509
|
};
|
|
@@ -7115,6 +7170,7 @@ const _CSVI = "CopySourceVersionId";
|
|
|
7115
7170
|
const _CSVIn = "CSVInput";
|
|
7116
7171
|
const _CSVO = "CSVOutput";
|
|
7117
7172
|
const _CT = "ChecksumType";
|
|
7173
|
+
const _CTl = "ClientToken";
|
|
7118
7174
|
const _CTo = "ContentType";
|
|
7119
7175
|
const _CTom = "CompressionType";
|
|
7120
7176
|
const _CTon = "ContinuationToken";
|
|
@@ -7126,6 +7182,10 @@ const _Con = "Condition";
|
|
|
7126
7182
|
const _D = "Delimiter";
|
|
7127
7183
|
const _DAI = "DaysAfterInitiation";
|
|
7128
7184
|
const _DE = "DataExport";
|
|
7185
|
+
const _DIM = "DestinationIfMatch";
|
|
7186
|
+
const _DIMS = "DestinationIfModifiedSince";
|
|
7187
|
+
const _DINM = "DestinationIfNoneMatch";
|
|
7188
|
+
const _DIUS = "DestinationIfUnmodifiedSince";
|
|
7129
7189
|
const _DM = "DeleteMarker";
|
|
7130
7190
|
const _DMR = "DeleteMarkerReplication";
|
|
7131
7191
|
const _DMRS = "DeleteMarkerReplicationStatus";
|
|
@@ -7391,8 +7451,9 @@ const _RRe = "ReplicationRule";
|
|
|
7391
7451
|
const _RRes = "RestoreRequest";
|
|
7392
7452
|
const _RRo = "RoutingRules";
|
|
7393
7453
|
const _RRou = "RoutingRule";
|
|
7394
|
-
const _RS = "
|
|
7395
|
-
const _RSe = "
|
|
7454
|
+
const _RS = "RenameSource";
|
|
7455
|
+
const _RSe = "ReplicationStatus";
|
|
7456
|
+
const _RSes = "RestoreStatus";
|
|
7396
7457
|
const _RT = "RequestToken";
|
|
7397
7458
|
const _RTS = "ReplicationTimeStatus";
|
|
7398
7459
|
const _RTV = "ReplicationTimeValue";
|
|
@@ -7413,6 +7474,10 @@ const _SCADE = "StorageClassAnalysisDataExport";
|
|
|
7413
7474
|
const _SCASV = "StorageClassAnalysisSchemaVersion";
|
|
7414
7475
|
const _SCt = "StatusCode";
|
|
7415
7476
|
const _SDV = "SkipDestinationValidation";
|
|
7477
|
+
const _SIM = "SourceIfMatch";
|
|
7478
|
+
const _SIMS = "SourceIfModifiedSince";
|
|
7479
|
+
const _SINM = "SourceIfNoneMatch";
|
|
7480
|
+
const _SIUS = "SourceIfUnmodifiedSince";
|
|
7416
7481
|
const _SK = "SSE-KMS";
|
|
7417
7482
|
const _SKEO = "SseKmsEncryptedObjects";
|
|
7418
7483
|
const _SKEOS = "SseKmsEncryptedObjectsStatus";
|
|
@@ -7553,6 +7618,7 @@ const _pS = "policyStatus";
|
|
|
7553
7618
|
const _pnm = "part-number-marker";
|
|
7554
7619
|
const _pr = "prefix";
|
|
7555
7620
|
const _r = "replication";
|
|
7621
|
+
const _rO = "renameObject";
|
|
7556
7622
|
const _rP = "requestPayment";
|
|
7557
7623
|
const _ra = "range";
|
|
7558
7624
|
const _rcc = "response-cache-control";
|
|
@@ -7610,6 +7676,7 @@ const _xacssseck = "x-amz-copy-source-server-side-encryption-customer-key";
|
|
|
7610
7676
|
const _xacssseckm = "x-amz-copy-source-server-side-encryption-customer-key-md5";
|
|
7611
7677
|
const _xacsvi = "x-amz-copy-source-version-id";
|
|
7612
7678
|
const _xact = "x-amz-checksum-type";
|
|
7679
|
+
const _xact_ = "x-amz-client-token";
|
|
7613
7680
|
const _xadm = "x-amz-delete-marker";
|
|
7614
7681
|
const _xae = "x-amz-expiration";
|
|
7615
7682
|
const _xaebo = "x-amz-expected-bucket-owner";
|
|
@@ -7676,7 +7743,12 @@ const _xarc = "x-amz-request-charged";
|
|
|
7676
7743
|
const _xarop = "x-amz-restore-output-path";
|
|
7677
7744
|
const _xarp = "x-amz-request-payer";
|
|
7678
7745
|
const _xarr = "x-amz-request-route";
|
|
7679
|
-
const _xars = "x-amz-
|
|
7746
|
+
const _xars = "x-amz-rename-source";
|
|
7747
|
+
const _xars_ = "x-amz-replication-status";
|
|
7748
|
+
const _xarsim = "x-amz-rename-source-if-match";
|
|
7749
|
+
const _xarsims = "x-amz-rename-source-if-modified-since";
|
|
7750
|
+
const _xarsinm = "x-amz-rename-source-if-none-match";
|
|
7751
|
+
const _xarsius = "x-amz-rename-source-if-unmodified-since";
|
|
7680
7752
|
const _xart = "x-amz-request-token";
|
|
7681
7753
|
const _xasc = "x-amz-storage-class";
|
|
7682
7754
|
const _xasca = "x-amz-sdk-checksum-algorithm";
|
package/dist-types/S3.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ import { PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationComma
|
|
|
92
92
|
import { PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput } from "./commands/PutObjectRetentionCommand";
|
|
93
93
|
import { PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput } from "./commands/PutObjectTaggingCommand";
|
|
94
94
|
import { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput } from "./commands/PutPublicAccessBlockCommand";
|
|
95
|
+
import { RenameObjectCommandInput, RenameObjectCommandOutput } from "./commands/RenameObjectCommand";
|
|
95
96
|
import { RestoreObjectCommandInput, RestoreObjectCommandOutput } from "./commands/RestoreObjectCommand";
|
|
96
97
|
import { SelectObjectContentCommandInput, SelectObjectContentCommandOutput } from "./commands/SelectObjectContentCommand";
|
|
97
98
|
import { UploadPartCommandInput, UploadPartCommandOutput } from "./commands/UploadPartCommand";
|
|
@@ -659,6 +660,12 @@ export interface S3 {
|
|
|
659
660
|
putPublicAccessBlock(args: PutPublicAccessBlockCommandInput, options?: __HttpHandlerOptions): Promise<PutPublicAccessBlockCommandOutput>;
|
|
660
661
|
putPublicAccessBlock(args: PutPublicAccessBlockCommandInput, cb: (err: any, data?: PutPublicAccessBlockCommandOutput) => void): void;
|
|
661
662
|
putPublicAccessBlock(args: PutPublicAccessBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPublicAccessBlockCommandOutput) => void): void;
|
|
663
|
+
/**
|
|
664
|
+
* @see {@link RenameObjectCommand}
|
|
665
|
+
*/
|
|
666
|
+
renameObject(args: RenameObjectCommandInput, options?: __HttpHandlerOptions): Promise<RenameObjectCommandOutput>;
|
|
667
|
+
renameObject(args: RenameObjectCommandInput, cb: (err: any, data?: RenameObjectCommandOutput) => void): void;
|
|
668
|
+
renameObject(args: RenameObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RenameObjectCommandOutput) => void): void;
|
|
662
669
|
/**
|
|
663
670
|
* @see {@link RestoreObjectCommand}
|
|
664
671
|
*/
|
package/dist-types/S3Client.d.ts
CHANGED
|
@@ -105,6 +105,7 @@ import { PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationComma
|
|
|
105
105
|
import { PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput } from "./commands/PutObjectRetentionCommand";
|
|
106
106
|
import { PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput } from "./commands/PutObjectTaggingCommand";
|
|
107
107
|
import { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput } from "./commands/PutPublicAccessBlockCommand";
|
|
108
|
+
import { RenameObjectCommandInput, RenameObjectCommandOutput } from "./commands/RenameObjectCommand";
|
|
108
109
|
import { RestoreObjectCommandInput, RestoreObjectCommandOutput } from "./commands/RestoreObjectCommand";
|
|
109
110
|
import { SelectObjectContentCommandInput, SelectObjectContentCommandOutput } from "./commands/SelectObjectContentCommand";
|
|
110
111
|
import { UploadPartCommandInput, UploadPartCommandOutput } from "./commands/UploadPartCommand";
|
|
@@ -116,11 +117,11 @@ export { __Client };
|
|
|
116
117
|
/**
|
|
117
118
|
* @public
|
|
118
119
|
*/
|
|
119
|
-
export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateBucketMetadataTableConfigurationCommandInput | CreateMultipartUploadCommandInput | CreateSessionCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetadataTableConfigurationCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetadataTableConfigurationCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListDirectoryBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
|
|
120
|
+
export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateBucketMetadataTableConfigurationCommandInput | CreateMultipartUploadCommandInput | CreateSessionCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetadataTableConfigurationCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetadataTableConfigurationCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListDirectoryBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RenameObjectCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
|
|
120
121
|
/**
|
|
121
122
|
* @public
|
|
122
123
|
*/
|
|
123
|
-
export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateBucketMetadataTableConfigurationCommandOutput | CreateMultipartUploadCommandOutput | CreateSessionCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetadataTableConfigurationCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetadataTableConfigurationCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListDirectoryBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
|
|
124
|
+
export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateBucketMetadataTableConfigurationCommandOutput | CreateMultipartUploadCommandOutput | CreateSessionCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetadataTableConfigurationCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetadataTableConfigurationCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListDirectoryBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RenameObjectCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
|
|
124
125
|
/**
|
|
125
126
|
* @public
|
|
126
127
|
*/
|
|
@@ -27,7 +27,15 @@ declare const CopyObjectCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue support for creating new Email Grantee Access Control Lists (ACL).
|
|
32
|
+
* Email Grantee ACLs created prior to this date will continue to work and remain accessible through the Amazon Web Services Management Console, Command Line Interface (CLI), SDKs,
|
|
33
|
+
* and REST API. However, you will no longer be able to create new Email Grantee ACLs.
|
|
34
|
+
* </p>
|
|
35
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
36
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
37
|
+
* </important>
|
|
38
|
+
* <p>Creates a copy of an object that is already stored in Amazon S3.</p>
|
|
31
39
|
* <note>
|
|
32
40
|
* <p>You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your
|
|
33
41
|
* object up to 5 GB in size in a single atomic action using this API. However, to copy an
|
|
@@ -27,7 +27,22 @@ declare const CreateBucketCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue support for creating new Email Grantee Access Control Lists (ACL).
|
|
32
|
+
* Email Grantee ACLs created prior to this date will continue to work and remain accessible through the Amazon Web Services Management Console, Command Line Interface (CLI), SDKs,
|
|
33
|
+
* and REST API. However, you will no longer be able to create new Email Grantee ACLs.
|
|
34
|
+
* </p>
|
|
35
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
36
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
37
|
+
* </important>
|
|
38
|
+
* <important>
|
|
39
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning <code>DisplayName</code>. Update your applications to use canonical IDs (unique identifier for
|
|
40
|
+
* Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of <code>DisplayName</code>.
|
|
41
|
+
* </p>
|
|
42
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
43
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
44
|
+
* </important>
|
|
45
|
+
* <note>
|
|
31
46
|
* <p>This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">
|
|
32
47
|
* <code>CreateBucket</code>
|
|
33
48
|
* </a>.</p>
|
|
@@ -27,7 +27,15 @@ declare const CreateMultipartUploadCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue support for creating new Email Grantee Access Control Lists (ACL).
|
|
32
|
+
* Email Grantee ACLs created prior to this date will continue to work and remain accessible through the Amazon Web Services Management Console, Command Line Interface (CLI), SDKs,
|
|
33
|
+
* and REST API. However, you will no longer be able to create new Email Grantee ACLs.
|
|
34
|
+
* </p>
|
|
35
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
36
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
37
|
+
* </important>
|
|
38
|
+
* <p>This action initiates a multipart upload and returns an upload ID. This upload ID is
|
|
31
39
|
* used to associate all of the parts in the specific multipart upload. You specify this
|
|
32
40
|
* upload ID in each of your subsequent upload part requests (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>). You also include this
|
|
33
41
|
* upload ID in the final request to either complete or abort the multipart upload request.
|
|
@@ -61,6 +61,7 @@ declare const DeleteBucketIntelligentTieringConfigurationCommand_base: {
|
|
|
61
61
|
* const input = { // DeleteBucketIntelligentTieringConfigurationRequest
|
|
62
62
|
* Bucket: "STRING_VALUE", // required
|
|
63
63
|
* Id: "STRING_VALUE", // required
|
|
64
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
64
65
|
* };
|
|
65
66
|
* const command = new DeleteBucketIntelligentTieringConfigurationCommand(input);
|
|
66
67
|
* const response = await client.send(command);
|
|
@@ -27,7 +27,14 @@ declare const GetBucketAclCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning <code>DisplayName</code>. Update your applications to use canonical IDs (unique identifier for
|
|
32
|
+
* Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of <code>DisplayName</code>.
|
|
33
|
+
* </p>
|
|
34
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
35
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
36
|
+
* </important>
|
|
37
|
+
* <note>
|
|
31
38
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
39
|
* </note>
|
|
33
40
|
* <p>This implementation of the <code>GET</code> action uses the <code>acl</code> subresource
|
|
@@ -61,6 +61,7 @@ declare const GetBucketIntelligentTieringConfigurationCommand_base: {
|
|
|
61
61
|
* const input = { // GetBucketIntelligentTieringConfigurationRequest
|
|
62
62
|
* Bucket: "STRING_VALUE", // required
|
|
63
63
|
* Id: "STRING_VALUE", // required
|
|
64
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
64
65
|
* };
|
|
65
66
|
* const command = new GetBucketIntelligentTieringConfigurationCommand(input);
|
|
66
67
|
* const response = await client.send(command);
|
|
@@ -27,7 +27,14 @@ declare const GetBucketLoggingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning <code>DisplayName</code>. Update your applications to use canonical IDs (unique identifier for
|
|
32
|
+
* Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of <code>DisplayName</code>.
|
|
33
|
+
* </p>
|
|
34
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
35
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
36
|
+
* </important>
|
|
37
|
+
* <note>
|
|
31
38
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
39
|
* </note>
|
|
33
40
|
* <p>Returns the logging status of a bucket and the permissions users have to view and modify
|
|
@@ -34,6 +34,18 @@ declare const GetBucketOwnershipControlsCommand_base: {
|
|
|
34
34
|
* must have the <code>s3:GetBucketOwnershipControls</code> permission. For more information
|
|
35
35
|
* about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html">Specifying permissions in a
|
|
36
36
|
* policy</a>. </p>
|
|
37
|
+
* <note>
|
|
38
|
+
* <p>A bucket doesn't have <code>OwnershipControls</code> settings in the following cases:</p>
|
|
39
|
+
* <ul>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>The bucket was created before the <code>BucketOwnerEnforced</code> ownership setting was introduced and you've never explicitly applied this value</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>You've manually deleted the bucket ownership control value using the <code>DeleteBucketOwnershipControls</code> API operation.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* </ul>
|
|
47
|
+
* <p>By default, Amazon S3 sets <code>OwnershipControls</code> for all newly created buckets.</p>
|
|
48
|
+
* </note>
|
|
37
49
|
* <p>For information about Amazon S3 Object Ownership, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Using Object
|
|
38
50
|
* Ownership</a>. </p>
|
|
39
51
|
* <p>The following operations are related to <code>GetBucketOwnershipControls</code>:</p>
|
|
@@ -259,6 +259,7 @@ declare const HeadObjectCommand_base: {
|
|
|
259
259
|
* // RequestCharged: "requester",
|
|
260
260
|
* // ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED",
|
|
261
261
|
* // PartsCount: Number("int"),
|
|
262
|
+
* // TagCount: Number("int"),
|
|
262
263
|
* // ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
|
|
263
264
|
* // ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
|
|
264
265
|
* // ObjectLockLegalHoldStatus: "ON" || "OFF",
|
|
@@ -61,6 +61,7 @@ declare const ListBucketIntelligentTieringConfigurationsCommand_base: {
|
|
|
61
61
|
* const input = { // ListBucketIntelligentTieringConfigurationsRequest
|
|
62
62
|
* Bucket: "STRING_VALUE", // required
|
|
63
63
|
* ContinuationToken: "STRING_VALUE",
|
|
64
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
64
65
|
* };
|
|
65
66
|
* const command = new ListBucketIntelligentTieringConfigurationsCommand(input);
|
|
66
67
|
* const response = await client.send(command);
|
|
@@ -27,7 +27,14 @@ declare const ListBucketsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning <code>DisplayName</code>. Update your applications to use canonical IDs (unique identifier for
|
|
32
|
+
* Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of <code>DisplayName</code>.
|
|
33
|
+
* </p>
|
|
34
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
35
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
36
|
+
* </important>
|
|
37
|
+
* <note>
|
|
31
38
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
39
|
* </note>
|
|
33
40
|
* <p>Returns a list of all buckets owned by the authenticated sender of the request. To grant IAM permission to use
|
|
@@ -27,7 +27,14 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning <code>DisplayName</code>. Update your applications to use canonical IDs (unique identifier for
|
|
32
|
+
* Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of <code>DisplayName</code>.
|
|
33
|
+
* </p>
|
|
34
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
35
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
36
|
+
* </important>
|
|
37
|
+
* <p>This operation lists in-progress multipart uploads in a bucket. An in-progress multipart
|
|
31
38
|
* upload is a multipart upload that has been initiated by the
|
|
32
39
|
* <code>CreateMultipartUpload</code> request, but has not yet been completed or
|
|
33
40
|
* aborted.</p>
|
|
@@ -27,7 +27,14 @@ declare const ListObjectVersionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning <code>DisplayName</code>. Update your applications to use canonical IDs (unique identifier for
|
|
32
|
+
* Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of <code>DisplayName</code>.
|
|
33
|
+
* </p>
|
|
34
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
35
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
36
|
+
* </important>
|
|
37
|
+
* <note>
|
|
31
38
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
39
|
* </note>
|
|
33
40
|
* <p>Returns metadata about all versions of the objects in a bucket. You can also use request
|
|
@@ -27,7 +27,14 @@ declare const ListObjectsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning <code>DisplayName</code>. Update your applications to use canonical IDs (unique identifier for
|
|
32
|
+
* Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of <code>DisplayName</code>.
|
|
33
|
+
* </p>
|
|
34
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
35
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
36
|
+
* </important>
|
|
37
|
+
* <note>
|
|
31
38
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
39
|
* </note>
|
|
33
40
|
* <p>Returns some or all (up to 1,000) of the objects in a bucket. You can use the request
|
|
@@ -27,7 +27,14 @@ declare const ListPartsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning <code>DisplayName</code>. Update your applications to use canonical IDs (unique identifier for
|
|
32
|
+
* Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of <code>DisplayName</code>.
|
|
33
|
+
* </p>
|
|
34
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
35
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
36
|
+
* </important>
|
|
37
|
+
* <p>Lists the parts that have been uploaded for a specific multipart upload.</p>
|
|
31
38
|
* <p>To use this operation, you must provide the <code>upload ID</code> in the request. You
|
|
32
39
|
* obtain this uploadID by sending the initiate multipart upload request through <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>.</p>
|
|
33
40
|
* <p>The <code>ListParts</code> request returns a maximum of 1,000 uploaded parts. The limit
|
|
@@ -27,7 +27,15 @@ declare const PutBucketAclCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>End of support notice: Beginning October 1, 2025, Amazon S3 will discontinue support for creating new Email Grantee Access Control Lists (ACL).
|
|
32
|
+
* Email Grantee ACLs created prior to this date will continue to work and remain accessible through the Amazon Web Services Management Console, Command Line Interface (CLI), SDKs,
|
|
33
|
+
* and REST API. However, you will no longer be able to create new Email Grantee ACLs.
|
|
34
|
+
* </p>
|
|
35
|
+
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
36
|
+
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
37
|
+
* </important>
|
|
38
|
+
* <note>
|
|
31
39
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
40
|
* </note>
|
|
33
41
|
* <p>Sets the permissions on an existing bucket using access control lists (ACL). For more
|
|
@@ -150,7 +158,10 @@ declare const PutBucketAclCommand_base: {
|
|
|
150
158
|
* <dt>Grantee Values</dt>
|
|
151
159
|
* <dd>
|
|
152
160
|
* <p>You can specify the person (grantee) to whom you're assigning access rights
|
|
153
|
-
*
|
|
161
|
+
* (using request elements) in the following ways. For examples of how to specify these
|
|
162
|
+
* grantee values in JSON format, see the Amazon Web Services CLI example in <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html">
|
|
163
|
+
* Enabling Amazon S3 server access logging</a> in the
|
|
164
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
154
165
|
* <ul>
|
|
155
166
|
* <li>
|
|
156
167
|
* <p>By the person's ID:</p>
|
|
@@ -94,6 +94,7 @@ declare const PutBucketIntelligentTieringConfigurationCommand_base: {
|
|
|
94
94
|
* const input = { // PutBucketIntelligentTieringConfigurationRequest
|
|
95
95
|
* Bucket: "STRING_VALUE", // required
|
|
96
96
|
* Id: "STRING_VALUE", // required
|
|
97
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
97
98
|
* IntelligentTieringConfiguration: { // IntelligentTieringConfiguration
|
|
98
99
|
* Id: "STRING_VALUE", // required
|
|
99
100
|
* Filter: { // IntelligentTieringFilter
|