@aws-sdk/client-waf-regional 3.927.0 → 3.929.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 +2063 -2561
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/WAFRegionalClient.js +2 -0
- package/dist-es/commands/AssociateWebACLCommand.js +3 -9
- package/dist-es/commands/CreateByteMatchSetCommand.js +3 -9
- package/dist-es/commands/CreateGeoMatchSetCommand.js +3 -9
- package/dist-es/commands/CreateIPSetCommand.js +3 -9
- package/dist-es/commands/CreateRateBasedRuleCommand.js +3 -9
- package/dist-es/commands/CreateRegexMatchSetCommand.js +3 -9
- package/dist-es/commands/CreateRegexPatternSetCommand.js +3 -9
- package/dist-es/commands/CreateRuleCommand.js +3 -9
- package/dist-es/commands/CreateRuleGroupCommand.js +3 -9
- package/dist-es/commands/CreateSizeConstraintSetCommand.js +3 -9
- package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +3 -9
- package/dist-es/commands/CreateWebACLCommand.js +3 -9
- package/dist-es/commands/CreateWebACLMigrationStackCommand.js +3 -9
- package/dist-es/commands/CreateXssMatchSetCommand.js +3 -9
- package/dist-es/commands/DeleteByteMatchSetCommand.js +3 -9
- package/dist-es/commands/DeleteGeoMatchSetCommand.js +3 -9
- package/dist-es/commands/DeleteIPSetCommand.js +3 -9
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeletePermissionPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteRateBasedRuleCommand.js +3 -9
- package/dist-es/commands/DeleteRegexMatchSetCommand.js +3 -9
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +3 -9
- package/dist-es/commands/DeleteRuleCommand.js +3 -9
- package/dist-es/commands/DeleteRuleGroupCommand.js +3 -9
- package/dist-es/commands/DeleteSizeConstraintSetCommand.js +3 -9
- package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +3 -9
- package/dist-es/commands/DeleteWebACLCommand.js +3 -9
- package/dist-es/commands/DeleteXssMatchSetCommand.js +3 -9
- package/dist-es/commands/DisassociateWebACLCommand.js +3 -9
- package/dist-es/commands/GetByteMatchSetCommand.js +3 -9
- package/dist-es/commands/GetChangeTokenCommand.js +3 -9
- package/dist-es/commands/GetChangeTokenStatusCommand.js +3 -9
- package/dist-es/commands/GetGeoMatchSetCommand.js +3 -9
- package/dist-es/commands/GetIPSetCommand.js +3 -9
- package/dist-es/commands/GetLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/GetPermissionPolicyCommand.js +3 -9
- package/dist-es/commands/GetRateBasedRuleCommand.js +3 -9
- package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +3 -9
- package/dist-es/commands/GetRegexMatchSetCommand.js +3 -9
- package/dist-es/commands/GetRegexPatternSetCommand.js +3 -9
- package/dist-es/commands/GetRuleCommand.js +3 -9
- package/dist-es/commands/GetRuleGroupCommand.js +3 -9
- package/dist-es/commands/GetSampledRequestsCommand.js +3 -9
- package/dist-es/commands/GetSizeConstraintSetCommand.js +3 -9
- package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +3 -9
- package/dist-es/commands/GetWebACLCommand.js +3 -9
- package/dist-es/commands/GetWebACLForResourceCommand.js +3 -9
- package/dist-es/commands/GetXssMatchSetCommand.js +3 -9
- package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +3 -9
- package/dist-es/commands/ListByteMatchSetsCommand.js +3 -9
- package/dist-es/commands/ListGeoMatchSetsCommand.js +3 -9
- package/dist-es/commands/ListIPSetsCommand.js +3 -9
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListRateBasedRulesCommand.js +3 -9
- package/dist-es/commands/ListRegexMatchSetsCommand.js +3 -9
- package/dist-es/commands/ListRegexPatternSetsCommand.js +3 -9
- package/dist-es/commands/ListResourcesForWebACLCommand.js +3 -9
- package/dist-es/commands/ListRuleGroupsCommand.js +3 -9
- package/dist-es/commands/ListRulesCommand.js +3 -9
- package/dist-es/commands/ListSizeConstraintSetsCommand.js +3 -9
- package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +3 -9
- package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListWebACLsCommand.js +3 -9
- package/dist-es/commands/ListXssMatchSetsCommand.js +3 -9
- package/dist-es/commands/PutLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/PutPermissionPolicyCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateByteMatchSetCommand.js +3 -9
- package/dist-es/commands/UpdateGeoMatchSetCommand.js +3 -9
- package/dist-es/commands/UpdateIPSetCommand.js +3 -9
- package/dist-es/commands/UpdateRateBasedRuleCommand.js +3 -9
- package/dist-es/commands/UpdateRegexMatchSetCommand.js +3 -9
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +3 -9
- package/dist-es/commands/UpdateRuleCommand.js +3 -9
- package/dist-es/commands/UpdateRuleGroupCommand.js +3 -9
- package/dist-es/commands/UpdateSizeConstraintSetCommand.js +3 -9
- package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +3 -9
- package/dist-es/commands/UpdateWebACLCommand.js +3 -9
- package/dist-es/commands/UpdateXssMatchSetCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1845 -0
- package/dist-types/WAFRegionalClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +364 -0
- package/dist-types/ts3.4/WAFRegionalClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +369 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -1938
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -731
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -977
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateByteMatchSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateByteMatchSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateByteMatchSet", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateByteMatchSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateByteMatchSetCommand)
|
|
20
|
-
.de(de_UpdateByteMatchSetCommand)
|
|
14
|
+
.sc(UpdateByteMatchSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateGeoMatchSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateGeoMatchSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateGeoMatchSet", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateGeoMatchSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateGeoMatchSetCommand)
|
|
20
|
-
.de(de_UpdateGeoMatchSetCommand)
|
|
14
|
+
.sc(UpdateGeoMatchSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateIPSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIPSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateIPSet", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateIPSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIPSetCommand)
|
|
20
|
-
.de(de_UpdateIPSetCommand)
|
|
14
|
+
.sc(UpdateIPSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRateBasedRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRateBasedRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateRateBasedRule", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateRateBasedRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRateBasedRuleCommand)
|
|
20
|
-
.de(de_UpdateRateBasedRuleCommand)
|
|
14
|
+
.sc(UpdateRateBasedRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRegexMatchSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRegexMatchSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateRegexMatchSet", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateRegexMatchSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRegexMatchSetCommand)
|
|
20
|
-
.de(de_UpdateRegexMatchSetCommand)
|
|
14
|
+
.sc(UpdateRegexMatchSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRegexPatternSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRegexPatternSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateRegexPatternSet", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateRegexPatternSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRegexPatternSetCommand)
|
|
20
|
-
.de(de_UpdateRegexPatternSetCommand)
|
|
14
|
+
.sc(UpdateRegexPatternSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateRule", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRuleCommand)
|
|
20
|
-
.de(de_UpdateRuleCommand)
|
|
14
|
+
.sc(UpdateRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRuleGroup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRuleGroupCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateRuleGroup", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateRuleGroupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRuleGroupCommand)
|
|
20
|
-
.de(de_UpdateRuleGroupCommand)
|
|
14
|
+
.sc(UpdateRuleGroup)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSizeConstraintSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSizeConstraintSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateSizeConstraintSet", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateSizeConstraintSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSizeConstraintSetCommand)
|
|
20
|
-
.de(de_UpdateSizeConstraintSetCommand)
|
|
14
|
+
.sc(UpdateSizeConstraintSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSqlInjectionMatchSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSqlInjectionMatchSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateSqlInjectionMatchSet", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateSqlInjectionMatchSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSqlInjectionMatchSetCommand)
|
|
20
|
-
.de(de_UpdateSqlInjectionMatchSetCommand)
|
|
14
|
+
.sc(UpdateSqlInjectionMatchSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateWebACL } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateWebACLCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateWebACL", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateWebACLCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateWebACLCommand)
|
|
20
|
-
.de(de_UpdateWebACLCommand)
|
|
14
|
+
.sc(UpdateWebACL)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateXssMatchSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateXssMatchSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_Regional_20161128", "UpdateXssMatchSet", {})
|
|
17
13
|
.n("WAFRegionalClient", "UpdateXssMatchSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateXssMatchSetCommand)
|
|
20
|
-
.de(de_UpdateXssMatchSetCommand)
|
|
14
|
+
.sc(UpdateXssMatchSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.wafregional",
|
|
29
|
+
serviceTarget: "AWSWAF_Regional_20161128",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "WAF Regional",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|