@aws-sdk/client-s3-control 3.201.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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-s3-control:** S3 on Outposts launches support for Lifecycle configuration for Outposts buckets. With S3 Lifecycle configuration, you can mange objects so they are stored cost effectively. You can manage objects using size-based rules and specify how many noncurrent versions bucket will retain. ([556a2da](https://github.com/aws/aws-sdk-js-v3/commit/556a2da86d7be79e8a8993715c6eb9757b252966))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
7
18
 
8
19
 
@@ -308,9 +308,9 @@ exports.ruleSet = {
308
308
  authSchemes: [
309
309
  {
310
310
  name: "sigv4",
311
- signingRegion: "{Region}",
312
311
  disableDoubleEncoding: true,
313
312
  signingName: "s3-outposts",
313
+ signingRegion: "{Region}",
314
314
  },
315
315
  ],
316
316
  },
@@ -336,9 +336,9 @@ exports.ruleSet = {
336
336
  authSchemes: [
337
337
  {
338
338
  name: "sigv4",
339
- signingRegion: "{Region}",
340
339
  disableDoubleEncoding: true,
341
340
  signingName: "s3-outposts",
341
+ signingRegion: "{Region}",
342
342
  },
343
343
  ],
344
344
  },
@@ -354,9 +354,9 @@ exports.ruleSet = {
354
354
  authSchemes: [
355
355
  {
356
356
  name: "sigv4",
357
- signingRegion: "{Region}",
358
357
  disableDoubleEncoding: true,
359
358
  signingName: "s3-outposts",
359
+ signingRegion: "{Region}",
360
360
  },
361
361
  ],
362
362
  },
@@ -825,9 +825,9 @@ exports.ruleSet = {
825
825
  authSchemes: [
826
826
  {
827
827
  name: "sigv4",
828
- signingRegion: "{accessPointArn#region}",
829
828
  disableDoubleEncoding: true,
830
829
  signingName: "s3-outposts",
830
+ signingRegion: "{accessPointArn#region}",
831
831
  },
832
832
  ],
833
833
  },
@@ -868,9 +868,9 @@ exports.ruleSet = {
868
868
  authSchemes: [
869
869
  {
870
870
  name: "sigv4",
871
- signingRegion: "{accessPointArn#region}",
872
871
  disableDoubleEncoding: true,
873
872
  signingName: "s3-outposts",
873
+ signingRegion: "{accessPointArn#region}",
874
874
  },
875
875
  ],
876
876
  },
@@ -893,9 +893,9 @@ exports.ruleSet = {
893
893
  authSchemes: [
894
894
  {
895
895
  name: "sigv4",
896
- signingRegion: "{accessPointArn#region}",
897
896
  disableDoubleEncoding: true,
898
897
  signingName: "s3-outposts",
898
+ signingRegion: "{accessPointArn#region}",
899
899
  },
900
900
  ],
901
901
  },
@@ -1457,9 +1457,9 @@ exports.ruleSet = {
1457
1457
  authSchemes: [
1458
1458
  {
1459
1459
  name: "sigv4",
1460
- signingRegion: "{bucketArn#region}",
1461
1460
  disableDoubleEncoding: true,
1462
1461
  signingName: "s3-outposts",
1462
+ signingRegion: "{bucketArn#region}",
1463
1463
  },
1464
1464
  ],
1465
1465
  },
@@ -1500,9 +1500,9 @@ exports.ruleSet = {
1500
1500
  authSchemes: [
1501
1501
  {
1502
1502
  name: "sigv4",
1503
- signingRegion: "{bucketArn#region}",
1504
1503
  disableDoubleEncoding: true,
1505
1504
  signingName: "s3-outposts",
1505
+ signingRegion: "{bucketArn#region}",
1506
1506
  },
1507
1507
  ],
1508
1508
  },
@@ -1525,9 +1525,9 @@ exports.ruleSet = {
1525
1525
  authSchemes: [
1526
1526
  {
1527
1527
  name: "sigv4",
1528
- signingRegion: "{bucketArn#region}",
1529
1528
  disableDoubleEncoding: true,
1530
1529
  signingName: "s3-outposts",
1530
+ signingRegion: "{bucketArn#region}",
1531
1531
  },
1532
1532
  ],
1533
1533
  },
@@ -1879,9 +1879,9 @@ exports.ruleSet = {
1879
1879
  authSchemes: [
1880
1880
  {
1881
1881
  name: "sigv4",
1882
- signingRegion: "{Region}",
1883
1882
  disableDoubleEncoding: true,
1884
1883
  signingName: "s3",
1884
+ signingRegion: "{Region}",
1885
1885
  },
1886
1886
  ],
1887
1887
  },
@@ -1897,9 +1897,9 @@ exports.ruleSet = {
1897
1897
  authSchemes: [
1898
1898
  {
1899
1899
  name: "sigv4",
1900
- signingRegion: "{Region}",
1901
1900
  disableDoubleEncoding: true,
1902
1901
  signingName: "s3",
1902
+ signingRegion: "{Region}",
1903
1903
  },
1904
1904
  ],
1905
1905
  },
@@ -1967,9 +1967,9 @@ exports.ruleSet = {
1967
1967
  authSchemes: [
1968
1968
  {
1969
1969
  name: "sigv4",
1970
- signingRegion: "{Region}",
1971
1970
  disableDoubleEncoding: true,
1972
1971
  signingName: "s3",
1972
+ signingRegion: "{Region}",
1973
1973
  },
1974
1974
  ],
1975
1975
  },
@@ -2004,9 +2004,9 @@ exports.ruleSet = {
2004
2004
  authSchemes: [
2005
2005
  {
2006
2006
  name: "sigv4",
2007
- signingRegion: "{Region}",
2008
2007
  disableDoubleEncoding: true,
2009
2008
  signingName: "s3",
2009
+ signingRegion: "{Region}",
2010
2010
  },
2011
2011
  ],
2012
2012
  },
@@ -2066,9 +2066,9 @@ exports.ruleSet = {
2066
2066
  authSchemes: [
2067
2067
  {
2068
2068
  name: "sigv4",
2069
- signingRegion: "{Region}",
2070
2069
  disableDoubleEncoding: true,
2071
2070
  signingName: "s3",
2071
+ signingRegion: "{Region}",
2072
2072
  },
2073
2073
  ],
2074
2074
  },
@@ -2103,9 +2103,9 @@ exports.ruleSet = {
2103
2103
  authSchemes: [
2104
2104
  {
2105
2105
  name: "sigv4",
2106
- signingRegion: "{Region}",
2107
2106
  disableDoubleEncoding: true,
2108
2107
  signingName: "s3",
2108
+ signingRegion: "{Region}",
2109
2109
  },
2110
2110
  ],
2111
2111
  },
@@ -2165,9 +2165,9 @@ exports.ruleSet = {
2165
2165
  authSchemes: [
2166
2166
  {
2167
2167
  name: "sigv4",
2168
- signingRegion: "{Region}",
2169
2168
  disableDoubleEncoding: true,
2170
2169
  signingName: "s3",
2170
+ signingRegion: "{Region}",
2171
2171
  },
2172
2172
  ],
2173
2173
  },
@@ -2202,9 +2202,9 @@ exports.ruleSet = {
2202
2202
  authSchemes: [
2203
2203
  {
2204
2204
  name: "sigv4",
2205
- signingRegion: "{Region}",
2206
2205
  disableDoubleEncoding: true,
2207
2206
  signingName: "s3",
2207
+ signingRegion: "{Region}",
2208
2208
  },
2209
2209
  ],
2210
2210
  },
@@ -2264,9 +2264,9 @@ exports.ruleSet = {
2264
2264
  authSchemes: [
2265
2265
  {
2266
2266
  name: "sigv4",
2267
- signingRegion: "{Region}",
2268
2267
  disableDoubleEncoding: true,
2269
2268
  signingName: "s3",
2269
+ signingRegion: "{Region}",
2270
2270
  },
2271
2271
  ],
2272
2272
  },
@@ -2301,9 +2301,9 @@ exports.ruleSet = {
2301
2301
  authSchemes: [
2302
2302
  {
2303
2303
  name: "sigv4",
2304
- signingRegion: "{Region}",
2305
2304
  disableDoubleEncoding: true,
2306
2305
  signingName: "s3",
2306
+ signingRegion: "{Region}",
2307
2307
  },
2308
2308
  ],
2309
2309
  },
@@ -4455,6 +4455,18 @@ const serializeAws_restXmlLifecycleRuleAndOperator = (input, context) => {
4455
4455
  });
4456
4456
  bodyNode.addChildNode(containerNode);
4457
4457
  }
