@aws-sdk/client-wafv2 3.48.0 → 3.52.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 (31) hide show
  1. package/CHANGELOG.md +35 -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/models/models_0.js +83 -4
  8. package/dist-cjs/protocols/Aws_json1_1.js +382 -2
  9. package/dist-es/WAFV2.js +45 -0
  10. package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +39 -0
  11. package/dist-es/commands/GetMobileSdkReleaseCommand.js +39 -0
  12. package/dist-es/commands/ListMobileSdkReleasesCommand.js +39 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/models/models_0.js +56 -0
  15. package/dist-es/protocols/Aws_json1_1.js +391 -1
  16. package/dist-types/WAFV2.d.ts +24 -0
  17. package/dist-types/WAFV2Client.d.ts +5 -2
  18. package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +36 -0
  19. package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +36 -0
  20. package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +36 -0
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/models/models_0.d.ts +224 -0
  23. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  24. package/dist-types/ts3.4/WAFV2.d.ts +15 -0
  25. package/dist-types/ts3.4/WAFV2Client.d.ts +5 -2
  26. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  30. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
  31. package/package.json +40 -34
@@ -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";
@@ -15,9 +15,11 @@ import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "../co
15
15
  import { DeleteWebACLCommandInput, DeleteWebACLCommandOutput } from "../commands/DeleteWebACLCommand";
16
16
  import { DescribeManagedRuleGroupCommandInput, DescribeManagedRuleGroupCommandOutput } from "../commands/DescribeManagedRuleGroupCommand";
17
17
  import { DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput } from "../commands/DisassociateWebACLCommand";
18
+ import { GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput } from "../commands/GenerateMobileSdkReleaseUrlCommand";
18
19
  import { GetIPSetCommandInput, GetIPSetCommandOutput } from "../commands/GetIPSetCommand";
19
20
  import { GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput } from "../commands/GetLoggingConfigurationCommand";
20
21
  import { GetManagedRuleSetCommandInput, GetManagedRuleSetCommandOutput } from "../commands/GetManagedRuleSetCommand";
22
+ import { GetMobileSdkReleaseCommandInput, GetMobileSdkReleaseCommandOutput } from "../commands/GetMobileSdkReleaseCommand";
21
23
  import { GetPermissionPolicyCommandInput, GetPermissionPolicyCommandOutput } from "../commands/GetPermissionPolicyCommand";
22
24
  import { GetRateBasedStatementManagedKeysCommandInput, GetRateBasedStatementManagedKeysCommandOutput } from "../commands/GetRateBasedStatementManagedKeysCommand";
23
25
  import { GetRegexPatternSetCommandInput, GetRegexPatternSetCommandOutput } from "../commands/GetRegexPatternSetCommand";
