@aws-sdk/client-s3-control 3.201.0 → 3.204.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.
@@ -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) => {
@@ -6,7 +6,6 @@ import { blobHasher as streamHasher } from "@aws-sdk/hash-blob-browser";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { Md5 } from "@aws-sdk/md5-js";
8
8
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
9
- import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
10
9
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
11
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
12
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
@@ -22,8 +21,6 @@ export const getRuntimeConfig = (config) => {
22
21
  ...config,
23
22
  runtime: "browser",
24
23
  defaultsMode,
25
- base64Decoder: config?.base64Decoder ?? fromBase64,
26
- base64Encoder: config?.base64Encoder ?? toBase64,
27
24
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
25
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
29
26
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -7,7 +7,6 @@ import { fileStreamHasher as streamHasher } from "@aws-sdk/hash-stream-node";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
- import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
10
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
11
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
12
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
@@ -25,8 +24,6 @@ export const getRuntimeConfig = (config) => {
25
24
  ...config,
26
25
  runtime: "node",
27
26
  defaultsMode,
28
- base64Decoder: config?.base64Decoder ?? fromBase64,
29
- base64Encoder: config?.base64Encoder ?? toBase64,
30
27
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
31
28
  credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
32
29
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -1,7 +1,10 @@
1
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
2
3
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
3
4
  export const getRuntimeConfig = (config) => ({
4
5
  apiVersion: "2018-08-20",
6
+ base64Decoder: config?.base64Decoder ?? fromBase64,
7
+ base64Encoder: config?.base64Encoder ?? toBase64,
5
8
  disableHostPrefix: config?.disableHostPrefix ?? false,
6
9
  endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
7
10
  logger: config?.logger ?? {},
@@ -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
  /**
@@ -7,8 +7,6 @@ import { S3ControlClientConfig } from "./S3ControlClient";
7
7
  export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
8
8
  runtime: string;
9
9
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
10
- base64Decoder: import("@aws-sdk/types").Decoder;
11
- base64Encoder: import("@aws-sdk/types").Encoder;
12
10
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
13
11
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
14
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
@@ -26,6 +24,8 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
26
24
  utf8Encoder: import("@aws-sdk/types").Encoder;
27
25
  apiVersion: string;
28
26
  urlParser: import("@aws-sdk/types").UrlParser;
27
+ base64Decoder: import("@aws-sdk/types").Decoder;
28
+ base64Encoder: import("@aws-sdk/types").Encoder;
29
29
  disableHostPrefix: boolean;
30
30
  logger: import("@aws-sdk/types").Logger;
31
31
  serviceId: string;
@@ -8,8 +8,6 @@ import { S3ControlClientConfig } from "./S3ControlClient";
8
8
  export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
9
9
  runtime: string;
10
10
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
11
- base64Decoder: import("@aws-sdk/types").Decoder;
12
- base64Encoder: import("@aws-sdk/types").Encoder;
13
11
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
14
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
15
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
@@ -27,6 +25,8 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
27
25
  utf8Encoder: import("@aws-sdk/types").Encoder;
28
26
  apiVersion: string;
29
27
  urlParser: import("@aws-sdk/types").UrlParser;
28
+ base64Decoder: import("@aws-sdk/types").Decoder;
29
+ base64Encoder: import("@aws-sdk/types").Encoder;
30
30
  disableHostPrefix: boolean;
31
31
  logger: import("@aws-sdk/types").Logger;
32
32
  serviceId: string;
@@ -5,6 +5,8 @@ import { S3ControlClientConfig } from "./S3ControlClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
7
7
  apiVersion: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
8
10
  disableHostPrefix: boolean;
9
11
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
12
  logger?: __Logger | undefined;
@@ -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",
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
5
5
  defaultsMode: import("@aws-sdk/types").Provider<
6
6
  import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider: (
12
10
  input: any
@@ -37,6 +35,8 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
37
35
  utf8Encoder: import("@aws-sdk/types").Encoder;
38
36
  apiVersion: string;
39
37
  urlParser: import("@aws-sdk/types").UrlParser;
38
+ base64Decoder: import("@aws-sdk/types").Decoder;
39
+ base64Encoder: import("@aws-sdk/types").Encoder;
40
40
  disableHostPrefix: boolean;
41
41
  logger: import("@aws-sdk/types").Logger;
42
42
  serviceId: string;
@@ -6,8 +6,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<
7
7
  import("@aws-sdk/smithy-client").ResolvedDefaultsMode
8
8
  >;
9
- base64Decoder: import("@aws-sdk/types").Decoder;
10
- base64Encoder: import("@aws-sdk/types").Encoder;
11
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
10
  credentialDefaultProvider: (
13
11
  input: any
@@ -38,6 +36,8 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
38
36
  utf8Encoder: import("@aws-sdk/types").Encoder;
39
37
  apiVersion: string;
40
38
  urlParser: import("@aws-sdk/types").UrlParser;
39
+ base64Decoder: import("@aws-sdk/types").Decoder;
40
+ base64Encoder: import("@aws-sdk/types").Encoder;
41
41
  disableHostPrefix: boolean;
42
42
  logger: import("@aws-sdk/types").Logger;
43
43
  serviceId: string;
@@ -2,6 +2,8 @@ import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { S3ControlClientConfig } from "./S3ControlClient";
3
3
  export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
4
4
  apiVersion: string;
5
+ base64Decoder: import("@aws-sdk/types").Decoder;
6
+ base64Encoder: import("@aws-sdk/types").Encoder;
5
7
  disableHostPrefix: boolean;
6
8
  endpointProvider: (
7
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,