4458
+ if (input.ObjectSizeGreaterThan != null) {
4459
+ const node = xml_builder_1.XmlNode
4460
+ .of("ObjectSizeGreaterThanBytes", String(input.ObjectSizeGreaterThan))
4461
+ .withName("ObjectSizeGreaterThan");
4462
+ bodyNode.addChildNode(node);
4463
+ }
4464
+ if (input.ObjectSizeLessThan != null) {
4465
+ const node = xml_builder_1.XmlNode
4466
+ .of("ObjectSizeLessThanBytes", String(input.ObjectSizeLessThan))
4467
+ .withName("ObjectSizeLessThan");
4468
+ bodyNode.addChildNode(node);
4469
+ }
4458
4470
  return bodyNode;
4459
4471
  };
4460
4472
  const serializeAws_restXmlLifecycleRuleFilter = (input, context) => {
@@ -4471,6 +4483,18 @@ const serializeAws_restXmlLifecycleRuleFilter = (input, context) => {
4471
4483
  const node = serializeAws_restXmlLifecycleRuleAndOperator(input.And, context).withName("And");
4472
4484
  bodyNode.addChildNode(node);
4473
4485
  }
4486
+ if (input.ObjectSizeGreaterThan != null) {
4487
+ const node = xml_builder_1.XmlNode
4488
+ .of("ObjectSizeGreaterThanBytes", String(input.ObjectSizeGreaterThan))
4489
+ .withName("ObjectSizeGreaterThan");
4490
+ bodyNode.addChildNode(node);
4491
+ }
4492
+ if (input.ObjectSizeLessThan != null) {
4493
+ const node = xml_builder_1.XmlNode
4494
+ .of("ObjectSizeLessThanBytes", String(input.ObjectSizeLessThan))
4495
+ .withName("ObjectSizeLessThan");
4496
+ bodyNode.addChildNode(node);
4497
+ }
4474
4498
  return bodyNode;
4475
4499
  };
