@aws-sdk/client-wafv2 3.293.0 → 3.295.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 (101) hide show
  1. package/dist-cjs/commands/AssociateWebACLCommand.js +4 -4
  2. package/dist-cjs/commands/CheckCapacityCommand.js +4 -4
  3. package/dist-cjs/commands/CreateIPSetCommand.js +4 -4
  4. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +4 -4
  5. package/dist-cjs/commands/CreateRuleGroupCommand.js +4 -4
  6. package/dist-cjs/commands/CreateWebACLCommand.js +4 -4
  7. package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +4 -4
  8. package/dist-cjs/commands/DeleteIPSetCommand.js +4 -4
  9. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +4 -4
  10. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +4 -4
  11. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +4 -4
  12. package/dist-cjs/commands/DeleteRuleGroupCommand.js +4 -4
  13. package/dist-cjs/commands/DeleteWebACLCommand.js +4 -4
  14. package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +4 -4
  15. package/dist-cjs/commands/DisassociateWebACLCommand.js +4 -4
  16. package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +4 -4
  17. package/dist-cjs/commands/GetIPSetCommand.js +4 -4
  18. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +4 -4
  19. package/dist-cjs/commands/GetManagedRuleSetCommand.js +4 -4
  20. package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +4 -4
  21. package/dist-cjs/commands/GetPermissionPolicyCommand.js +4 -4
  22. package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +4 -4
  23. package/dist-cjs/commands/GetRegexPatternSetCommand.js +4 -4
  24. package/dist-cjs/commands/GetRuleGroupCommand.js +4 -4
  25. package/dist-cjs/commands/GetSampledRequestsCommand.js +4 -4
  26. package/dist-cjs/commands/GetWebACLCommand.js +4 -4
  27. package/dist-cjs/commands/GetWebACLForResourceCommand.js +4 -4
  28. package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +4 -4
  29. package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +4 -4
  30. package/dist-cjs/commands/ListIPSetsCommand.js +4 -4
  31. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +4 -4
  32. package/dist-cjs/commands/ListManagedRuleSetsCommand.js +4 -4
  33. package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +4 -4
  34. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +4 -4
  35. package/dist-cjs/commands/ListResourcesForWebACLCommand.js +4 -4
  36. package/dist-cjs/commands/ListRuleGroupsCommand.js +4 -4
  37. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  38. package/dist-cjs/commands/ListWebACLsCommand.js +4 -4
  39. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +4 -4
  40. package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +4 -4
  41. package/dist-cjs/commands/PutPermissionPolicyCommand.js +4 -4
  42. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  43. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  44. package/dist-cjs/commands/UpdateIPSetCommand.js +4 -4
  45. package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +4 -4
  46. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +4 -4
  47. package/dist-cjs/commands/UpdateRuleGroupCommand.js +4 -4
  48. package/dist-cjs/commands/UpdateWebACLCommand.js +4 -4
  49. package/dist-es/commands/AssociateWebACLCommand.js +4 -4
  50. package/dist-es/commands/CheckCapacityCommand.js +4 -4
  51. package/dist-es/commands/CreateIPSetCommand.js +4 -4
  52. package/dist-es/commands/CreateRegexPatternSetCommand.js +4 -4
  53. package/dist-es/commands/CreateRuleGroupCommand.js +4 -4
  54. package/dist-es/commands/CreateWebACLCommand.js +4 -4
  55. package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +4 -4
  56. package/dist-es/commands/DeleteIPSetCommand.js +4 -4
  57. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +4 -4
  58. package/dist-es/commands/DeletePermissionPolicyCommand.js +4 -4
  59. package/dist-es/commands/DeleteRegexPatternSetCommand.js +4 -4
  60. package/dist-es/commands/DeleteRuleGroupCommand.js +4 -4
  61. package/dist-es/commands/DeleteWebACLCommand.js +4 -4
  62. package/dist-es/commands/DescribeManagedRuleGroupCommand.js +4 -4
  63. package/dist-es/commands/DisassociateWebACLCommand.js +4 -4
  64. package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +4 -4
  65. package/dist-es/commands/GetIPSetCommand.js +4 -4
  66. package/dist-es/commands/GetLoggingConfigurationCommand.js +4 -4
  67. package/dist-es/commands/GetManagedRuleSetCommand.js +4 -4
  68. package/dist-es/commands/GetMobileSdkReleaseCommand.js +4 -4
  69. package/dist-es/commands/GetPermissionPolicyCommand.js +4 -4
  70. package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +4 -4
  71. package/dist-es/commands/GetRegexPatternSetCommand.js +4 -4
  72. package/dist-es/commands/GetRuleGroupCommand.js +4 -4
  73. package/dist-es/commands/GetSampledRequestsCommand.js +4 -4
  74. package/dist-es/commands/GetWebACLCommand.js +4 -4
  75. package/dist-es/commands/GetWebACLForResourceCommand.js +4 -4
  76. package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +4 -4
  77. package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +4 -4
  78. package/dist-es/commands/ListIPSetsCommand.js +4 -4
  79. package/dist-es/commands/ListLoggingConfigurationsCommand.js +4 -4
  80. package/dist-es/commands/ListManagedRuleSetsCommand.js +4 -4
  81. package/dist-es/commands/ListMobileSdkReleasesCommand.js +4 -4
  82. package/dist-es/commands/ListRegexPatternSetsCommand.js +4 -4
  83. package/dist-es/commands/ListResourcesForWebACLCommand.js +4 -4
  84. package/dist-es/commands/ListRuleGroupsCommand.js +4 -4
  85. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  86. package/dist-es/commands/ListWebACLsCommand.js +4 -4
  87. package/dist-es/commands/PutLoggingConfigurationCommand.js +4 -4
  88. package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +4 -4
  89. package/dist-es/commands/PutPermissionPolicyCommand.js +4 -4
  90. package/dist-es/commands/TagResourceCommand.js +4 -4
  91. package/dist-es/commands/UntagResourceCommand.js +4 -4
  92. package/dist-es/commands/UpdateIPSetCommand.js +4 -4
  93. package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +4 -4
  94. package/dist-es/commands/UpdateRegexPatternSetCommand.js +4 -4
  95. package/dist-es/commands/UpdateRuleGroupCommand.js +4 -4
  96. package/dist-es/commands/UpdateWebACLCommand.js +4 -4
  97. package/dist-types/WAFV2Client.d.ts +4 -4
  98. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  99. package/dist-types/ts3.4/WAFV2Client.d.ts +4 -4
  100. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
  101. package/package.json +36 -36
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListTagsForResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListTagsForResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListWebACLsRequestFilterSensitiveLog, ListWebACLsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListWebACLsCommand, serializeAws_json1_1ListWebACLsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListWebACLsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListWebACLsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListWebACLsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PutLoggingConfigurationRequestFilterSensitiveLog, PutLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1PutLoggingConfigurationCommand, serializeAws_json1_1PutLoggingConfigurationCommand, } from "../protocols/Aws_json1_1";
6
6
  export class PutLoggingConfigurationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class PutLoggingConfigurationCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, PutLoggingConfigurationCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PutManagedRuleSetVersionsRequestFilterSensitiveLog, PutManagedRuleSetVersionsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1PutManagedRuleSetVersionsCommand, serializeAws_json1_1PutManagedRuleSetVersionsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class PutManagedRuleSetVersionsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class PutManagedRuleSetVersionsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, PutManagedRuleSetVersionsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PutPermissionPolicyRequestFilterSensitiveLog, PutPermissionPolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1PutPermissionPolicyCommand, serializeAws_json1_1PutPermissionPolicyCommand, } from "../protocols/Aws_json1_1";
