@aws-sdk/client-s3-control 3.200.0 → 3.202.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/endpoint/ruleset.js +19 -19
- package/dist-cjs/protocols/Aws_restXml.js +119 -70
- package/dist-cjs/runtimeConfig.browser.js +18 -18
- package/dist-cjs/runtimeConfig.js +22 -21
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +9 -12
- package/dist-es/endpoint/ruleset.js +19 -19
- package/dist-es/protocols/Aws_restXml.js +65 -12
- package/dist-types/models/models_0.d.ts +26 -7
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +39 -39
|
@@ -106,7 +106,7 @@ export const serializeAws_restXmlCreateBucketCommand = async (input, context) =>
|
|
|
106
106
|
],
|
|
107
107
|
"x-amz-outpost-id": input.OutpostId,
|
|
108
108
|
});
|
|
109
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
109
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
|
|
110
110
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
111
111
|
let body;
|
|
112
112
|
if (input.CreateBucketConfiguration !== undefined) {
|
|
@@ -378,7 +378,7 @@ export const serializeAws_restXmlDeleteBucketCommand = async (input, context) =>
|
|
|
378
378
|
const headers = map({}, isSerializableHeaderValue, {
|
|
379
379
|
"x-amz-account-id": input.AccountId,
|
|
380
380
|
});
|
|
381
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
381
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
|
|
382
382
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
383
383
|
let body;
|
|
384
384
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -407,7 +407,8 @@ export const serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = asy
|
|
|
407
407
|
const headers = map({}, isSerializableHeaderValue, {
|
|
408
408
|
"x-amz-account-id": input.AccountId,
|
|
409
409
|
});
|
|
410
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
410
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
411
|
+
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
411
412
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
412
413
|
let body;
|
|
413
414
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -436,7 +437,7 @@ export const serializeAws_restXmlDeleteBucketPolicyCommand = async (input, conte
|
|
|
436
437
|
const headers = map({}, isSerializableHeaderValue, {
|
|
437
438
|
"x-amz-account-id": input.AccountId,
|
|
438
439
|
});
|
|
439
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/policy";
|
|
440
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/policy";
|
|
440
441
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
441
442
|
let body;
|
|
442
443
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -465,7 +466,7 @@ export const serializeAws_restXmlDeleteBucketTaggingCommand = async (input, cont
|
|
|
465
466
|
const headers = map({}, isSerializableHeaderValue, {
|
|
466
467
|
"x-amz-account-id": input.AccountId,
|
|
467
468
|
});
|
|
468
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/tagging";
|
|
469
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
|
|
469
470
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
470
471
|
let body;
|
|
471
472
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -921,7 +922,7 @@ export const serializeAws_restXmlGetBucketCommand = async (input, context) => {
|
|
|
921
922
|
const headers = map({}, isSerializableHeaderValue, {
|
|
922
923
|
"x-amz-account-id": input.AccountId,
|
|
923
924
|
});
|
|
924
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
925
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
|
|
925
926
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
926
927
|
let body;
|
|
927
928
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -950,7 +951,8 @@ export const serializeAws_restXmlGetBucketLifecycleConfigurationCommand = async
|
|
|
950
951
|
const headers = map({}, isSerializableHeaderValue, {
|
|
951
952
|
"x-amz-account-id": input.AccountId,
|
|
952
953
|
});
|
|
953
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
954
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
955
|
+
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
954
956
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
955
957
|
let body;
|
|
956
958
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -979,7 +981,7 @@ export const serializeAws_restXmlGetBucketPolicyCommand = async (input, context)
|
|
|
979
981
|
const headers = map({}, isSerializableHeaderValue, {
|
|
980
982
|
"x-amz-account-id": input.AccountId,
|
|
981
983
|
});
|
|
982
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/policy";
|
|
984
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/policy";
|
|
983
985
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
984
986
|
let body;
|
|
985
987
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1008,7 +1010,7 @@ export const serializeAws_restXmlGetBucketTaggingCommand = async (input, context
|
|
|
1008
1010
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1009
1011
|
"x-amz-account-id": input.AccountId,
|
|
1010
1012
|
});
|
|
1011
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/tagging";
|
|
1013
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
|
|
1012
1014
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1013
1015
|
let body;
|
|
1014
1016
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1587,7 +1589,8 @@ export const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async
|
|
|
1587
1589
|
"content-type": "application/xml",
|
|
1588
1590
|
"x-amz-account-id": input.AccountId,
|
|
1589
1591
|
});
|
|
1590
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1592
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1593
|
+
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
1591
1594
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1592
1595
|
let body;
|
|
1593
1596
|
if (input.LifecycleConfiguration !== undefined) {
|
|
@@ -1631,7 +1634,7 @@ export const serializeAws_restXmlPutBucketPolicyCommand = async (input, context)
|
|
|
1631
1634
|
() => input.ConfirmRemoveSelfBucketAccess.toString(),
|
|
1632
1635
|
],
|
|
1633
1636
|
});
|
|
1634
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/policy";
|
|
1637
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/policy";
|
|
1635
1638
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1636
1639
|
let body;
|
|
1637
1640
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1669,7 +1672,7 @@ export const serializeAws_restXmlPutBucketTaggingCommand = async (input, context
|
|
|
1669
1672
|
"content-type": "application/xml",
|
|
1670
1673
|
"x-amz-account-id": input.AccountId,
|
|
1671
1674
|
});
|
|
1672
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/tagging";
|
|
1675
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
|
|
1673
1676
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1674
1677
|
let body;
|
|
1675
1678
|
if (input.Tagging !== undefined) {
|
|
@@ -4329,6 +4332,18 @@ const serializeAws_restXmlLifecycleRuleAndOperator = (input, context) => {
|
|
|
4329
4332
|
});
|
|
4330
4333
|
bodyNode.addChildNode(containerNode);
|
|
4331
4334
|
}
|
|
4335
|
+
if (input.ObjectSizeGreaterThan != null) {
|
|
4336
|
+
const node = __XmlNode
|
|
4337
|
+
.of("ObjectSizeGreaterThanBytes", String(input.ObjectSizeGreaterThan))
|
|
4338
|
+
.withName("ObjectSizeGreaterThan");
|
|
4339
|
+
bodyNode.addChildNode(node);
|
|
4340
|
+
}
|
|
4341
|
+
if (input.ObjectSizeLessThan != null) {
|
|
4342
|
+
const node = __XmlNode
|
|
4343
|
+
.of("ObjectSizeLessThanBytes", String(input.ObjectSizeLessThan))
|
|
4344
|
+
.withName("ObjectSizeLessThan");
|
|
4345
|
+
bodyNode.addChildNode(node);
|
|
4346
|
+
}
|
|
4332
4347
|
return bodyNode;
|
|
4333
4348
|
};
|
|
4334
4349
|
const serializeAws_restXmlLifecycleRuleFilter = (input, context) => {
|
|
@@ -4345,6 +4360,18 @@ const serializeAws_restXmlLifecycleRuleFilter = (input, context) => {
|
|
|
4345
4360
|
const node = serializeAws_restXmlLifecycleRuleAndOperator(input.And, context).withName("And");
|
|
4346
4361
|
bodyNode.addChildNode(node);
|
|
4347
4362
|
}
|
|
4363
|
+
if (input.ObjectSizeGreaterThan != null) {
|
|
4364
|
+
const node = __XmlNode
|
|
4365
|
+
.of("ObjectSizeGreaterThanBytes", String(input.ObjectSizeGreaterThan))
|
|
4366
|
+
.withName("ObjectSizeGreaterThan");
|
|
4367
|
+
bodyNode.addChildNode(node);
|
|
4368
|
+
}
|
|
4369
|
+
if (input.ObjectSizeLessThan != null) {
|
|
4370
|
+
const node = __XmlNode
|
|
4371
|
+
.of("ObjectSizeLessThanBytes", String(input.ObjectSizeLessThan))
|
|
4372
|
+
.withName("ObjectSizeLessThan");
|
|
4373
|
+
bodyNode.addChildNode(node);
|
|
4374
|
+
}
|
|
4348
4375
|
return bodyNode;
|
|
4349
4376
|
};
|
|
4350
4377
|
const serializeAws_restXmlLifecycleRules = (input, context) => {
|
|
@@ -4361,6 +4388,12 @@ const serializeAws_restXmlNoncurrentVersionExpiration = (input, context) => {
|
|
|
4361
4388
|
const node = __XmlNode.of("Days", String(input.NoncurrentDays)).withName("NoncurrentDays");
|
|
4362
4389
|
bodyNode.addChildNode(node);
|
|
4363
4390
|
}
|
|
4391
|
+
if (input.NewerNoncurrentVersions != null) {
|
|
4392
|
+
const node = __XmlNode
|
|
4393
|
+
.of("NoncurrentVersionCount", String(input.NewerNoncurrentVersions))
|
|
4394
|
+
.withName("NewerNoncurrentVersions");
|
|
4395
|
+
bodyNode.addChildNode(node);
|
|
4396
|
+
}
|
|
4364
4397
|
return bodyNode;
|
|
4365
4398
|
};
|
|
4366
4399
|
const serializeAws_restXmlNoncurrentVersionTransition = (input, context) => {
|
|
@@ -5851,6 +5884,8 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
|
|
|
5851
5884
|
const contents = {
|
|
5852
5885
|
Prefix: undefined,
|
|
5853
5886
|
Tags: undefined,
|
|
5887
|
+
ObjectSizeGreaterThan: undefined,
|
|
5888
|
+
ObjectSizeLessThan: undefined,
|
|
5854
5889
|
};
|
|
5855
5890
|
if (output["Prefix"] !== undefined) {
|
|
5856
5891
|
contents.Prefix = __expectString(output["Prefix"]);
|
|
@@ -5861,6 +5896,12 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
|
|
|
5861
5896
|
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
5862
5897
|
contents.Tags = deserializeAws_restXmlS3TagSet(__getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
5863
5898
|
}
|
|
5899
|
+
if (output["ObjectSizeGreaterThan"] !== undefined) {
|
|
5900
|
+
contents.ObjectSizeGreaterThan = __strictParseLong(output["ObjectSizeGreaterThan"]);
|
|
5901
|
+
}
|
|
5902
|
+
if (output["ObjectSizeLessThan"] !== undefined) {
|
|
5903
|
+
contents.ObjectSizeLessThan = __strictParseLong(output["ObjectSizeLessThan"]);
|
|
5904
|
+
}
|
|
5864
5905
|
return contents;
|
|
5865
5906
|
};
|
|
5866
5907
|
const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
|
|
@@ -5868,6 +5909,8 @@ const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
|
|
|
5868
5909
|
Prefix: undefined,
|
|
5869
5910
|
Tag: undefined,
|
|
5870
5911
|
And: undefined,
|
|
5912
|
+
ObjectSizeGreaterThan: undefined,
|
|
5913
|
+
ObjectSizeLessThan: undefined,
|
|
5871
5914
|
};
|
|
5872
5915
|
if (output["Prefix"] !== undefined) {
|
|
5873
5916
|
contents.Prefix = __expectString(output["Prefix"]);
|
|
@@ -5878,6 +5921,12 @@ const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
|
|
|
5878
5921
|
if (output["And"] !== undefined) {
|
|
5879
5922
|
contents.And = deserializeAws_restXmlLifecycleRuleAndOperator(output["And"], context);
|
|
5880
5923
|
}
|
|
5924
|
+
if (output["ObjectSizeGreaterThan"] !== undefined) {
|
|
5925
|
+
contents.ObjectSizeGreaterThan = __strictParseLong(output["ObjectSizeGreaterThan"]);
|
|
5926
|
+
}
|
|
5927
|
+
if (output["ObjectSizeLessThan"] !== undefined) {
|
|
5928
|
+
contents.ObjectSizeLessThan = __strictParseLong(output["ObjectSizeLessThan"]);
|
|
5929
|
+
}
|
|
5881
5930
|
return contents;
|
|
5882
5931
|
};
|
|
5883
5932
|
const deserializeAws_restXmlLifecycleRules = (output, context) => {
|
|
@@ -5995,10 +6044,14 @@ const deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse = (output, cont
|
|
|
5995
6044
|
const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
|
|
5996
6045
|
const contents = {
|
|
5997
6046
|
NoncurrentDays: undefined,
|
|
6047
|
+
NewerNoncurrentVersions: undefined,
|
|
5998
6048
|
};
|
|
5999
6049
|
if (output["NoncurrentDays"] !== undefined) {
|
|
6000
6050
|
contents.NoncurrentDays = __strictParseInt32(output["NoncurrentDays"]);
|
|
6001
6051
|
}
|
|
6052
|
+
if (output["NewerNoncurrentVersions"] !== undefined) {
|
|
6053
|
+
contents.NewerNoncurrentVersions = __strictParseInt32(output["NewerNoncurrentVersions"]);
|
|
6054
|
+
}
|
|
6002
6055
|
return contents;
|
|
6003
6056
|
};
|
|
6004
6057
|
const deserializeAws_restXmlNoncurrentVersionTransition = (output, context) => {
|
|
@@ -451,8 +451,8 @@ export declare namespace ObjectLambdaContentTransformation {
|
|
|
451
451
|
*/
|
|
452
452
|
export interface ObjectLambdaTransformationConfiguration {
|
|
453
453
|
/**
|
|
454
|
-
* <p>A container for the action of an Object Lambda Access Point configuration. Valid
|
|
455
|
-
*
|
|
454
|
+
* <p>A container for the action of an Object Lambda Access Point configuration. Valid inputs are
|
|
455
|
+
* <code>GetObject</code>, <code>ListObjects</code>, <code>HeadObject</code>, and <code>ListObjectsV2</code>.</p>
|
|
456
456
|
*/
|
|
457
457
|
Actions: (ObjectLambdaTransformationConfigurationAction | string)[] | undefined;
|
|
458
458
|
/**
|
|
@@ -473,8 +473,7 @@ export interface ObjectLambdaConfiguration {
|
|
|
473
473
|
*/
|
|
474
474
|
CloudWatchMetricsEnabled?: boolean;
|
|
475
475
|
/**
|
|
476
|
-
* <p>A container for allowed features. Valid inputs are <code>GetObject-Range</code> and
|
|
477
|
-
* <code>GetObject-PartNumber</code>.</p>
|
|
476
|
+
* <p>A container for allowed features. Valid inputs are <code>GetObject-Range</code>, <code>GetObject-PartNumber</code>, <code>HeadObject-Range</code>, and <code>HeadObject-PartNumber</code>.</p>
|
|
478
477
|
*/
|
|
479
478
|
AllowedFeatures?: (ObjectLambdaAllowedFeature | string)[];
|
|
480
479
|
/**
|
|
@@ -2110,6 +2109,14 @@ export interface LifecycleRuleAndOperator {
|
|
|
2110
2109
|
* apply.</p>
|
|
2111
2110
|
*/
|
|
2112
2111
|
Tags?: S3Tag[];
|
|
2112
|
+
/**
|
|
2113
|
+
* <p>Minimum object size to which the rule applies.</p>
|
|
2114
|
+
*/
|
|
2115
|
+
ObjectSizeGreaterThan?: number;
|
|
2116
|
+
/**
|
|
2117
|
+
* <p>Maximum object size to which the rule applies.</p>
|
|
2118
|
+
*/
|
|
2119
|
+
ObjectSizeLessThan?: number;
|
|
2113
2120
|
}
|
|
2114
2121
|
/**
|
|
2115
2122
|
* <p>The container for the filter of the lifecycle rule.</p>
|
|
@@ -2132,6 +2139,14 @@ export interface LifecycleRuleFilter {
|
|
|
2132
2139
|
* <p>The container for the <code>AND</code> condition for the lifecycle rule.</p>
|
|
2133
2140
|
*/
|
|
2134
2141
|
And?: LifecycleRuleAndOperator;
|
|
2142
|
+
/**
|
|
2143
|
+
* <p>Minimum object size to which the rule applies.</p>
|
|
2144
|
+
*/
|
|
2145
|
+
ObjectSizeGreaterThan?: number;
|
|
2146
|
+
/**
|
|
2147
|
+
* <p>Maximum object size to which the rule applies.</p>
|
|
2148
|
+
*/
|
|
2149
|
+
ObjectSizeLessThan?: number;
|
|
2135
2150
|
}
|
|
2136
2151
|
/**
|
|
2137
2152
|
* <p>The container of the noncurrent version expiration.</p>
|
|
@@ -2144,6 +2159,13 @@ export interface NoncurrentVersionExpiration {
|
|
|
2144
2159
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
2145
2160
|
*/
|
|
2146
2161
|
NoncurrentDays?: number;
|
|
2162
|
+
/**
|
|
2163
|
+
* <p>Specifies how many noncurrent versions S3 on Outposts will retain. If there are this many more
|
|
2164
|
+
* recent noncurrent versions, S3 on Outposts will take the associated action. For more information
|
|
2165
|
+
* about noncurrent versions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle configuration
|
|
2166
|
+
* elements</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2167
|
+
*/
|
|
2168
|
+
NewerNoncurrentVersions?: number;
|
|
2147
2169
|
}
|
|
2148
2170
|
export declare enum TransitionStorageClass {
|
|
2149
2171
|
DEEP_ARCHIVE = "DEEP_ARCHIVE",
|
|
@@ -2236,9 +2258,6 @@ export interface LifecycleRule {
|
|
|
2236
2258
|
NoncurrentVersionTransitions?: NoncurrentVersionTransition[];
|
|
2237
2259
|
/**
|
|
2238
2260
|
* <p>The noncurrent version expiration of the lifecycle rule.</p>
|
|
2239
|
-
* <note>
|
|
2240
|
-
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2241
|
-
* </note>
|
|
2242
2261
|
*/
|
|
2243
2262
|
NoncurrentVersionExpiration?: NoncurrentVersionExpiration;
|
|
2244
2263
|
/**
|
|
@@ -738,14 +738,19 @@ export interface LifecycleExpiration {
|
|
|
738
738
|
export interface LifecycleRuleAndOperator {
|
|
739
739
|
Prefix?: string;
|
|
740
740
|
Tags?: S3Tag[];
|
|
741
|
+
ObjectSizeGreaterThan?: number;
|
|
742
|
+
ObjectSizeLessThan?: number;
|
|
741
743
|
}
|
|
742
744
|
export interface LifecycleRuleFilter {
|
|
743
745
|
Prefix?: string;
|
|
744
746
|
Tag?: S3Tag;
|
|
745
747
|
And?: LifecycleRuleAndOperator;
|
|
748
|
+
ObjectSizeGreaterThan?: number;
|
|
749
|
+
ObjectSizeLessThan?: number;
|
|
746
750
|
}
|
|
747
751
|
export interface NoncurrentVersionExpiration {
|
|
748
752
|
NoncurrentDays?: number;
|
|
753
|
+
NewerNoncurrentVersions?: number;
|
|
749
754
|
}
|
|
750
755
|
export declare enum TransitionStorageClass {
|
|
751
756
|
DEEP_ARCHIVE = "DEEP_ARCHIVE",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.202.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",
|
|
@@ -21,52 +21,52 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-blob-browser": "3.
|
|
29
|
-
"@aws-sdk/hash-node": "3.
|
|
30
|
-
"@aws-sdk/hash-stream-node": "3.
|
|
31
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
32
|
-
"@aws-sdk/md5-js": "3.
|
|
33
|
-
"@aws-sdk/middleware-apply-body-checksum": "3.
|
|
34
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
35
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
36
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
37
|
-
"@aws-sdk/middleware-logger": "3.
|
|
38
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
41
|
-
"@aws-sdk/middleware-serde": "3.
|
|
42
|
-
"@aws-sdk/middleware-signing": "3.
|
|
43
|
-
"@aws-sdk/middleware-stack": "3.
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
45
|
-
"@aws-sdk/node-config-provider": "3.
|
|
46
|
-
"@aws-sdk/node-http-handler": "3.
|
|
47
|
-
"@aws-sdk/protocol-http": "3.
|
|
48
|
-
"@aws-sdk/smithy-client": "3.
|
|
49
|
-
"@aws-sdk/types": "3.
|
|
50
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.202.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.202.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
28
|
+
"@aws-sdk/hash-blob-browser": "3.201.0",
|
|
29
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
30
|
+
"@aws-sdk/hash-stream-node": "3.201.0",
|
|
31
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
32
|
+
"@aws-sdk/md5-js": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-apply-body-checksum": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
38
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
40
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.201.0",
|
|
41
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
42
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
43
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
45
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
46
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
47
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
48
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
49
|
+
"@aws-sdk/types": "3.201.0",
|
|
50
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
51
51
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
52
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
54
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
55
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
56
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
57
|
-
"@aws-sdk/util-endpoints": "3.
|
|
58
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
59
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
55
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
56
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
57
|
+
"@aws-sdk/util-endpoints": "3.202.0",
|
|
58
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
59
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
60
60
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
61
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
62
|
-
"@aws-sdk/xml-builder": "3.
|
|
61
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
62
|
+
"@aws-sdk/xml-builder": "3.201.0",
|
|
63
63
|
"fast-xml-parser": "4.0.11",
|
|
64
64
|
"tslib": "^2.3.1",
|
|
65
65
|
"uuid": "^8.3.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
69
|
-
"@tsconfig/
|
|
69
|
+
"@tsconfig/node14": "1.0.3",
|
|
70
70
|
"@types/mocha": "^8.0.4",
|
|
71
71
|
"@types/node": "^12.7.5",
|
|
72
72
|
"@types/uuid": "^8.3.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|
|
85
|
-
"node": ">=
|
|
85
|
+
"node": ">=14.0.0"
|
|
86
86
|
},
|
|
87
87
|
"typesVersions": {
|
|
88
88
|
"<4.0": {
|