4476
4500
  const serializeAws_restXmlLifecycleRules = (input, context) => {
@@ -4487,6 +4511,12 @@ const serializeAws_restXmlNoncurrentVersionExpiration = (input, context) => {
4487
4511
  const node = xml_builder_1.XmlNode.of("Days", String(input.NoncurrentDays)).withName("NoncurrentDays");
4488
4512
  bodyNode.addChildNode(node);
4489
4513
  }
4514
+ if (input.NewerNoncurrentVersions != null) {
4515
+ const node = xml_builder_1.XmlNode
4516
+ .of("NoncurrentVersionCount", String(input.NewerNoncurrentVersions))
4517
+ .withName("NewerNoncurrentVersions");
4518
+ bodyNode.addChildNode(node);
4519
+ }
4490
4520
  return bodyNode;
4491
4521
  };
4492
4522
  const serializeAws_restXmlNoncurrentVersionTransition = (input, context) => {
@@ -5977,6 +6007,8 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
5977
6007
  const contents = {
5978
6008
  Prefix: undefined,
5979
6009
  Tags: undefined,
6010
+ ObjectSizeGreaterThan: undefined,
6011
+ ObjectSizeLessThan: undefined,
5980
6012
  };
5981
6013
  if (output["Prefix"] !== undefined) {
5982
6014
  contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
@@ -5987,6 +6019,12 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
5987
6019
  else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
5988
6020
  contents.Tags = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
5989
6021
  }
6022
+ if (output["ObjectSizeGreaterThan"] !== undefined) {
6023
+ contents.ObjectSizeGreaterThan = (0, smithy_client_1.strictParseLong)(output["ObjectSizeGreaterThan"]);
6024
+ }
6025
+ if (output["ObjectSizeLessThan"] !== undefined) {
6026
+ contents.ObjectSizeLessThan = (0, smithy_client_1.strictParseLong)(output["ObjectSizeLessThan"]);
6027
+ }
5990
6028
  return contents;
5991
6029
  };