6
6
  export class PutPermissionPolicyCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class PutPermissionPolicyCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, PutPermissionPolicyCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class TagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class TagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UntagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UntagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateIPSetRequestFilterSensitiveLog, UpdateIPSetResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateIPSetCommand, serializeAws_json1_1UpdateIPSetCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateIPSetCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateIPSetCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateIPSetCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateManagedRuleSetVersionExpiryDateRequestFilterSensitiveLog, UpdateManagedRuleSetVersionExpiryDateResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateCommand, serializeAws_json1_1UpdateManagedRuleSetVersionExpiryDateCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateManagedRuleSetVersionExpiryDateCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateRegexPatternSetRequestFilterSensitiveLog, UpdateRegexPatternSetResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateRegexPatternSetCommand, serializeAws_json1_1UpdateRegexPatternSetCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateRegexPatternSetCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateRegexPatternSetCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRegexPatternSetCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateRuleGroupRequestFilterSensitiveLog, UpdateRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateRuleGroupCommand, serializeAws_json1_1UpdateRuleGroupCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateRuleGroupCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateRuleGroupCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRuleGroupCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateWebACLRequestFilterSensitiveLog, UpdateWebACLResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateWebACLCommand, serializeAws_json1_1UpdateWebACLCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateWebACLCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateWebACLCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWebACLCommand.getEndpointParameterInstructions()));
