@aws-sdk/client-wafv2 3.421.0 → 3.422.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 (72) hide show
  1. package/dist-types/models/models_0.d.ts +26 -6
  2. package/dist-types/ts3.4/WAFV2.d.ts +438 -918
  3. package/dist-types/ts3.4/WAFV2Client.d.ts +277 -436
  4. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +118 -38
  5. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +1093 -38
  6. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +115 -35
  7. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +144 -35
  8. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +143 -42
  9. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +1116 -38
  10. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +1145 -35
  11. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +115 -42
  12. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +124 -35
  13. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +110 -42
  14. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +103 -42
  15. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +124 -42
  16. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +124 -38
  17. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +158 -35
  18. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +92 -42
  19. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +114 -42
  20. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +191 -42
  21. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +109 -39
  22. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +110 -42
  23. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +112 -39
  24. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +119 -35
  25. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +192 -42
  26. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +131 -39
  27. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +121 -39
  28. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +105 -39
  29. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +142 -42
  30. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +120 -39
  31. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +1088 -35
  32. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +168 -39
  33. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +1283 -35
  34. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +1286 -42
  35. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +121 -35
  36. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +118 -42
  37. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +113 -42
  38. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +113 -35
  39. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +191 -42
  40. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +117 -39
  41. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +112 -42
  42. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +113 -42
  43. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +112 -42
  44. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +113 -38
  45. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +132 -39
  46. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +113 -35
  47. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +345 -42
  48. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +133 -42
  49. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +145 -39
  50. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +131 -35
  51. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +118 -38
  52. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +146 -35
  53. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +125 -42
  54. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +148 -42
  55. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +1128 -38
  56. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +1146 -35
  57. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  58. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -33
  59. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
  60. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  61. package/dist-types/ts3.4/extensionConfiguration.d.ts +8 -7
  62. package/dist-types/ts3.4/index.d.ts +68 -6
  63. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +13 -8
  64. package/dist-types/ts3.4/models/index.d.ts +1 -1
  65. package/dist-types/ts3.4/models/models_0.d.ts +7951 -1764
  66. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +479 -641
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -97
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +46 -97
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +45 -88
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  71. package/dist-types/ts3.4/runtimeExtensions.d.ts +17 -11
  72. package/package.json +1 -1