5992
6030
  const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
@@ -5994,6 +6032,8 @@ const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
5994
6032
  Prefix: undefined,
5995
6033
  Tag: undefined,
5996
6034
  And: undefined,
6035
+ ObjectSizeGreaterThan: undefined,
6036
+ ObjectSizeLessThan: undefined,
5997
6037
  };
5998
6038
  if (output["Prefix"] !== undefined) {
5999
6039
  contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
@@ -6004,6 +6044,12 @@ const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
6004
6044
  if (output["And"] !== undefined) {
6005
6045
  contents.And = deserializeAws_restXmlLifecycleRuleAndOperator(output["And"], context);
6006
6046
  }
6047
+ if (output["ObjectSizeGreaterThan"] !== undefined) {
6048
+ contents.ObjectSizeGreaterThan = (0, smithy_client_1.strictParseLong)(output["ObjectSizeGreaterThan"]);
6049
+ }
6050
+ if (output["ObjectSizeLessThan"] !== undefined) {
6051
+ contents.ObjectSizeLessThan = (0, smithy_client_1.strictParseLong)(output["ObjectSizeLessThan"]);
6052
+ }
6007
6053
  return contents;
6008
6054
  };
6009
6055
  const deserializeAws_restXmlLifecycleRules = (output, context) => {
@@ -6121,10 +6167,14 @@ const deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse = (output, cont
6121
6167
  const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
6122
6168
  const contents = {
6123
6169
  NoncurrentDays: undefined,
6170
+ NewerNoncurrentVersions: undefined,
6124
6171
  };
6125
6172
  if (output["NoncurrentDays"] !== undefined) {
6126
6173
  contents.NoncurrentDays = (0, smithy_client_1.strictParseInt32)(output["NoncurrentDays"]);
6127
6174
  }
6175
+ if (output["NewerNoncurrentVersions"] !== undefined) {
6176
+ contents.NewerNoncurrentVersions = (0, smithy_client_1.strictParseInt32)(output["NewerNoncurrentVersions"]);
6177
+ }
6128
6178
  return contents;
6129
6179
  };
6130
6180
  const deserializeAws_restXmlNoncurrentVersionTransition = (output, context) => {
@@ -305,9 +305,9 @@ export const ruleSet = {
305
305
  authSchemes: [
306
306
  {
307
307
  name: "sigv4",
308
- signingRegion: "{Region}",
309
308
  disableDoubleEncoding: true,
310
309
  signingName: "s3-outposts",
310
+ signingRegion: "{Region}",
311
311
  },
312
312
  ],
313
313
  },
@@ -333,9 +333,9 @@ export const ruleSet = {
333
333
  authSchemes: [
334
334
  {
335
335
  name: "sigv4",
336
- signingRegion: "{Region}",
337
336
  disableDoubleEncoding: true,
338
337
  signingName: "s3-outposts",
338
+ signingRegion: "{Region}",
339
339
  },
340
340
  ],
341
341
  },
@@ -351,9 +351,9 @@ export const ruleSet = {
351
351
  authSchemes: [
352
352
  {
353
353
  name: "sigv4",
354
- signingRegion: "{Region}",
355
354
  disableDoubleEncoding: true,
356
355
  signingName: "s3-outposts",
356
+ signingRegion: "{Region}",
357
357
  },
358
358
  ],
359
359
  },
@@ -822,9 +822,9 @@ export const ruleSet = {
822
822
  authSchemes: [
823
823
  {
824
824
  name: "sigv4",
825
- signingRegion: "{accessPointArn#region}",
826
825
  disableDoubleEncoding: true,
827
826
  signingName: "s3-outposts",
827
+ signingRegion: "{accessPointArn#region}",
828
828
  },
829
829
  ],
830
830
  },
@@ -865,9 +865,9 @@ export const ruleSet = {
865
865
  authSchemes: [
866
866
  {
867
867
  name: "sigv4",
868
- signingRegion: "{accessPointArn#region}",
869
868
  disableDoubleEncoding: true,
870
869
  signingName: "s3-outposts",
870
+ signingRegion: "{accessPointArn#region}",
871
871
  },
872
872
  ],
873
873
  },
@@ -890,9 +890,9 @@ export const ruleSet = {
890
890
  authSchemes: [
891
891
  {
892
892
  name: "sigv4",
893
- signingRegion: "{accessPointArn#region}",
894
893
  disableDoubleEncoding: true,
895
894
  signingName: "s3-outposts",
895
+ signingRegion: "{accessPointArn#region}",
896
896
  },
897
897
  ],
898
898
  },
@@ -1454,9 +1454,9 @@ export const ruleSet = {
1454
1454
  authSchemes: [
1455
1455
  {
1456
1456
  name: "sigv4",
1457
- signingRegion: "{bucketArn#region}",
1458
1457
  disableDoubleEncoding: true,
1459
1458
  signingName: "s3-outposts",
1459
+ signingRegion: "{bucketArn#region}",
1460
1460
  },
1461
1461
  ],
1462
1462
  },
@@ -1497,9 +1497,9 @@ export const ruleSet = {
1497
1497
  authSchemes: [
1498
1498
  {
1499
1499
  name: "sigv4",
1500
- signingRegion: "{bucketArn#region}",
1501
1500
  disableDoubleEncoding: true,
1502
1501
  signingName: "s3-outposts",
1502
+ signingRegion: "{bucketArn#region}",
1503
1503
  },
1504
1504
  ],
1505
1505
  },
@@ -1522,9 +1522,9 @@ export const ruleSet = {
1522
1522
  authSchemes: [
1523
1523
  {
1524
1524
  name: "sigv4",
1525
- signingRegion: "{bucketArn#region}",
1526
1525
  disableDoubleEncoding: true,
1527
1526
  signingName: "s3-outposts",
1527
+ signingRegion: "{bucketArn#region}",
1528
1528
  },
1529
1529
  ],
1530
1530
  },
@@ -1876,9 +1876,9 @@ export const ruleSet = {
1876
1876
  authSchemes: [
1877
1877
  {
1878
1878
  name: "sigv4",
1879
- signingRegion: "{Region}",
1880
1879
  disableDoubleEncoding: true,
1881
1880
  signingName: "s3",
1881
+ signingRegion: "{Region}",
1882
1882
  },
1883
1883
  ],
1884
1884
  },
@@ -1894,9 +1894,9 @@ export const ruleSet = {
1894
1894
  authSchemes: [
1895
1895
  {
1896
1896
  name: "sigv4",
1897
- signingRegion: "{Region}",
1898
1897
  disableDoubleEncoding: true,
1899
1898
  signingName: "s3",
1899
+ signingRegion: "{Region}",
1900
1900
  },
1901
1901
  ],
1902
1902
  },
@@ -1964,9 +1964,9 @@ export const ruleSet = {
1964
1964
  authSchemes: [
1965
1965
  {
1966
1966
  name: "sigv4",
1967
- signingRegion: "{Region}",
1968
1967
  disableDoubleEncoding: true,
1969
1968
  signingName: "s3",
1969
+ signingRegion: "{Region}",
1970
1970
  },
1971
1971
  ],
1972
1972
  },
@@ -2001,9 +2001,9 @@ export const ruleSet = {
2001
2001
  authSchemes: [
2002
2002
  {
2003
2003
  name: "sigv4",
2004
- signingRegion: "{Region}",
2005
2004
  disableDoubleEncoding: true,
2006
2005
  signingName: "s3",
2006
+ signingRegion: "{Region}",
2007
2007
  },
2008
2008
  ],
2009
2009
  },
@@ -2063,9 +2063,9 @@ export const ruleSet = {
2063
2063
  authSchemes: [
2064
2064
  {
2065
2065
  name: "sigv4",
2066
- signingRegion: "{Region}",
2067
2066
  disableDoubleEncoding: true,
2068
2067
  signingName: "s3",
2068
+ signingRegion: "{Region}",
2069
2069
  },
2070
2070
  ],
2071
2071
  },
@@ -2100,9 +2100,9 @@ export const ruleSet = {
2100
2100
  authSchemes: [
2101
2101
  {
2102
2102
  name: "sigv4",
2103
- signingRegion: "{Region}",
2104
2103
  disableDoubleEncoding: true,
2105
2104
  signingName: "s3",
2105
+ signingRegion: "{Region}",
2106
2106
  },
2107
2107
  ],
2108
2108
  },
@@ -2162,9 +2162,9 @@ export const ruleSet = {
2162
2162
  authSchemes: [
2163
2163
  {
2164
2164
  name: "sigv4",
2165
- signingRegion: "{Region}",
2166
2165
  disableDoubleEncoding: true,
2167
2166
  signingName: "s3",
2167
+ signingRegion: "{Region}",
2168
2168
  },
2169
2169
  ],
2170
2170
  },
@@ -2199,9 +2199,9 @@ export const ruleSet = {
2199
2199
  authSchemes: [
2200
2200
  {
2201
2201
  name: "sigv4",
2202
- signingRegion: "{Region}",
2203
2202
  disableDoubleEncoding: true,
2204
2203
  signingName: "s3",
2204
+ signingRegion: "{Region}",
2205
2205
  },
2206
2206
  ],
2207
2207
  },
@@ -2261,9 +2261,9 @@ export const ruleSet = {
2261
2261
  authSchemes: [
2262
2262
  {
2263
2263
  name: "sigv4",
2264
- signingRegion: "{Region}",
2265
2264
  disableDoubleEncoding: true,
2266
2265
  signingName: "s3",
2266
+ signingRegion: "{Region}",
2267
2267
  },
2268
2268
  ],
2269
2269
  },
@@ -2298,9 +2298,9 @@ export const ruleSet = {
2298
2298
  authSchemes: [
2299
2299
  {
2300
2300
  name: "sigv4",
2301
- signingRegion: "{Region}",
2302
2301
  disableDoubleEncoding: true,
2303
2302
  signingName: "s3",
2303
+ signingRegion: "{Region}",
2304
2304
  },
2305
2305
  ],
2306
2306
  },
@@ -4332,6 +4332,18 @@ const serializeAws_restXmlLifecycleRuleAndOperator = (input, context) => {
4332
4332
  });
4333
4333
  bodyNode.addChildNode(containerNode);
4334
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
+ }
4335
4347
  return bodyNode;