@@ -56,8 +56,8 @@ import { UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput }
56
56
  import { UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput } from "./commands/UpdateRuleGroupCommand";
57
57
  import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
58
58
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
59
- export declare type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
60
- export declare type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
59
+ export type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
60
+ export type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
61
61
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
62
62
  /**
63
63
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -158,13 +158,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
158
158
  */
159
159
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
160
160
  }
161
- declare type WAFV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
161
+ type WAFV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
162
162
  /**
163
163
  * The configuration interface of WAFV2Client class constructor that set the region, credentials and other options.
164
164
  */
165
165
  export interface WAFV2ClientConfig extends WAFV2ClientConfigType {
166
166
  }
167
- declare type WAFV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
167
+ type WAFV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
168
168
  /**
169
169
  * The resolved configuration interface of WAFV2Client class. This is resolved and normalized from the {@link WAFV2ClientConfig | constructor configuration interface}.
170
170
  */
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
@@ -241,7 +241,7 @@ import {
241
241
  ClientResolvedEndpointParameters,
242
242
  EndpointParameters,
243
243
  } from "./endpoint/EndpointParameters";
244
- export declare type ServiceInputTypes =
244
+ export type ServiceInputTypes =
245
245
  | AssociateWebACLCommandInput
246
246
  | CheckCapacityCommandInput
247
247
  | CreateIPSetCommandInput
@@ -290,7 +290,7 @@ export declare type ServiceInputTypes =
290
290
  | UpdateRegexPatternSetCommandInput
291
291
  | UpdateRuleGroupCommandInput
292
292
  | UpdateWebACLCommandInput;
293
- export declare type ServiceOutputTypes =
293
+ export type ServiceOutputTypes =
294
294
  | AssociateWebACLCommandOutput
295
295
  | CheckCapacityCommandOutput
296
296
  | CreateIPSetCommandOutput
@@ -363,7 +363,7 @@ export interface ClientDefaults
363
363
  logger?: __Logger;
364
364
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
365
365
  }
366
- declare type WAFV2ClientConfigType = Partial<
366
+ type WAFV2ClientConfigType = Partial<
367
367
  __SmithyConfiguration<__HttpHandlerOptions>
368
368
  > &
369
369
  ClientDefaults &
@@ -375,7 +375,7 @@ declare type WAFV2ClientConfigType = Partial<
375
375
  UserAgentInputConfig &
376
376
  ClientInputEndpointParameters;
377
377
  export interface WAFV2ClientConfig extends WAFV2ClientConfigType {}
378
- declare type WAFV2ClientResolvedConfigType =
378
+ type WAFV2ClientResolvedConfigType =
379
379
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
380
380
  Required<ClientDefaults> &
381
381
  RegionResolvedConfig &
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wafv2",
3
3
  "description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
