@mavogel/awscdk-rootmail 0.0.166 → 0.0.167
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/.jsii +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +5 -5
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/client-route-53/package.json +5 -5
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +36 -120
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +0 -28
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +37 -91
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +10 -104
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +10 -102
- package/node_modules/@aws-sdk/client-s3/package.json +5 -5
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/client-ses/package.json +5 -5
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/package.json +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/client-sso/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/client-sts/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +4 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +2 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +1 -1
- package/node_modules/cdk-nag/.jsii +3 -3
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/package.json +3 -3
- package/package.json +10 -10
|
@@ -3,7 +3,7 @@ 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 { AnalyticsFilter, BucketAlreadyExists, BucketAlreadyOwnedByYou, InvalidObjectState,
|
|
6
|
+
import { AnalyticsFilter, BucketAlreadyExists, BucketAlreadyOwnedByYou, InvalidObjectState, MetricsFilter, NoSuchBucket, NoSuchKey, NoSuchUpload, NotFound, ObjectNotInActiveTierError, } from "../models/models_0";
|
|
7
7
|
import { ObjectAlreadyInActiveTierError, } from "../models/models_1";
|
|
8
8
|
import { S3ServiceException as __BaseException } from "../models/S3ServiceException";
|
|
9
9
|
export const se_AbortMultipartUploadCommand = async (input, context) => {
|
|
@@ -4407,39 +4407,19 @@ const se_LifecycleRuleAndOperator = (input, context) => {
|
|
|
4407
4407
|
};
|
|
4408
4408
|
const se_LifecycleRuleFilter = (input, context) => {
|
|
4409
4409
|
const bn = new __XmlNode(_LRF);
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
bn.c(__XmlNode.of(_OSGTB, String(value)).n(_OSGT));
|
|
4424
|
-
}
|
|
4425
|
-
},
|
|
4426
|
-
ObjectSizeLessThan: (value) => {
|
|
4427
|
-
if (input[_OSLT] != null) {
|
|
4428
|
-
bn.c(__XmlNode.of(_OSLTB, String(value)).n(_OSLT));
|
|
4429
|
-
}
|
|
4430
|
-
},
|
|
4431
|
-
And: (value) => {
|
|
4432
|
-
if (input[_A] != null) {
|
|
4433
|
-
bn.c(se_LifecycleRuleAndOperator(value, context).n(_A));
|
|
4434
|
-
}
|
|
4435
|
-
},
|
|
4436
|
-
_: (name, value) => {
|
|
4437
|
-
if (!(value instanceof __XmlNode || value instanceof __XmlText)) {
|
|
4438
|
-
throw new Error("Unable to serialize unknown union members in XML.");
|
|
4439
|
-
}
|
|
4440
|
-
bn.c(new __XmlNode(name).c(value));
|
|
4441
|
-
},
|
|
4442
|
-
});
|
|
4410
|
+
bn.cc(input, _P);
|
|
4411
|
+
if (input[_Ta] != null) {
|
|
4412
|
+
bn.c(se_Tag(input[_Ta], context).n(_Ta));
|
|
4413
|
+
}
|
|
4414
|
+
if (input[_OSGT] != null) {
|
|
4415
|
+
bn.c(__XmlNode.of(_OSGTB, String(input[_OSGT])).n(_OSGT));
|
|
4416
|
+
}
|
|
4417
|
+
if (input[_OSLT] != null) {
|
|
4418
|
+
bn.c(__XmlNode.of(_OSLTB, String(input[_OSLT])).n(_OSLT));
|
|
4419
|
+
}
|
|
4420
|
+
if (input[_A] != null) {
|
|
4421
|
+
bn.c(se_LifecycleRuleAndOperator(input[_A], context).n(_A));
|
|
4422
|
+
}
|
|
4443
4423
|
return bn;
|
|
4444
4424
|
};
|
|
4445
4425
|
const se_LifecycleRules = (input, context) => {
|
|
@@ -4788,29 +4768,13 @@ const se_ReplicationRuleAndOperator = (input, context) => {
|
|
|
4788
4768
|
};
|
|
4789
4769
|
const se_ReplicationRuleFilter = (input, context) => {
|
|
4790
4770
|
const bn = new __XmlNode(_RRF);
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
if (input[_Ta] != null) {
|
|
4799
|
-
bn.c(se_Tag(value, context).n(_Ta));
|
|
4800
|
-
}
|
|
4801
|
-
},
|
|
4802
|
-
And: (value) => {
|
|
4803
|
-
if (input[_A] != null) {
|
|
4804
|
-
bn.c(se_ReplicationRuleAndOperator(value, context).n(_A));
|
|
4805
|
-
}
|
|
4806
|
-
},
|
|
4807
|
-
_: (name, value) => {
|
|
4808
|
-
if (!(value instanceof __XmlNode || value instanceof __XmlText)) {
|
|
4809
|
-
throw new Error("Unable to serialize unknown union members in XML.");
|
|
4810
|
-
}
|
|
4811
|
-
bn.c(new __XmlNode(name).c(value));
|
|
4812
|
-
},
|
|
4813
|
-
});
|
|
4771
|
+
bn.cc(input, _P);
|
|
4772
|
+
if (input[_Ta] != null) {
|
|
4773
|
+
bn.c(se_Tag(input[_Ta], context).n(_Ta));
|
|
4774
|
+
}
|
|
4775
|
+
if (input[_A] != null) {
|
|
4776
|
+
bn.c(se_ReplicationRuleAndOperator(input[_A], context).n(_A));
|
|
4777
|
+
}
|
|
4814
4778
|
return bn;
|
|
4815
4779
|
};
|
|
4816
4780
|
const se_ReplicationRules = (input, context) => {
|
|
@@ -5875,10 +5839,8 @@ const de_LifecycleRule = (output, context) => {
|
|
|
5875
5839
|
if (output[_P] != null) {
|
|
5876
5840
|
contents[_P] = __expectString(output[_P]);
|
|
5877
5841
|
}
|
|
5878
|
-
if (output
|
|
5879
|
-
|
|
5880
|
-
else if (output[_F] != null) {
|
|
5881
|
-
contents[_F] = de_LifecycleRuleFilter(__expectUnion(output[_F]), context);
|
|
5842
|
+
if (output[_F] != null) {
|
|
5843
|
+
contents[_F] = de_LifecycleRuleFilter(output[_F], context);
|
|
5882
5844
|
}
|
|
5883
5845
|
if (output[_S] != null) {
|
|
5884
5846
|
contents[_S] = __expectString(output[_S]);
|
|
@@ -5923,32 +5885,23 @@ const de_LifecycleRuleAndOperator = (output, context) => {
|
|
|
5923
5885
|
return contents;
|
|
5924
5886
|
};
|
|
5925
5887
|
const de_LifecycleRuleFilter = (output, context) => {
|
|
5888
|
+
const contents = {};
|
|
5926
5889
|
if (output[_P] != null) {
|
|
5927
|
-
|
|
5928
|
-
Prefix: __expectString(output[_P]),
|
|
5929
|
-
};
|
|
5890
|
+
contents[_P] = __expectString(output[_P]);
|
|
5930
5891
|
}
|
|
5931
5892
|
if (output[_Ta] != null) {
|
|
5932
|
-
|
|
5933
|
-
Tag: de_Tag(output[_Ta], context),
|
|
5934
|
-
};
|
|
5893
|
+
contents[_Ta] = de_Tag(output[_Ta], context);
|
|
5935
5894
|
}
|
|
5936
5895
|
if (output[_OSGT] != null) {
|
|
5937
|
-
|
|
5938
|
-
ObjectSizeGreaterThan: __strictParseLong(output[_OSGT]),
|
|
5939
|
-
};
|
|
5896
|
+
contents[_OSGT] = __strictParseLong(output[_OSGT]);
|
|
5940
5897
|
}
|
|
5941
5898
|
if (output[_OSLT] != null) {
|
|
5942
|
-
|
|
5943
|
-
ObjectSizeLessThan: __strictParseLong(output[_OSLT]),
|
|
5944
|
-
};
|
|
5899
|
+
contents[_OSLT] = __strictParseLong(output[_OSLT]);
|
|
5945
5900
|
}
|
|
5946
5901
|
if (output[_A] != null) {
|
|
5947
|
-
|
|
5948
|
-
And: de_LifecycleRuleAndOperator(output[_A], context),
|
|
5949
|
-
};
|
|
5902
|
+
contents[_A] = de_LifecycleRuleAndOperator(output[_A], context);
|
|
5950
5903
|
}
|
|
5951
|
-
return
|
|
5904
|
+
return contents;
|
|
5952
5905
|
};
|
|
5953
5906
|
const de_LifecycleRules = (output, context) => {
|
|
5954
5907
|
return (output || [])
|
|
@@ -6456,10 +6409,8 @@ const de_ReplicationRule = (output, context) => {
|
|
|
6456
6409
|
if (output[_P] != null) {
|
|
6457
6410
|
contents[_P] = __expectString(output[_P]);
|
|
6458
6411
|
}
|
|
6459
|
-
if (output
|
|
6460
|
-
|
|
6461
|
-
else if (output[_F] != null) {
|
|
6462
|
-
contents[_F] = de_ReplicationRuleFilter(__expectUnion(output[_F]), context);
|
|
6412
|
+
if (output[_F] != null) {
|
|
6413
|
+
contents[_F] = de_ReplicationRuleFilter(output[_F], context);
|
|
6463
6414
|
}
|
|
6464
6415
|
if (output[_S] != null) {
|
|
6465
6416
|
contents[_S] = __expectString(output[_S]);
|
|
@@ -6492,22 +6443,17 @@ const de_ReplicationRuleAndOperator = (output, context) => {
|
|
|
6492
6443
|
return contents;
|
|
6493
6444
|
};
|
|
6494
6445
|
const de_ReplicationRuleFilter = (output, context) => {
|
|
6446
|
+
const contents = {};
|
|
6495
6447
|
if (output[_P] != null) {
|
|
6496
|
-
|
|
6497
|
-
Prefix: __expectString(output[_P]),
|
|
6498
|
-
};
|
|
6448
|
+
contents[_P] = __expectString(output[_P]);
|
|
6499
6449
|
}
|
|
6500
6450
|
if (output[_Ta] != null) {
|
|
6501
|
-
|
|
6502
|
-
Tag: de_Tag(output[_Ta], context),
|
|
6503
|
-
};
|
|
6451
|
+
contents[_Ta] = de_Tag(output[_Ta], context);
|
|
6504
6452
|
}
|
|
6505
6453
|
if (output[_A] != null) {
|
|
6506
|
-
|
|
6507
|
-
And: de_ReplicationRuleAndOperator(output[_A], context),
|
|
6508
|
-
};
|
|
6454
|
+
contents[_A] = de_ReplicationRuleAndOperator(output[_A], context);
|
|
6509
6455
|
}
|
|
6510
|
-
return
|
|
6456
|
+
return contents;
|
|
6511
6457
|
};
|
|
6512
6458
|
const de_ReplicationRules = (output, context) => {
|
|
6513
6459
|
return (output || [])
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha1 } from "@aws-crypto/sha1-browser";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
5
5
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
6
6
|
import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-browser";
|
|
7
7
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
@@ -25,7 +25,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
27
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
|
|
28
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
29
29
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
30
30
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
31
31
|
md5: config?.md5 ?? Md5,
|
|
@@ -4,7 +4,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
4
4
|
import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint";
|
|
5
5
|
import { NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, } from "@aws-sdk/middleware-flexible-checksums";
|
|
6
6
|
import { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS } from "@aws-sdk/middleware-sdk-s3";
|
|
7
|
-
import { NODE_APP_ID_CONFIG_OPTIONS,
|
|
7
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
8
8
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
9
9
|
import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-node";
|
|
10
10
|
import { Hash } from "@smithy/hash-node";
|
|
@@ -32,7 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
32
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
33
33
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
34
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
35
|
-
|
|
35
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
36
36
|
disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? loadNodeConfig(NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS),
|
|
37
37
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
38
38
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
@@ -106,7 +106,7 @@ declare const GetBucketLifecycleConfigurationCommand_base: {
|
|
|
106
106
|
* // },
|
|
107
107
|
* // ID: "STRING_VALUE",
|
|
108
108
|
* // Prefix: "STRING_VALUE",
|
|
109
|
-
* // Filter: { // LifecycleRuleFilter
|
|
109
|
+
* // Filter: { // LifecycleRuleFilter
|
|
110
110
|
* // Prefix: "STRING_VALUE",
|
|
111
111
|
* // Tag: { // Tag
|
|
112
112
|
* // Key: "STRING_VALUE", // required
|
package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ declare const GetBucketReplicationCommand_base: {
|
|
|
80
80
|
* // ID: "STRING_VALUE",
|
|
81
81
|
* // Priority: Number("int"),
|
|
82
82
|
* // Prefix: "STRING_VALUE",
|
|
83
|
-
* // Filter: { // ReplicationRuleFilter
|
|
83
|
+
* // Filter: { // ReplicationRuleFilter
|
|
84
84
|
* // Prefix: "STRING_VALUE",
|
|
85
85
|
* // Tag: { // Tag
|
|
86
86
|
* // Key: "STRING_VALUE", // required
|
|
@@ -136,7 +136,7 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
136
136
|
* },
|
|
137
137
|
* ID: "STRING_VALUE",
|
|
138
138
|
* Prefix: "STRING_VALUE",
|
|
139
|
-
* Filter: { // LifecycleRuleFilter
|
|
139
|
+
* Filter: { // LifecycleRuleFilter
|
|
140
140
|
* Prefix: "STRING_VALUE",
|
|
141
141
|
* Tag: { // Tag
|
|
142
142
|
* Key: "STRING_VALUE", // required
|
package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts
CHANGED
|
@@ -118,7 +118,7 @@ declare const PutBucketReplicationCommand_base: {
|
|
|
118
118
|
* ID: "STRING_VALUE",
|
|
119
119
|
* Priority: Number("int"),
|
|
120
120
|
* Prefix: "STRING_VALUE",
|
|
121
|
-
* Filter: { // ReplicationRuleFilter
|
|
121
|
+
* Filter: { // ReplicationRuleFilter
|
|
122
122
|
* Prefix: "STRING_VALUE",
|
|
123
123
|
* Tag: { // Tag
|
|
124
124
|
* Key: "STRING_VALUE", // required
|
|
@@ -6407,11 +6407,7 @@ export interface LifecycleRuleAndOperator {
|
|
|
6407
6407
|
* <code>And</code> specified. If the <code>Filter</code> element is left empty, the Lifecycle Rule applies to all objects in the bucket.</p>
|
|
6408
6408
|
* @public
|
|
6409
6409
|
*/
|
|
6410
|
-
export
|
|
6411
|
-
/**
|
|
6412
|
-
* @public
|
|
6413
|
-
*/
|
|
6414
|
-
export declare namespace LifecycleRuleFilter {
|
|
6410
|
+
export interface LifecycleRuleFilter {
|
|
6415
6411
|
/**
|
|
6416
6412
|
* <p>Prefix identifying one or more objects to which the rule applies.</p>
|
|
6417
6413
|
* <important>
|
|
@@ -6421,84 +6417,29 @@ export declare namespace LifecycleRuleFilter {
|
|
|
6421
6417
|
* </important>
|
|
6422
6418
|
* @public
|
|
6423
6419
|
*/
|
|
6424
|
-
|
|
6425
|
-
Prefix: string;
|
|
6426
|
-
Tag?: never;
|
|
6427
|
-
ObjectSizeGreaterThan?: never;
|
|
6428
|
-
ObjectSizeLessThan?: never;
|
|
6429
|
-
And?: never;
|
|
6430
|
-
$unknown?: never;
|
|
6431
|
-
}
|
|
6420
|
+
Prefix?: string;
|
|
6432
6421
|
/**
|
|
6433
6422
|
* <p>This tag must exist in the object's tag set in order for the rule to apply.</p>
|
|
6434
6423
|
* @public
|
|
6435
6424
|
*/
|
|
6436
|
-
|
|
6437
|
-
Prefix?: never;
|
|
6438
|
-
Tag: Tag;
|
|
6439
|
-
ObjectSizeGreaterThan?: never;
|
|
6440
|
-
ObjectSizeLessThan?: never;
|
|
6441
|
-
And?: never;
|
|
6442
|
-
$unknown?: never;
|
|
6443
|
-
}
|
|
6425
|
+
Tag?: Tag;
|
|
6444
6426
|
/**
|
|
6445
6427
|
* <p>Minimum object size to which the rule applies.</p>
|
|
6446
6428
|
* @public
|
|
6447
6429
|
*/
|
|
6448
|
-
|
|
6449
|
-
Prefix?: never;
|
|
6450
|
-
Tag?: never;
|
|
6451
|
-
ObjectSizeGreaterThan: number;
|
|
6452
|
-
ObjectSizeLessThan?: never;
|
|
6453
|
-
And?: never;
|
|
6454
|
-
$unknown?: never;
|
|
6455
|
-
}
|
|
6430
|
+
ObjectSizeGreaterThan?: number;
|
|
6456
6431
|
/**
|
|
6457
6432
|
* <p>Maximum object size to which the rule applies.</p>
|
|
6458
6433
|
* @public
|
|
6459
6434
|
*/
|
|
6460
|
-
|
|
6461
|
-
Prefix?: never;
|
|
6462
|
-
Tag?: never;
|
|
6463
|
-
ObjectSizeGreaterThan?: never;
|
|
6464
|
-
ObjectSizeLessThan: number;
|
|
6465
|
-
And?: never;
|
|
6466
|
-
$unknown?: never;
|
|
6467
|
-
}
|
|
6435
|
+
ObjectSizeLessThan?: number;
|
|
6468
6436
|
/**
|
|
6469
6437
|
* <p>This is used in a Lifecycle Rule Filter to apply a logical AND to two or more
|
|
6470
6438
|
* predicates. The Lifecycle Rule will apply to any object matching all of the predicates
|
|
6471
6439
|
* configured inside the And operator.</p>
|
|
6472
6440
|
* @public
|
|
6473
6441
|
*/
|
|
6474
|
-
|
|
6475
|
-
Prefix?: never;
|
|
6476
|
-
Tag?: never;
|
|
6477
|
-
ObjectSizeGreaterThan?: never;
|
|
6478
|
-
ObjectSizeLessThan?: never;
|
|
6479
|
-
And: LifecycleRuleAndOperator;
|
|
6480
|
-
$unknown?: never;
|
|
6481
|
-
}
|
|
6482
|
-
/**
|
|
6483
|
-
* @public
|
|
6484
|
-
*/
|
|
6485
|
-
interface $UnknownMember {
|
|
6486
|
-
Prefix?: never;
|
|
6487
|
-
Tag?: never;
|
|
6488
|
-
ObjectSizeGreaterThan?: never;
|
|
6489
|
-
ObjectSizeLessThan?: never;
|
|
6490
|
-
And?: never;
|
|
6491
|
-
$unknown: [string, any];
|
|
6492
|
-
}
|
|
6493
|
-
interface Visitor<T> {
|
|
6494
|
-
Prefix: (value: string) => T;
|
|
6495
|
-
Tag: (value: Tag) => T;
|
|
6496
|
-
ObjectSizeGreaterThan: (value: number) => T;
|
|
6497
|
-
ObjectSizeLessThan: (value: number) => T;
|
|
6498
|
-
And: (value: LifecycleRuleAndOperator) => T;
|
|
6499
|
-
_: (name: string, value: any) => T;
|
|
6500
|
-
}
|
|
6501
|
-
const visit: <T>(value: LifecycleRuleFilter, visitor: Visitor<T>) => T;
|
|
6442
|
+
And?: LifecycleRuleAndOperator;
|
|
6502
6443
|
}
|
|
6503
6444
|
/**
|
|
6504
6445
|
* <p>Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently
|
|
@@ -7757,11 +7698,7 @@ export interface ReplicationRuleAndOperator {
|
|
|
7757
7698
|
* an <code>And</code> child element.</p>
|
|
7758
7699
|
* @public
|
|
7759
7700
|
*/
|
|
7760
|
-
export
|
|
7761
|
-
/**
|
|
7762
|
-
* @public
|
|
7763
|
-
*/
|
|
7764
|
-
export declare namespace ReplicationRuleFilter {
|
|
7701
|
+
export interface ReplicationRuleFilter {
|
|
7765
7702
|
/**
|
|
7766
7703
|
* <p>An object key name prefix that identifies the subset of objects to which the rule
|
|
7767
7704
|
* applies.</p>
|
|
@@ -7772,23 +7709,13 @@ export declare namespace ReplicationRuleFilter {
|
|
|
7772
7709
|
* </important>
|
|
7773
7710
|
* @public
|
|
7774
7711
|
*/
|
|
7775
|
-
|
|
7776
|
-
Prefix: string;
|
|
7777
|
-
Tag?: never;
|
|
7778
|
-
And?: never;
|
|
7779
|
-
$unknown?: never;
|
|
7780
|
-
}
|
|
7712
|
+
Prefix?: string;
|
|
7781
7713
|
/**
|
|
7782
7714
|
* <p>A container for specifying a tag key and value. </p>
|
|
7783
7715
|
* <p>The rule applies only to objects that have the tag in their tag set.</p>
|
|
7784
7716
|
* @public
|
|
7785
7717
|
*/
|
|
7786
|
-
|
|
7787
|
-
Prefix?: never;
|
|
7788
|
-
Tag: Tag;
|
|
7789
|
-
And?: never;
|
|
7790
|
-
$unknown?: never;
|
|
7791
|
-
}
|
|
7718
|
+
Tag?: Tag;
|
|
7792
7719
|
/**
|
|
7793
7720
|
* <p>A container for specifying rule filters. The filters determine the subset of objects to
|
|
7794
7721
|
* which the rule applies. This element is required only if you specify more than one filter.
|
|
@@ -7805,28 +7732,7 @@ export declare namespace ReplicationRuleFilter {
|
|
|
7805
7732
|
* </ul>
|
|
7806
7733
|
* @public
|
|
7807
7734
|
*/
|
|
7808
|
-
|
|
7809
|
-
Prefix?: never;
|
|
7810
|
-
Tag?: never;
|
|
7811
|
-
And: ReplicationRuleAndOperator;
|
|
7812
|
-
$unknown?: never;
|
|
7813
|
-
}
|
|
7814
|
-
/**
|
|
7815
|
-
* @public
|
|
7816
|
-
*/
|
|
7817
|
-
interface $UnknownMember {
|
|
7818
|
-
Prefix?: never;
|
|
7819
|
-
Tag?: never;
|
|
7820
|
-
And?: never;
|
|
7821
|
-
$unknown: [string, any];
|
|
7822
|
-
}
|
|
7823
|
-
interface Visitor<T> {
|
|
7824
|
-
Prefix: (value: string) => T;
|
|
7825
|
-
Tag: (value: Tag) => T;
|
|
7826
|
-
And: (value: ReplicationRuleAndOperator) => T;
|
|
7827
|
-
_: (name: string, value: any) => T;
|
|
7828
|
-
}
|
|
7829
|
-
const visit: <T>(value: ReplicationRuleFilter, visitor: Visitor<T>) => T;
|
|
7735
|
+
And?: ReplicationRuleAndOperator;
|
|
7830
7736
|
}
|
|
7831
7737
|
/**
|
|
7832
7738
|
* @public
|
|
@@ -814,71 +814,12 @@ export interface LifecycleRuleAndOperator {
|
|
|
814
814
|
ObjectSizeGreaterThan?: number;
|
|
815
815
|
ObjectSizeLessThan?: number;
|
|
816
816
|
}
|
|
817
|
-
export
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
| LifecycleRuleFilter.$UnknownMember;
|
|
824
|
-
export declare namespace LifecycleRuleFilter {
|
|
825
|
-
interface PrefixMember {
|
|
826
|
-
Prefix: string;
|
|
827
|
-
Tag?: never;
|
|
828
|
-
ObjectSizeGreaterThan?: never;
|
|
829
|
-
ObjectSizeLessThan?: never;
|
|
830
|
-
And?: never;
|
|
831
|
-
$unknown?: never;
|
|
832
|
-
}
|
|
833
|
-
interface TagMember {
|
|
834
|
-
Prefix?: never;
|
|
835
|
-
Tag: Tag;
|
|
836
|
-
ObjectSizeGreaterThan?: never;
|
|
837
|
-
ObjectSizeLessThan?: never;
|
|
838
|
-
And?: never;
|
|
839
|
-
$unknown?: never;
|
|
840
|
-
}
|
|
841
|
-
interface ObjectSizeGreaterThanMember {
|
|
842
|
-
Prefix?: never;
|
|
843
|
-
Tag?: never;
|
|
844
|
-
ObjectSizeGreaterThan: number;
|
|
845
|
-
ObjectSizeLessThan?: never;
|
|
846
|
-
And?: never;
|
|
847
|
-
$unknown?: never;
|
|
848
|
-
}
|
|
849
|
-
interface ObjectSizeLessThanMember {
|
|
850
|
-
Prefix?: never;
|
|
851
|
-
Tag?: never;
|
|
852
|
-
ObjectSizeGreaterThan?: never;
|
|
853
|
-
ObjectSizeLessThan: number;
|
|
854
|
-
And?: never;
|
|
855
|
-
$unknown?: never;
|
|
856
|
-
}
|
|
857
|
-
interface AndMember {
|
|
858
|
-
Prefix?: never;
|
|
859
|
-
Tag?: never;
|
|
860
|
-
ObjectSizeGreaterThan?: never;
|
|
861
|
-
ObjectSizeLessThan?: never;
|
|
862
|
-
And: LifecycleRuleAndOperator;
|
|
863
|
-
$unknown?: never;
|
|
864
|
-
}
|
|
865
|
-
interface $UnknownMember {
|
|
866
|
-
Prefix?: never;
|
|
867
|
-
Tag?: never;
|
|
868
|
-
ObjectSizeGreaterThan?: never;
|
|
869
|
-
ObjectSizeLessThan?: never;
|
|
870
|
-
And?: never;
|
|
871
|
-
$unknown: [string, any];
|
|
872
|
-
}
|
|
873
|
-
interface Visitor<T> {
|
|
874
|
-
Prefix: (value: string) => T;
|
|
875
|
-
Tag: (value: Tag) => T;
|
|
876
|
-
ObjectSizeGreaterThan: (value: number) => T;
|
|
877
|
-
ObjectSizeLessThan: (value: number) => T;
|
|
878
|
-
And: (value: LifecycleRuleAndOperator) => T;
|
|
879
|
-
_: (name: string, value: any) => T;
|
|
880
|
-
}
|
|
881
|
-
const visit: <T>(value: LifecycleRuleFilter, visitor: Visitor<T>) => T;
|
|
817
|
+
export interface LifecycleRuleFilter {
|
|
818
|
+
Prefix?: string;
|
|
819
|
+
Tag?: Tag;
|
|
820
|
+
ObjectSizeGreaterThan?: number;
|
|
821
|
+
ObjectSizeLessThan?: number;
|
|
822
|
+
And?: LifecycleRuleAndOperator;
|
|
882
823
|
}
|
|
883
824
|
export interface NoncurrentVersionExpiration {
|
|
884
825
|
NoncurrentDays?: number;
|
|
@@ -1209,43 +1150,10 @@ export interface ReplicationRuleAndOperator {
|
|
|
1209
1150
|
Prefix?: string;
|
|
1210
1151
|
Tags?: Tag[];
|
|
1211
1152
|
}
|
|
1212
|
-
export
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
| ReplicationRuleFilter.$UnknownMember;
|
|
1217
|
-
export declare namespace ReplicationRuleFilter {
|
|
1218
|
-
interface PrefixMember {
|
|
1219
|
-
Prefix: string;
|
|
1220
|
-
Tag?: never;
|
|
1221
|
-
And?: never;
|
|
1222
|
-
$unknown?: never;
|
|
1223
|
-
}
|
|
1224
|
-
interface TagMember {
|
|
1225
|
-
Prefix?: never;
|
|
1226
|
-
Tag: Tag;
|
|
1227
|
-
And?: never;
|
|
1228
|
-
$unknown?: never;
|
|
1229
|
-
}
|
|
1230
|
-
interface AndMember {
|
|
1231
|
-
Prefix?: never;
|
|
1232
|
-
Tag?: never;
|
|
1233
|
-
And: ReplicationRuleAndOperator;
|
|
1234
|
-
$unknown?: never;
|
|
1235
|
-
}
|
|
1236
|
-
interface $UnknownMember {
|
|
1237
|
-
Prefix?: never;
|
|
1238
|
-
Tag?: never;
|
|
1239
|
-
And?: never;
|
|
1240
|
-
$unknown: [string, any];
|
|
1241
|
-
}
|
|
1242
|
-
interface Visitor<T> {
|
|
1243
|
-
Prefix: (value: string) => T;
|
|
1244
|
-
Tag: (value: Tag) => T;
|
|
1245
|
-
And: (value: ReplicationRuleAndOperator) => T;
|
|
1246
|
-
_: (name: string, value: any) => T;
|
|
1247
|
-
}
|
|
1248
|
-
const visit: <T>(value: ReplicationRuleFilter, visitor: Visitor<T>) => T;
|
|
1153
|
+
export interface ReplicationRuleFilter {
|
|
1154
|
+
Prefix?: string;
|
|
1155
|
+
Tag?: Tag;
|
|
1156
|
+
And?: ReplicationRuleAndOperator;
|
|
1249
1157
|
}
|
|
1250
1158
|
export declare const ReplicaModificationsStatus: {
|
|
1251
1159
|
readonly Disabled: "Disabled";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.670.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"@aws-crypto/sha1-browser": "5.2.0",
|
|
27
27
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
28
28
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
29
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
29
|
+
"@aws-sdk/client-sso-oidc": "3.670.0",
|
|
30
|
+
"@aws-sdk/client-sts": "3.670.0",
|
|
31
31
|
"@aws-sdk/core": "3.667.0",
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.670.0",
|
|
33
33
|
"@aws-sdk/middleware-bucket-endpoint": "3.667.0",
|
|
34
34
|
"@aws-sdk/middleware-expect-continue": "3.667.0",
|
|
35
35
|
"@aws-sdk/middleware-flexible-checksums": "3.669.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@aws-sdk/signature-v4-multi-region": "3.669.0",
|
|
45
45
|
"@aws-sdk/types": "3.667.0",
|
|
46
46
|
"@aws-sdk/util-endpoints": "3.667.0",
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.670.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.669.0",
|
|
49
49
|
"@aws-sdk/xml-builder": "3.662.0",
|
|
50
50
|
"@smithy/config-resolver": "^3.0.9",
|
|
@@ -25,7 +25,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
27
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.
|
|
28
|
+
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
29
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
30
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
31
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -31,7 +31,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
33
33
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
(0, util_user_agent_node_1.
|
|
34
|
+
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
35
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
36
|
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import {
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
@@ -21,7 +21,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
23
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
|
|
24
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
25
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
26
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
27
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import { NODE_APP_ID_CONFIG_OPTIONS,
|
|
4
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -27,7 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
27
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
|
-
|
|
30
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
33
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|