4336
4348
  };
4337
4349
  const serializeAws_restXmlLifecycleRuleFilter = (input, context) => {
@@ -4348,6 +4360,18 @@ const serializeAws_restXmlLifecycleRuleFilter = (input, context) => {
4348
4360
  const node = serializeAws_restXmlLifecycleRuleAndOperator(input.And, context).withName("And");
4349
4361
  bodyNode.addChildNode(node);
4350
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
+ }
4351
4375
  return bodyNode;
4352
4376
  };
4353
4377
  const serializeAws_restXmlLifecycleRules = (input, context) => {
@@ -4364,6 +4388,12 @@ const serializeAws_restXmlNoncurrentVersionExpiration = (input, context) => {
4364
4388
  const node = __XmlNode.of("Days", String(input.NoncurrentDays)).withName("NoncurrentDays");
4365
4389
  bodyNode.addChildNode(node);
4366
4390
  }
4391
+ if (input.NewerNoncurrentVersions != null) {
4392
+ const node = __XmlNode
4393
+ .of("NoncurrentVersionCount", String(input.NewerNoncurrentVersions))
4394
+ .withName("NewerNoncurrentVersions");
4395
+ bodyNode.addChildNode(node);
4396
+ }
4367
4397
  return bodyNode;
4368
4398
  };
