@aws-sdk/client-wafv2 3.927.0 → 3.929.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.
- package/dist-cjs/index.js +2289 -2259
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/WAFV2Client.js +2 -0
- package/dist-es/commands/AssociateWebACLCommand.js +3 -9
- package/dist-es/commands/CheckCapacityCommand.js +3 -9
- package/dist-es/commands/CreateAPIKeyCommand.js +3 -9
- package/dist-es/commands/CreateIPSetCommand.js +3 -9
- package/dist-es/commands/CreateRegexPatternSetCommand.js +3 -9
- package/dist-es/commands/CreateRuleGroupCommand.js +3 -9
- package/dist-es/commands/CreateWebACLCommand.js +3 -9
- package/dist-es/commands/DeleteAPIKeyCommand.js +3 -9
- package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +3 -9
- package/dist-es/commands/DeleteIPSetCommand.js +3 -9
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeletePermissionPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +3 -9
- package/dist-es/commands/DeleteRuleGroupCommand.js +3 -9
- package/dist-es/commands/DeleteWebACLCommand.js +3 -9
- package/dist-es/commands/DescribeAllManagedProductsCommand.js +3 -9
- package/dist-es/commands/DescribeManagedProductsByVendorCommand.js +3 -9
- package/dist-es/commands/DescribeManagedRuleGroupCommand.js +3 -9
- package/dist-es/commands/DisassociateWebACLCommand.js +3 -9
- package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +3 -9
- package/dist-es/commands/GetDecryptedAPIKeyCommand.js +3 -9
- package/dist-es/commands/GetIPSetCommand.js +3 -9
- package/dist-es/commands/GetLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/GetManagedRuleSetCommand.js +3 -9
- package/dist-es/commands/GetMobileSdkReleaseCommand.js +3 -9
- package/dist-es/commands/GetPermissionPolicyCommand.js +3 -9
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +3 -9
- package/dist-es/commands/GetRegexPatternSetCommand.js +3 -9
- package/dist-es/commands/GetRuleGroupCommand.js +3 -9
- package/dist-es/commands/GetSampledRequestsCommand.js +3 -9
- package/dist-es/commands/GetWebACLCommand.js +3 -9
- package/dist-es/commands/GetWebACLForResourceCommand.js +3 -9
- package/dist-es/commands/ListAPIKeysCommand.js +3 -9
- package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +3 -9
- package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +3 -9
- package/dist-es/commands/ListIPSetsCommand.js +3 -9
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListManagedRuleSetsCommand.js +3 -9
- package/dist-es/commands/ListMobileSdkReleasesCommand.js +3 -9
- package/dist-es/commands/ListRegexPatternSetsCommand.js +3 -9
- package/dist-es/commands/ListResourcesForWebACLCommand.js +3 -9
- package/dist-es/commands/ListRuleGroupsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListWebACLsCommand.js +3 -9
- package/dist-es/commands/PutLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +3 -9
- package/dist-es/commands/PutPermissionPolicyCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateIPSetCommand.js +3 -9
- package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +3 -9
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +3 -9
- package/dist-es/commands/UpdateRuleGroupCommand.js +3 -9
- package/dist-es/commands/UpdateWebACLCommand.js +3 -9
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2143 -0
- package/dist-types/WAFV2Client.d.ts +10 -1
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +2 -2
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +13 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +381 -0
- package/dist-types/ts3.4/WAFV2Client.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +387 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -1828
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -488
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -653
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutManagedRuleSetVersions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutManagedRuleSetVersionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_20190729", "PutManagedRuleSetVersions", {})
|
|
17
13
|
.n("WAFV2Client", "PutManagedRuleSetVersionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutManagedRuleSetVersionsCommand)
|
|
20
|
-
.de(de_PutManagedRuleSetVersionsCommand)
|
|
14
|
+
.sc(PutManagedRuleSetVersions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutPermissionPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutPermissionPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_20190729", "PutPermissionPolicy", {})
|
|
17
13
|
.n("WAFV2Client", "PutPermissionPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutPermissionPolicyCommand)
|
|
20
|
-
.de(de_PutPermissionPolicyCommand)
|
|
14
|
+
.sc(PutPermissionPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_20190729", "TagResource", {})
|
|
17
13
|
.n("WAFV2Client", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_20190729", "UntagResource", {})
|
|
17
13
|
.n("WAFV2Client", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateIPSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIPSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_20190729", "UpdateIPSet", {})
|
|
17
13
|
.n("WAFV2Client", "UpdateIPSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIPSetCommand)
|
|
20
|
-
.de(de_UpdateIPSetCommand)
|
|
14
|
+
.sc(UpdateIPSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateManagedRuleSetVersionExpiryDate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_20190729", "UpdateManagedRuleSetVersionExpiryDate", {})
|
|
17
13
|
.n("WAFV2Client", "UpdateManagedRuleSetVersionExpiryDateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateManagedRuleSetVersionExpiryDateCommand)
|
|
20
|
-
.de(de_UpdateManagedRuleSetVersionExpiryDateCommand)
|
|
14
|
+
.sc(UpdateManagedRuleSetVersionExpiryDate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRegexPatternSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRegexPatternSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_20190729", "UpdateRegexPatternSet", {})
|
|
17
13
|
.n("WAFV2Client", "UpdateRegexPatternSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRegexPatternSetCommand)
|
|
20
|
-
.de(de_UpdateRegexPatternSetCommand)
|
|
14
|
+
.sc(UpdateRegexPatternSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRuleGroup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRuleGroupCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_20190729", "UpdateRuleGroup", {})
|
|
17
13
|
.n("WAFV2Client", "UpdateRuleGroupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRuleGroupCommand)
|
|
20
|
-
.de(de_UpdateRuleGroupCommand)
|
|
14
|
+
.sc(UpdateRuleGroup)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateWebACL } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateWebACLCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSWAF_20190729", "UpdateWebACL", {})
|
|
17
13
|
.n("WAFV2Client", "UpdateWebACLCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateWebACLCommand)
|
|
20
|
-
.de(de_UpdateWebACLCommand)
|
|
14
|
+
.sc(UpdateWebACL)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.wafv2",
|
|
29
|
+
serviceTarget: "AWSWAF_20190729",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "WAFV2",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|