@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.
Files changed (102) hide show
  1. package/dist-cjs/index.js +2063 -2561
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/WAFRegionalClient.js +2 -0
  4. package/dist-es/commands/AssociateWebACLCommand.js +3 -9
  5. package/dist-es/commands/CreateByteMatchSetCommand.js +3 -9
  6. package/dist-es/commands/CreateGeoMatchSetCommand.js +3 -9
  7. package/dist-es/commands/CreateIPSetCommand.js +3 -9
  8. package/dist-es/commands/CreateRateBasedRuleCommand.js +3 -9
  9. package/dist-es/commands/CreateRegexMatchSetCommand.js +3 -9
  10. package/dist-es/commands/CreateRegexPatternSetCommand.js +3 -9
  11. package/dist-es/commands/CreateRuleCommand.js +3 -9
  12. package/dist-es/commands/CreateRuleGroupCommand.js +3 -9
  13. package/dist-es/commands/CreateSizeConstraintSetCommand.js +3 -9
  14. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +3 -9
  15. package/dist-es/commands/CreateWebACLCommand.js +3 -9
  16. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +3 -9
  17. package/dist-es/commands/CreateXssMatchSetCommand.js +3 -9
  18. package/dist-es/commands/DeleteByteMatchSetCommand.js +3 -9
  19. package/dist-es/commands/DeleteGeoMatchSetCommand.js +3 -9
  20. package/dist-es/commands/DeleteIPSetCommand.js +3 -9
  21. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +3 -9
  22. package/dist-es/commands/DeletePermissionPolicyCommand.js +3 -9
  23. package/dist-es/commands/DeleteRateBasedRuleCommand.js +3 -9
  24. package/dist-es/commands/DeleteRegexMatchSetCommand.js +3 -9
  25. package/dist-es/commands/DeleteRegexPatternSetCommand.js +3 -9
  26. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  27. package/dist-es/commands/DeleteRuleGroupCommand.js +3 -9
  28. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +3 -9
  29. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +3 -9
  30. package/dist-es/commands/DeleteWebACLCommand.js +3 -9
  31. package/dist-es/commands/DeleteXssMatchSetCommand.js +3 -9
  32. package/dist-es/commands/DisassociateWebACLCommand.js +3 -9
  33. package/dist-es/commands/GetByteMatchSetCommand.js +3 -9
  34. package/dist-es/commands/GetChangeTokenCommand.js +3 -9
  35. package/dist-es/commands/GetChangeTokenStatusCommand.js +3 -9
  36. package/dist-es/commands/GetGeoMatchSetCommand.js +3 -9
  37. package/dist-es/commands/GetIPSetCommand.js +3 -9
  38. package/dist-es/commands/GetLoggingConfigurationCommand.js +3 -9
  39. package/dist-es/commands/GetPermissionPolicyCommand.js +3 -9
  40. package/dist-es/commands/GetRateBasedRuleCommand.js +3 -9
  41. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +3 -9
  42. package/dist-es/commands/GetRegexMatchSetCommand.js +3 -9
  43. package/dist-es/commands/GetRegexPatternSetCommand.js +3 -9
  44. package/dist-es/commands/GetRuleCommand.js +3 -9
  45. package/dist-es/commands/GetRuleGroupCommand.js +3 -9
  46. package/dist-es/commands/GetSampledRequestsCommand.js +3 -9
  47. package/dist-es/commands/GetSizeConstraintSetCommand.js +3 -9
  48. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +3 -9
  49. package/dist-es/commands/GetWebACLCommand.js +3 -9
  50. package/dist-es/commands/GetWebACLForResourceCommand.js +3 -9
  51. package/dist-es/commands/GetXssMatchSetCommand.js +3 -9
  52. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +3 -9
  53. package/dist-es/commands/ListByteMatchSetsCommand.js +3 -9
  54. package/dist-es/commands/ListGeoMatchSetsCommand.js +3 -9
  55. package/dist-es/commands/ListIPSetsCommand.js +3 -9
  56. package/dist-es/commands/ListLoggingConfigurationsCommand.js +3 -9
  57. package/dist-es/commands/ListRateBasedRulesCommand.js +3 -9
  58. package/dist-es/commands/ListRegexMatchSetsCommand.js +3 -9
  59. package/dist-es/commands/ListRegexPatternSetsCommand.js +3 -9
  60. package/dist-es/commands/ListResourcesForWebACLCommand.js +3 -9
  61. package/dist-es/commands/ListRuleGroupsCommand.js +3 -9
  62. package/dist-es/commands/ListRulesCommand.js +3 -9
  63. package/dist-es/commands/ListSizeConstraintSetsCommand.js +3 -9
  64. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +3 -9
  65. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +3 -9
  66. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  67. package/dist-es/commands/ListWebACLsCommand.js +3 -9
  68. package/dist-es/commands/ListXssMatchSetsCommand.js +3 -9
  69. package/dist-es/commands/PutLoggingConfigurationCommand.js +3 -9
  70. package/dist-es/commands/PutPermissionPolicyCommand.js +3 -9
  71. package/dist-es/commands/TagResourceCommand.js +3 -9
  72. package/dist-es/commands/UntagResourceCommand.js +3 -9
  73. package/dist-es/commands/UpdateByteMatchSetCommand.js +3 -9
  74. package/dist-es/commands/UpdateGeoMatchSetCommand.js +3 -9
  75. package/dist-es/commands/UpdateIPSetCommand.js +3 -9
  76. package/dist-es/commands/UpdateRateBasedRuleCommand.js +3 -9
  77. package/dist-es/commands/UpdateRegexMatchSetCommand.js +3 -9
  78. package/dist-es/commands/UpdateRegexPatternSetCommand.js +3 -9
  79. package/dist-es/commands/UpdateRuleCommand.js +3 -9
  80. package/dist-es/commands/UpdateRuleGroupCommand.js +3 -9
  81. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +3 -9
  82. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +3 -9
  83. package/dist-es/commands/UpdateWebACLCommand.js +3 -9
  84. package/dist-es/commands/UpdateXssMatchSetCommand.js +3 -9
  85. package/dist-es/runtimeConfig.shared.js +7 -0
  86. package/dist-es/schemas/schemas_0.js +1845 -0
  87. package/dist-types/WAFRegionalClient.d.ts +10 -1
  88. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  89. package/dist-types/runtimeConfig.d.ts +1 -0
  90. package/dist-types/runtimeConfig.native.d.ts +1 -0
  91. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  92. package/dist-types/schemas/schemas_0.d.ts +364 -0
  93. package/dist-types/ts3.4/WAFRegionalClient.d.ts +4 -0
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  97. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  98. package/dist-types/ts3.4/schemas/schemas_0.d.ts +369 -0
  99. package/package.json +5 -5
  100. package/dist-es/protocols/Aws_json1_1.js +0 -1938
  101. package/dist-types/protocols/Aws_json1_1.d.ts +0 -731
  102. 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 { de_UpdateByteMatchSetCommand, se_UpdateByteMatchSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateGeoMatchSetCommand, se_UpdateGeoMatchSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateIPSetCommand, se_UpdateIPSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateRateBasedRuleCommand, se_UpdateRateBasedRuleCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateRegexMatchSetCommand, se_UpdateRegexMatchSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateRegexPatternSetCommand, se_UpdateRegexPatternSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateRuleCommand, se_UpdateRuleCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateRuleGroupCommand, se_UpdateRuleGroupCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateSizeConstraintSetCommand, se_UpdateSizeConstraintSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateSqlInjectionMatchSetCommand, se_UpdateSqlInjectionMatchSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateWebACLCommand, se_UpdateWebACLCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateXssMatchSetCommand, se_UpdateXssMatchSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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,