4369
4399
  const serializeAws_restXmlNoncurrentVersionTransition = (input, context) => {
@@ -5854,6 +5884,8 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
5854
5884
  const contents = {
5855
5885
  Prefix: undefined,
5856
5886
  Tags: undefined,
5887
+ ObjectSizeGreaterThan: undefined,
5888
+ ObjectSizeLessThan: undefined,
5857
5889
  };
5858
5890
  if (output["Prefix"] !== undefined) {
5859
5891
  contents.Prefix = __expectString(output["Prefix"]);
@@ -5864,6 +5896,12 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
5864
5896
  else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
5865
5897
  contents.Tags = deserializeAws_restXmlS3TagSet(__getArrayIfSingleItem(output["Tags"]["member"]), context);
5866
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
+ }
5867
5905
  return contents;
5868
5906
  };
5869
5907
  const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
@@ -5871,6 +5909,8 @@ const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
5871
5909
  Prefix: undefined,
5872
5910
  Tag: undefined,
5873
5911
  And: undefined,
5912
+ ObjectSizeGreaterThan: undefined,
5913
+ ObjectSizeLessThan: undefined,
5874
5914
  };
5875
5915
  if (output["Prefix"] !== undefined) {
5876
5916
  contents.Prefix = __expectString(output["Prefix"]);
@@ -5881,6 +5921,12 @@ const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
5881
5921
  if (output["And"] !== undefined) {
5882
5922
  contents.And = deserializeAws_restXmlLifecycleRuleAndOperator(output["And"], context);
5883
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
+ }
5884
5930
  return contents;
5885
5931
  };
