@aws-sdk/client-waf 3.46.0 → 3.47.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 +11 -0
- package/dist-cjs/models/models_0.js +5 -119
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/models/models_0.js +0 -76
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/WAFClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -114
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/WAFClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -76
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateXssMatchSetResponse = exports.UpdateXssMatchSetRequest = exports.XssMatchSetUpdate = exports.
|
|
3
|
+
exports.ComparisonOperator = exports.CreateSizeConstraintSetRequest = exports.CreateRuleGroupResponse = exports.RuleGroup = exports.CreateRuleGroupRequest = exports.CreateRuleResponse = exports.Rule = exports.CreateRuleRequest = exports.CreateRegexPatternSetResponse = exports.RegexPatternSet = exports.CreateRegexPatternSetRequest = exports.CreateRegexMatchSetResponse = exports.RegexMatchSet = exports.RegexMatchTuple = exports.CreateRegexMatchSetRequest = exports.CreateRateBasedRuleResponse = exports.RateBasedRule = exports.Predicate = exports.PredicateType = exports.CreateRateBasedRuleRequest = exports.Tag = exports.RateKey = exports.CreateIPSetResponse = exports.IPSet = exports.IPSetDescriptor = exports.IPSetDescriptorType = exports.CreateIPSetRequest = exports.CreateGeoMatchSetResponse = exports.GeoMatchSet = exports.GeoMatchConstraint = exports.GeoMatchConstraintValue = exports.GeoMatchConstraintType = exports.CreateGeoMatchSetRequest = exports.ParameterExceptionReason = exports.ParameterExceptionField = exports.CreateByteMatchSetResponse = exports.ByteMatchSet = exports.ByteMatchTuple = exports.TextTransformation = exports.PositionalConstraint = exports.FieldToMatch = exports.MatchFieldType = exports.CreateByteMatchSetRequest = exports.ActivatedRule = exports.WafRuleType = exports.WafOverrideAction = exports.WafOverrideActionType = exports.ExcludedRule = exports.WafAction = exports.WafActionType = void 0;
|
|
4
|
+
exports.GetChangeTokenStatusRequest = exports.GetChangeTokenResponse = exports.GetChangeTokenRequest = exports.GetByteMatchSetResponse = exports.GetByteMatchSetRequest = exports.DeleteXssMatchSetResponse = exports.DeleteXssMatchSetRequest = exports.DeleteWebACLResponse = exports.DeleteWebACLRequest = exports.DeleteSqlInjectionMatchSetResponse = exports.DeleteSqlInjectionMatchSetRequest = exports.DeleteSizeConstraintSetResponse = exports.DeleteSizeConstraintSetRequest = exports.DeleteRuleGroupResponse = exports.DeleteRuleGroupRequest = exports.DeleteRuleResponse = exports.DeleteRuleRequest = exports.DeleteRegexPatternSetResponse = exports.DeleteRegexPatternSetRequest = exports.DeleteRegexMatchSetResponse = exports.DeleteRegexMatchSetRequest = exports.DeleteRateBasedRuleResponse = exports.DeleteRateBasedRuleRequest = exports.DeletePermissionPolicyResponse = exports.DeletePermissionPolicyRequest = exports.DeleteLoggingConfigurationResponse = exports.DeleteLoggingConfigurationRequest = exports.DeleteIPSetResponse = exports.DeleteIPSetRequest = exports.DeleteGeoMatchSetResponse = exports.DeleteGeoMatchSetRequest = exports.DeleteByteMatchSetResponse = exports.DeleteByteMatchSetRequest = exports.CreateXssMatchSetResponse = exports.XssMatchSet = exports.XssMatchTuple = exports.CreateXssMatchSetRequest = exports.MigrationErrorType = exports.CreateWebACLMigrationStackResponse = exports.CreateWebACLMigrationStackRequest = exports.CreateWebACLResponse = exports.WebACL = exports.CreateWebACLRequest = exports.CreateSqlInjectionMatchSetResponse = exports.SqlInjectionMatchSet = exports.SqlInjectionMatchTuple = exports.CreateSqlInjectionMatchSetRequest = exports.CreateSizeConstraintSetResponse = exports.SizeConstraintSet = exports.SizeConstraint = void 0;
|
|
5
|
+
exports.ListLoggingConfigurationsResponse = exports.ListLoggingConfigurationsRequest = exports.ListIPSetsResponse = exports.IPSetSummary = exports.ListIPSetsRequest = exports.ListGeoMatchSetsResponse = exports.GeoMatchSetSummary = exports.ListGeoMatchSetsRequest = exports.ListByteMatchSetsResponse = exports.ByteMatchSetSummary = exports.ListByteMatchSetsRequest = exports.ListActivatedRulesInRuleGroupResponse = exports.ListActivatedRulesInRuleGroupRequest = exports.GetXssMatchSetResponse = exports.GetXssMatchSetRequest = exports.GetWebACLResponse = exports.GetWebACLRequest = exports.GetSqlInjectionMatchSetResponse = exports.GetSqlInjectionMatchSetRequest = exports.GetSizeConstraintSetResponse = exports.GetSizeConstraintSetRequest = exports.GetSampledRequestsResponse = exports.SampledHTTPRequest = exports.HTTPRequest = exports.HTTPHeader = exports.GetSampledRequestsRequest = exports.TimeWindow = exports.GetRuleGroupResponse = exports.GetRuleGroupRequest = exports.GetRuleResponse = exports.GetRuleRequest = exports.GetRegexPatternSetResponse = exports.GetRegexPatternSetRequest = exports.GetRegexMatchSetResponse = exports.GetRegexMatchSetRequest = exports.GetRateBasedRuleManagedKeysResponse = exports.GetRateBasedRuleManagedKeysRequest = exports.GetRateBasedRuleResponse = exports.GetRateBasedRuleRequest = exports.GetPermissionPolicyResponse = exports.GetPermissionPolicyRequest = exports.GetLoggingConfigurationResponse = exports.LoggingConfiguration = exports.GetLoggingConfigurationRequest = exports.GetIPSetResponse = exports.GetIPSetRequest = exports.GetGeoMatchSetResponse = exports.GetGeoMatchSetRequest = exports.GetChangeTokenStatusResponse = exports.ChangeTokenStatus = void 0;
|
|
6
|
+
exports.UpdateIPSetResponse = exports.UpdateIPSetRequest = exports.IPSetUpdate = exports.UpdateGeoMatchSetResponse = exports.UpdateGeoMatchSetRequest = exports.GeoMatchSetUpdate = exports.UpdateByteMatchSetResponse = exports.UpdateByteMatchSetRequest = exports.ByteMatchSetUpdate = exports.ChangeAction = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutPermissionPolicyResponse = exports.PutPermissionPolicyRequest = exports.PutLoggingConfigurationResponse = exports.PutLoggingConfigurationRequest = exports.ListXssMatchSetsResponse = exports.XssMatchSetSummary = exports.ListXssMatchSetsRequest = exports.ListWebACLsResponse = exports.WebACLSummary = exports.ListWebACLsRequest = exports.ListTagsForResourceResponse = exports.TagInfoForResource = exports.ListTagsForResourceRequest = exports.ListSubscribedRuleGroupsResponse = exports.SubscribedRuleGroupSummary = exports.ListSubscribedRuleGroupsRequest = exports.ListSqlInjectionMatchSetsResponse = exports.SqlInjectionMatchSetSummary = exports.ListSqlInjectionMatchSetsRequest = exports.ListSizeConstraintSetsResponse = exports.SizeConstraintSetSummary = exports.ListSizeConstraintSetsRequest = exports.ListRulesResponse = exports.ListRulesRequest = exports.ListRuleGroupsResponse = exports.RuleGroupSummary = exports.ListRuleGroupsRequest = exports.ListRegexPatternSetsResponse = exports.RegexPatternSetSummary = exports.ListRegexPatternSetsRequest = exports.ListRegexMatchSetsResponse = exports.RegexMatchSetSummary = exports.ListRegexMatchSetsRequest = exports.ListRateBasedRulesResponse = exports.RuleSummary = exports.ListRateBasedRulesRequest = void 0;
|
|
7
|
+
exports.UpdateXssMatchSetResponse = exports.UpdateXssMatchSetRequest = exports.XssMatchSetUpdate = exports.UpdateWebACLResponse = exports.UpdateWebACLRequest = exports.WebACLUpdate = exports.UpdateSqlInjectionMatchSetResponse = exports.UpdateSqlInjectionMatchSetRequest = exports.SqlInjectionMatchSetUpdate = exports.UpdateSizeConstraintSetResponse = exports.UpdateSizeConstraintSetRequest = exports.SizeConstraintSetUpdate = exports.UpdateRuleGroupResponse = exports.UpdateRuleGroupRequest = exports.RuleGroupUpdate = exports.UpdateRuleResponse = exports.UpdateRuleRequest = exports.UpdateRegexPatternSetResponse = exports.UpdateRegexPatternSetRequest = exports.RegexPatternSetUpdate = exports.UpdateRegexMatchSetResponse = exports.UpdateRegexMatchSetRequest = exports.RegexMatchSetUpdate = exports.UpdateRateBasedRuleResponse = exports.UpdateRateBasedRuleRequest = exports.RuleUpdate = void 0;
|
|
8
8
|
var WafActionType;
|
|
9
9
|
(function (WafActionType) {
|
|
10
10
|
WafActionType["ALLOW"] = "ALLOW";
|
|
@@ -103,24 +103,6 @@ var CreateByteMatchSetResponse;
|
|
|
103
103
|
...obj,
|
|
104
104
|
});
|
|
105
105
|
})(CreateByteMatchSetResponse = exports.CreateByteMatchSetResponse || (exports.CreateByteMatchSetResponse = {}));
|
|
106
|
-
var WAFDisallowedNameException;
|
|
107
|
-
(function (WAFDisallowedNameException) {
|
|
108
|
-
WAFDisallowedNameException.filterSensitiveLog = (obj) => ({
|
|
109
|
-
...obj,
|
|
110
|
-
});
|
|
111
|
-
})(WAFDisallowedNameException = exports.WAFDisallowedNameException || (exports.WAFDisallowedNameException = {}));
|
|
112
|
-
var WAFInternalErrorException;
|
|
113
|
-
(function (WAFInternalErrorException) {
|
|
114
|
-
WAFInternalErrorException.filterSensitiveLog = (obj) => ({
|
|
115
|
-
...obj,
|
|
116
|
-
});
|
|
117
|
-
})(WAFInternalErrorException = exports.WAFInternalErrorException || (exports.WAFInternalErrorException = {}));
|
|
118
|
-
var WAFInvalidAccountException;
|
|
119
|
-
(function (WAFInvalidAccountException) {
|
|
120
|
-
WAFInvalidAccountException.filterSensitiveLog = (obj) => ({
|
|
121
|
-
...obj,
|
|
122
|
-
});
|
|
123
|
-
})(WAFInvalidAccountException = exports.WAFInvalidAccountException || (exports.WAFInvalidAccountException = {}));
|
|
124
106
|
var ParameterExceptionField;
|
|
125
107
|
(function (ParameterExceptionField) {
|
|
126
108
|
ParameterExceptionField["BYTE_MATCH_FIELD_TYPE"] = "BYTE_MATCH_FIELD_TYPE";
|
|
@@ -149,24 +131,6 @@ var ParameterExceptionReason;
|
|
|
149
131
|
ParameterExceptionReason["INVALID_OPTION"] = "INVALID_OPTION";
|
|
150
132
|
ParameterExceptionReason["INVALID_TAG_KEY"] = "INVALID_TAG_KEY";
|
|
151
133
|
})(ParameterExceptionReason = exports.ParameterExceptionReason || (exports.ParameterExceptionReason = {}));
|
|
152
|
-
var WAFInvalidParameterException;
|
|
153
|
-
(function (WAFInvalidParameterException) {
|
|
154
|
-
WAFInvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
155
|
-
...obj,
|
|
156
|
-
});
|
|
157
|
-
})(WAFInvalidParameterException = exports.WAFInvalidParameterException || (exports.WAFInvalidParameterException = {}));
|
|
158
|
-
var WAFLimitsExceededException;
|
|
159
|
-
(function (WAFLimitsExceededException) {
|
|
160
|
-
WAFLimitsExceededException.filterSensitiveLog = (obj) => ({
|
|
161
|
-
...obj,
|
|
162
|
-
});
|
|
163
|
-
})(WAFLimitsExceededException = exports.WAFLimitsExceededException || (exports.WAFLimitsExceededException = {}));
|
|
164
|
-
var WAFStaleDataException;
|
|
165
|
-
(function (WAFStaleDataException) {
|
|
166
|
-
WAFStaleDataException.filterSensitiveLog = (obj) => ({
|
|
167
|
-
...obj,
|
|
168
|
-
});
|
|
169
|
-
})(WAFStaleDataException = exports.WAFStaleDataException || (exports.WAFStaleDataException = {}));
|
|
170
134
|
var CreateGeoMatchSetRequest;
|
|
171
135
|
(function (CreateGeoMatchSetRequest) {
|
|
172
136
|
CreateGeoMatchSetRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -520,24 +484,6 @@ var CreateRateBasedRuleResponse;
|
|
|
520
484
|
...obj,
|
|
521
485
|
});
|
|
522
486
|
})(CreateRateBasedRuleResponse = exports.CreateRateBasedRuleResponse || (exports.CreateRateBasedRuleResponse = {}));
|
|
523
|
-
var WAFBadRequestException;
|
|
524
|
-
(function (WAFBadRequestException) {
|
|
525
|
-
WAFBadRequestException.filterSensitiveLog = (obj) => ({
|
|
526
|
-
...obj,
|
|
527
|
-
});
|
|
528
|
-
})(WAFBadRequestException = exports.WAFBadRequestException || (exports.WAFBadRequestException = {}));
|
|
529
|
-
var WAFTagOperationException;
|
|
530
|
-
(function (WAFTagOperationException) {
|
|
531
|
-
WAFTagOperationException.filterSensitiveLog = (obj) => ({
|
|
532
|
-
...obj,
|
|
533
|
-
});
|
|
534
|
-
})(WAFTagOperationException = exports.WAFTagOperationException || (exports.WAFTagOperationException = {}));
|
|
535
|
-
var WAFTagOperationInternalErrorException;
|
|
536
|
-
(function (WAFTagOperationInternalErrorException) {
|
|
537
|
-
WAFTagOperationInternalErrorException.filterSensitiveLog = (obj) => ({
|
|
538
|
-
...obj,
|
|
539
|
-
});
|
|
540
|
-
})(WAFTagOperationInternalErrorException = exports.WAFTagOperationInternalErrorException || (exports.WAFTagOperationInternalErrorException = {}));
|
|
541
487
|
var CreateRegexMatchSetRequest;
|
|
542
488
|
(function (CreateRegexMatchSetRequest) {
|
|
543
489
|
CreateRegexMatchSetRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -713,24 +659,6 @@ var MigrationErrorType;
|
|
|
713
659
|
MigrationErrorType["S3_BUCKET_NO_PERMISSION"] = "S3_BUCKET_NO_PERMISSION";
|
|
714
660
|
MigrationErrorType["S3_INTERNAL_ERROR"] = "S3_INTERNAL_ERROR";
|
|
715
661
|
})(MigrationErrorType = exports.MigrationErrorType || (exports.MigrationErrorType = {}));
|
|
716
|
-
var WAFEntityMigrationException;
|
|
717
|
-
(function (WAFEntityMigrationException) {
|
|
718
|
-
WAFEntityMigrationException.filterSensitiveLog = (obj) => ({
|
|
719
|
-
...obj,
|
|
720
|
-
});
|
|
721
|
-
})(WAFEntityMigrationException = exports.WAFEntityMigrationException || (exports.WAFEntityMigrationException = {}));
|
|
722
|
-
var WAFInvalidOperationException;
|
|
723
|
-
(function (WAFInvalidOperationException) {
|
|
724
|
-
WAFInvalidOperationException.filterSensitiveLog = (obj) => ({
|
|
725
|
-
...obj,
|
|
726
|
-
});
|
|
727
|
-
})(WAFInvalidOperationException = exports.WAFInvalidOperationException || (exports.WAFInvalidOperationException = {}));
|
|
728
|
-
var WAFNonexistentItemException;
|
|
729
|
-
(function (WAFNonexistentItemException) {
|
|
730
|
-
WAFNonexistentItemException.filterSensitiveLog = (obj) => ({
|
|
731
|
-
...obj,
|
|
732
|
-
});
|
|
733
|
-
})(WAFNonexistentItemException = exports.WAFNonexistentItemException || (exports.WAFNonexistentItemException = {}));
|
|
734
662
|
var CreateXssMatchSetRequest;
|
|
735
663
|
(function (CreateXssMatchSetRequest) {
|
|
736
664
|
CreateXssMatchSetRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -767,18 +695,6 @@ var DeleteByteMatchSetResponse;
|
|
|
767
695
|
...obj,
|
|
768
696
|
});
|
|
769
697
|
})(DeleteByteMatchSetResponse = exports.DeleteByteMatchSetResponse || (exports.DeleteByteMatchSetResponse = {}));
|
|
770
|
-
var WAFNonEmptyEntityException;
|
|
771
|
-
(function (WAFNonEmptyEntityException) {
|
|
772
|
-
WAFNonEmptyEntityException.filterSensitiveLog = (obj) => ({
|
|
773
|
-
...obj,
|
|
774
|
-
});
|
|
775
|
-
})(WAFNonEmptyEntityException = exports.WAFNonEmptyEntityException || (exports.WAFNonEmptyEntityException = {}));
|
|
776
|
-
var WAFReferencedItemException;
|
|
777
|
-
(function (WAFReferencedItemException) {
|
|
778
|
-
WAFReferencedItemException.filterSensitiveLog = (obj) => ({
|
|
779
|
-
...obj,
|
|
780
|
-
});
|
|
781
|
-
})(WAFReferencedItemException = exports.WAFReferencedItemException || (exports.WAFReferencedItemException = {}));
|
|
782
698
|
var DeleteGeoMatchSetRequest;
|
|
783
699
|
(function (DeleteGeoMatchSetRequest) {
|
|
784
700
|
DeleteGeoMatchSetRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1469,12 +1385,6 @@ var PutLoggingConfigurationResponse;
|
|
|
1469
1385
|
...obj,
|
|
1470
1386
|
});
|
|
1471
1387
|
})(PutLoggingConfigurationResponse = exports.PutLoggingConfigurationResponse || (exports.PutLoggingConfigurationResponse = {}));
|
|
1472
|
-
var WAFServiceLinkedRoleErrorException;
|
|
1473
|
-
(function (WAFServiceLinkedRoleErrorException) {
|
|
1474
|
-
WAFServiceLinkedRoleErrorException.filterSensitiveLog = (obj) => ({
|
|
1475
|
-
...obj,
|
|
1476
|
-
});
|
|
1477
|
-
})(WAFServiceLinkedRoleErrorException = exports.WAFServiceLinkedRoleErrorException || (exports.WAFServiceLinkedRoleErrorException = {}));
|
|
1478
1388
|
var PutPermissionPolicyRequest;
|
|
1479
1389
|
(function (PutPermissionPolicyRequest) {
|
|
1480
1390
|
PutPermissionPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1487,12 +1397,6 @@ var PutPermissionPolicyResponse;
|
|
|
1487
1397
|
...obj,
|
|
1488
1398
|
});
|
|
1489
1399
|
})(PutPermissionPolicyResponse = exports.PutPermissionPolicyResponse || (exports.PutPermissionPolicyResponse = {}));
|
|
1490
|
-
var WAFInvalidPermissionPolicyException;
|
|
1491
|
-
(function (WAFInvalidPermissionPolicyException) {
|
|
1492
|
-
WAFInvalidPermissionPolicyException.filterSensitiveLog = (obj) => ({
|
|
1493
|
-
...obj,
|
|
1494
|
-
});
|
|
1495
|
-
})(WAFInvalidPermissionPolicyException = exports.WAFInvalidPermissionPolicyException || (exports.WAFInvalidPermissionPolicyException = {}));
|
|
1496
1400
|
var TagResourceRequest;
|
|
1497
1401
|
(function (TagResourceRequest) {
|
|
1498
1402
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1540,12 +1444,6 @@ var UpdateByteMatchSetResponse;
|
|
|
1540
1444
|
...obj,
|
|
1541
1445
|
});
|
|
1542
1446
|
})(UpdateByteMatchSetResponse = exports.UpdateByteMatchSetResponse || (exports.UpdateByteMatchSetResponse = {}));
|
|
1543
|
-
var WAFNonexistentContainerException;
|
|
1544
|
-
(function (WAFNonexistentContainerException) {
|
|
1545
|
-
WAFNonexistentContainerException.filterSensitiveLog = (obj) => ({
|
|
1546
|
-
...obj,
|
|
1547
|
-
});
|
|
1548
|
-
})(WAFNonexistentContainerException = exports.WAFNonexistentContainerException || (exports.WAFNonexistentContainerException = {}));
|
|
1549
1447
|
var GeoMatchSetUpdate;
|
|
1550
1448
|
(function (GeoMatchSetUpdate) {
|
|
1551
1449
|
GeoMatchSetUpdate.filterSensitiveLog = (obj) => ({
|
|
@@ -1636,12 +1534,6 @@ var UpdateRegexPatternSetResponse;
|
|
|
1636
1534
|
...obj,
|
|
1637
1535
|
});
|
|
1638
1536
|
})(UpdateRegexPatternSetResponse = exports.UpdateRegexPatternSetResponse || (exports.UpdateRegexPatternSetResponse = {}));
|
|
1639
|
-
var WAFInvalidRegexPatternException;
|
|
1640
|
-
(function (WAFInvalidRegexPatternException) {
|
|
1641
|
-
WAFInvalidRegexPatternException.filterSensitiveLog = (obj) => ({
|
|
1642
|
-
...obj,
|
|
1643
|
-
});
|
|
1644
|
-
})(WAFInvalidRegexPatternException = exports.WAFInvalidRegexPatternException || (exports.WAFInvalidRegexPatternException = {}));
|
|
1645
1537
|
var UpdateRuleRequest;
|
|
1646
1538
|
(function (UpdateRuleRequest) {
|
|
1647
1539
|
UpdateRuleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1726,12 +1618,6 @@ var UpdateWebACLResponse;
|
|
|
1726
1618
|
...obj,
|
|
1727
1619
|
});
|
|
1728
1620
|
})(UpdateWebACLResponse = exports.UpdateWebACLResponse || (exports.UpdateWebACLResponse = {}));
|
|
1729
|
-
var WAFSubscriptionNotFoundException;
|
|
1730
|
-
(function (WAFSubscriptionNotFoundException) {
|
|
1731
|
-
WAFSubscriptionNotFoundException.filterSensitiveLog = (obj) => ({
|
|
1732
|
-
...obj,
|
|
1733
|
-
});
|
|
1734
|
-
})(WAFSubscriptionNotFoundException = exports.WAFSubscriptionNotFoundException || (exports.WAFSubscriptionNotFoundException = {}));
|
|
1735
1621
|
var XssMatchSetUpdate;
|
|
1736
1622
|
(function (XssMatchSetUpdate) {
|
|
1737
1623
|
XssMatchSetUpdate.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ 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
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -79,18 +79,6 @@ export var CreateByteMatchSetResponse;
|
|
|
79
79
|
(function (CreateByteMatchSetResponse) {
|
|
80
80
|
CreateByteMatchSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
81
81
|
})(CreateByteMatchSetResponse || (CreateByteMatchSetResponse = {}));
|
|
82
|
-
export var WAFDisallowedNameException;
|
|
83
|
-
(function (WAFDisallowedNameException) {
|
|
84
|
-
WAFDisallowedNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
-
})(WAFDisallowedNameException || (WAFDisallowedNameException = {}));
|
|
86
|
-
export var WAFInternalErrorException;
|
|
87
|
-
(function (WAFInternalErrorException) {
|
|
88
|
-
WAFInternalErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
-
})(WAFInternalErrorException || (WAFInternalErrorException = {}));
|
|
90
|
-
export var WAFInvalidAccountException;
|
|
91
|
-
(function (WAFInvalidAccountException) {
|
|
92
|
-
WAFInvalidAccountException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
-
})(WAFInvalidAccountException || (WAFInvalidAccountException = {}));
|
|
94
82
|
export var ParameterExceptionField;
|
|
95
83
|
(function (ParameterExceptionField) {
|
|
96
84
|
ParameterExceptionField["BYTE_MATCH_FIELD_TYPE"] = "BYTE_MATCH_FIELD_TYPE";
|
|
@@ -119,18 +107,6 @@ export var ParameterExceptionReason;
|
|
|
119
107
|
ParameterExceptionReason["INVALID_OPTION"] = "INVALID_OPTION";
|
|
120
108
|
ParameterExceptionReason["INVALID_TAG_KEY"] = "INVALID_TAG_KEY";
|
|
121
109
|
})(ParameterExceptionReason || (ParameterExceptionReason = {}));
|
|
122
|
-
export var WAFInvalidParameterException;
|
|
123
|
-
(function (WAFInvalidParameterException) {
|
|
124
|
-
WAFInvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
-
})(WAFInvalidParameterException || (WAFInvalidParameterException = {}));
|
|
126
|
-
export var WAFLimitsExceededException;
|
|
127
|
-
(function (WAFLimitsExceededException) {
|
|
128
|
-
WAFLimitsExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
-
})(WAFLimitsExceededException || (WAFLimitsExceededException = {}));
|
|
130
|
-
export var WAFStaleDataException;
|
|
131
|
-
(function (WAFStaleDataException) {
|
|
132
|
-
WAFStaleDataException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
-
})(WAFStaleDataException || (WAFStaleDataException = {}));
|
|
134
110
|
export var CreateGeoMatchSetRequest;
|
|
135
111
|
(function (CreateGeoMatchSetRequest) {
|
|
136
112
|
CreateGeoMatchSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -458,18 +434,6 @@ export var CreateRateBasedRuleResponse;
|
|
|
458
434
|
(function (CreateRateBasedRuleResponse) {
|
|
459
435
|
CreateRateBasedRuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
460
436
|
})(CreateRateBasedRuleResponse || (CreateRateBasedRuleResponse = {}));
|
|
461
|
-
export var WAFBadRequestException;
|
|
462
|
-
(function (WAFBadRequestException) {
|
|
463
|
-
WAFBadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
464
|
-
})(WAFBadRequestException || (WAFBadRequestException = {}));
|
|
465
|
-
export var WAFTagOperationException;
|
|
466
|
-
(function (WAFTagOperationException) {
|
|
467
|
-
WAFTagOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
468
|
-
})(WAFTagOperationException || (WAFTagOperationException = {}));
|
|
469
|
-
export var WAFTagOperationInternalErrorException;
|
|
470
|
-
(function (WAFTagOperationInternalErrorException) {
|
|
471
|
-
WAFTagOperationInternalErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
472
|
-
})(WAFTagOperationInternalErrorException || (WAFTagOperationInternalErrorException = {}));
|
|
473
437
|
export var CreateRegexMatchSetRequest;
|
|
474
438
|
(function (CreateRegexMatchSetRequest) {
|
|
475
439
|
CreateRegexMatchSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -593,18 +557,6 @@ export var MigrationErrorType;
|
|
|
593
557
|
MigrationErrorType["S3_BUCKET_NO_PERMISSION"] = "S3_BUCKET_NO_PERMISSION";
|
|
594
558
|
MigrationErrorType["S3_INTERNAL_ERROR"] = "S3_INTERNAL_ERROR";
|
|
595
559
|
})(MigrationErrorType || (MigrationErrorType = {}));
|
|
596
|
-
export var WAFEntityMigrationException;
|
|
597
|
-
(function (WAFEntityMigrationException) {
|
|
598
|
-
WAFEntityMigrationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
599
|
-
})(WAFEntityMigrationException || (WAFEntityMigrationException = {}));
|
|
600
|
-
export var WAFInvalidOperationException;
|
|
601
|
-
(function (WAFInvalidOperationException) {
|
|
602
|
-
WAFInvalidOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
603
|
-
})(WAFInvalidOperationException || (WAFInvalidOperationException = {}));
|
|
604
|
-
export var WAFNonexistentItemException;
|
|
605
|
-
(function (WAFNonexistentItemException) {
|
|
606
|
-
WAFNonexistentItemException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
607
|
-
})(WAFNonexistentItemException || (WAFNonexistentItemException = {}));
|
|
608
560
|
export var CreateXssMatchSetRequest;
|
|
609
561
|
(function (CreateXssMatchSetRequest) {
|
|
610
562
|
CreateXssMatchSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -629,14 +581,6 @@ export var DeleteByteMatchSetResponse;
|
|
|
629
581
|
(function (DeleteByteMatchSetResponse) {
|
|
630
582
|
DeleteByteMatchSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
631
583
|
})(DeleteByteMatchSetResponse || (DeleteByteMatchSetResponse = {}));
|
|
632
|
-
export var WAFNonEmptyEntityException;
|
|
633
|
-
(function (WAFNonEmptyEntityException) {
|
|
634
|
-
WAFNonEmptyEntityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
635
|
-
})(WAFNonEmptyEntityException || (WAFNonEmptyEntityException = {}));
|
|
636
|
-
export var WAFReferencedItemException;
|
|
637
|
-
(function (WAFReferencedItemException) {
|
|
638
|
-
WAFReferencedItemException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
639
|
-
})(WAFReferencedItemException || (WAFReferencedItemException = {}));
|
|
640
584
|
export var DeleteGeoMatchSetRequest;
|
|
641
585
|
(function (DeleteGeoMatchSetRequest) {
|
|
642
586
|
DeleteGeoMatchSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1099,10 +1043,6 @@ export var PutLoggingConfigurationResponse;
|
|
|
1099
1043
|
(function (PutLoggingConfigurationResponse) {
|
|
1100
1044
|
PutLoggingConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1101
1045
|
})(PutLoggingConfigurationResponse || (PutLoggingConfigurationResponse = {}));
|
|
1102
|
-
export var WAFServiceLinkedRoleErrorException;
|
|
1103
|
-
(function (WAFServiceLinkedRoleErrorException) {
|
|
1104
|
-
WAFServiceLinkedRoleErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1105
|
-
})(WAFServiceLinkedRoleErrorException || (WAFServiceLinkedRoleErrorException = {}));
|
|
1106
1046
|
export var PutPermissionPolicyRequest;
|
|
1107
1047
|
(function (PutPermissionPolicyRequest) {
|
|
1108
1048
|
PutPermissionPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1111,10 +1051,6 @@ export var PutPermissionPolicyResponse;
|
|
|
1111
1051
|
(function (PutPermissionPolicyResponse) {
|
|
1112
1052
|
PutPermissionPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1113
1053
|
})(PutPermissionPolicyResponse || (PutPermissionPolicyResponse = {}));
|
|
1114
|
-
export var WAFInvalidPermissionPolicyException;
|
|
1115
|
-
(function (WAFInvalidPermissionPolicyException) {
|
|
1116
|
-
WAFInvalidPermissionPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1117
|
-
})(WAFInvalidPermissionPolicyException || (WAFInvalidPermissionPolicyException = {}));
|
|
1118
1054
|
export var TagResourceRequest;
|
|
1119
1055
|
(function (TagResourceRequest) {
|
|
1120
1056
|
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1148,10 +1084,6 @@ export var UpdateByteMatchSetResponse;
|
|
|
1148
1084
|
(function (UpdateByteMatchSetResponse) {
|
|
1149
1085
|
UpdateByteMatchSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1150
1086
|
})(UpdateByteMatchSetResponse || (UpdateByteMatchSetResponse = {}));
|
|
1151
|
-
export var WAFNonexistentContainerException;
|
|
1152
|
-
(function (WAFNonexistentContainerException) {
|
|
1153
|
-
WAFNonexistentContainerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1154
|
-
})(WAFNonexistentContainerException || (WAFNonexistentContainerException = {}));
|
|
1155
1087
|
export var GeoMatchSetUpdate;
|
|
1156
1088
|
(function (GeoMatchSetUpdate) {
|
|
1157
1089
|
GeoMatchSetUpdate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1212,10 +1144,6 @@ export var UpdateRegexPatternSetResponse;
|
|
|
1212
1144
|
(function (UpdateRegexPatternSetResponse) {
|
|
1213
1145
|
UpdateRegexPatternSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1214
1146
|
})(UpdateRegexPatternSetResponse || (UpdateRegexPatternSetResponse = {}));
|
|
1215
|
-
export var WAFInvalidRegexPatternException;
|
|
1216
|
-
(function (WAFInvalidRegexPatternException) {
|
|
1217
|
-
WAFInvalidRegexPatternException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1218
|
-
})(WAFInvalidRegexPatternException || (WAFInvalidRegexPatternException = {}));
|
|
1219
1147
|
export var UpdateRuleRequest;
|
|
1220
1148
|
(function (UpdateRuleRequest) {
|
|
1221
1149
|
UpdateRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1272,10 +1200,6 @@ export var UpdateWebACLResponse;
|
|
|
1272
1200
|
(function (UpdateWebACLResponse) {
|
|
1273
1201
|
UpdateWebACLResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1274
1202
|
})(UpdateWebACLResponse || (UpdateWebACLResponse = {}));
|
|
1275
|
-
export var WAFSubscriptionNotFoundException;
|
|
1276
|
-
(function (WAFSubscriptionNotFoundException) {
|
|
1277
|
-
WAFSubscriptionNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1278
|
-
})(WAFSubscriptionNotFoundException || (WAFSubscriptionNotFoundException = {}));
|
|
1279
1203
|
export var XssMatchSetUpdate;
|
|
1280
1204
|
(function (XssMatchSetUpdate) {
|
|
1281
1205
|
XssMatchSetUpdate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", 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 : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), 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 : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, 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 : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), 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 : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : 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 : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), 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 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
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
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
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 { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
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
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, 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 RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), 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 });
|
|
19
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput } from "./commands/CreateByteMatchSetCommand";
|
|
10
10
|
import { CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput } from "./commands/CreateGeoMatchSetCommand";
|
|
@@ -185,6 +185,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
185
185
|
* @internal
|
|
186
186
|
*/
|
|
187
187
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
188
|
+
/**
|
|
189
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
190
|
+
*/
|
|
191
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
188
192
|
}
|
|
189
193
|
declare type WAFClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
190
194
|
/**
|
|
@@ -632,12 +632,6 @@ export interface WAFDisallowedNameException extends __SmithyException, $Metadata
|
|
|
632
632
|
$fault: "client";
|
|
633
633
|
message?: string;
|
|
634
634
|
}
|
|
635
|
-
export declare namespace WAFDisallowedNameException {
|
|
636
|
-
/**
|
|
637
|
-
* @internal
|
|
638
|
-
*/
|
|
639
|
-
const filterSensitiveLog: (obj: WAFDisallowedNameException) => any;
|
|
640
|
-
}
|
|
641
635
|
/**
|
|
642
636
|
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
643
637
|
*/
|
|
@@ -646,12 +640,6 @@ export interface WAFInternalErrorException extends __SmithyException, $MetadataB
|
|
|
646
640
|
$fault: "server";
|
|
647
641
|
message?: string;
|
|
648
642
|
}
|
|
649
|
-
export declare namespace WAFInternalErrorException {
|
|
650
|
-
/**
|
|
651
|
-
* @internal
|
|
652
|
-
*/
|
|
653
|
-
const filterSensitiveLog: (obj: WAFInternalErrorException) => any;
|
|
654
|
-
}
|
|
655
643
|
/**
|
|
656
644
|
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
657
645
|
*/
|
|
@@ -659,12 +647,6 @@ export interface WAFInvalidAccountException extends __SmithyException, $Metadata
|
|
|
659
647
|
name: "WAFInvalidAccountException";
|
|
660
648
|
$fault: "client";
|
|
661
649
|
}
|
|
662
|
-
export declare namespace WAFInvalidAccountException {
|
|
663
|
-
/**
|
|
664
|
-
* @internal
|
|
665
|
-
*/
|
|
666
|
-
const filterSensitiveLog: (obj: WAFInvalidAccountException) => any;
|
|
667
|
-
}
|
|
668
650
|
export declare enum ParameterExceptionField {
|
|
669
651
|
BYTE_MATCH_FIELD_TYPE = "BYTE_MATCH_FIELD_TYPE",
|
|
670
652
|
BYTE_MATCH_POSITIONAL_CONSTRAINT = "BYTE_MATCH_POSITIONAL_CONSTRAINT",
|
|
@@ -738,12 +720,6 @@ export interface WAFInvalidParameterException extends __SmithyException, $Metada
|
|
|
738
720
|
parameter?: string;
|
|
739
721
|
reason?: ParameterExceptionReason | string;
|
|
740
722
|
}
|
|
741
|
-
export declare namespace WAFInvalidParameterException {
|
|
742
|
-
/**
|
|
743
|
-
* @internal
|
|
744
|
-
*/
|
|
745
|
-
const filterSensitiveLog: (obj: WAFInvalidParameterException) => any;
|
|
746
|
-
}
|
|
747
723
|
/**
|
|
748
724
|
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
749
725
|
* for an AWS account. For more information, see
|
|
@@ -754,12 +730,6 @@ export interface WAFLimitsExceededException extends __SmithyException, $Metadata
|
|
|
754
730
|
$fault: "client";
|
|
755
731
|
message?: string;
|
|
756
732
|
}
|
|
757
|
-
export declare namespace WAFLimitsExceededException {
|
|
758
|
-
/**
|
|
759
|
-
* @internal
|
|
760
|
-
*/
|
|
761
|
-
const filterSensitiveLog: (obj: WAFLimitsExceededException) => any;
|
|
762
|
-
}
|
|
763
733
|
/**
|
|
764
734
|
* <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
|
|
765
735
|
*/
|
|
@@ -768,12 +738,6 @@ export interface WAFStaleDataException extends __SmithyException, $MetadataBeare
|
|
|
768
738
|
$fault: "client";
|
|
769
739
|
message?: string;
|
|
770
740
|
}
|
|
771
|
-
export declare namespace WAFStaleDataException {
|
|
772
|
-
/**
|
|
773
|
-
* @internal
|
|
774
|
-
*/
|
|
775
|
-
const filterSensitiveLog: (obj: WAFStaleDataException) => any;
|
|
776
|
-
}
|
|
777
741
|
export interface CreateGeoMatchSetRequest {
|
|
778
742
|
/**
|
|
779
743
|
* <p>A friendly name or description of the <a>GeoMatchSet</a>. You can't change <code>Name</code> after you create the <code>GeoMatchSet</code>.</p>
|
|
@@ -1476,12 +1440,6 @@ export interface WAFBadRequestException extends __SmithyException, $MetadataBear
|
|
|
1476
1440
|
$fault: "client";
|
|
1477
1441
|
message?: string;
|
|
1478
1442
|
}
|
|
1479
|
-
export declare namespace WAFBadRequestException {
|
|
1480
|
-
/**
|
|
1481
|
-
* @internal
|
|
1482
|
-
*/
|
|
1483
|
-
const filterSensitiveLog: (obj: WAFBadRequestException) => any;
|
|
1484
|
-
}
|
|
1485
1443
|
/**
|
|
1486
1444
|
* <p></p>
|
|
1487
1445
|
*/
|
|
@@ -1490,12 +1448,6 @@ export interface WAFTagOperationException extends __SmithyException, $MetadataBe
|
|
|
1490
1448
|
$fault: "client";
|
|
1491
1449
|
message?: string;
|
|
1492
1450
|
}
|
|
1493
|
-
export declare namespace WAFTagOperationException {
|
|
1494
|
-
/**
|
|
1495
|
-
* @internal
|
|
1496
|
-
*/
|
|
1497
|
-
const filterSensitiveLog: (obj: WAFTagOperationException) => any;
|
|
1498
|
-
}
|
|
1499
1451
|
/**
|
|
1500
1452
|
* <p></p>
|
|
1501
1453
|
*/
|
|
@@ -1504,12 +1456,6 @@ export interface WAFTagOperationInternalErrorException extends __SmithyException
|
|
|
1504
1456
|
$fault: "server";
|
|
1505
1457
|
message?: string;
|
|
1506
1458
|
}
|
|
1507
|
-
export declare namespace WAFTagOperationInternalErrorException {
|
|
1508
|
-
/**
|
|
1509
|
-
* @internal
|
|
1510
|
-
*/
|
|
1511
|
-
const filterSensitiveLog: (obj: WAFTagOperationInternalErrorException) => any;
|
|
1512
|
-
}
|
|
1513
1459
|
export interface CreateRegexMatchSetRequest {
|
|
1514
1460
|
/**
|
|
1515
1461
|
* <p>A friendly name or description of the <a>RegexMatchSet</a>. You can't change <code>Name</code> after you create a
|
|
@@ -2627,12 +2573,6 @@ export interface WAFEntityMigrationException extends __SmithyException, $Metadat
|
|
|
2627
2573
|
MigrationErrorType?: MigrationErrorType | string;
|
|
2628
2574
|
MigrationErrorReason?: string;
|
|
2629
2575
|
}
|
|
2630
|
-
export declare namespace WAFEntityMigrationException {
|
|
2631
|
-
/**
|
|
2632
|
-
* @internal
|
|
2633
|
-
*/
|
|
2634
|
-
const filterSensitiveLog: (obj: WAFEntityMigrationException) => any;
|
|
2635
|
-
}
|
|
2636
2576
|
/**
|
|
2637
2577
|
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
2638
2578
|
* <ul>
|
|
@@ -2661,12 +2601,6 @@ export interface WAFInvalidOperationException extends __SmithyException, $Metada
|
|
|
2661
2601
|
$fault: "client";
|
|
2662
2602
|
message?: string;
|
|
2663
2603
|
}
|
|
2664
|
-
export declare namespace WAFInvalidOperationException {
|
|
2665
|
-
/**
|
|
2666
|
-
* @internal
|
|
2667
|
-
*/
|
|
2668
|
-
const filterSensitiveLog: (obj: WAFInvalidOperationException) => any;
|
|
2669
|
-
}
|
|
2670
2604
|
/**
|
|
2671
2605
|
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
2672
2606
|
*/
|
|
@@ -2675,12 +2609,6 @@ export interface WAFNonexistentItemException extends __SmithyException, $Metadat
|
|
|
2675
2609
|
$fault: "client";
|
|
2676
2610
|
message?: string;
|
|
2677
2611
|
}
|
|
2678
|
-
export declare namespace WAFNonexistentItemException {
|
|
2679
|
-
/**
|
|
2680
|
-
* @internal
|
|
2681
|
-
*/
|
|
2682
|
-
const filterSensitiveLog: (obj: WAFNonexistentItemException) => any;
|
|
2683
|
-
}
|
|
2684
2612
|
/**
|
|
2685
2613
|
* <p>A request to create an <a>XssMatchSet</a>.</p>
|
|
2686
2614
|
*/
|
|
@@ -2933,12 +2861,6 @@ export interface WAFNonEmptyEntityException extends __SmithyException, $Metadata
|
|
|
2933
2861
|
$fault: "client";
|
|
2934
2862
|
message?: string;
|
|
2935
2863
|
}
|
|
2936
|
-
export declare namespace WAFNonEmptyEntityException {
|
|
2937
|
-
/**
|
|
2938
|
-
* @internal
|
|
2939
|
-
*/
|
|
2940
|
-
const filterSensitiveLog: (obj: WAFNonEmptyEntityException) => any;
|
|
2941
|
-
}
|
|
2942
2864
|
/**
|
|
2943
2865
|
* <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
|
|
2944
2866
|
* <ul>
|
|
@@ -2955,12 +2877,6 @@ export interface WAFReferencedItemException extends __SmithyException, $Metadata
|
|
|
2955
2877
|
$fault: "client";
|
|
2956
2878
|
message?: string;
|
|
2957
2879
|
}
|
|
2958
|
-
export declare namespace WAFReferencedItemException {
|
|
2959
|
-
/**
|
|
2960
|
-
* @internal
|
|
2961
|
-
*/
|
|
2962
|
-
const filterSensitiveLog: (obj: WAFReferencedItemException) => any;
|
|
2963
|
-
}
|
|
2964
2880
|
export interface DeleteGeoMatchSetRequest {
|
|
2965
2881
|
/**
|
|
2966
2882
|
* <p>The <code>GeoMatchSetID</code> of the <a>GeoMatchSet</a> that you want to delete. <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by
|
|
@@ -5269,12 +5185,6 @@ export interface WAFServiceLinkedRoleErrorException extends __SmithyException, $
|
|
|
5269
5185
|
$fault: "client";
|
|
5270
5186
|
message?: string;
|
|
5271
5187
|
}
|
|
5272
|
-
export declare namespace WAFServiceLinkedRoleErrorException {
|
|
5273
|
-
/**
|
|
5274
|
-
* @internal
|
|
5275
|
-
*/
|
|
5276
|
-
const filterSensitiveLog: (obj: WAFServiceLinkedRoleErrorException) => any;
|
|
5277
|
-
}
|
|
5278
5188
|
export interface PutPermissionPolicyRequest {
|
|
5279
5189
|
/**
|
|
5280
5190
|
* <p>The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.</p>
|
|
@@ -5336,12 +5246,6 @@ export interface WAFInvalidPermissionPolicyException extends __SmithyException,
|
|
|
5336
5246
|
$fault: "client";
|
|
5337
5247
|
message?: string;
|
|
5338
5248
|
}
|
|
5339
|
-
export declare namespace WAFInvalidPermissionPolicyException {
|
|
5340
|
-
/**
|
|
5341
|
-
* @internal
|
|
5342
|
-
*/
|
|
5343
|
-
const filterSensitiveLog: (obj: WAFInvalidPermissionPolicyException) => any;
|
|
5344
|
-
}
|
|
5345
5249
|
export interface TagResourceRequest {
|
|
5346
5250
|
/**
|
|
5347
5251
|
* <p></p>
|
|
@@ -5500,12 +5404,6 @@ export interface WAFNonexistentContainerException extends __SmithyException, $Me
|
|
|
5500
5404
|
$fault: "client";
|
|
5501
5405
|
message?: string;
|
|
5502
5406
|
}
|
|
5503
|
-
export declare namespace WAFNonexistentContainerException {
|
|
5504
|
-
/**
|
|
5505
|
-
* @internal
|
|
5506
|
-
*/
|
|
5507
|
-
const filterSensitiveLog: (obj: WAFNonexistentContainerException) => any;
|
|
5508
|
-
}
|
|
5509
5407
|
/**
|
|
5510
5408
|
* <note>
|
|
5511
5409
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -5863,12 +5761,6 @@ export interface WAFInvalidRegexPatternException extends __SmithyException, $Met
|
|
|
5863
5761
|
$fault: "client";
|
|
5864
5762
|
message?: string;
|
|
5865
5763
|
}
|
|
5866
|
-
export declare namespace WAFInvalidRegexPatternException {
|
|
5867
|
-
/**
|
|
5868
|
-
* @internal
|
|
5869
|
-
*/
|
|
5870
|
-
const filterSensitiveLog: (obj: WAFInvalidRegexPatternException) => any;
|
|
5871
|
-
}
|
|
5872
5764
|
export interface UpdateRuleRequest {
|
|
5873
5765
|
/**
|
|
5874
5766
|
* <p>The <code>RuleId</code> of the <code>Rule</code> that you want to update. <code>RuleId</code> is returned by
|
|
@@ -6263,12 +6155,6 @@ export interface WAFSubscriptionNotFoundException extends __SmithyException, $Me
|
|
|
6263
6155
|
$fault: "client";
|
|
6264
6156
|
message?: string;
|
|
6265
6157
|
}
|
|
6266
|
-
export declare namespace WAFSubscriptionNotFoundException {
|
|
6267
|
-
/**
|
|
6268
|
-
* @internal
|
|
6269
|
-
*/
|
|
6270
|
-
const filterSensitiveLog: (obj: WAFSubscriptionNotFoundException) => any;
|
|
6271
|
-
}
|
|
6272
6158
|
/**
|
|
6273
6159
|
* <note>
|
|
6274
6160
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { WAFClientConfig } from "./WAFClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { WAFClientConfig } from "./WAFClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput } from "./commands/CreateByteMatchSetCommand";
|
|
10
10
|
import { CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput } from "./commands/CreateGeoMatchSetCommand";
|
|
@@ -128,6 +128,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
128
128
|
regionInfoProvider?: RegionInfoProvider;
|
|
129
129
|
|
|
130
130
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
131
|
+
|
|
132
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
131
133
|
}
|
|
132
134
|
declare type WAFClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
133
135
|
|
|
@@ -148,29 +148,17 @@ export interface WAFDisallowedNameException extends __SmithyException, $Metadata
|
|
|
148
148
|
$fault: "client";
|
|
149
149
|
message?: string;
|
|
150
150
|
}
|
|
151
|
-
export declare namespace WAFDisallowedNameException {
|
|
152
|
-
|
|
153
|
-
const filterSensitiveLog: (obj: WAFDisallowedNameException) => any;
|
|
154
|
-
}
|
|
155
151
|
|
|
156
152
|
export interface WAFInternalErrorException extends __SmithyException, $MetadataBearer {
|
|
157
153
|
name: "WAFInternalErrorException";
|
|
158
154
|
$fault: "server";
|
|
159
155
|
message?: string;
|
|
160
156
|
}
|
|
161
|
-
export declare namespace WAFInternalErrorException {
|
|
162
|
-
|
|
163
|
-
const filterSensitiveLog: (obj: WAFInternalErrorException) => any;
|
|
164
|
-
}
|
|
165
157
|
|
|
166
158
|
export interface WAFInvalidAccountException extends __SmithyException, $MetadataBearer {
|
|
167
159
|
name: "WAFInvalidAccountException";
|
|
168
160
|
$fault: "client";
|
|
169
161
|
}
|
|
170
|
-
export declare namespace WAFInvalidAccountException {
|
|
171
|
-
|
|
172
|
-
const filterSensitiveLog: (obj: WAFInvalidAccountException) => any;
|
|
173
|
-
}
|
|
174
162
|
export declare enum ParameterExceptionField {
|
|
175
163
|
BYTE_MATCH_FIELD_TYPE = "BYTE_MATCH_FIELD_TYPE",
|
|
176
164
|
BYTE_MATCH_POSITIONAL_CONSTRAINT = "BYTE_MATCH_POSITIONAL_CONSTRAINT",
|
|
@@ -205,30 +193,18 @@ export interface WAFInvalidParameterException extends __SmithyException, $Metada
|
|
|
205
193
|
parameter?: string;
|
|
206
194
|
reason?: ParameterExceptionReason | string;
|
|
207
195
|
}
|
|
208
|
-
export declare namespace WAFInvalidParameterException {
|
|
209
|
-
|
|
210
|
-
const filterSensitiveLog: (obj: WAFInvalidParameterException) => any;
|
|
211
|
-
}
|
|
212
196
|
|
|
213
197
|
export interface WAFLimitsExceededException extends __SmithyException, $MetadataBearer {
|
|
214
198
|
name: "WAFLimitsExceededException";
|
|
215
199
|
$fault: "client";
|
|
216
200
|
message?: string;
|
|
217
201
|
}
|
|
218
|
-
export declare namespace WAFLimitsExceededException {
|
|
219
|
-
|
|
220
|
-
const filterSensitiveLog: (obj: WAFLimitsExceededException) => any;
|
|
221
|
-
}
|
|
222
202
|
|
|
223
203
|
export interface WAFStaleDataException extends __SmithyException, $MetadataBearer {
|
|
224
204
|
name: "WAFStaleDataException";
|
|
225
205
|
$fault: "client";
|
|
226
206
|
message?: string;
|
|
227
207
|
}
|
|
228
|
-
export declare namespace WAFStaleDataException {
|
|
229
|
-
|
|
230
|
-
const filterSensitiveLog: (obj: WAFStaleDataException) => any;
|
|
231
|
-
}
|
|
232
208
|
export interface CreateGeoMatchSetRequest {
|
|
233
209
|
|
|
234
210
|
Name: string | undefined;
|
|
@@ -664,30 +640,18 @@ export interface WAFBadRequestException extends __SmithyException, $MetadataBear
|
|
|
664
640
|
$fault: "client";
|
|
665
641
|
message?: string;
|
|
666
642
|
}
|
|
667
|
-
export declare namespace WAFBadRequestException {
|
|
668
|
-
|
|
669
|
-
const filterSensitiveLog: (obj: WAFBadRequestException) => any;
|
|
670
|
-
}
|
|
671
643
|
|
|
672
644
|
export interface WAFTagOperationException extends __SmithyException, $MetadataBearer {
|
|
673
645
|
name: "WAFTagOperationException";
|
|
674
646
|
$fault: "client";
|
|
675
647
|
message?: string;
|
|
676
648
|
}
|
|
677
|
-
export declare namespace WAFTagOperationException {
|
|
678
|
-
|
|
679
|
-
const filterSensitiveLog: (obj: WAFTagOperationException) => any;
|
|
680
|
-
}
|
|
681
649
|
|
|
682
650
|
export interface WAFTagOperationInternalErrorException extends __SmithyException, $MetadataBearer {
|
|
683
651
|
name: "WAFTagOperationInternalErrorException";
|
|
684
652
|
$fault: "server";
|
|
685
653
|
message?: string;
|
|
686
654
|
}
|
|
687
|
-
export declare namespace WAFTagOperationInternalErrorException {
|
|
688
|
-
|
|
689
|
-
const filterSensitiveLog: (obj: WAFTagOperationInternalErrorException) => any;
|
|
690
|
-
}
|
|
691
655
|
export interface CreateRegexMatchSetRequest {
|
|
692
656
|
|
|
693
657
|
Name: string | undefined;
|
|
@@ -1027,30 +991,18 @@ export interface WAFEntityMigrationException extends __SmithyException, $Metadat
|
|
|
1027
991
|
MigrationErrorType?: MigrationErrorType | string;
|
|
1028
992
|
MigrationErrorReason?: string;
|
|
1029
993
|
}
|
|
1030
|
-
export declare namespace WAFEntityMigrationException {
|
|
1031
|
-
|
|
1032
|
-
const filterSensitiveLog: (obj: WAFEntityMigrationException) => any;
|
|
1033
|
-
}
|
|
1034
994
|
|
|
1035
995
|
export interface WAFInvalidOperationException extends __SmithyException, $MetadataBearer {
|
|
1036
996
|
name: "WAFInvalidOperationException";
|
|
1037
997
|
$fault: "client";
|
|
1038
998
|
message?: string;
|
|
1039
999
|
}
|
|
1040
|
-
export declare namespace WAFInvalidOperationException {
|
|
1041
|
-
|
|
1042
|
-
const filterSensitiveLog: (obj: WAFInvalidOperationException) => any;
|
|
1043
|
-
}
|
|
1044
1000
|
|
|
1045
1001
|
export interface WAFNonexistentItemException extends __SmithyException, $MetadataBearer {
|
|
1046
1002
|
name: "WAFNonexistentItemException";
|
|
1047
1003
|
$fault: "client";
|
|
1048
1004
|
message?: string;
|
|
1049
1005
|
}
|
|
1050
|
-
export declare namespace WAFNonexistentItemException {
|
|
1051
|
-
|
|
1052
|
-
const filterSensitiveLog: (obj: WAFNonexistentItemException) => any;
|
|
1053
|
-
}
|
|
1054
1006
|
|
|
1055
1007
|
export interface CreateXssMatchSetRequest {
|
|
1056
1008
|
|
|
@@ -1121,20 +1073,12 @@ export interface WAFNonEmptyEntityException extends __SmithyException, $Metadata
|
|
|
1121
1073
|
$fault: "client";
|
|
1122
1074
|
message?: string;
|
|
1123
1075
|
}
|
|
1124
|
-
export declare namespace WAFNonEmptyEntityException {
|
|
1125
|
-
|
|
1126
|
-
const filterSensitiveLog: (obj: WAFNonEmptyEntityException) => any;
|
|
1127
|
-
}
|
|
1128
1076
|
|
|
1129
1077
|
export interface WAFReferencedItemException extends __SmithyException, $MetadataBearer {
|
|
1130
1078
|
name: "WAFReferencedItemException";
|
|
1131
1079
|
$fault: "client";
|
|
1132
1080
|
message?: string;
|
|
1133
1081
|
}
|
|
1134
|
-
export declare namespace WAFReferencedItemException {
|
|
1135
|
-
|
|
1136
|
-
const filterSensitiveLog: (obj: WAFReferencedItemException) => any;
|
|
1137
|
-
}
|
|
1138
1082
|
export interface DeleteGeoMatchSetRequest {
|
|
1139
1083
|
|
|
1140
1084
|
GeoMatchSetId: string | undefined;
|
|
@@ -2240,10 +2184,6 @@ export interface WAFServiceLinkedRoleErrorException extends __SmithyException, $
|
|
|
2240
2184
|
$fault: "client";
|
|
2241
2185
|
message?: string;
|
|
2242
2186
|
}
|
|
2243
|
-
export declare namespace WAFServiceLinkedRoleErrorException {
|
|
2244
|
-
|
|
2245
|
-
const filterSensitiveLog: (obj: WAFServiceLinkedRoleErrorException) => any;
|
|
2246
|
-
}
|
|
2247
2187
|
export interface PutPermissionPolicyRequest {
|
|
2248
2188
|
|
|
2249
2189
|
ResourceArn: string | undefined;
|
|
@@ -2266,10 +2206,6 @@ export interface WAFInvalidPermissionPolicyException extends __SmithyException,
|
|
|
2266
2206
|
$fault: "client";
|
|
2267
2207
|
message?: string;
|
|
2268
2208
|
}
|
|
2269
|
-
export declare namespace WAFInvalidPermissionPolicyException {
|
|
2270
|
-
|
|
2271
|
-
const filterSensitiveLog: (obj: WAFInvalidPermissionPolicyException) => any;
|
|
2272
|
-
}
|
|
2273
2209
|
export interface TagResourceRequest {
|
|
2274
2210
|
|
|
2275
2211
|
ResourceARN: string | undefined;
|
|
@@ -2343,10 +2279,6 @@ export interface WAFNonexistentContainerException extends __SmithyException, $Me
|
|
|
2343
2279
|
$fault: "client";
|
|
2344
2280
|
message?: string;
|
|
2345
2281
|
}
|
|
2346
|
-
export declare namespace WAFNonexistentContainerException {
|
|
2347
|
-
|
|
2348
|
-
const filterSensitiveLog: (obj: WAFNonexistentContainerException) => any;
|
|
2349
|
-
}
|
|
2350
2282
|
|
|
2351
2283
|
export interface GeoMatchSetUpdate {
|
|
2352
2284
|
|
|
@@ -2510,10 +2442,6 @@ export interface WAFInvalidRegexPatternException extends __SmithyException, $Met
|
|
|
2510
2442
|
$fault: "client";
|
|
2511
2443
|
message?: string;
|
|
2512
2444
|
}
|
|
2513
|
-
export declare namespace WAFInvalidRegexPatternException {
|
|
2514
|
-
|
|
2515
|
-
const filterSensitiveLog: (obj: WAFInvalidRegexPatternException) => any;
|
|
2516
|
-
}
|
|
2517
2445
|
export interface UpdateRuleRequest {
|
|
2518
2446
|
|
|
2519
2447
|
RuleId: string | undefined;
|
|
@@ -2668,10 +2596,6 @@ export interface WAFSubscriptionNotFoundException extends __SmithyException, $Me
|
|
|
2668
2596
|
$fault: "client";
|
|
2669
2597
|
message?: string;
|
|
2670
2598
|
}
|
|
2671
|
-
export declare namespace WAFSubscriptionNotFoundException {
|
|
2672
|
-
|
|
2673
|
-
const filterSensitiveLog: (obj: WAFSubscriptionNotFoundException) => any;
|
|
2674
|
-
}
|
|
2675
2599
|
|
|
2676
2600
|
export interface XssMatchSetUpdate {
|
|
2677
2601
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { WAFClientConfig } from "./WAFClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { WAFClientConfig } from "./WAFClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-waf",
|
|
3
3
|
"description": "AWS SDK for JavaScript Waf Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +18,40 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
55
55
|
"@types/node": "^12.7.5"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|