@@ -30,6 +32,7 @@ import { ListAvailableManagedRuleGroupVersionsCommandInput, ListAvailableManaged
30
32
  import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "../commands/ListIPSetsCommand";
31
33
  import { ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput } from "../commands/ListLoggingConfigurationsCommand";
32
34
  import { ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput } from "../commands/ListManagedRuleSetsCommand";
35
+ import { ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOutput } from "../commands/ListMobileSdkReleasesCommand";
33
36
  import { ListRegexPatternSetsCommandInput, ListRegexPatternSetsCommandOutput } from "../commands/ListRegexPatternSetsCommand";
34
37
  import { ListResourcesForWebACLCommandInput, ListResourcesForWebACLCommandOutput } from "../commands/ListResourcesForWebACLCommand";
35
38
  import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "../commands/ListRuleGroupsCommand";
@@ -60,9 +63,11 @@ export declare const serializeAws_json1_1DeleteRuleGroupCommand: (input: DeleteR
60
63
  export declare const serializeAws_json1_1DeleteWebACLCommand: (input: DeleteWebACLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
64
  export declare const serializeAws_json1_1DescribeManagedRuleGroupCommand: (input: DescribeManagedRuleGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
65
  export declare const serializeAws_json1_1DisassociateWebACLCommand: (input: DisassociateWebACLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
+ export declare const serializeAws_json1_1GenerateMobileSdkReleaseUrlCommand: (input: GenerateMobileSdkReleaseUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
67
  export declare const serializeAws_json1_1GetIPSetCommand: (input: GetIPSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
68
  export declare const serializeAws_json1_1GetLoggingConfigurationCommand: (input: GetLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
69
  export declare const serializeAws_json1_1GetManagedRuleSetCommand: (input: GetManagedRuleSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
+ export declare const serializeAws_json1_1GetMobileSdkReleaseCommand: (input: GetMobileSdkReleaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
71
  export declare const serializeAws_json1_1GetPermissionPolicyCommand: (input: GetPermissionPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
72
  export declare const serializeAws_json1_1GetRateBasedStatementManagedKeysCommand: (input: GetRateBasedStatementManagedKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
73
  export declare const serializeAws_json1_1GetRegexPatternSetCommand: (input: GetRegexPatternSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -75,6 +80,7 @@ export declare const serializeAws_json1_1ListAvailableManagedRuleGroupVersionsCo
75
80
  export declare const serializeAws_json1_1ListIPSetsCommand: (input: ListIPSetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
81
  export declare const serializeAws_json1_1ListLoggingConfigurationsCommand: (input: ListLoggingConfigurationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
82
  export declare const serializeAws_json1_1ListManagedRuleSetsCommand: (input: ListManagedRuleSetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
+ export declare const serializeAws_json1_1ListMobileSdkReleasesCommand: (input: ListMobileSdkReleasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
84
  export declare const serializeAws_json1_1ListRegexPatternSetsCommand: (input: ListRegexPatternSetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
85
  export declare const serializeAws_json1_1ListResourcesForWebACLCommand: (input: ListResourcesForWebACLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
86
  export declare const serializeAws_json1_1ListRuleGroupsCommand: (input: ListRuleGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -105,9 +111,11 @@ export declare const deserializeAws_json1_1DeleteRuleGroupCommand: (output: __Ht
105
111
  export declare const deserializeAws_json1_1DeleteWebACLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWebACLCommandOutput>;
106
112
  export declare const deserializeAws_json1_1DescribeManagedRuleGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeManagedRuleGroupCommandOutput>;
107
113
  export declare const deserializeAws_json1_1DisassociateWebACLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateWebACLCommandOutput>;
114
+ export declare const deserializeAws_json1_1GenerateMobileSdkReleaseUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateMobileSdkReleaseUrlCommandOutput>;
108
115
  export declare const deserializeAws_json1_1GetIPSetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetIPSetCommandOutput>;
109
116
  export declare const deserializeAws_json1_1GetLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLoggingConfigurationCommandOutput>;
110
117
  export declare const deserializeAws_json1_1GetManagedRuleSetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetManagedRuleSetCommandOutput>;
118
+ export declare const deserializeAws_json1_1GetMobileSdkReleaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMobileSdkReleaseCommandOutput>;
111
119
  export declare const deserializeAws_json1_1GetPermissionPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPermissionPolicyCommandOutput>;
112
120
  export declare const deserializeAws_json1_1GetRateBasedStatementManagedKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRateBasedStatementManagedKeysCommandOutput>;
113
121
  export declare const deserializeAws_json1_1GetRegexPatternSetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRegexPatternSetCommandOutput>;
@@ -120,6 +128,7 @@ export declare const deserializeAws_json1_1ListAvailableManagedRuleGroupVersions
120
128
  export declare const deserializeAws_json1_1ListIPSetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIPSetsCommandOutput>;
121
129
  export declare const deserializeAws_json1_1ListLoggingConfigurationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLoggingConfigurationsCommandOutput>;
122
130
  export declare const deserializeAws_json1_1ListManagedRuleSetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListManagedRuleSetsCommandOutput>;
131
+ export declare const deserializeAws_json1_1ListMobileSdkReleasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMobileSdkReleasesCommandOutput>;
123
132
  export declare const deserializeAws_json1_1ListRegexPatternSetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRegexPatternSetsCommandOutput>;
124
133
  export declare const deserializeAws_json1_1ListResourcesForWebACLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourcesForWebACLCommandOutput>;
125
134
  export declare const deserializeAws_json1_1ListRuleGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRuleGroupsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wafv2",
3
3
  "description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
4
- "version": "3.48.0",
4
+ "version": "3.52.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,41 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.48.0",
22
- "@aws-sdk/config-resolver": "3.47.2",
23
- "@aws-sdk/credential-provider-node": "3.48.0",
24
- "@aws-sdk/fetch-http-handler": "3.47.2",
25
- "@aws-sdk/hash-node": "3.47.2",
26
- "@aws-sdk/invalid-dependency": "3.47.2",
27
- "@aws-sdk/middleware-content-length": "3.47.2",
28
- "@aws-sdk/middleware-host-header": "3.47.2",
29
- "@aws-sdk/middleware-logger": "3.47.2",
30
- "@aws-sdk/middleware-retry": "3.47.2",
31
- "@aws-sdk/middleware-serde": "3.47.2",
32
- "@aws-sdk/middleware-signing": "3.47.2",
33
- "@aws-sdk/middleware-stack": "3.47.2",
34
- "@aws-sdk/middleware-user-agent": "3.47.2",
35
- "@aws-sdk/node-config-provider": "3.47.2",
36
- "@aws-sdk/node-http-handler": "3.47.2",
37
- "@aws-sdk/protocol-http": "3.47.2",
38
- "@aws-sdk/smithy-client": "3.47.2",
39
- "@aws-sdk/types": "3.47.1",
40
- "@aws-sdk/url-parser": "3.47.2",
41
- "@aws-sdk/util-base64-browser": "3.47.1",
42
- "@aws-sdk/util-base64-node": "3.47.2",
43
- "@aws-sdk/util-body-length-browser": "3.47.1",
44
- "@aws-sdk/util-body-length-node": "3.47.1",
45
- "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
- "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
- "@aws-sdk/util-user-agent-browser": "3.47.2",
48
- "@aws-sdk/util-user-agent-node": "3.47.2",
49
- "@aws-sdk/util-utf8-browser": "3.47.1",
50
- "@aws-sdk/util-utf8-node": "3.47.2",
21
+ "@aws-sdk/client-sts": "3.52.0",
22
+ "@aws-sdk/config-resolver": "3.52.0",
23
+ "@aws-sdk/credential-provider-node": "3.52.0",
24
+ "@aws-sdk/fetch-http-handler": "3.52.0",
25
+ "@aws-sdk/hash-node": "3.52.0",
26
+ "@aws-sdk/invalid-dependency": "3.52.0",
27
+ "@aws-sdk/middleware-content-length": "3.52.0",
28
+ "@aws-sdk/middleware-host-header": "3.52.0",
29
+ "@aws-sdk/middleware-logger": "3.52.0",
30
+ "@aws-sdk/middleware-retry": "3.52.0",
31
+ "@aws-sdk/middleware-serde": "3.52.0",
32
+ "@aws-sdk/middleware-signing": "3.52.0",
33
+ "@aws-sdk/middleware-stack": "3.52.0",
34
+ "@aws-sdk/middleware-user-agent": "3.52.0",
35
+ "@aws-sdk/node-config-provider": "3.52.0",
36
+ "@aws-sdk/node-http-handler": "3.52.0",
37
+ "@aws-sdk/protocol-http": "3.52.0",
38
+ "@aws-sdk/smithy-client": "3.52.0",
39
+ "@aws-sdk/types": "3.52.0",
40
+ "@aws-sdk/url-parser": "3.52.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.52.0",
44
+ "@aws-sdk/util-body-length-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.52.0",
48
+ "@aws-sdk/util-user-agent-node": "3.52.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
- "@types/node": "^12.7.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
+ "@tsconfig/recommended": "1.0.1",
56
+ "@types/node": "^12.7.5",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.7.0",
59
+ "rimraf": "3.0.2",
60
+ "typedoc": "0.19.2",
61
+ "typescript": "~4.3.5"
56
62
  },
57
63
  "engines": {
58
64
  "node": ">=12.0.0"