5886
5932
  const deserializeAws_restXmlLifecycleRules = (output, context) => {
@@ -5998,10 +6044,14 @@ const deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse = (output, cont
5998
6044
  const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
5999
6045
  const contents = {
6000
6046
  NoncurrentDays: undefined,
6047
+ NewerNoncurrentVersions: undefined,
6001
6048
  };
6002
6049
  if (output["NoncurrentDays"] !== undefined) {
6003
6050
  contents.NoncurrentDays = __strictParseInt32(output["NoncurrentDays"]);
6004
6051
  }
6052
+ if (output["NewerNoncurrentVersions"] !== undefined) {
6053
+ contents.NewerNoncurrentVersions = __strictParseInt32(output["NewerNoncurrentVersions"]);
6054
+ }
6005
6055
  return contents;
6006
6056
  };
6007
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 input is
455
- * <code>GetObject</code>.</p>
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.201.0",
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,9 +21,9 @@
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.201.0",
24
+ "@aws-sdk/client-sts": "3.202.0",
25
25
  "@aws-sdk/config-resolver": "3.201.0",
26
- "@aws-sdk/credential-provider-node": "3.201.0",
26
+ "@aws-sdk/credential-provider-node": "3.202.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.201.0",
28
28
  "@aws-sdk/hash-blob-browser": "3.201.0",
29
29
  "@aws-sdk/hash-node": "3.201.0",
@@ -54,7 +54,7 @@
54
54
  "@aws-sdk/util-body-length-node": "3.201.0",
55
55
  "@aws-sdk/util-defaults-mode-browser": "3.201.0",
56
56
  "@aws-sdk/util-defaults-mode-node": "3.201.0",
57
- "@aws-sdk/util-endpoints": "3.201.0",
57
+ "@aws-sdk/util-endpoints": "3.202.0",
58
58
  "@aws-sdk/util-user-agent-browser": "3.201.0",
59
59
  "@aws-sdk/util-user-agent-node": "3.201.0",
60
60
  "@aws-sdk/util-utf8-browser": "3.188.0",