@aws-sdk/client-waf 3.649.0 → 3.650.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 (81) hide show
  1. package/dist-cjs/index.js +77 -231
  2. package/dist-es/commands/CreateByteMatchSetCommand.js +1 -3
  3. package/dist-es/commands/CreateGeoMatchSetCommand.js +1 -3
  4. package/dist-es/commands/CreateIPSetCommand.js +1 -3
  5. package/dist-es/commands/CreateRateBasedRuleCommand.js +1 -3
  6. package/dist-es/commands/CreateRegexMatchSetCommand.js +1 -3
  7. package/dist-es/commands/CreateRegexPatternSetCommand.js +1 -3
  8. package/dist-es/commands/CreateRuleCommand.js +1 -3
  9. package/dist-es/commands/CreateRuleGroupCommand.js +1 -3
  10. package/dist-es/commands/CreateSizeConstraintSetCommand.js +1 -3
  11. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +1 -3
  12. package/dist-es/commands/CreateWebACLCommand.js +1 -3
  13. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +1 -3
  14. package/dist-es/commands/CreateXssMatchSetCommand.js +1 -3
  15. package/dist-es/commands/DeleteByteMatchSetCommand.js +1 -3
  16. package/dist-es/commands/DeleteGeoMatchSetCommand.js +1 -3
  17. package/dist-es/commands/DeleteIPSetCommand.js +1 -3
  18. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +1 -3
  19. package/dist-es/commands/DeletePermissionPolicyCommand.js +1 -3
  20. package/dist-es/commands/DeleteRateBasedRuleCommand.js +1 -3
  21. package/dist-es/commands/DeleteRegexMatchSetCommand.js +1 -3
  22. package/dist-es/commands/DeleteRegexPatternSetCommand.js +1 -3
  23. package/dist-es/commands/DeleteRuleCommand.js +1 -3
  24. package/dist-es/commands/DeleteRuleGroupCommand.js +1 -3
  25. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +1 -3
  26. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +1 -3
  27. package/dist-es/commands/DeleteWebACLCommand.js +1 -3
  28. package/dist-es/commands/DeleteXssMatchSetCommand.js +1 -3
  29. package/dist-es/commands/GetByteMatchSetCommand.js +1 -3
  30. package/dist-es/commands/GetChangeTokenCommand.js +1 -3
  31. package/dist-es/commands/GetChangeTokenStatusCommand.js +1 -3
  32. package/dist-es/commands/GetGeoMatchSetCommand.js +1 -3
  33. package/dist-es/commands/GetIPSetCommand.js +1 -3
  34. package/dist-es/commands/GetLoggingConfigurationCommand.js +1 -3
  35. package/dist-es/commands/GetPermissionPolicyCommand.js +1 -3
  36. package/dist-es/commands/GetRateBasedRuleCommand.js +1 -3
  37. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +1 -3
  38. package/dist-es/commands/GetRegexMatchSetCommand.js +1 -3
  39. package/dist-es/commands/GetRegexPatternSetCommand.js +1 -3
  40. package/dist-es/commands/GetRuleCommand.js +1 -3
  41. package/dist-es/commands/GetRuleGroupCommand.js +1 -3
  42. package/dist-es/commands/GetSampledRequestsCommand.js +1 -3
  43. package/dist-es/commands/GetSizeConstraintSetCommand.js +1 -3
  44. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +1 -3
  45. package/dist-es/commands/GetWebACLCommand.js +1 -3
  46. package/dist-es/commands/GetXssMatchSetCommand.js +1 -3
  47. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +1 -3
  48. package/dist-es/commands/ListByteMatchSetsCommand.js +1 -3
  49. package/dist-es/commands/ListGeoMatchSetsCommand.js +1 -3
  50. package/dist-es/commands/ListIPSetsCommand.js +1 -3
  51. package/dist-es/commands/ListLoggingConfigurationsCommand.js +1 -3
  52. package/dist-es/commands/ListRateBasedRulesCommand.js +1 -3
  53. package/dist-es/commands/ListRegexMatchSetsCommand.js +1 -3
  54. package/dist-es/commands/ListRegexPatternSetsCommand.js +1 -3
  55. package/dist-es/commands/ListRuleGroupsCommand.js +1 -3
  56. package/dist-es/commands/ListRulesCommand.js +1 -3
  57. package/dist-es/commands/ListSizeConstraintSetsCommand.js +1 -3
  58. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +1 -3
  59. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +1 -3
  60. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  61. package/dist-es/commands/ListWebACLsCommand.js +1 -3
  62. package/dist-es/commands/ListXssMatchSetsCommand.js +1 -3
  63. package/dist-es/commands/PutLoggingConfigurationCommand.js +1 -3
  64. package/dist-es/commands/PutPermissionPolicyCommand.js +1 -3
  65. package/dist-es/commands/TagResourceCommand.js +1 -3
  66. package/dist-es/commands/UntagResourceCommand.js +1 -3
  67. package/dist-es/commands/UpdateByteMatchSetCommand.js +1 -3
  68. package/dist-es/commands/UpdateGeoMatchSetCommand.js +1 -3
  69. package/dist-es/commands/UpdateIPSetCommand.js +1 -3
  70. package/dist-es/commands/UpdateRateBasedRuleCommand.js +1 -3
  71. package/dist-es/commands/UpdateRegexMatchSetCommand.js +1 -3
  72. package/dist-es/commands/UpdateRegexPatternSetCommand.js +1 -3
  73. package/dist-es/commands/UpdateRuleCommand.js +1 -3
  74. package/dist-es/commands/UpdateRuleGroupCommand.js +1 -3
  75. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +1 -3
  76. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +1 -3
  77. package/dist-es/commands/UpdateWebACLCommand.js +1 -3
  78. package/dist-es/commands/UpdateXssMatchSetCommand.js +1 -3
  79. package/dist-es/endpoint/endpointResolver.js +7 -3
  80. package/package.json +4 -4
  81. package/dist-types/tsdoc-metadata.json +0 -11
