@aws-sdk/client-waf 3.952.0 → 3.953.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/dist-cjs/index.js +1037 -654
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/commands/CreateByteMatchSetCommand.js +2 -2
- package/dist-es/commands/CreateGeoMatchSetCommand.js +2 -2
- package/dist-es/commands/CreateIPSetCommand.js +2 -2
- package/dist-es/commands/CreateRateBasedRuleCommand.js +2 -2
- package/dist-es/commands/CreateRegexMatchSetCommand.js +2 -2
- package/dist-es/commands/CreateRegexPatternSetCommand.js +2 -2
- package/dist-es/commands/CreateRuleCommand.js +2 -2
- package/dist-es/commands/CreateRuleGroupCommand.js +2 -2
- package/dist-es/commands/CreateSizeConstraintSetCommand.js +2 -2
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +2 -2
- package/dist-es/commands/CreateWebACLCommand.js +2 -2
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js +2 -2
- package/dist-es/commands/CreateXssMatchSetCommand.js +2 -2
- package/dist-es/commands/DeleteByteMatchSetCommand.js +2 -2
- package/dist-es/commands/DeleteGeoMatchSetCommand.js +2 -2
- package/dist-es/commands/DeleteIPSetCommand.js +2 -2
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/DeletePermissionPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteRateBasedRuleCommand.js +2 -2
- package/dist-es/commands/DeleteRegexMatchSetCommand.js +2 -2
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +2 -2
- package/dist-es/commands/DeleteRuleCommand.js +2 -2
- package/dist-es/commands/DeleteRuleGroupCommand.js +2 -2
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js +2 -2
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +2 -2
- package/dist-es/commands/DeleteWebACLCommand.js +2 -2
- package/dist-es/commands/DeleteXssMatchSetCommand.js +2 -2
- package/dist-es/commands/GetByteMatchSetCommand.js +2 -2
- package/dist-es/commands/GetChangeTokenCommand.js +2 -2
- package/dist-es/commands/GetChangeTokenStatusCommand.js +2 -2
- package/dist-es/commands/GetGeoMatchSetCommand.js +2 -2
- package/dist-es/commands/GetIPSetCommand.js +2 -2
- package/dist-es/commands/GetLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/GetPermissionPolicyCommand.js +2 -2
- package/dist-es/commands/GetRateBasedRuleCommand.js +2 -2
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +2 -2
- package/dist-es/commands/GetRegexMatchSetCommand.js +2 -2
- package/dist-es/commands/GetRegexPatternSetCommand.js +2 -2
- package/dist-es/commands/GetRuleCommand.js +2 -2
- package/dist-es/commands/GetRuleGroupCommand.js +2 -2
- package/dist-es/commands/GetSampledRequestsCommand.js +2 -2
- package/dist-es/commands/GetSizeConstraintSetCommand.js +2 -2
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +2 -2
- package/dist-es/commands/GetWebACLCommand.js +2 -2
- package/dist-es/commands/GetXssMatchSetCommand.js +2 -2
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +2 -2
- package/dist-es/commands/ListByteMatchSetsCommand.js +2 -2
- package/dist-es/commands/ListGeoMatchSetsCommand.js +2 -2
- package/dist-es/commands/ListIPSetsCommand.js +2 -2
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListRateBasedRulesCommand.js +2 -2
- package/dist-es/commands/ListRegexMatchSetsCommand.js +2 -2
- package/dist-es/commands/ListRegexPatternSetsCommand.js +2 -2
- package/dist-es/commands/ListRuleGroupsCommand.js +2 -2
- package/dist-es/commands/ListRulesCommand.js +2 -2
- package/dist-es/commands/ListSizeConstraintSetsCommand.js +2 -2
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +2 -2
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListWebACLsCommand.js +2 -2
- package/dist-es/commands/ListXssMatchSetsCommand.js +2 -2
- package/dist-es/commands/PutLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/PutPermissionPolicyCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateByteMatchSetCommand.js +2 -2
- package/dist-es/commands/UpdateGeoMatchSetCommand.js +2 -2
- package/dist-es/commands/UpdateIPSetCommand.js +2 -2
- package/dist-es/commands/UpdateRateBasedRuleCommand.js +2 -2
- package/dist-es/commands/UpdateRegexMatchSetCommand.js +2 -2
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +2 -2
- package/dist-es/commands/UpdateRuleCommand.js +2 -2
- package/dist-es/commands/UpdateRuleGroupCommand.js +2 -2
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js +2 -2
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +2 -2
- package/dist-es/commands/UpdateWebACLCommand.js +2 -2
- package/dist-es/commands/UpdateXssMatchSetCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +600 -523
- package/dist-types/WAFClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +307 -349
- package/dist-types/ts3.4/WAFClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +306 -349
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateRule } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateRule$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateRuleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateRuleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSWAF_20150824", "UpdateRule", {})
|
|
13
13
|
.n("WAFClient", "UpdateRuleCommand")
|
|
14
|
-
.sc(UpdateRule)
|
|
14
|
+
.sc(UpdateRule$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateRuleGroup } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateRuleGroup$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateRuleGroupCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateRuleGroupCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSWAF_20150824", "UpdateRuleGroup", {})
|
|
13
13
|
.n("WAFClient", "UpdateRuleGroupCommand")
|
|
14
|
-
.sc(UpdateRuleGroup)
|
|
14
|
+
.sc(UpdateRuleGroup$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateSizeConstraintSet } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateSizeConstraintSet$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateSizeConstraintSetCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateSizeConstraintSetCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSWAF_20150824", "UpdateSizeConstraintSet", {})
|
|
13
13
|
.n("WAFClient", "UpdateSizeConstraintSetCommand")
|
|
14
|
-
.sc(UpdateSizeConstraintSet)
|
|
14
|
+
.sc(UpdateSizeConstraintSet$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateSqlInjectionMatchSet } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateSqlInjectionMatchSet$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateSqlInjectionMatchSetCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateSqlInjectionMatchSetCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSWAF_20150824", "UpdateSqlInjectionMatchSet", {})
|
|
13
13
|
.n("WAFClient", "UpdateSqlInjectionMatchSetCommand")
|
|
14
|
-
.sc(UpdateSqlInjectionMatchSet)
|
|
14
|
+
.sc(UpdateSqlInjectionMatchSet$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateWebACL } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateWebACL$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateWebACLCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateWebACLCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSWAF_20150824", "UpdateWebACL", {})
|
|
13
13
|
.n("WAFClient", "UpdateWebACLCommand")
|
|
14
|
-
.sc(UpdateWebACL)
|
|
14
|
+
.sc(UpdateWebACL$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateXssMatchSet } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateXssMatchSet$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateXssMatchSetCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateXssMatchSetCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSWAF_20150824", "UpdateXssMatchSet", {})
|
|
13
13
|
.n("WAFClient", "UpdateXssMatchSetCommand")
|
|
14
|
-
.sc(UpdateXssMatchSet)
|
|
14
|
+
.sc(UpdateXssMatchSet$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.waf",
|
|
29
|
+
xmlNamespace: "http://waf.amazonaws.com/doc/2015-08-24/",
|
|
30
|
+
version: "2015-08-24",
|
|
31
|
+
serviceTarget: "AWSWAF_20150824",
|
|
32
|
+
},
|
|
32
33
|
serviceId: config?.serviceId ?? "WAF",
|
|
33
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|