4
- "version": "3.293.0",
4
+ "version": "3.295.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.293.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.293.0",
26
- "@aws-sdk/fetch-http-handler": "3.292.0",
27
- "@aws-sdk/hash-node": "3.292.0",
28
- "@aws-sdk/invalid-dependency": "3.292.0",
29
- "@aws-sdk/middleware-content-length": "3.292.0",
30
- "@aws-sdk/middleware-endpoint": "3.292.0",
31
- "@aws-sdk/middleware-host-header": "3.292.0",
32
- "@aws-sdk/middleware-logger": "3.292.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
- "@aws-sdk/middleware-retry": "3.293.0",
35
- "@aws-sdk/middleware-serde": "3.292.0",
36
- "@aws-sdk/middleware-signing": "3.292.0",
37
- "@aws-sdk/middleware-stack": "3.292.0",
38
- "@aws-sdk/middleware-user-agent": "3.293.0",
39
- "@aws-sdk/node-config-provider": "3.292.0",
40
- "@aws-sdk/node-http-handler": "3.292.0",
41
- "@aws-sdk/protocol-http": "3.292.0",
42
- "@aws-sdk/smithy-client": "3.292.0",
43
- "@aws-sdk/types": "3.292.0",
44
- "@aws-sdk/url-parser": "3.292.0",
45
- "@aws-sdk/util-base64": "3.292.0",
46
- "@aws-sdk/util-body-length-browser": "3.292.0",
47
- "@aws-sdk/util-body-length-node": "3.292.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
- "@aws-sdk/util-endpoints": "3.293.0",
51
- "@aws-sdk/util-retry": "3.292.0",
52
- "@aws-sdk/util-user-agent-browser": "3.292.0",
53
- "@aws-sdk/util-user-agent-node": "3.292.0",
54
- "@aws-sdk/util-utf8": "3.292.0",
55
- "tslib": "^2.3.1"
23
+ "@aws-sdk/client-sts": "3.295.0",
24
+ "@aws-sdk/config-resolver": "3.295.0",
25
+ "@aws-sdk/credential-provider-node": "3.295.0",
26
+ "@aws-sdk/fetch-http-handler": "3.295.0",
27
+ "@aws-sdk/hash-node": "3.295.0",
28
+ "@aws-sdk/invalid-dependency": "3.295.0",
29
+ "@aws-sdk/middleware-content-length": "3.295.0",
30
+ "@aws-sdk/middleware-endpoint": "3.295.0",
31
+ "@aws-sdk/middleware-host-header": "3.295.0",
32
+ "@aws-sdk/middleware-logger": "3.295.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.295.0",
34
+ "@aws-sdk/middleware-retry": "3.295.0",
35
+ "@aws-sdk/middleware-serde": "3.295.0",
36
+ "@aws-sdk/middleware-signing": "3.295.0",
37
+ "@aws-sdk/middleware-stack": "3.295.0",
38
+ "@aws-sdk/middleware-user-agent": "3.295.0",
39
+ "@aws-sdk/node-config-provider": "3.295.0",
40
+ "@aws-sdk/node-http-handler": "3.295.0",
41
+ "@aws-sdk/protocol-http": "3.295.0",
42
+ "@aws-sdk/smithy-client": "3.295.0",
43
+ "@aws-sdk/types": "3.295.0",
44
+ "@aws-sdk/url-parser": "3.295.0",
45
+ "@aws-sdk/util-base64": "3.295.0",
46
+ "@aws-sdk/util-body-length-browser": "3.295.0",
47
+ "@aws-sdk/util-body-length-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.295.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.295.0",
50
+ "@aws-sdk/util-endpoints": "3.295.0",
51
+ "@aws-sdk/util-retry": "3.295.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.295.0",
53
+ "@aws-sdk/util-user-agent-node": "3.295.0",
54
+ "@aws-sdk/util-utf8": "3.295.0",
55
+ "tslib": "^2.5.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.293.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
64
  "typedoc": "0.23.23",
65
- "typescript": "~4.6.2"
65
+ "typescript": "~4.9.5"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=14.0.0"