@@ -6,9 +6,7 @@ import { de_ListRuleGroupsCommand, se_ListRuleGroupsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListRuleGroupsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListRulesCommand, se_ListRulesCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class ListRulesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListSizeConstraintSetsCommand, se_ListSizeConstraintSetsCommand } fr
6
6
  export { $Command };
7
7
  export class ListSizeConstraintSetsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListSqlInjectionMatchSetsCommand, se_ListSqlInjectionMatchSetsComman
6
6
  export { $Command };
7
7
  export class ListSqlInjectionMatchSetsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListSubscribedRuleGroupsCommand, se_ListSubscribedRuleGroupsCommand
6
6
  export { $Command };
7
7
  export class ListSubscribedRuleGroupsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListWebACLsCommand, se_ListWebACLsCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListWebACLsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListXssMatchSetsCommand, se_ListXssMatchSetsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListXssMatchSetsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PutLoggingConfigurationCommand, se_PutLoggingConfigurationCommand }
6
6
  export { $Command };
7
7
  export class PutLoggingConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PutPermissionPolicyCommand, se_PutPermissionPolicyCommand } from "..
6
6
  export { $Command };
7
7
  export class PutPermissionPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateByteMatchSetCommand, se_UpdateByteMatchSetCommand } from "../p
6
6
  export { $Command };
7
7
  export class UpdateByteMatchSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateGeoMatchSetCommand, se_UpdateGeoMatchSetCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateGeoMatchSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateIPSetCommand, se_UpdateIPSetCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class UpdateIPSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateRateBasedRuleCommand, se_UpdateRateBasedRuleCommand } from "..
6
6
  export { $Command };
7
7
  export class UpdateRateBasedRuleCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateRegexMatchSetCommand, se_UpdateRegexMatchSetCommand } from "..
6
6
  export { $Command };
7
7
  export class UpdateRegexMatchSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateRegexPatternSetCommand, se_UpdateRegexPatternSetCommand } from
6
6
  export { $Command };
7
7
  export class UpdateRegexPatternSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateRuleCommand, se_UpdateRuleCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class UpdateRuleCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateRuleGroupCommand, se_UpdateRuleGroupCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class UpdateRuleGroupCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateSizeConstraintSetCommand, se_UpdateSizeConstraintSetCommand }
6
6
  export { $Command };
7
7
  export class UpdateSizeConstraintSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateSqlInjectionMatchSetCommand, se_UpdateSqlInjectionMatchSetComm
6
6
  export { $Command };
7
7
  export class UpdateSqlInjectionMatchSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateWebACLCommand, se_UpdateWebACLCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class UpdateWebACLCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateXssMatchSetCommand, se_UpdateXssMatchSetCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateXssMatchSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.649.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-waf",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }