@aws-sdk/client-wafv2 3.50.0 → 3.53.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 (92) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist-cjs/WAFV2.js +45 -0
  3. package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +36 -0
  4. package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +36 -0
  5. package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +36 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/index.js +3 -0
  8. package/dist-cjs/models/WAFV2ServiceException.js +11 -0
  9. package/dist-cjs/models/models_0.js +323 -4
  10. package/dist-cjs/protocols/Aws_json1_1.js +848 -2057
  11. package/dist-es/WAFV2.js +45 -0
  12. package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +39 -0
  13. package/dist-es/commands/GetMobileSdkReleaseCommand.js +39 -0
  14. package/dist-es/commands/ListMobileSdkReleasesCommand.js +39 -0
  15. package/dist-es/commands/index.js +3 -0
  16. package/dist-es/index.js +1 -0
  17. package/dist-es/models/WAFV2ServiceException.js +12 -0
  18. package/dist-es/models/models_0.js +280 -1
  19. package/dist-es/protocols/Aws_json1_1.js +1493 -2206
  20. package/dist-types/WAFV2.d.ts +35 -2
  21. package/dist-types/WAFV2Client.d.ts +5 -2
  22. package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +37 -0
  23. package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +37 -0
  24. package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +37 -0
  25. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +8 -2
  26. package/dist-types/commands/index.d.ts +3 -0
  27. package/dist-types/index.d.ts +1 -0
  28. package/dist-types/models/WAFV2ServiceException.d.ts +10 -0
  29. package/dist-types/models/models_0.d.ts +433 -63
  30. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  31. package/dist-types/ts3.4/WAFV2.d.ts +245 -0
  32. package/dist-types/ts3.4/WAFV2Client.d.ts +121 -0
  33. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/index.d.ts +48 -0
  82. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  83. package/dist-types/ts3.4/index.d.ts +5 -0
  84. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +6 -0
  85. package/dist-types/ts3.4/models/index.d.ts +1 -0
  86. package/dist-types/ts3.4/models/models_0.d.ts +199 -0
  87. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +146 -0
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  91. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  92. package/package.json +33 -33
@@ -14,9 +14,11 @@ import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./com
14
14
  import { DeleteWebACLCommandInput, DeleteWebACLCommandOutput } from "./commands/DeleteWebACLCommand";
15
15
  import { DescribeManagedRuleGroupCommandInput, DescribeManagedRuleGroupCommandOutput } from "./commands/DescribeManagedRuleGroupCommand";
16
16
  import { DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput } from "./commands/DisassociateWebACLCommand";
17
+ import { GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput } from "./commands/GenerateMobileSdkReleaseUrlCommand";
17
18
  import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
18
19
  import { GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput } from "./commands/GetLoggingConfigurationCommand";
19
20
  import { GetManagedRuleSetCommandInput, GetManagedRuleSetCommandOutput } from "./commands/GetManagedRuleSetCommand";
21
+ import { GetMobileSdkReleaseCommandInput, GetMobileSdkReleaseCommandOutput } from "./commands/GetMobileSdkReleaseCommand";
20
22
  import { GetPermissionPolicyCommandInput, GetPermissionPolicyCommandOutput } from "./commands/GetPermissionPolicyCommand";
21
23
  import { GetRateBasedStatementManagedKeysCommandInput, GetRateBasedStatementManagedKeysCommandOutput } from "./commands/GetRateBasedStatementManagedKeysCommand";
22
24
  import { GetRegexPatternSetCommandInput, GetRegexPatternSetCommandOutput } from "./commands/GetRegexPatternSetCommand";