@@ -1,53 +1,53 @@
1
- export * from "./AssociateWebACLCommand";
2
- export * from "./CheckCapacityCommand";
3
- export * from "./CreateAPIKeyCommand";
4
- export * from "./CreateIPSetCommand";
5
- export * from "./CreateRegexPatternSetCommand";
6
- export * from "./CreateRuleGroupCommand";
7
- export * from "./CreateWebACLCommand";
8
- export * from "./DeleteFirewallManagerRuleGroupsCommand";
9
- export * from "./DeleteIPSetCommand";
10
- export * from "./DeleteLoggingConfigurationCommand";
11
- export * from "./DeletePermissionPolicyCommand";
12
- export * from "./DeleteRegexPatternSetCommand";
13
- export * from "./DeleteRuleGroupCommand";
14
- export * from "./DeleteWebACLCommand";
15
- export * from "./DescribeAllManagedProductsCommand";
16
- export * from "./DescribeManagedProductsByVendorCommand";
17
- export * from "./DescribeManagedRuleGroupCommand";
18
- export * from "./DisassociateWebACLCommand";
19
- export * from "./GenerateMobileSdkReleaseUrlCommand";
20
- export * from "./GetDecryptedAPIKeyCommand";
21
- export * from "./GetIPSetCommand";
22
- export * from "./GetLoggingConfigurationCommand";
23
- export * from "./GetManagedRuleSetCommand";
24
- export * from "./GetMobileSdkReleaseCommand";
25
- export * from "./GetPermissionPolicyCommand";
26
- export * from "./GetRateBasedStatementManagedKeysCommand";
27
- export * from "./GetRegexPatternSetCommand";
28
- export * from "./GetRuleGroupCommand";
29
- export * from "./GetSampledRequestsCommand";
30
- export * from "./GetWebACLCommand";
31
- export * from "./GetWebACLForResourceCommand";
32
- export * from "./ListAPIKeysCommand";
33
- export * from "./ListAvailableManagedRuleGroupVersionsCommand";
34
- export * from "./ListAvailableManagedRuleGroupsCommand";
35
- export * from "./ListIPSetsCommand";
36
- export * from "./ListLoggingConfigurationsCommand";
37
- export * from "./ListManagedRuleSetsCommand";
38
- export * from "./ListMobileSdkReleasesCommand";
39
- export * from "./ListRegexPatternSetsCommand";
40
- export * from "./ListResourcesForWebACLCommand";
41
- export * from "./ListRuleGroupsCommand";
42
- export * from "./ListTagsForResourceCommand";
43
- export * from "./ListWebACLsCommand";
44
- export * from "./PutLoggingConfigurationCommand";
45
- export * from "./PutManagedRuleSetVersionsCommand";
46
- export * from "./PutPermissionPolicyCommand";
47
- export * from "./TagResourceCommand";
48
- export * from "./UntagResourceCommand";
49
- export * from "./UpdateIPSetCommand";
50
- export * from "./UpdateManagedRuleSetVersionExpiryDateCommand";
51
- export * from "./UpdateRegexPatternSetCommand";
52
- export * from "./UpdateRuleGroupCommand";
53
- export * from "./UpdateWebACLCommand";
1
+ export * from "./AssociateWebACLCommand";
2
+ export * from "./CheckCapacityCommand";
3
+ export * from "./CreateAPIKeyCommand";
4
+ export * from "./CreateIPSetCommand";
5
+ export * from "./CreateRegexPatternSetCommand";
6
+ export * from "./CreateRuleGroupCommand";
7
+ export * from "./CreateWebACLCommand";
8
+ export * from "./DeleteFirewallManagerRuleGroupsCommand";
9
+ export * from "./DeleteIPSetCommand";
10
+ export * from "./DeleteLoggingConfigurationCommand";
11
+ export * from "./DeletePermissionPolicyCommand";
12
+ export * from "./DeleteRegexPatternSetCommand";
13
+ export * from "./DeleteRuleGroupCommand";
14
+ export * from "./DeleteWebACLCommand";
15
+ export * from "./DescribeAllManagedProductsCommand";
16
+ export * from "./DescribeManagedProductsByVendorCommand";
17
+ export * from "./DescribeManagedRuleGroupCommand";
18
+ export * from "./DisassociateWebACLCommand";
19
+ export * from "./GenerateMobileSdkReleaseUrlCommand";
20
+ export * from "./GetDecryptedAPIKeyCommand";
21
+ export * from "./GetIPSetCommand";
22
+ export * from "./GetLoggingConfigurationCommand";
23
+ export * from "./GetManagedRuleSetCommand";
24
+ export * from "./GetMobileSdkReleaseCommand";
25
+ export * from "./GetPermissionPolicyCommand";
26
+ export * from "./GetRateBasedStatementManagedKeysCommand";
27
+ export * from "./GetRegexPatternSetCommand";
28
+ export * from "./GetRuleGroupCommand";
29
+ export * from "./GetSampledRequestsCommand";
30
+ export * from "./GetWebACLCommand";
31
+ export * from "./GetWebACLForResourceCommand";
32
+ export * from "./ListAPIKeysCommand";
33
+ export * from "./ListAvailableManagedRuleGroupVersionsCommand";
34
+ export * from "./ListAvailableManagedRuleGroupsCommand";
35
+ export * from "./ListIPSetsCommand";
36
+ export * from "./ListLoggingConfigurationsCommand";
37
+ export * from "./ListManagedRuleSetsCommand";
38
+ export * from "./ListMobileSdkReleasesCommand";
39
+ export * from "./ListRegexPatternSetsCommand";
40
+ export * from "./ListResourcesForWebACLCommand";
41
+ export * from "./ListRuleGroupsCommand";
42
+ export * from "./ListTagsForResourceCommand";
43
+ export * from "./ListWebACLsCommand";
44
+ export * from "./PutLoggingConfigurationCommand";
45
+ export * from "./PutManagedRuleSetVersionsCommand";
46
+ export * from "./PutPermissionPolicyCommand";
47
+ export * from "./TagResourceCommand";
48
+ export * from "./UntagResourceCommand";
49
+ export * from "./UpdateIPSetCommand";
50
+ export * from "./UpdateManagedRuleSetVersionExpiryDateCommand";
51
+ export * from "./UpdateRegexPatternSetCommand";
52
+ export * from "./UpdateRuleGroupCommand";
53
+ export * from "./UpdateWebACLCommand";
@@ -1,33 +1,22 @@
1
- import {
2
- Endpoint,
3
- EndpointParameters as __EndpointParameters,
4
- EndpointV2,
5
- Provider,
6
- } from "@smithy/types";
7
- export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
- useDualstackEndpoint?: boolean | Provider<boolean>;
10
- useFipsEndpoint?: boolean | Provider<boolean>;
11
- endpoint?:
12
- | string
13
- | Provider<string>
14
- | Endpoint
15
- | Provider<Endpoint>
16
- | EndpointV2
17
- | Provider<EndpointV2>;
18
- }
19
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
- defaultSigningName: string;
21
- };
22
- export declare const resolveClientEndpointParameters: <T>(
23
- options: T & ClientInputEndpointParameters
24
- ) => T &
25
- ClientInputEndpointParameters & {
26
- defaultSigningName: string;
27
- };
28
- export interface EndpointParameters extends __EndpointParameters {
29
- Region?: string;
30
- UseDualStack?: boolean;
31
- UseFIPS?: boolean;
32
- Endpoint?: string;
33
- }
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export interface EndpointParameters extends __EndpointParameters {
18
+ Region?: string;
19
+ UseDualStack?: boolean;
20
+ UseFIPS?: boolean;
21
+ Endpoint?: string;
22
+ }
@@ -1,8 +1,5 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
3
- export declare const defaultEndpointResolver: (
4
- endpointParams: EndpointParameters,
5
- context?: {
6
- logger?: Logger;
7
- }
8
- ) => EndpointV2;
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -1,2 +1,2 @@
1
- import { RuleSetObject } from "@smithy/types";
2
- export declare const ruleSet: RuleSetObject;
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -1,7 +1,8 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- export interface WAFV2ExtensionConfiguration
5
- extends HttpHandlerExtensionConfiguration,
6
- DefaultExtensionConfiguration,
7
- AwsRegionExtensionConfiguration {}
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface WAFV2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
+ }
@@ -1,6 +1,68 @@
1
- export * from "./WAFV2Client";
2
- export * from "./WAFV2";
3
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
- export * from "./commands";
5
- export * from "./models";
6
- export { WAFV2ServiceException } from "./models/WAFV2ServiceException";
1
+ /**
2
+ * <fullname>WAF</fullname>
3
+ * <note>
4
+ * <p>This is the latest version of the <b>WAF</b> API,
5
+ * released in November, 2019. The names of the entities that you use to access this API,
6
+ * like endpoints and namespaces, all have the versioning information added, like "V2" or
7
+ * "v2", to distinguish from the prior version. We recommend migrating your resources to
8
+ * this version, because it has a number of significant improvements.</p>
9
+ * <p>If you used WAF prior to this release, you can't use this WAFV2 API to access any
10
+ * WAF resources that you created before. You can access your old rules, web ACLs, and
11
+ * other WAF resources only through the WAF Classic APIs. The WAF Classic APIs
12
+ * have retained the prior names, endpoints, and namespaces. </p>
13
+ * <p>For information, including how to migrate your WAF resources to this version,
14
+ * see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
15
+ * </note>
16
+ * <p>WAF is a web application firewall that lets you monitor the HTTP and HTTPS
17
+ * requests that are forwarded to an Amazon CloudFront distribution, Amazon API Gateway REST API, Application Load Balancer, AppSync
18
+ * GraphQL API, Amazon Cognito user pool, App Runner service, or Amazon Web Services Verified Access instance. WAF also lets you control access to your content,
19
+ * to protect the Amazon Web Services resource that WAF is monitoring. Based on conditions that
20
+ * you specify, such as the IP addresses that requests originate from or the values of query
21
+ * strings, the protected resource responds to requests with either the requested content, an HTTP 403 status code
22
+ * (Forbidden), or with a custom response. </p>
23
+ * <p>This API guide is for developers who need detailed information about WAF API actions,
24
+ * data types, and errors. For detailed information about WAF features and guidance for configuring and using
25
+ * WAF, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html">WAF Developer
26
+ * Guide</a>.</p>
27
+ * <p>You can make calls using the endpoints listed in <a href="https://docs.aws.amazon.com/general/latest/gr/waf.html">WAF endpoints and quotas</a>. </p>
28
+ * <ul>
29
+ * <li>
30
+ * <p>For regional applications, you can use any of the endpoints in the list.
31
+ * A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. </p>
32
+ * </li>
33
+ * <li>
34
+ * <p>For Amazon CloudFront applications, you must use the API endpoint listed for
35
+ * US East (N. Virginia): us-east-1.</p>
36
+ * </li>
37
+ * </ul>
38
+ * <p>Alternatively, you can use one of the Amazon Web Services SDKs to access an API that's tailored to the
39
+ * programming language or platform that you're using. For more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
40
+ * <p>We currently provide two versions of the WAF API: this API and the prior versions,
41
+ * the classic WAF APIs. This new API provides the same functionality as the older versions,
42
+ * with the following major improvements:</p>
43
+ * <ul>
44
+ * <li>
45
+ * <p>You use one API for both global and regional applications. Where you need to
46
+ * distinguish the scope, you specify a <code>Scope</code> parameter and set it to
47
+ * <code>CLOUDFRONT</code> or <code>REGIONAL</code>. </p>
48
+ * </li>
49
+ * <li>
50
+ * <p>You can define a web ACL or rule group with a single call, and update it with a
51
+ * single call. You define all rule specifications in JSON format, and pass them to your
52
+ * rule group or web ACL calls.</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>The limits WAF places on the use of rules more closely reflects the cost of
56
+ * running each type of rule. Rule groups include capacity settings, so you know the
57
+ * maximum cost of a rule group when you use it.</p>
58
+ * </li>
59
+ * </ul>
60
+ *
61
+ * @packageDocumentation
62
+ */
63
+ export * from "./WAFV2Client";
64
+ export * from "./WAFV2";
65
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
66
+ export * from "./commands";
67
+ export * from "./models";
68
+ export { WAFV2ServiceException } from "./models/WAFV2ServiceException";
@@ -1,8 +1,13 @@
1
- import {
2
- ServiceException as __ServiceException,
3
- ServiceExceptionOptions as __ServiceExceptionOptions,
4
- } from "@smithy/smithy-client";
5
- export { __ServiceException, __ServiceExceptionOptions };
6
- export declare class WAFV2ServiceException extends __ServiceException {
7
- constructor(options: __ServiceExceptionOptions);
8
- }
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
3
+ /**
4
+ * @public
5
+ *
6
+ * Base exception class for all service exceptions from WAFV2 service.
7
+ */
8
+ export declare class WAFV2ServiceException extends __ServiceException {
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(options: __ServiceExceptionOptions);
13
+ }
@@ -1 +1 @@
1
- export * from "./models_0";
1
+ export * from "./models_0";