@aws-sdk/client-wafv2 3.41.0 → 3.46.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 +47 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +9 -2
- package/dist-cjs/protocols/Aws_json1_1.js +24 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +54 -32
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/WAFV2.d.ts +8 -16
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +8 -16
- package/dist-types/models/models_0.d.ts +23 -3
- package/package.json +36 -43
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
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.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
35
|
+
|
|
36
|
+
**Note:** Version bump only for package @aws-sdk/client-wafv2
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* **clients:** update clients as of 11/18/2021 ([#3039](https://github.com/aws/aws-sdk-js-v3/issues/3039)) ([d2b2c45](https://github.com/aws/aws-sdk-js-v3/commit/d2b2c453315fc7bff798c1fb97c792e59274b4d6))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
54
|
|
|
8
55
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BlockAction = exports.CustomResponse = exports.WAFUnavailableEntityException = exports.WAFNonexistentItemException = exports.WAFInvalidParameterException = exports.ParameterExceptionField = exports.WAFInvalidOperationException = exports.WAFInternalErrorException = exports.AssociateWebACLResponse = exports.AssociateWebACLRequest = exports.XssMatchStatement = exports.SqliMatchStatement = exports.SizeConstraintStatement = exports.ComparisonOperator = exports.RuleGroupReferenceStatement = exports.RegexPatternSetReferenceStatement = exports.RegexMatchStatement = exports.RateBasedStatementAggregateKeyType = exports.ExcludedRule = exports.LabelMatchStatement = exports.LabelMatchScope = exports.IPSetReferenceStatement = exports.IPSetForwardedIPConfig = exports.ForwardedIPPosition = exports.GeoMatchStatement = exports.ForwardedIPConfig = exports.FallbackBehavior = exports.CountryCode = exports.ByteMatchStatement = exports.TextTransformation = exports.TextTransformationType = exports.PositionalConstraint = exports.FieldToMatch = exports.UriPath = exports.SingleQueryArgument = exports.SingleHeader = exports.QueryString = exports.Method = exports.JsonBody = exports.JsonMatchScope = exports.JsonMatchPattern = exports.BodyParsingFallbackBehavior = exports.Body = exports.AllQueryArguments = exports.AllowAction = exports.CustomRequestHandling = exports.CustomHTTPHeader = exports.All = exports.ActionCondition = exports.ActionValue = void 0;
|
|
4
4
|
exports.DeleteWebACLResponse = exports.DeleteWebACLRequest = exports.DeleteRuleGroupResponse = exports.DeleteRuleGroupRequest = exports.DeleteRegexPatternSetResponse = exports.DeleteRegexPatternSetRequest = exports.DeletePermissionPolicyResponse = exports.DeletePermissionPolicyRequest = exports.DeleteLoggingConfigurationResponse = exports.DeleteLoggingConfigurationRequest = exports.WAFAssociatedItemException = exports.DeleteIPSetResponse = exports.DeleteIPSetRequest = exports.DeleteFirewallManagerRuleGroupsResponse = exports.DeleteFirewallManagerRuleGroupsRequest = exports.CreateWebACLResponse = exports.WebACLSummary = exports.DefaultAction = exports.CreateRuleGroupResponse = exports.RuleGroupSummary = exports.CustomResponseBody = exports.ResponseContentType = exports.CreateRegexPatternSetResponse = exports.RegexPatternSetSummary = exports.CreateRegexPatternSetRequest = exports.Regex = exports.WAFTagOperationInternalErrorException = exports.WAFTagOperationException = exports.WAFOptimisticLockException = exports.WAFDuplicateItemException = exports.CreateIPSetResponse = exports.IPSetSummary = exports.CreateIPSetRequest = exports.Tag = exports.IPAddressVersion = exports.WAFSubscriptionNotFoundException = exports.WAFLimitsExceededException = exports.WAFInvalidResourceException = exports.WAFExpiredManagedRuleGroupVersionException = exports.CheckCapacityResponse = exports.Scope = exports.VisibilityConfig = exports.Label = exports.OverrideAction = exports.NoneAction = exports.CaptchaConfig = exports.ImmunityTimeProperty = exports.RuleAction = exports.CountAction = exports.CaptchaAction = void 0;
|
|
5
5
|
exports.ListLoggingConfigurationsRequest = exports.ListIPSetsResponse = exports.ListIPSetsRequest = exports.ListAvailableManagedRuleGroupVersionsResponse = exports.ManagedRuleGroupVersion = exports.ListAvailableManagedRuleGroupVersionsRequest = exports.ListAvailableManagedRuleGroupsResponse = exports.ManagedRuleGroupSummary = exports.ListAvailableManagedRuleGroupsRequest = exports.GetWebACLForResourceRequest = exports.GetWebACLRequest = exports.GetSampledRequestsResponse = exports.SampledHTTPRequest = exports.HTTPRequest = exports.HTTPHeader = exports.CaptchaResponse = exports.FailureReason = exports.GetSampledRequestsRequest = exports.TimeWindow = exports.GetRuleGroupRequest = exports.GetRegexPatternSetResponse = exports.RegexPatternSet = exports.GetRegexPatternSetRequest = exports.GetRateBasedStatementManagedKeysResponse = exports.RateBasedStatementManagedKeysIPSet = exports.GetRateBasedStatementManagedKeysRequest = exports.GetPermissionPolicyResponse = exports.GetPermissionPolicyRequest = exports.GetManagedRuleSetResponse = exports.ManagedRuleSet = exports.ManagedRuleSetVersion = exports.GetManagedRuleSetRequest = exports.GetLoggingConfigurationResponse = exports.LoggingConfiguration = exports.LoggingFilter = exports.Filter = exports.FilterRequirement = exports.Condition = exports.LabelNameCondition = exports.FilterBehavior = exports.GetLoggingConfigurationRequest = exports.GetIPSetResponse = exports.IPSet = exports.GetIPSetRequest = exports.DisassociateWebACLResponse = exports.DisassociateWebACLRequest = exports.DescribeManagedRuleGroupResponse = exports.RuleSummary = exports.LabelSummary = exports.DescribeManagedRuleGroupRequest = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.GetWebACLResponse = exports.GetWebACLForResourceResponse = exports.WebACL = exports.GetRuleGroupResponse = exports.UpdateWebACLRequest = exports.UpdateRuleGroupRequest = void 0;
|
|
6
|
+
exports.CreateWebACLRequest = exports.CreateRuleGroupRequest = exports.CheckCapacityRequest = exports.FirewallManagerRuleGroup = exports.FirewallManagerStatement = exports.OrStatement = exports.AndStatement = exports.Rule = exports.RateBasedStatement = exports.NotStatement = exports.ManagedRuleGroupStatement = exports.Statement = exports.UpdateWebACLResponse = exports.UpdateRuleGroupResponse = exports.UpdateRegexPatternSetResponse = exports.UpdateRegexPatternSetRequest = exports.UpdateManagedRuleSetVersionExpiryDateResponse = exports.UpdateManagedRuleSetVersionExpiryDateRequest = exports.UpdateIPSetResponse = exports.UpdateIPSetRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.WAFInvalidPermissionPolicyException = exports.PutPermissionPolicyResponse = exports.PutPermissionPolicyRequest = exports.PutManagedRuleSetVersionsResponse = exports.PutManagedRuleSetVersionsRequest = exports.VersionToPublish = exports.WAFServiceLinkedRoleErrorException = exports.WAFLogDestinationPermissionIssueException = exports.PutLoggingConfigurationResponse = exports.PutLoggingConfigurationRequest = exports.ListWebACLsResponse = exports.ListWebACLsRequest = exports.ListTagsForResourceResponse = exports.TagInfoForResource = exports.ListTagsForResourceRequest = exports.ListRuleGroupsResponse = exports.ListRuleGroupsRequest = exports.ListResourcesForWebACLResponse = exports.ListResourcesForWebACLRequest = exports.ResourceType = exports.ListRegexPatternSetsResponse = exports.ListRegexPatternSetsRequest = exports.ListManagedRuleSetsResponse = exports.ManagedRuleSetSummary = exports.ListManagedRuleSetsRequest = exports.ListLoggingConfigurationsResponse = void 0;
|
|
7
|
+
exports.GetWebACLResponse = exports.GetWebACLForResourceResponse = exports.WebACL = exports.GetRuleGroupResponse = exports.UpdateWebACLRequest = exports.UpdateRuleGroupRequest = exports.RuleGroup = void 0;
|
|
8
8
|
var ActionValue;
|
|
9
9
|
(function (ActionValue) {
|
|
10
10
|
ActionValue["ALLOW"] = "ALLOW";
|
|
@@ -567,6 +567,7 @@ var ParameterExceptionField;
|
|
|
567
567
|
ParameterExceptionField["JSON_MATCH_SCOPE"] = "JSON_MATCH_SCOPE";
|
|
568
568
|
ParameterExceptionField["LABEL_MATCH_STATEMENT"] = "LABEL_MATCH_STATEMENT";
|
|
569
569
|
ParameterExceptionField["LOGGING_FILTER"] = "LOGGING_FILTER";
|
|
570
|
+
ParameterExceptionField["LOG_DESTINATION"] = "LOG_DESTINATION";
|
|
570
571
|
ParameterExceptionField["MANAGED_RULE_SET"] = "MANAGED_RULE_SET";
|
|
571
572
|
ParameterExceptionField["MANAGED_RULE_SET_STATEMENT"] = "MANAGED_RULE_SET_STATEMENT";
|
|
572
573
|
ParameterExceptionField["METRIC_NAME"] = "METRIC_NAME";
|
|
@@ -1329,6 +1330,12 @@ var PutLoggingConfigurationResponse;
|
|
|
1329
1330
|
...obj,
|
|
1330
1331
|
});
|
|
1331
1332
|
})(PutLoggingConfigurationResponse = exports.PutLoggingConfigurationResponse || (exports.PutLoggingConfigurationResponse = {}));
|
|
1333
|
+
var WAFLogDestinationPermissionIssueException;
|
|
1334
|
+
(function (WAFLogDestinationPermissionIssueException) {
|
|
1335
|
+
WAFLogDestinationPermissionIssueException.filterSensitiveLog = (obj) => ({
|
|
1336
|
+
...obj,
|
|
1337
|
+
});
|
|
1338
|
+
})(WAFLogDestinationPermissionIssueException = exports.WAFLogDestinationPermissionIssueException || (exports.WAFLogDestinationPermissionIssueException = {}));
|
|
1332
1339
|
var WAFServiceLinkedRoleErrorException;
|
|
1333
1340
|
(function (WAFServiceLinkedRoleErrorException) {
|
|
1334
1341
|
WAFServiceLinkedRoleErrorException.filterSensitiveLog = (obj) => ({
|
|
@@ -3314,6 +3314,14 @@ const deserializeAws_json1_1PutLoggingConfigurationCommandError = async (output,
|
|
|
3314
3314
|
$metadata: deserializeMetadata(output),
|
|
3315
3315
|
};
|
|
3316
3316
|
break;
|
|
3317
|
+
case "WAFLogDestinationPermissionIssueException":
|
|
3318
|
+
case "com.amazonaws.wafv2#WAFLogDestinationPermissionIssueException":
|
|
3319
|
+
response = {
|
|
3320
|
+
...(await deserializeAws_json1_1WAFLogDestinationPermissionIssueExceptionResponse(parsedOutput, context)),
|
|
3321
|
+
name: errorCode,
|
|
3322
|
+
$metadata: deserializeMetadata(output),
|
|
3323
|
+
};
|
|
3324
|
+
break;
|
|
3317
3325
|
case "WAFNonexistentItemException":
|
|
3318
3326
|
case "com.amazonaws.wafv2#WAFNonexistentItemException":
|
|
3319
3327
|
response = {
|
|
@@ -4292,6 +4300,17 @@ const deserializeAws_json1_1WAFLimitsExceededExceptionResponse = async (parsedOu
|
|
|
4292
4300
|
};
|
|
4293
4301
|
return contents;
|
|
4294
4302
|
};
|
|
4303
|
+
const deserializeAws_json1_1WAFLogDestinationPermissionIssueExceptionResponse = async (parsedOutput, context) => {
|
|
4304
|
+
const body = parsedOutput.body;
|
|
4305
|
+
const deserialized = deserializeAws_json1_1WAFLogDestinationPermissionIssueException(body, context);
|
|
4306
|
+
const contents = {
|
|
4307
|
+
name: "WAFLogDestinationPermissionIssueException",
|
|
4308
|
+
$fault: "client",
|
|
4309
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4310
|
+
...deserialized,
|
|
4311
|
+
};
|
|
4312
|
+
return contents;
|
|
4313
|
+
};
|
|
4295
4314
|
const deserializeAws_json1_1WAFNonexistentItemExceptionResponse = async (parsedOutput, context) => {
|
|
4296
4315
|
const body = parsedOutput.body;
|
|
4297
4316
|
const deserialized = deserializeAws_json1_1WAFNonexistentItemException(body, context);
|
|
@@ -6861,6 +6880,11 @@ const deserializeAws_json1_1WAFLimitsExceededException = (output, context) => {
|
|
|
6861
6880
|
Message: smithy_client_1.expectString(output.Message),
|
|
6862
6881
|
};
|
|
6863
6882
|
};
|
|
6883
|
+
const deserializeAws_json1_1WAFLogDestinationPermissionIssueException = (output, context) => {
|
|
6884
|
+
return {
|
|
6885
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6886
|
+
};
|
|
6887
|
+
};
|
|
6864
6888
|
const deserializeAws_json1_1WAFNonexistentItemException = (output, context) => {
|
|
6865
6889
|
return {
|
|
6866
6890
|
Message: smithy_client_1.expectString(output.Message),
|
|
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const getRuntimeConfig = (config) => {
|
|
20
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
20
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
21
|
return {
|
|
24
22
|
...clientSharedValues,
|
package/dist-es/endpoints.js
CHANGED
|
@@ -495,6 +495,7 @@ export var ParameterExceptionField;
|
|
|
495
495
|
ParameterExceptionField["JSON_MATCH_SCOPE"] = "JSON_MATCH_SCOPE";
|
|
496
496
|
ParameterExceptionField["LABEL_MATCH_STATEMENT"] = "LABEL_MATCH_STATEMENT";
|
|
497
497
|
ParameterExceptionField["LOGGING_FILTER"] = "LOGGING_FILTER";
|
|
498
|
+
ParameterExceptionField["LOG_DESTINATION"] = "LOG_DESTINATION";
|
|
498
499
|
ParameterExceptionField["MANAGED_RULE_SET"] = "MANAGED_RULE_SET";
|
|
499
500
|
ParameterExceptionField["MANAGED_RULE_SET_STATEMENT"] = "MANAGED_RULE_SET_STATEMENT";
|
|
500
501
|
ParameterExceptionField["METRIC_NAME"] = "METRIC_NAME";
|
|
@@ -1025,6 +1026,10 @@ export var PutLoggingConfigurationResponse;
|
|
|
1025
1026
|
(function (PutLoggingConfigurationResponse) {
|
|
1026
1027
|
PutLoggingConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1027
1028
|
})(PutLoggingConfigurationResponse || (PutLoggingConfigurationResponse = {}));
|
|
1029
|
+
export var WAFLogDestinationPermissionIssueException;
|
|
1030
|
+
(function (WAFLogDestinationPermissionIssueException) {
|
|
1031
|
+
WAFLogDestinationPermissionIssueException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1032
|
+
})(WAFLogDestinationPermissionIssueException || (WAFLogDestinationPermissionIssueException = {}));
|
|
1028
1033
|
export var WAFServiceLinkedRoleErrorException;
|
|
1029
1034
|
(function (WAFServiceLinkedRoleErrorException) {
|
|
1030
1035
|
WAFServiceLinkedRoleErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -3635,16 +3635,16 @@ export var deserializeAws_json1_1PutLoggingConfigurationCommand = function (outp
|
|
|
3635
3635
|
});
|
|
3636
3636
|
}); };
|
|
3637
3637
|
var deserializeAws_json1_1PutLoggingConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3638
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, parsedBody, message;
|
|
3639
|
-
var
|
|
3640
|
-
return __generator(this, function (
|
|
3641
|
-
switch (
|
|
3638
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, _k, parsedBody, message;
|
|
3639
|
+
var _l;
|
|
3640
|
+
return __generator(this, function (_m) {
|
|
3641
|
+
switch (_m.label) {
|
|
3642
3642
|
case 0:
|
|
3643
3643
|
_a = [__assign({}, output)];
|
|
3644
|
-
|
|
3644
|
+
_l = {};
|
|
3645
3645
|
return [4, parseBody(output.body, context)];
|
|
3646
3646
|
case 1:
|
|
3647
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
3647
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_l.body = _m.sent(), _l)]));
|
|
3648
3648
|
errorCode = "UnknownError";
|
|
3649
3649
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3650
3650
|
_b = errorCode;
|
|
@@ -3657,62 +3657,70 @@ var deserializeAws_json1_1PutLoggingConfigurationCommandError = function (output
|
|
|
3657
3657
|
case "com.amazonaws.wafv2#WAFInvalidParameterException": return [3, 6];
|
|
3658
3658
|
case "WAFLimitsExceededException": return [3, 8];
|
|
3659
3659
|
case "com.amazonaws.wafv2#WAFLimitsExceededException": return [3, 8];
|
|
3660
|
-
case "
|
|
3661
|
-
case "com.amazonaws.wafv2#
|
|
3662
|
-
case "
|
|
3663
|
-
case "com.amazonaws.wafv2#
|
|
3664
|
-
case "
|
|
3665
|
-
case "com.amazonaws.wafv2#
|
|
3660
|
+
case "WAFLogDestinationPermissionIssueException": return [3, 10];
|
|
3661
|
+
case "com.amazonaws.wafv2#WAFLogDestinationPermissionIssueException": return [3, 10];
|
|
3662
|
+
case "WAFNonexistentItemException": return [3, 12];
|
|
3663
|
+
case "com.amazonaws.wafv2#WAFNonexistentItemException": return [3, 12];
|
|
3664
|
+
case "WAFOptimisticLockException": return [3, 14];
|
|
3665
|
+
case "com.amazonaws.wafv2#WAFOptimisticLockException": return [3, 14];
|
|
3666
|
+
case "WAFServiceLinkedRoleErrorException": return [3, 16];
|
|
3667
|
+
case "com.amazonaws.wafv2#WAFServiceLinkedRoleErrorException": return [3, 16];
|
|
3666
3668
|
}
|
|
3667
|
-
return [3,
|
|
3669
|
+
return [3, 18];
|
|
3668
3670
|
case 2:
|
|
3669
3671
|
_c = [{}];
|
|
3670
3672
|
return [4, deserializeAws_json1_1WAFInternalErrorExceptionResponse(parsedOutput, context)];
|
|
3671
3673
|
case 3:
|
|
3672
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
3673
|
-
return [3,
|
|
3674
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3675
|
+
return [3, 19];
|
|
3674
3676
|
case 4:
|
|
3675
3677
|
_d = [{}];
|
|
3676
3678
|
return [4, deserializeAws_json1_1WAFInvalidOperationExceptionResponse(parsedOutput, context)];
|
|
3677
3679
|
case 5:
|
|
3678
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
3679
|
-
return [3,
|
|
3680
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3681
|
+
return [3, 19];
|
|
3680
3682
|
case 6:
|
|
3681
3683
|
_e = [{}];
|
|
3682
3684
|
return [4, deserializeAws_json1_1WAFInvalidParameterExceptionResponse(parsedOutput, context)];
|
|
3683
3685
|
case 7:
|
|
3684
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
3685
|
-
return [3,
|
|
3686
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3687
|
+
return [3, 19];
|
|
3686
3688
|
case 8:
|
|
3687
3689
|
_f = [{}];
|
|
3688
3690
|
return [4, deserializeAws_json1_1WAFLimitsExceededExceptionResponse(parsedOutput, context)];
|
|
3689
3691
|
case 9:
|
|
3690
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
3691
|
-
return [3,
|
|
3692
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3693
|
+
return [3, 19];
|
|
3692
3694
|
case 10:
|
|
3693
3695
|
_g = [{}];
|
|
3694
|
-
return [4,
|
|
3696
|
+
return [4, deserializeAws_json1_1WAFLogDestinationPermissionIssueExceptionResponse(parsedOutput, context)];
|
|
3695
3697
|
case 11:
|
|
3696
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
3697
|
-
return [3,
|
|
3698
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3699
|
+
return [3, 19];
|
|
3698
3700
|
case 12:
|
|
3699
3701
|
_h = [{}];
|
|
3700
|
-
return [4,
|
|
3702
|
+
return [4, deserializeAws_json1_1WAFNonexistentItemExceptionResponse(parsedOutput, context)];
|
|
3701
3703
|
case 13:
|
|
3702
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(
|
|
3703
|
-
return [3,
|
|
3704
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3705
|
+
return [3, 19];
|
|
3704
3706
|
case 14:
|
|
3705
3707
|
_j = [{}];
|
|
3706
|
-
return [4,
|
|
3708
|
+
return [4, deserializeAws_json1_1WAFOptimisticLockExceptionResponse(parsedOutput, context)];
|
|
3707
3709
|
case 15:
|
|
3708
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(
|
|
3709
|
-
return [3,
|
|
3710
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3711
|
+
return [3, 19];
|
|
3710
3712
|
case 16:
|
|
3713
|
+
_k = [{}];
|
|
3714
|
+
return [4, deserializeAws_json1_1WAFServiceLinkedRoleErrorExceptionResponse(parsedOutput, context)];
|
|
3715
|
+
case 17:
|
|
3716
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _k.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3717
|
+
return [3, 19];
|
|
3718
|
+
case 18:
|
|
3711
3719
|
parsedBody = parsedOutput.body;
|
|
3712
3720
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
3713
3721
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
3714
|
-
|
|
3715
|
-
case
|
|
3722
|
+
_m.label = 19;
|
|
3723
|
+
case 19:
|
|
3716
3724
|
message = response.message || response.Message || errorCode;
|
|
3717
3725
|
response.message = message;
|
|
3718
3726
|
delete response.Message;
|
|
@@ -4721,6 +4729,15 @@ var deserializeAws_json1_1WAFLimitsExceededExceptionResponse = function (parsedO
|
|
|
4721
4729
|
return [2, contents];
|
|
4722
4730
|
});
|
|
4723
4731
|
}); };
|
|
4732
|
+
var deserializeAws_json1_1WAFLogDestinationPermissionIssueExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4733
|
+
var body, deserialized, contents;
|
|
4734
|
+
return __generator(this, function (_a) {
|
|
4735
|
+
body = parsedOutput.body;
|
|
4736
|
+
deserialized = deserializeAws_json1_1WAFLogDestinationPermissionIssueException(body, context);
|
|
4737
|
+
contents = __assign({ name: "WAFLogDestinationPermissionIssueException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
4738
|
+
return [2, contents];
|
|
4739
|
+
});
|
|
4740
|
+
}); };
|
|
4724
4741
|
var deserializeAws_json1_1WAFNonexistentItemExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4725
4742
|
var body, deserialized, contents;
|
|
4726
4743
|
return __generator(this, function (_a) {
|
|
@@ -6879,6 +6896,11 @@ var deserializeAws_json1_1WAFLimitsExceededException = function (output, context
|
|
|
6879
6896
|
Message: __expectString(output.Message),
|
|
6880
6897
|
};
|
|
6881
6898
|
};
|
|
6899
|
+
var deserializeAws_json1_1WAFLogDestinationPermissionIssueException = function (output, context) {
|
|
6900
|
+
return {
|
|
6901
|
+
Message: __expectString(output.Message),
|
|
6902
|
+
};
|
|
6903
|
+
};
|
|
6882
6904
|
var deserializeAws_json1_1WAFNonexistentItemException = function (output, context) {
|
|
6883
6905
|
return {
|
|
6884
6906
|
Message: __expectString(output.Message),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
15
|
export var getRuntimeConfig = function (config) {
|
|
17
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
19
17
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
18
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
19
|
};
|
package/dist-types/WAFV2.d.ts
CHANGED
|
@@ -389,28 +389,20 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
389
389
|
* steps:</p>
|
|
390
390
|
* <ol>
|
|
391
391
|
* <li>
|
|
392
|
-
* <p>Create an Amazon Kinesis Data Firehose.
|
|
393
|
-
*
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
* <p>Give the data firehose a name that starts with the prefix
|
|
397
|
-
* <code>aws-waf-logs-</code>. For example,
|
|
398
|
-
* <code>aws-waf-logs-us-east-2-analytics</code>.</p>
|
|
399
|
-
* <note>
|
|
400
|
-
* <p>Do not create the data firehose using a <code>Kinesis stream</code> as your
|
|
401
|
-
* source.</p>
|
|
402
|
-
* </note>
|
|
392
|
+
* <p>Create your logging destination. You can use an Amazon CloudWatch Logs log group, an Amazon Simple Storage Service (Amazon S3) bucket, or an Amazon Kinesis Data Firehose.
|
|
393
|
+
* For information about configuring logging destinations and the permissions that are required for each, see
|
|
394
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
395
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
403
396
|
* </li>
|
|
404
397
|
* <li>
|
|
405
|
-
* <p>Associate
|
|
398
|
+
* <p>Associate your logging destination to your web ACL using a
|
|
406
399
|
* <code>PutLoggingConfiguration</code> request.</p>
|
|
407
400
|
* </li>
|
|
408
401
|
* </ol>
|
|
409
402
|
* <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code>
|
|
410
|
-
*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
413
|
-
* Guide</i>.</p>
|
|
403
|
+
* request, WAF creates an additional role or policy that is required to write
|
|
404
|
+
* logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.
|
|
405
|
+
* For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.</p>
|
|
414
406
|
* <note>
|
|
415
407
|
* <p>This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling <a>GetLoggingConfiguration</a>, update the settings as needed, and then provide the complete logging configuration specification to this call.</p>
|
|
416
408
|
* </note>
|
|
@@ -13,28 +13,20 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
|
|
|
13
13
|
* steps:</p>
|
|
14
14
|
* <ol>
|
|
15
15
|
* <li>
|
|
16
|
-
* <p>Create an Amazon Kinesis Data Firehose.
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* <p>Give the data firehose a name that starts with the prefix
|
|
21
|
-
* <code>aws-waf-logs-</code>. For example,
|
|
22
|
-
* <code>aws-waf-logs-us-east-2-analytics</code>.</p>
|
|
23
|
-
* <note>
|
|
24
|
-
* <p>Do not create the data firehose using a <code>Kinesis stream</code> as your
|
|
25
|
-
* source.</p>
|
|
26
|
-
* </note>
|
|
16
|
+
* <p>Create your logging destination. You can use an Amazon CloudWatch Logs log group, an Amazon Simple Storage Service (Amazon S3) bucket, or an Amazon Kinesis Data Firehose.
|
|
17
|
+
* For information about configuring logging destinations and the permissions that are required for each, see
|
|
18
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
19
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
27
20
|
* </li>
|
|
28
21
|
* <li>
|
|
29
|
-
* <p>Associate
|
|
22
|
+
* <p>Associate your logging destination to your web ACL using a
|
|
30
23
|
* <code>PutLoggingConfiguration</code> request.</p>
|
|
31
24
|
* </li>
|
|
32
25
|
* </ol>
|
|
33
26
|
* <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code>
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* Guide</i>.</p>
|
|
27
|
+
* request, WAF creates an additional role or policy that is required to write
|
|
28
|
+
* logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.
|
|
29
|
+
* For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.</p>
|
|
38
30
|
* <note>
|
|
39
31
|
* <p>This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling <a>GetLoggingConfiguration</a>, update the settings as needed, and then provide the complete logging configuration specification to this call.</p>
|
|
40
32
|
* </note>
|
|
@@ -1466,6 +1466,7 @@ export declare enum ParameterExceptionField {
|
|
|
1466
1466
|
JSON_MATCH_SCOPE = "JSON_MATCH_SCOPE",
|
|
1467
1467
|
LABEL_MATCH_STATEMENT = "LABEL_MATCH_STATEMENT",
|
|
1468
1468
|
LOGGING_FILTER = "LOGGING_FILTER",
|
|
1469
|
+
LOG_DESTINATION = "LOG_DESTINATION",
|
|
1469
1470
|
MANAGED_RULE_SET = "MANAGED_RULE_SET",
|
|
1470
1471
|
MANAGED_RULE_SET_STATEMENT = "MANAGED_RULE_SET_STATEMENT",
|
|
1471
1472
|
METRIC_NAME = "METRIC_NAME",
|
|
@@ -2976,10 +2977,13 @@ export declare namespace LoggingFilter {
|
|
|
2976
2977
|
const filterSensitiveLog: (obj: LoggingFilter) => any;
|
|
2977
2978
|
}
|
|
2978
2979
|
/**
|
|
2979
|
-
* <p>Defines an association between
|
|
2980
|
+
* <p>Defines an association between logging destinations and a web ACL
|
|
2980
2981
|
* resource, for logging from WAF. As part of the association, you can specify parts of
|
|
2981
2982
|
* the standard logging fields to keep out of the logs and you can specify filters so that you
|
|
2982
2983
|
* log only a subset of the logging records. </p>
|
|
2984
|
+
* <p>For information about configuring web ACL logging destinations, see
|
|
2985
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
2986
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
2983
2987
|
*/
|
|
2984
2988
|
export interface LoggingConfiguration {
|
|
2985
2989
|
/**
|
|
@@ -2988,13 +2992,13 @@ export interface LoggingConfiguration {
|
|
|
2988
2992
|
*/
|
|
2989
2993
|
ResourceArn: string | undefined;
|
|
2990
2994
|
/**
|
|
2991
|
-
* <p>The Amazon
|
|
2995
|
+
* <p>The Amazon Resource Names (ARNs) of the logging destinations that you want to associate
|
|
2992
2996
|
* with the web ACL.</p>
|
|
2993
2997
|
*/
|
|
2994
2998
|
LogDestinationConfigs: string[] | undefined;
|
|
2995
2999
|
/**
|
|
2996
3000
|
* <p>The parts of the request that you want to keep out of the logs. For
|
|
2997
|
-
* example, if you redact the <code>SingleHeader</code> field, the <code>HEADER</code> field in the
|
|
3001
|
+
* example, if you redact the <code>SingleHeader</code> field, the <code>HEADER</code> field in the logs will be <code>xxx</code>. </p>
|
|
2998
3002
|
* <note>
|
|
2999
3003
|
* <p>You can specify only the following fields for redaction: <code>UriPath</code>, <code>QueryString</code>, <code>SingleHeader</code>, <code>Method</code>, and <code>JsonBody</code>.</p>
|
|
3000
3004
|
* </note>
|
|
@@ -4367,6 +4371,22 @@ export declare namespace PutLoggingConfigurationResponse {
|
|
|
4367
4371
|
*/
|
|
4368
4372
|
const filterSensitiveLog: (obj: PutLoggingConfigurationResponse) => any;
|
|
4369
4373
|
}
|
|
4374
|
+
/**
|
|
4375
|
+
* <p>The operation failed because you don't have the permissions that your logging configuration requires. For information, see
|
|
4376
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
|
|
4377
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
4378
|
+
*/
|
|
4379
|
+
export interface WAFLogDestinationPermissionIssueException extends __SmithyException, $MetadataBearer {
|
|
4380
|
+
name: "WAFLogDestinationPermissionIssueException";
|
|
4381
|
+
$fault: "client";
|
|
4382
|
+
Message?: string;
|
|
4383
|
+
}
|
|
4384
|
+
export declare namespace WAFLogDestinationPermissionIssueException {
|
|
4385
|
+
/**
|
|
4386
|
+
* @internal
|
|
4387
|
+
*/
|
|
4388
|
+
const filterSensitiveLog: (obj: WAFLogDestinationPermissionIssueException) => any;
|
|
4389
|
+
}
|
|
4370
4390
|
/**
|
|
4371
4391
|
* <p>WAF is not able to access the service linked role. This can be caused by a
|
|
4372
4392
|
* previous <code>PutLoggingConfiguration</code> request, which can lock the service linked
|
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.46.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
12
|
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
-
"clean:dist": "rimraf ./dist",
|
|
13
|
-
"clean:docs": "rimraf ./docs"
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
13
|
+
"clean:dist": "rimraf ./dist-*",
|
|
14
|
+
"clean:docs": "rimraf ./docs"
|
|
16
15
|
},
|
|
17
16
|
"main": "./dist-cjs/index.js",
|
|
18
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,48 +20,42 @@
|
|
|
21
20
|
"dependencies": {
|
|
22
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
22
|
"@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-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.46.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.46.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.46.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.46.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.46.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.46.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.46.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.46.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.46.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.46.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.46.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.46.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.46.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.46.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.46.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.46.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.46.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.46.0",
|
|
41
|
+
"@aws-sdk/types": "3.46.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.46.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.46.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.46.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.46.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.46.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.46.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.46.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.46.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.46.0",
|
|
52
51
|
"tslib": "^2.3.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
-
"@types/node": "^12.7.5"
|
|
57
|
-
"downlevel-dts": "0.7.0",
|
|
58
|
-
"jest": "^26.1.0",
|
|
59
|
-
"rimraf": "^3.0.0",
|
|
60
|
-
"ts-jest": "^26.4.1",
|
|
61
|
-
"typedoc": "^0.19.2",
|
|
62
|
-
"typescript": "~4.3.5"
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.46.0",
|
|
55
|
+
"@types/node": "^12.7.5"
|
|
63
56
|
},
|
|
64
57
|
"engines": {
|
|
65
|
-
"node": ">=
|
|
58
|
+
"node": ">=12.0.0"
|
|
66
59
|
},
|
|
67
60
|
"typesVersions": {
|
|
68
61
|
"<4.0": {
|