@@ -29,6 +31,7 @@ import { ListAvailableManagedRuleGroupVersionsCommandInput, ListAvailableManaged
29
31
  import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
30
32
  import { ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput } from "./commands/ListLoggingConfigurationsCommand";
31
33
  import { ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput } from "./commands/ListManagedRuleSetsCommand";
34
+ import { ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOutput } from "./commands/ListMobileSdkReleasesCommand";
32
35
  import { ListRegexPatternSetsCommandInput, ListRegexPatternSetsCommandOutput } from "./commands/ListRegexPatternSetsCommand";
33
36
  import { ListResourcesForWebACLCommandInput, ListResourcesForWebACLCommandOutput } from "./commands/ListResourcesForWebACLCommand";
34
37
  import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
@@ -227,6 +230,14 @@ export declare class WAFV2 extends WAFV2Client {
227
230
  disassociateWebACL(args: DisassociateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateWebACLCommandOutput>;
228
231
  disassociateWebACL(args: DisassociateWebACLCommandInput, cb: (err: any, data?: DisassociateWebACLCommandOutput) => void): void;
229
232
  disassociateWebACL(args: DisassociateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateWebACLCommandOutput) => void): void;
233
+ /**
234
+ * <p>Generates a presigned download URL for the specified release of the mobile SDK.</p>
235
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
236
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
237
+ */
238
+ generateMobileSdkReleaseUrl(args: GenerateMobileSdkReleaseUrlCommandInput, options?: __HttpHandlerOptions): Promise<GenerateMobileSdkReleaseUrlCommandOutput>;
239
+ generateMobileSdkReleaseUrl(args: GenerateMobileSdkReleaseUrlCommandInput, cb: (err: any, data?: GenerateMobileSdkReleaseUrlCommandOutput) => void): void;
240
+ generateMobileSdkReleaseUrl(args: GenerateMobileSdkReleaseUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateMobileSdkReleaseUrlCommandOutput) => void): void;
230
241
  /**
231
242
  * <p>Retrieves the specified <a>IPSet</a>.</p>
232
243
  */
@@ -249,6 +260,14 @@ export declare class WAFV2 extends WAFV2Client {
249
260
  getManagedRuleSet(args: GetManagedRuleSetCommandInput, options?: __HttpHandlerOptions): Promise<GetManagedRuleSetCommandOutput>;
250
261
  getManagedRuleSet(args: GetManagedRuleSetCommandInput, cb: (err: any, data?: GetManagedRuleSetCommandOutput) => void): void;
251
262
  getManagedRuleSet(args: GetManagedRuleSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetManagedRuleSetCommandOutput) => void): void;
263
+ /**
264
+ * <p>Retrieves information for the specified mobile SDK release, including release notes and tags.</p>
265
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
266
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
267
+ */
268
+ getMobileSdkRelease(args: GetMobileSdkReleaseCommandInput, options?: __HttpHandlerOptions): Promise<GetMobileSdkReleaseCommandOutput>;
269
+ getMobileSdkRelease(args: GetMobileSdkReleaseCommandInput, cb: (err: any, data?: GetMobileSdkReleaseCommandOutput) => void): void;
270
+ getMobileSdkRelease(args: GetMobileSdkReleaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMobileSdkReleaseCommandOutput) => void): void;
252
271
  /**
253
272
  * <p>Returns the IAM policy that is attached to the specified rule group.</p>
254
273
  * <p>You must be the owner of the rule group to perform this operation.</p>
@@ -340,6 +359,14 @@ export declare class WAFV2 extends WAFV2Client {
340
359
  listManagedRuleSets(args: ListManagedRuleSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedRuleSetsCommandOutput>;
341
360
  listManagedRuleSets(args: ListManagedRuleSetsCommandInput, cb: (err: any, data?: ListManagedRuleSetsCommandOutput) => void): void;
342
361
  listManagedRuleSets(args: ListManagedRuleSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedRuleSetsCommandOutput) => void): void;
362
+ /**
363
+ * <p>Retrieves a list of the available releases for the mobile SDK and the specified device platform. </p>
364
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
365
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
366
+ */
367
+ listMobileSdkReleases(args: ListMobileSdkReleasesCommandInput, options?: __HttpHandlerOptions): Promise<ListMobileSdkReleasesCommandOutput>;
368
+ listMobileSdkReleases(args: ListMobileSdkReleasesCommandInput, cb: (err: any, data?: ListMobileSdkReleasesCommandOutput) => void): void;
369
+ listMobileSdkReleases(args: ListMobileSdkReleasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMobileSdkReleasesCommandOutput) => void): void;
343
370
  /**
344
371
  * <p>Retrieves an array of <a>RegexPatternSetSummary</a> objects for the regex
345
372
  * pattern sets that you manage.</p>
@@ -384,8 +411,11 @@ export declare class WAFV2 extends WAFV2Client {
384
411
  listWebACLs(args: ListWebACLsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
385
412
  /**
386
413
  * <p>Enables the specified <a>LoggingConfiguration</a>, to start logging from a
387
- * web ACL, according to the configuration provided.</p>
388
- * <p>You can access information about all traffic that WAF inspects using the following
414
+ * web ACL, according to the configuration provided. </p>
415
+ * <note>
416
+ * <p>You can define one logging destination per web ACL.</p>
417
+ * </note>
418
+ * <p>You can access information about the traffic that WAF inspects using the following
389
419
  * steps:</p>
390
420
  * <ol>
391
421
  * <li>
@@ -403,6 +433,9 @@ export declare class WAFV2 extends WAFV2Client {
403
433
  * request, WAF creates an additional role or policy that is required to write
404
434
  * logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.
405
435
  * For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.</p>
436
+ * <p>For additional information about web ACL logging, see
437
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
438
+ * in the <i>WAF Developer Guide</i>.</p>
406
439
  * <note>
407
440
  * <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>
408
441
  * </note>
@@ -21,9 +21,11 @@ import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./com
21
21
  import { DeleteWebACLCommandInput, DeleteWebACLCommandOutput } from "./commands/DeleteWebACLCommand";
22
22
  import { DescribeManagedRuleGroupCommandInput, DescribeManagedRuleGroupCommandOutput } from "./commands/DescribeManagedRuleGroupCommand";
23
23
  import { DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput } from "./commands/DisassociateWebACLCommand";
24
+ import { GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput } from "./commands/GenerateMobileSdkReleaseUrlCommand";
24
25
  import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
25
26
  import { GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput } from "./commands/GetLoggingConfigurationCommand";
26
27
  import { GetManagedRuleSetCommandInput, GetManagedRuleSetCommandOutput } from "./commands/GetManagedRuleSetCommand";
28
+ import { GetMobileSdkReleaseCommandInput, GetMobileSdkReleaseCommandOutput } from "./commands/GetMobileSdkReleaseCommand";
27
29
  import { GetPermissionPolicyCommandInput, GetPermissionPolicyCommandOutput } from "./commands/GetPermissionPolicyCommand";
28
30
  import { GetRateBasedStatementManagedKeysCommandInput, GetRateBasedStatementManagedKeysCommandOutput } from "./commands/GetRateBasedStatementManagedKeysCommand";
29
31
  import { GetRegexPatternSetCommandInput, GetRegexPatternSetCommandOutput } from "./commands/GetRegexPatternSetCommand";
@@ -36,6 +38,7 @@ import { ListAvailableManagedRuleGroupVersionsCommandInput, ListAvailableManaged
36
38
  import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
37
39
  import { ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput } from "./commands/ListLoggingConfigurationsCommand";
38
40
  import { ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput } from "./commands/ListManagedRuleSetsCommand";
41
+ import { ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOutput } from "./commands/ListMobileSdkReleasesCommand";
39
42
  import { ListRegexPatternSetsCommandInput, ListRegexPatternSetsCommandOutput } from "./commands/ListRegexPatternSetsCommand";
40
43
  import { ListResourcesForWebACLCommandInput, ListResourcesForWebACLCommandOutput } from "./commands/ListResourcesForWebACLCommand";
41
44
  import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
@@ -51,8 +54,8 @@ import { UpdateManagedRuleSetVersionExpiryDateCommandInput, UpdateManagedRuleSet
51
54
  import { UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput } from "./commands/UpdateRegexPatternSetCommand";
52
55
  import { UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput } from "./commands/UpdateRuleGroupCommand";
53
56
  import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
54
- export declare type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
55
- export declare type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
57
+ 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;
58
+ 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;
56
59
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
57
60
  /**
58
61
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GenerateMobileSdkReleaseUrlRequest, GenerateMobileSdkReleaseUrlResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
5
+ export interface GenerateMobileSdkReleaseUrlCommandInput extends GenerateMobileSdkReleaseUrlRequest {
6
+ }
7
+ export interface GenerateMobileSdkReleaseUrlCommandOutput extends GenerateMobileSdkReleaseUrlResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Generates a presigned download URL for the specified release of the mobile SDK.</p>
11
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
12
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { WAFV2Client, GenerateMobileSdkReleaseUrlCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
17
+ * // const { WAFV2Client, GenerateMobileSdkReleaseUrlCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
18
+ * const client = new WAFV2Client(config);
19
+ * const command = new GenerateMobileSdkReleaseUrlCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link GenerateMobileSdkReleaseUrlCommandInput} for command's `input` shape.
24
+ * @see {@link GenerateMobileSdkReleaseUrlCommandOutput} for command's `response` shape.
25
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
26
+ *
27
+ */
28
+ export declare class GenerateMobileSdkReleaseUrlCommand extends $Command<GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput, WAFV2ClientResolvedConfig> {
29
+ readonly input: GenerateMobileSdkReleaseUrlCommandInput;
30
+ constructor(input: GenerateMobileSdkReleaseUrlCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetMobileSdkReleaseRequest, GetMobileSdkReleaseResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
5
+ export interface GetMobileSdkReleaseCommandInput extends GetMobileSdkReleaseRequest {
6
+ }
7
+ export interface GetMobileSdkReleaseCommandOutput extends GetMobileSdkReleaseResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves information for the specified mobile SDK release, including release notes and tags.</p>
11
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
12
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { WAFV2Client, GetMobileSdkReleaseCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
17
+ * // const { WAFV2Client, GetMobileSdkReleaseCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
18
+ * const client = new WAFV2Client(config);
19
+ * const command = new GetMobileSdkReleaseCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link GetMobileSdkReleaseCommandInput} for command's `input` shape.
24
+ * @see {@link GetMobileSdkReleaseCommandOutput} for command's `response` shape.
25
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
26
+ *
27
+ */
28
+ export declare class GetMobileSdkReleaseCommand extends $Command<GetMobileSdkReleaseCommandInput, GetMobileSdkReleaseCommandOutput, WAFV2ClientResolvedConfig> {
29
+ readonly input: GetMobileSdkReleaseCommandInput;
30
+ constructor(input: GetMobileSdkReleaseCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMobileSdkReleaseCommandInput, GetMobileSdkReleaseCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListMobileSdkReleasesRequest, ListMobileSdkReleasesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
5
+ export interface ListMobileSdkReleasesCommandInput extends ListMobileSdkReleasesRequest {
6
+ }
7
+ export interface ListMobileSdkReleasesCommandOutput extends ListMobileSdkReleasesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves a list of the available releases for the mobile SDK and the specified device platform. </p>
11
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
12
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { WAFV2Client, ListMobileSdkReleasesCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
17
+ * // const { WAFV2Client, ListMobileSdkReleasesCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
18
+ * const client = new WAFV2Client(config);
19
+ * const command = new ListMobileSdkReleasesCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListMobileSdkReleasesCommandInput} for command's `input` shape.
24
+ * @see {@link ListMobileSdkReleasesCommandOutput} for command's `response` shape.
25
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListMobileSdkReleasesCommand extends $Command<ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOutput, WAFV2ClientResolvedConfig> {
29
+ readonly input: ListMobileSdkReleasesCommandInput;
30
+ constructor(input: ListMobileSdkReleasesCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -8,8 +8,11 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
8
8
  }
9
9
  /**
10
10
  * <p>Enables the specified <a>LoggingConfiguration</a>, to start logging from a
11
- * web ACL, according to the configuration provided.</p>
12
- * <p>You can access information about all traffic that WAF inspects using the following
11
+ * web ACL, according to the configuration provided. </p>
12
+ * <note>
13
+ * <p>You can define one logging destination per web ACL.</p>
14
+ * </note>
15
+ * <p>You can access information about the traffic that WAF inspects using the following
13
16
  * steps:</p>
14
17
  * <ol>
15
18
  * <li>
@@ -27,6 +30,9 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
27
30
  * request, WAF creates an additional role or policy that is required to write
28
31
  * logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.
29
32
  * For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.</p>
33
+ * <p>For additional information about web ACL logging, see
34
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
35
+ * in the <i>WAF Developer Guide</i>.</p>
30
36
  * <note>
31
37
  * <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>
32
38
  * </note>
@@ -13,9 +13,11 @@ export * from "./DeleteRuleGroupCommand";
13
13
  export * from "./DeleteWebACLCommand";
14
14
  export * from "./DescribeManagedRuleGroupCommand";
15
15
  export * from "./DisassociateWebACLCommand";
16
+ export * from "./GenerateMobileSdkReleaseUrlCommand";
16
17
  export * from "./GetIPSetCommand";
17
18
  export * from "./GetLoggingConfigurationCommand";
18
19
  export * from "./GetManagedRuleSetCommand";
20
+ export * from "./GetMobileSdkReleaseCommand";
19
21
  export * from "./GetPermissionPolicyCommand";
20
22
  export * from "./GetRateBasedStatementManagedKeysCommand";
21
23
  export * from "./GetRegexPatternSetCommand";
@@ -28,6 +30,7 @@ export * from "./ListAvailableManagedRuleGroupsCommand";
28
30
  export * from "./ListIPSetsCommand";
29
31
  export * from "./ListLoggingConfigurationsCommand";
30
32
  export * from "./ListManagedRuleSetsCommand";
33
+ export * from "./ListMobileSdkReleasesCommand";
31
34
  export * from "./ListRegexPatternSetsCommand";
32
35
  export * from "./ListResourcesForWebACLCommand";
33
36
  export * from "./ListRuleGroupsCommand";
@@ -2,3 +2,4 @@ export * from "./WAFV2";
2
2
  export * from "./WAFV2Client";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { WAFV2ServiceException } from "./models/WAFV2ServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from WAFV2 service.
4
+ */
5
+ export declare class WAFV2ServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }