@aws-sdk/client-wafv2 3.35.0 → 3.36.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 (286) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/WAFV2.js +0 -1
  3. package/dist-cjs/WAFV2Client.js +0 -1
  4. package/dist-cjs/commands/AssociateWebACLCommand.js +0 -1
  5. package/dist-cjs/commands/CheckCapacityCommand.js +0 -1
  6. package/dist-cjs/commands/CreateIPSetCommand.js +0 -1
  7. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +0 -1
  8. package/dist-cjs/commands/CreateRuleGroupCommand.js +0 -1
  9. package/dist-cjs/commands/CreateWebACLCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteIPSetCommand.js +0 -1
  12. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +0 -1
  13. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +0 -1
  14. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +0 -1
  15. package/dist-cjs/commands/DeleteRuleGroupCommand.js +0 -1
  16. package/dist-cjs/commands/DeleteWebACLCommand.js +0 -1
  17. package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +0 -1
  18. package/dist-cjs/commands/DisassociateWebACLCommand.js +0 -1
  19. package/dist-cjs/commands/GetIPSetCommand.js +0 -1
  20. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +0 -1
  21. package/dist-cjs/commands/GetManagedRuleSetCommand.js +0 -1
  22. package/dist-cjs/commands/GetPermissionPolicyCommand.js +0 -1
  23. package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +0 -1
  24. package/dist-cjs/commands/GetRegexPatternSetCommand.js +0 -1
  25. package/dist-cjs/commands/GetRuleGroupCommand.js +0 -1
  26. package/dist-cjs/commands/GetSampledRequestsCommand.js +0 -1
  27. package/dist-cjs/commands/GetWebACLCommand.js +0 -1
  28. package/dist-cjs/commands/GetWebACLForResourceCommand.js +0 -1
  29. package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +0 -1
  30. package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +0 -1
  31. package/dist-cjs/commands/ListIPSetsCommand.js +0 -1
  32. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +0 -1
  33. package/dist-cjs/commands/ListManagedRuleSetsCommand.js +0 -1
  34. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +0 -1
  35. package/dist-cjs/commands/ListResourcesForWebACLCommand.js +0 -1
  36. package/dist-cjs/commands/ListRuleGroupsCommand.js +0 -1
  37. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  38. package/dist-cjs/commands/ListWebACLsCommand.js +0 -1
  39. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +0 -1
  40. package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +0 -1
  41. package/dist-cjs/commands/PutPermissionPolicyCommand.js +0 -1
  42. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  43. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  44. package/dist-cjs/commands/UpdateIPSetCommand.js +0 -1
  45. package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +0 -1
  46. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +0 -1
  47. package/dist-cjs/commands/UpdateRuleGroupCommand.js +0 -1
  48. package/dist-cjs/commands/UpdateWebACLCommand.js +0 -1
  49. package/dist-cjs/endpoints.js +0 -1
  50. package/dist-cjs/index.js +0 -1
  51. package/dist-cjs/models/index.js +0 -1
  52. package/dist-cjs/models/models_0.js +0 -1
  53. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  54. package/dist-cjs/runtimeConfig.browser.js +2 -3
  55. package/dist-cjs/runtimeConfig.js +3 -4
  56. package/dist-cjs/runtimeConfig.native.js +0 -1
  57. package/dist-cjs/runtimeConfig.shared.js +0 -1
  58. package/dist-es/WAFV2.js +0 -1
  59. package/dist-es/WAFV2Client.js +0 -1
  60. package/dist-es/commands/AssociateWebACLCommand.js +0 -1
  61. package/dist-es/commands/CheckCapacityCommand.js +0 -1
  62. package/dist-es/commands/CreateIPSetCommand.js +0 -1
  63. package/dist-es/commands/CreateRegexPatternSetCommand.js +0 -1
  64. package/dist-es/commands/CreateRuleGroupCommand.js +0 -1
  65. package/dist-es/commands/CreateWebACLCommand.js +0 -1
  66. package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +0 -1
  67. package/dist-es/commands/DeleteIPSetCommand.js +0 -1
  68. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +0 -1
  69. package/dist-es/commands/DeletePermissionPolicyCommand.js +0 -1
  70. package/dist-es/commands/DeleteRegexPatternSetCommand.js +0 -1
  71. package/dist-es/commands/DeleteRuleGroupCommand.js +0 -1
  72. package/dist-es/commands/DeleteWebACLCommand.js +0 -1
  73. package/dist-es/commands/DescribeManagedRuleGroupCommand.js +0 -1
  74. package/dist-es/commands/DisassociateWebACLCommand.js +0 -1
  75. package/dist-es/commands/GetIPSetCommand.js +0 -1
  76. package/dist-es/commands/GetLoggingConfigurationCommand.js +0 -1
  77. package/dist-es/commands/GetManagedRuleSetCommand.js +0 -1
  78. package/dist-es/commands/GetPermissionPolicyCommand.js +0 -1
  79. package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +0 -1
  80. package/dist-es/commands/GetRegexPatternSetCommand.js +0 -1
  81. package/dist-es/commands/GetRuleGroupCommand.js +0 -1
  82. package/dist-es/commands/GetSampledRequestsCommand.js +0 -1
  83. package/dist-es/commands/GetWebACLCommand.js +0 -1
  84. package/dist-es/commands/GetWebACLForResourceCommand.js +0 -1
  85. package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +0 -1
  86. package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +0 -1
  87. package/dist-es/commands/ListIPSetsCommand.js +0 -1
  88. package/dist-es/commands/ListLoggingConfigurationsCommand.js +0 -1
  89. package/dist-es/commands/ListManagedRuleSetsCommand.js +0 -1
  90. package/dist-es/commands/ListRegexPatternSetsCommand.js +0 -1
  91. package/dist-es/commands/ListResourcesForWebACLCommand.js +0 -1
  92. package/dist-es/commands/ListRuleGroupsCommand.js +0 -1
  93. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  94. package/dist-es/commands/ListWebACLsCommand.js +0 -1
  95. package/dist-es/commands/PutLoggingConfigurationCommand.js +0 -1
  96. package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +0 -1
  97. package/dist-es/commands/PutPermissionPolicyCommand.js +0 -1
  98. package/dist-es/commands/TagResourceCommand.js +0 -1
  99. package/dist-es/commands/UntagResourceCommand.js +0 -1
  100. package/dist-es/commands/UpdateIPSetCommand.js +0 -1
  101. package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +0 -1
  102. package/dist-es/commands/UpdateRegexPatternSetCommand.js +0 -1
  103. package/dist-es/commands/UpdateRuleGroupCommand.js +0 -1
  104. package/dist-es/commands/UpdateWebACLCommand.js +0 -1
  105. package/dist-es/endpoints.js +0 -1
  106. package/dist-es/index.js +0 -1
  107. package/dist-es/models/index.js +0 -1
  108. package/dist-es/models/models_0.js +0 -1
  109. package/dist-es/protocols/Aws_json1_1.js +0 -1
  110. package/dist-es/runtimeConfig.browser.js +1 -2
  111. package/dist-es/runtimeConfig.js +2 -3
  112. package/dist-es/runtimeConfig.native.js +0 -1
  113. package/dist-es/runtimeConfig.shared.js +0 -1
  114. package/package.json +33 -30
  115. package/dist-cjs/WAFV2.js.map +0 -1
  116. package/dist-cjs/WAFV2Client.js.map +0 -1
  117. package/dist-cjs/commands/AssociateWebACLCommand.js.map +0 -1
  118. package/dist-cjs/commands/CheckCapacityCommand.js.map +0 -1
  119. package/dist-cjs/commands/CreateIPSetCommand.js.map +0 -1
  120. package/dist-cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
  121. package/dist-cjs/commands/CreateRuleGroupCommand.js.map +0 -1
  122. package/dist-cjs/commands/CreateWebACLCommand.js.map +0 -1
  123. package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js.map +0 -1
  124. package/dist-cjs/commands/DeleteIPSetCommand.js.map +0 -1
  125. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  126. package/dist-cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
  127. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  128. package/dist-cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
  129. package/dist-cjs/commands/DeleteWebACLCommand.js.map +0 -1
  130. package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js.map +0 -1
  131. package/dist-cjs/commands/DisassociateWebACLCommand.js.map +0 -1
  132. package/dist-cjs/commands/GetIPSetCommand.js.map +0 -1
  133. package/dist-cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
  134. package/dist-cjs/commands/GetManagedRuleSetCommand.js.map +0 -1
  135. package/dist-cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
  136. package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js.map +0 -1
  137. package/dist-cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
  138. package/dist-cjs/commands/GetRuleGroupCommand.js.map +0 -1
  139. package/dist-cjs/commands/GetSampledRequestsCommand.js.map +0 -1
  140. package/dist-cjs/commands/GetWebACLCommand.js.map +0 -1
  141. package/dist-cjs/commands/GetWebACLForResourceCommand.js.map +0 -1
  142. package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js.map +0 -1
  143. package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js.map +0 -1
  144. package/dist-cjs/commands/ListIPSetsCommand.js.map +0 -1
  145. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  146. package/dist-cjs/commands/ListManagedRuleSetsCommand.js.map +0 -1
  147. package/dist-cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
  148. package/dist-cjs/commands/ListResourcesForWebACLCommand.js.map +0 -1
  149. package/dist-cjs/commands/ListRuleGroupsCommand.js.map +0 -1
  150. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  151. package/dist-cjs/commands/ListWebACLsCommand.js.map +0 -1
  152. package/dist-cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
  153. package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js.map +0 -1
  154. package/dist-cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
  155. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  156. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  157. package/dist-cjs/commands/UpdateIPSetCommand.js.map +0 -1
  158. package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js.map +0 -1
  159. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  160. package/dist-cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
  161. package/dist-cjs/commands/UpdateWebACLCommand.js.map +0 -1
  162. package/dist-cjs/endpoints.js.map +0 -1
  163. package/dist-cjs/index.js.map +0 -1
  164. package/dist-cjs/models/index.js.map +0 -1
  165. package/dist-cjs/models/models_0.js.map +0 -1
  166. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  167. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  168. package/dist-cjs/runtimeConfig.js.map +0 -1
  169. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  170. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  171. package/dist-es/WAFV2.js.map +0 -1
  172. package/dist-es/WAFV2Client.js.map +0 -1
  173. package/dist-es/commands/AssociateWebACLCommand.js.map +0 -1
  174. package/dist-es/commands/CheckCapacityCommand.js.map +0 -1
  175. package/dist-es/commands/CreateIPSetCommand.js.map +0 -1
  176. package/dist-es/commands/CreateRegexPatternSetCommand.js.map +0 -1
  177. package/dist-es/commands/CreateRuleGroupCommand.js.map +0 -1
  178. package/dist-es/commands/CreateWebACLCommand.js.map +0 -1
  179. package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js.map +0 -1
  180. package/dist-es/commands/DeleteIPSetCommand.js.map +0 -1
  181. package/dist-es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  182. package/dist-es/commands/DeletePermissionPolicyCommand.js.map +0 -1
  183. package/dist-es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  184. package/dist-es/commands/DeleteRuleGroupCommand.js.map +0 -1
  185. package/dist-es/commands/DeleteWebACLCommand.js.map +0 -1
  186. package/dist-es/commands/DescribeManagedRuleGroupCommand.js.map +0 -1
  187. package/dist-es/commands/DisassociateWebACLCommand.js.map +0 -1
  188. package/dist-es/commands/GetIPSetCommand.js.map +0 -1
  189. package/dist-es/commands/GetLoggingConfigurationCommand.js.map +0 -1
  190. package/dist-es/commands/GetManagedRuleSetCommand.js.map +0 -1
  191. package/dist-es/commands/GetPermissionPolicyCommand.js.map +0 -1
  192. package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js.map +0 -1
  193. package/dist-es/commands/GetRegexPatternSetCommand.js.map +0 -1
  194. package/dist-es/commands/GetRuleGroupCommand.js.map +0 -1
  195. package/dist-es/commands/GetSampledRequestsCommand.js.map +0 -1
  196. package/dist-es/commands/GetWebACLCommand.js.map +0 -1
  197. package/dist-es/commands/GetWebACLForResourceCommand.js.map +0 -1
  198. package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js.map +0 -1
  199. package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js.map +0 -1
  200. package/dist-es/commands/ListIPSetsCommand.js.map +0 -1
  201. package/dist-es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  202. package/dist-es/commands/ListManagedRuleSetsCommand.js.map +0 -1
  203. package/dist-es/commands/ListRegexPatternSetsCommand.js.map +0 -1
  204. package/dist-es/commands/ListResourcesForWebACLCommand.js.map +0 -1
  205. package/dist-es/commands/ListRuleGroupsCommand.js.map +0 -1
  206. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  207. package/dist-es/commands/ListWebACLsCommand.js.map +0 -1
  208. package/dist-es/commands/PutLoggingConfigurationCommand.js.map +0 -1
  209. package/dist-es/commands/PutManagedRuleSetVersionsCommand.js.map +0 -1
  210. package/dist-es/commands/PutPermissionPolicyCommand.js.map +0 -1
  211. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  212. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  213. package/dist-es/commands/UpdateIPSetCommand.js.map +0 -1
  214. package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js.map +0 -1
  215. package/dist-es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  216. package/dist-es/commands/UpdateRuleGroupCommand.js.map +0 -1
  217. package/dist-es/commands/UpdateWebACLCommand.js.map +0 -1
  218. package/dist-es/endpoints.js.map +0 -1
  219. package/dist-es/index.js.map +0 -1
  220. package/dist-es/models/index.js.map +0 -1
  221. package/dist-es/models/models_0.js.map +0 -1
  222. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  223. package/dist-es/runtimeConfig.browser.js.map +0 -1
  224. package/dist-es/runtimeConfig.js.map +0 -1
  225. package/dist-es/runtimeConfig.native.js.map +0 -1
  226. package/dist-es/runtimeConfig.shared.js.map +0 -1
  227. package/jest.config.js +0 -4
  228. package/src/WAFV2.ts +0 -1795
  229. package/src/WAFV2Client.ts +0 -495
  230. package/src/commands/AssociateWebACLCommand.ts +0 -99
  231. package/src/commands/CheckCapacityCommand.ts +0 -106
  232. package/src/commands/CreateIPSetCommand.ts +0 -98
  233. package/src/commands/CreateRegexPatternSetCommand.ts +0 -96
  234. package/src/commands/CreateRuleGroupCommand.ts +0 -96
  235. package/src/commands/CreateWebACLCommand.ts +0 -96
  236. package/src/commands/DeleteFirewallManagerRuleGroupsCommand.ts +0 -105
  237. package/src/commands/DeleteIPSetCommand.ts +0 -95
  238. package/src/commands/DeleteLoggingConfigurationCommand.ts +0 -98
  239. package/src/commands/DeletePermissionPolicyCommand.ts +0 -96
  240. package/src/commands/DeleteRegexPatternSetCommand.ts +0 -95
  241. package/src/commands/DeleteRuleGroupCommand.ts +0 -95
  242. package/src/commands/DeleteWebACLCommand.ts +0 -97
  243. package/src/commands/DescribeManagedRuleGroupCommand.ts +0 -96
  244. package/src/commands/DisassociateWebACLCommand.ts +0 -98
  245. package/src/commands/GetIPSetCommand.ts +0 -88
  246. package/src/commands/GetLoggingConfigurationCommand.ts +0 -95
  247. package/src/commands/GetManagedRuleSetCommand.ts +0 -99
  248. package/src/commands/GetPermissionPolicyCommand.ts +0 -96
  249. package/src/commands/GetRateBasedStatementManagedKeysCommand.ts +0 -105
  250. package/src/commands/GetRegexPatternSetCommand.ts +0 -95
  251. package/src/commands/GetRuleGroupCommand.ts +0 -95
  252. package/src/commands/GetSampledRequestsCommand.ts +0 -104
  253. package/src/commands/GetWebACLCommand.ts +0 -92
  254. package/src/commands/GetWebACLForResourceCommand.ts +0 -95
  255. package/src/commands/ListAvailableManagedRuleGroupVersionsCommand.ts +0 -107
  256. package/src/commands/ListAvailableManagedRuleGroupsCommand.ts +0 -105
  257. package/src/commands/ListIPSetsCommand.ts +0 -96
  258. package/src/commands/ListLoggingConfigurationsCommand.ts +0 -98
  259. package/src/commands/ListManagedRuleSetsCommand.ts +0 -99
  260. package/src/commands/ListRegexPatternSetsCommand.ts +0 -96
  261. package/src/commands/ListResourcesForWebACLCommand.ts +0 -97
  262. package/src/commands/ListRuleGroupsCommand.ts +0 -96
  263. package/src/commands/ListTagsForResourceCommand.ts +0 -102
  264. package/src/commands/ListWebACLsCommand.ts +0 -96
  265. package/src/commands/PutLoggingConfigurationCommand.ts +0 -125
  266. package/src/commands/PutManagedRuleSetVersionsCommand.ts +0 -109
  267. package/src/commands/PutPermissionPolicyCommand.ts +0 -111
  268. package/src/commands/TagResourceCommand.ts +0 -102
  269. package/src/commands/UntagResourceCommand.ts +0 -98
  270. package/src/commands/UpdateIPSetCommand.ts +0 -98
  271. package/src/commands/UpdateManagedRuleSetVersionExpiryDateCommand.ts +0 -113
  272. package/src/commands/UpdateRegexPatternSetCommand.ts +0 -98
  273. package/src/commands/UpdateRuleGroupCommand.ts +0 -99
  274. package/src/commands/UpdateWebACLCommand.ts +0 -99
  275. package/src/endpoints.ts +0 -57
  276. package/src/index.ts +0 -48
  277. package/src/models/index.ts +0 -1
  278. package/src/models/models_0.ts +0 -6660
  279. package/src/protocols/Aws_json1_1.ts +0 -8508
  280. package/src/runtimeConfig.browser.ts +0 -41
  281. package/src/runtimeConfig.native.ts +0 -17
  282. package/src/runtimeConfig.shared.ts +0 -17
  283. package/src/runtimeConfig.ts +0 -46
  284. package/tsconfig.es.json +0 -10
  285. package/tsconfig.json +0 -33
  286. package/tsconfig.types.json +0 -9
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ListWebACLsRequest, ListWebACLsResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1ListWebACLsCommand,
17
- serializeAws_json1_1ListWebACLsCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
20
-
21
- export interface ListWebACLsCommandInput extends ListWebACLsRequest {}
22
- export interface ListWebACLsCommandOutput extends ListWebACLsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves an array of <a>WebACLSummary</a> objects for the web ACLs that you
26
- * manage.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { WAFV2Client, ListWebACLsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
31
- * // const { WAFV2Client, ListWebACLsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
32
- * const client = new WAFV2Client(config);
33
- * const command = new ListWebACLsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListWebACLsCommandInput} for command's `input` shape.
38
- * @see {@link ListWebACLsCommandOutput} for command's `response` shape.
39
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListWebACLsCommand extends $Command<
43
- ListWebACLsCommandInput,
44
- ListWebACLsCommandOutput,
45
- WAFV2ClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListWebACLsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: WAFV2ClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListWebACLsCommandInput, ListWebACLsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "WAFV2Client";
70
- const commandName = "ListWebACLsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListWebACLsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListWebACLsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListWebACLsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1ListWebACLsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListWebACLsCommandOutput> {
91
- return deserializeAws_json1_1ListWebACLsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,125 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { PutLoggingConfigurationRequest, PutLoggingConfigurationResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1PutLoggingConfigurationCommand,
17
- serializeAws_json1_1PutLoggingConfigurationCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
20
-
21
- export interface PutLoggingConfigurationCommandInput extends PutLoggingConfigurationRequest {}
22
- export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigurationResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Enables the specified <a>LoggingConfiguration</a>, to start logging from a
26
- * web ACL, according to the configuration provided.</p>
27
- * <p>You can access information about all traffic that WAF inspects using the following
28
- * steps:</p>
29
- * <ol>
30
- * <li>
31
- * <p>Create an Amazon Kinesis Data Firehose. </p>
32
- * <p>Create the data firehose with a PUT source and in the Region that you are
33
- * operating. If you are capturing logs for Amazon CloudFront, always create the firehose in US
34
- * East (N. Virginia). </p>
35
- * <p>Give the data firehose a name that starts with the prefix
36
- * <code>aws-waf-logs-</code>. For example,
37
- * <code>aws-waf-logs-us-east-2-analytics</code>.</p>
38
- * <note>
39
- * <p>Do not create the data firehose using a <code>Kinesis stream</code> as your
40
- * source.</p>
41
- * </note>
42
- * </li>
43
- * <li>
44
- * <p>Associate that firehose to your web ACL using a
45
- * <code>PutLoggingConfiguration</code> request.</p>
46
- * </li>
47
- * </ol>
48
- * <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code>
49
- * request, WAF will create a service linked role with the necessary permissions to write
50
- * logs to the Amazon Kinesis Data Firehose. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging Web ACL
51
- * Traffic Information</a> in the <i>WAF Developer
52
- * Guide</i>.</p>
53
- * <note>
54
- * <p>This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling <a>GetLoggingConfiguration</a>, update the settings as needed, and then provide the complete logging configuration specification to this call.</p>
55
- * </note>
56
- * @example
57
- * Use a bare-bones client and the command you need to make an API call.
58
- * ```javascript
59
- * import { WAFV2Client, PutLoggingConfigurationCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
60
- * // const { WAFV2Client, PutLoggingConfigurationCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
61
- * const client = new WAFV2Client(config);
62
- * const command = new PutLoggingConfigurationCommand(input);
63
- * const response = await client.send(command);
64
- * ```
65
- *
66
- * @see {@link PutLoggingConfigurationCommandInput} for command's `input` shape.
67
- * @see {@link PutLoggingConfigurationCommandOutput} for command's `response` shape.
68
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
69
- *
70
- */
71
- export class PutLoggingConfigurationCommand extends $Command<
72
- PutLoggingConfigurationCommandInput,
73
- PutLoggingConfigurationCommandOutput,
74
- WAFV2ClientResolvedConfig
75
- > {
76
- // Start section: command_properties
77
- // End section: command_properties
78
-
79
- constructor(readonly input: PutLoggingConfigurationCommandInput) {
80
- // Start section: command_constructor
81
- super();
82
- // End section: command_constructor
83
- }
84
-
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(
89
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
90
- configuration: WAFV2ClientResolvedConfig,
91
- options?: __HttpHandlerOptions
92
- ): Handler<PutLoggingConfigurationCommandInput, PutLoggingConfigurationCommandOutput> {
93
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
94
-
95
- const stack = clientStack.concat(this.middlewareStack);
96
-
97
- const { logger } = configuration;
98
- const clientName = "WAFV2Client";
99
- const commandName = "PutLoggingConfigurationCommand";
100
- const handlerExecutionContext: HandlerExecutionContext = {
101
- logger,
102
- clientName,
103
- commandName,
104
- inputFilterSensitiveLog: PutLoggingConfigurationRequest.filterSensitiveLog,
105
- outputFilterSensitiveLog: PutLoggingConfigurationResponse.filterSensitiveLog,
106
- };
107
- const { requestHandler } = configuration;
108
- return stack.resolve(
109
- (request: FinalizeHandlerArguments<any>) =>
110
- requestHandler.handle(request.request as __HttpRequest, options || {}),
111
- handlerExecutionContext
112
- );
113
- }
114
-
115
- private serialize(input: PutLoggingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
116
- return serializeAws_json1_1PutLoggingConfigurationCommand(input, context);
117
- }
118
-
119
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutLoggingConfigurationCommandOutput> {
120
- return deserializeAws_json1_1PutLoggingConfigurationCommand(output, context);
121
- }
122
-
123
- // Start section: command_body_extra
124
- // End section: command_body_extra
125
- }
@@ -1,109 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { PutManagedRuleSetVersionsRequest, PutManagedRuleSetVersionsResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1PutManagedRuleSetVersionsCommand,
17
- serializeAws_json1_1PutManagedRuleSetVersionsCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
20
-
21
- export interface PutManagedRuleSetVersionsCommandInput extends PutManagedRuleSetVersionsRequest {}
22
- export interface PutManagedRuleSetVersionsCommandOutput extends PutManagedRuleSetVersionsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Defines the versions of your managed rule set that you are offering to the customers.
26
- * Customers see your offerings as managed rule groups with versioning.</p>
27
- * <note>
28
- * <p>This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. </p>
29
- * <p>Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are <code>ListManagedRuleSets</code>, <code>GetManagedRuleSet</code>, <code>PutManagedRuleSetVersions</code>, and <code>UpdateManagedRuleSetVersionExpiryDate</code>.</p>
30
- * </note>
31
- * <p>Customers retrieve their managed rule group list by calling <a>ListAvailableManagedRuleGroups</a>. The name that you provide here for your
32
- * managed rule set is the name the customer sees for the corresponding managed rule group.
33
- * Customers can retrieve the available versions for a managed rule group by calling <a>ListAvailableManagedRuleGroupVersions</a>. You provide a rule group
34
- * specification for each version. For each managed rule set, you must specify a version that
35
- * you recommend using. </p>
36
- * <p>To initiate the expiration of a managed rule group version, use <a>UpdateManagedRuleSetVersionExpiryDate</a>.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { WAFV2Client, PutManagedRuleSetVersionsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
41
- * // const { WAFV2Client, PutManagedRuleSetVersionsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
42
- * const client = new WAFV2Client(config);
43
- * const command = new PutManagedRuleSetVersionsCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link PutManagedRuleSetVersionsCommandInput} for command's `input` shape.
48
- * @see {@link PutManagedRuleSetVersionsCommandOutput} for command's `response` shape.
49
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- export class PutManagedRuleSetVersionsCommand extends $Command<
53
- PutManagedRuleSetVersionsCommandInput,
54
- PutManagedRuleSetVersionsCommandOutput,
55
- WAFV2ClientResolvedConfig
56
- > {
57
- // Start section: command_properties
58
- // End section: command_properties
59
-
60
- constructor(readonly input: PutManagedRuleSetVersionsCommandInput) {
61
- // Start section: command_constructor
62
- super();
63
- // End section: command_constructor
64
- }
65
-
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(
70
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
71
- configuration: WAFV2ClientResolvedConfig,
72
- options?: __HttpHandlerOptions
73
- ): Handler<PutManagedRuleSetVersionsCommandInput, PutManagedRuleSetVersionsCommandOutput> {
74
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
75
-
76
- const stack = clientStack.concat(this.middlewareStack);
77
-
78
- const { logger } = configuration;
79
- const clientName = "WAFV2Client";
80
- const commandName = "PutManagedRuleSetVersionsCommand";
81
- const handlerExecutionContext: HandlerExecutionContext = {
82
- logger,
83
- clientName,
84
- commandName,
85
- inputFilterSensitiveLog: PutManagedRuleSetVersionsRequest.filterSensitiveLog,
86
- outputFilterSensitiveLog: PutManagedRuleSetVersionsResponse.filterSensitiveLog,
87
- };
88
- const { requestHandler } = configuration;
89
- return stack.resolve(
90
- (request: FinalizeHandlerArguments<any>) =>
91
- requestHandler.handle(request.request as __HttpRequest, options || {}),
92
- handlerExecutionContext
93
- );
94
- }
95
-
96
- private serialize(input: PutManagedRuleSetVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
97
- return serializeAws_json1_1PutManagedRuleSetVersionsCommand(input, context);
98
- }
99
-
100
- private deserialize(
101
- output: __HttpResponse,
102
- context: __SerdeContext
103
- ): Promise<PutManagedRuleSetVersionsCommandOutput> {
104
- return deserializeAws_json1_1PutManagedRuleSetVersionsCommand(output, context);
105
- }
106
-
107
- // Start section: command_body_extra
108
- // End section: command_body_extra
109
- }
@@ -1,111 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { PutPermissionPolicyRequest, PutPermissionPolicyResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1PutPermissionPolicyCommand,
17
- serializeAws_json1_1PutPermissionPolicyCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
20
-
21
- export interface PutPermissionPolicyCommandInput extends PutPermissionPolicyRequest {}
22
- export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Attaches an IAM policy to the specified resource. Use this to share a rule group across
26
- * accounts.</p>
27
- * <p>You must be the owner of the rule group to perform this operation.</p>
28
- * <p>This action is subject to the following restrictions:</p>
29
- * <ul>
30
- * <li>
31
- * <p>You can attach only one policy with each <code>PutPermissionPolicy</code>
32
- * request.</p>
33
- * </li>
34
- * <li>
35
- * <p>The ARN in the request must be a valid WAF <a>RuleGroup</a> ARN and the
36
- * rule group must exist in the same Region.</p>
37
- * </li>
38
- * <li>
39
- * <p>The user making the request must be the owner of the rule group.</p>
40
- * </li>
41
- * </ul>
42
- * @example
43
- * Use a bare-bones client and the command you need to make an API call.
44
- * ```javascript
45
- * import { WAFV2Client, PutPermissionPolicyCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
46
- * // const { WAFV2Client, PutPermissionPolicyCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
47
- * const client = new WAFV2Client(config);
48
- * const command = new PutPermissionPolicyCommand(input);
49
- * const response = await client.send(command);
50
- * ```
51
- *
52
- * @see {@link PutPermissionPolicyCommandInput} for command's `input` shape.
53
- * @see {@link PutPermissionPolicyCommandOutput} for command's `response` shape.
54
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
55
- *
56
- */
57
- export class PutPermissionPolicyCommand extends $Command<
58
- PutPermissionPolicyCommandInput,
59
- PutPermissionPolicyCommandOutput,
60
- WAFV2ClientResolvedConfig
61
- > {
62
- // Start section: command_properties
63
- // End section: command_properties
64
-
65
- constructor(readonly input: PutPermissionPolicyCommandInput) {
66
- // Start section: command_constructor
67
- super();
68
- // End section: command_constructor
69
- }
70
-
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(
75
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
76
- configuration: WAFV2ClientResolvedConfig,
77
- options?: __HttpHandlerOptions
78
- ): Handler<PutPermissionPolicyCommandInput, PutPermissionPolicyCommandOutput> {
79
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
80
-
81
- const stack = clientStack.concat(this.middlewareStack);
82
-
83
- const { logger } = configuration;
84
- const clientName = "WAFV2Client";
85
- const commandName = "PutPermissionPolicyCommand";
86
- const handlerExecutionContext: HandlerExecutionContext = {
87
- logger,
88
- clientName,
89
- commandName,
90
- inputFilterSensitiveLog: PutPermissionPolicyRequest.filterSensitiveLog,
91
- outputFilterSensitiveLog: PutPermissionPolicyResponse.filterSensitiveLog,
92
- };
93
- const { requestHandler } = configuration;
94
- return stack.resolve(
95
- (request: FinalizeHandlerArguments<any>) =>
96
- requestHandler.handle(request.request as __HttpRequest, options || {}),
97
- handlerExecutionContext
98
- );
99
- }
100
-
101
- private serialize(input: PutPermissionPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
102
- return serializeAws_json1_1PutPermissionPolicyCommand(input, context);
103
- }
104
-
105
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutPermissionPolicyCommandOutput> {
106
- return deserializeAws_json1_1PutPermissionPolicyCommand(output, context);
107
- }
108
-
109
- // Start section: command_body_extra
110
- // End section: command_body_extra
111
- }
@@ -1,102 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1TagResourceCommand,
17
- serializeAws_json1_1TagResourceCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Associates tags with the specified Amazon Web Services resource. Tags are key:value pairs that you can
26
- * use to categorize and manage your resources, for purposes like billing. For example, you
27
- * might set the tag key to "customer" and the value to the customer name or ID. You can
28
- * specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a
29
- * resource.</p>
30
- * <p>You can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule
31
- * groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF
32
- * console. </p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { WAFV2Client, TagResourceCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
37
- * // const { WAFV2Client, TagResourceCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
38
- * const client = new WAFV2Client(config);
39
- * const command = new TagResourceCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link TagResourceCommandInput} for command's `input` shape.
44
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
45
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class TagResourceCommand extends $Command<
49
- TagResourceCommandInput,
50
- TagResourceCommandOutput,
51
- WAFV2ClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: TagResourceCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: WAFV2ClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
70
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
71
-
72
- const stack = clientStack.concat(this.middlewareStack);
73
-
74
- const { logger } = configuration;
75
- const clientName = "WAFV2Client";
76
- const commandName = "TagResourceCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
82
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
83
- };
84
- const { requestHandler } = configuration;
85
- return stack.resolve(
86
- (request: FinalizeHandlerArguments<any>) =>
87
- requestHandler.handle(request.request as __HttpRequest, options || {}),
88
- handlerExecutionContext
89
- );
90
- }
91
-
92
- private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_json1_1TagResourceCommand(input, context);
94
- }
95
-
96
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
97
- return deserializeAws_json1_1TagResourceCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1UntagResourceCommand,
17
- serializeAws_json1_1UntagResourceCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Disassociates tags from an Amazon Web Services resource. Tags are key:value pairs that you can
26
- * associate with Amazon Web Services resources. For example, the tag key might be "customer" and the tag
27
- * value might be "companyA." You can specify one or more tags to add to each container. You
28
- * can add up to 50 tags to each Amazon Web Services resource.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { WAFV2Client, UntagResourceCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
33
- * // const { WAFV2Client, UntagResourceCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
34
- * const client = new WAFV2Client(config);
35
- * const command = new UntagResourceCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
40
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
41
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class UntagResourceCommand extends $Command<
45
- UntagResourceCommandInput,
46
- UntagResourceCommandOutput,
47
- WAFV2ClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: UntagResourceCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: WAFV2ClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "WAFV2Client";
72
- const commandName = "UntagResourceCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1UntagResourceCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
93
- return deserializeAws_json1_1UntagResourceCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }