@aws-sdk/client-wafv2 3.507.0 → 3.508.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/README.md +8 -0
- package/dist-cjs/commands/DeleteAPIKeyCommand.js +1 -0
- package/dist-cjs/index.js +39 -0
- package/dist-es/WAFV2.js +2 -0
- package/dist-es/commands/DeleteAPIKeyCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +19 -0
- package/dist-types/WAFV2.d.ts +7 -0
- package/dist-types/WAFV2Client.d.ts +3 -2
- package/dist-types/commands/DeleteAPIKeyCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +32 -3
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/WAFV2.d.ts +17 -0
- package/dist-types/ts3.4/WAFV2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/DeleteAPIKeyCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -316,6 +316,14 @@ CreateWebACL
|
|
|
316
316
|
|
|
317
317
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/wafv2/command/CreateWebACLCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wafv2/Interface/CreateWebACLCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wafv2/Interface/CreateWebACLCommandOutput/)
|
|
318
318
|
|
|
319
|
+
</details>
|
|
320
|
+
<details>
|
|
321
|
+
<summary>
|
|
322
|
+
DeleteAPIKey
|
|
323
|
+
</summary>
|
|
324
|
+
|
|
325
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/wafv2/command/DeleteAPIKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wafv2/Interface/DeleteAPIKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wafv2/Interface/DeleteAPIKeyCommandOutput/)
|
|
326
|
+
|
|
319
327
|
</details>
|
|
320
328
|
<details>
|
|
321
329
|
<summary>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __export(src_exports, {
|
|
|
33
33
|
CreateRegexPatternSetCommand: () => CreateRegexPatternSetCommand,
|
|
34
34
|
CreateRuleGroupCommand: () => CreateRuleGroupCommand,
|
|
35
35
|
CreateWebACLCommand: () => CreateWebACLCommand,
|
|
36
|
+
DeleteAPIKeyCommand: () => DeleteAPIKeyCommand,
|
|
36
37
|
DeleteFirewallManagerRuleGroupsCommand: () => DeleteFirewallManagerRuleGroupsCommand,
|
|
37
38
|
DeleteIPSetCommand: () => DeleteIPSetCommand,
|
|
38
39
|
DeleteLoggingConfigurationCommand: () => DeleteLoggingConfigurationCommand,
|
|
@@ -1096,6 +1097,12 @@ var se_CreateWebACLCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1096
1097
|
body = JSON.stringify(se_CreateWebACLRequest(input, context));
|
|
1097
1098
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1098
1099
|
}, "se_CreateWebACLCommand");
|
|
1100
|
+
var se_DeleteAPIKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1101
|
+
const headers = sharedHeaders("DeleteAPIKey");
|
|
1102
|
+
let body;
|
|
1103
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1104
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1105
|
+
}, "se_DeleteAPIKeyCommand");
|
|
1099
1106
|
var se_DeleteFirewallManagerRuleGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1100
1107
|
const headers = sharedHeaders("DeleteFirewallManagerRuleGroups");
|
|
1101
1108
|
let body;
|
|
@@ -1463,6 +1470,19 @@ var de_CreateWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1463
1470
|
};
|
|
1464
1471
|
return response;
|
|
1465
1472
|
}, "de_CreateWebACLCommand");
|
|
1473
|
+
var de_DeleteAPIKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1474
|
+
if (output.statusCode >= 300) {
|
|
1475
|
+
return de_CommandError(output, context);
|
|
1476
|
+
}
|
|
1477
|
+
const data = await parseBody(output.body, context);
|
|
1478
|
+
let contents = {};
|
|
1479
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1480
|
+
const response = {
|
|
1481
|
+
$metadata: deserializeMetadata(output),
|
|
1482
|
+
...contents
|
|
1483
|
+
};
|
|
1484
|
+
return response;
|
|
1485
|
+
}, "de_DeleteAPIKeyCommand");
|
|
1466
1486
|
var de_DeleteFirewallManagerRuleGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1467
1487
|
if (output.statusCode >= 300) {
|
|
1468
1488
|
return de_CommandError(output, context);
|
|
@@ -2983,6 +3003,23 @@ var _CreateWebACLCommand = class _CreateWebACLCommand extends import_smithy_clie
|
|
|
2983
3003
|
__name(_CreateWebACLCommand, "CreateWebACLCommand");
|
|
2984
3004
|
var CreateWebACLCommand = _CreateWebACLCommand;
|
|
2985
3005
|
|
|
3006
|
+
// src/commands/DeleteAPIKeyCommand.ts
|
|
3007
|
+
|
|
3008
|
+
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
var _DeleteAPIKeyCommand = class _DeleteAPIKeyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3012
|
+
...commonParams
|
|
3013
|
+
}).m(function(Command, cs, config, o) {
|
|
3014
|
+
return [
|
|
3015
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3016
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3017
|
+
];
|
|
3018
|
+
}).s("AWSWAF_20190729", "DeleteAPIKey", {}).n("WAFV2Client", "DeleteAPIKeyCommand").f(void 0, void 0).ser(se_DeleteAPIKeyCommand).de(de_DeleteAPIKeyCommand).build() {
|
|
3019
|
+
};
|
|
3020
|
+
__name(_DeleteAPIKeyCommand, "DeleteAPIKeyCommand");
|
|
3021
|
+
var DeleteAPIKeyCommand = _DeleteAPIKeyCommand;
|
|
3022
|
+
|
|
2986
3023
|
// src/commands/DeleteFirewallManagerRuleGroupsCommand.ts
|
|
2987
3024
|
|
|
2988
3025
|
|
|
@@ -3774,6 +3811,7 @@ var commands = {
|
|
|
3774
3811
|
CreateRegexPatternSetCommand,
|
|
3775
3812
|
CreateRuleGroupCommand,
|
|
3776
3813
|
CreateWebACLCommand,
|
|
3814
|
+
DeleteAPIKeyCommand,
|
|
3777
3815
|
DeleteFirewallManagerRuleGroupsCommand,
|
|
3778
3816
|
DeleteIPSetCommand,
|
|
3779
3817
|
DeleteLoggingConfigurationCommand,
|
|
@@ -3844,6 +3882,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
3844
3882
|
CreateRegexPatternSetCommand,
|
|
3845
3883
|
CreateRuleGroupCommand,
|
|
3846
3884
|
CreateWebACLCommand,
|
|
3885
|
+
DeleteAPIKeyCommand,
|
|
3847
3886
|
DeleteFirewallManagerRuleGroupsCommand,
|
|
3848
3887
|
DeleteIPSetCommand,
|
|
3849
3888
|
DeleteLoggingConfigurationCommand,
|
package/dist-es/WAFV2.js
CHANGED
|
@@ -6,6 +6,7 @@ import { CreateIPSetCommand } from "./commands/CreateIPSetCommand";
|
|
|
6
6
|
import { CreateRegexPatternSetCommand, } from "./commands/CreateRegexPatternSetCommand";
|
|
7
7
|
import { CreateRuleGroupCommand, } from "./commands/CreateRuleGroupCommand";
|
|
8
8
|
import { CreateWebACLCommand, } from "./commands/CreateWebACLCommand";
|
|
9
|
+
import { DeleteAPIKeyCommand, } from "./commands/DeleteAPIKeyCommand";
|
|
9
10
|
import { DeleteFirewallManagerRuleGroupsCommand, } from "./commands/DeleteFirewallManagerRuleGroupsCommand";
|
|
10
11
|
import { DeleteIPSetCommand } from "./commands/DeleteIPSetCommand";
|
|
11
12
|
import { DeleteLoggingConfigurationCommand, } from "./commands/DeleteLoggingConfigurationCommand";
|
|
@@ -61,6 +62,7 @@ const commands = {
|
|
|
61
62
|
CreateRegexPatternSetCommand,
|
|
62
63
|
CreateRuleGroupCommand,
|
|
63
64
|
CreateWebACLCommand,
|
|
65
|
+
DeleteAPIKeyCommand,
|
|
64
66
|
DeleteFirewallManagerRuleGroupsCommand,
|
|
65
67
|
DeleteIPSetCommand,
|
|
66
68
|
DeleteLoggingConfigurationCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteAPIKeyCommand, se_DeleteAPIKeyCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteAPIKeyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSWAF_20190729", "DeleteAPIKey", {})
|
|
19
|
+
.n("WAFV2Client", "DeleteAPIKeyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAPIKeyCommand)
|
|
22
|
+
.de(de_DeleteAPIKeyCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./CreateIPSetCommand";
|
|
|
5
5
|
export * from "./CreateRegexPatternSetCommand";
|
|
6
6
|
export * from "./CreateRuleGroupCommand";
|
|
7
7
|
export * from "./CreateWebACLCommand";
|
|
8
|
+
export * from "./DeleteAPIKeyCommand";
|
|
8
9
|
export * from "./DeleteFirewallManagerRuleGroupsCommand";
|
|
9
10
|
export * from "./DeleteIPSetCommand";
|
|
10
11
|
export * from "./DeleteLoggingConfigurationCommand";
|
|
@@ -44,6 +44,12 @@ export const se_CreateWebACLCommand = async (input, context) => {
|
|
|
44
44
|
body = JSON.stringify(se_CreateWebACLRequest(input, context));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
|
+
export const se_DeleteAPIKeyCommand = async (input, context) => {
|
|
48
|
+
const headers = sharedHeaders("DeleteAPIKey");
|
|
49
|
+
let body;
|
|
50
|
+
body = JSON.stringify(_json(input));
|
|
51
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
|
+
};
|
|
47
53
|
export const se_DeleteFirewallManagerRuleGroupsCommand = async (input, context) => {
|
|
48
54
|
const headers = sharedHeaders("DeleteFirewallManagerRuleGroups");
|
|
49
55
|
let body;
|
|
@@ -411,6 +417,19 @@ export const de_CreateWebACLCommand = async (output, context) => {
|
|
|
411
417
|
};
|
|
412
418
|
return response;
|
|
413
419
|
};
|
|
420
|
+
export const de_DeleteAPIKeyCommand = async (output, context) => {
|
|
421
|
+
if (output.statusCode >= 300) {
|
|
422
|
+
return de_CommandError(output, context);
|
|
423
|
+
}
|
|
424
|
+
const data = await parseBody(output.body, context);
|
|
425
|
+
let contents = {};
|
|
426
|
+
contents = _json(data);
|
|
427
|
+
const response = {
|
|
428
|
+
$metadata: deserializeMetadata(output),
|
|
429
|
+
...contents,
|
|
430
|
+
};
|
|
431
|
+
return response;
|
|
432
|
+
};
|
|
414
433
|
export const de_DeleteFirewallManagerRuleGroupsCommand = async (output, context) => {
|
|
415
434
|
if (output.statusCode >= 300) {
|
|
416
435
|
return de_CommandError(output, context);
|
package/dist-types/WAFV2.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/Cr
|
|
|
6
6
|
import { CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput } from "./commands/CreateRegexPatternSetCommand";
|
|
7
7
|
import { CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput } from "./commands/CreateRuleGroupCommand";
|
|
8
8
|
import { CreateWebACLCommandInput, CreateWebACLCommandOutput } from "./commands/CreateWebACLCommand";
|
|
9
|
+
import { DeleteAPIKeyCommandInput, DeleteAPIKeyCommandOutput } from "./commands/DeleteAPIKeyCommand";
|
|
9
10
|
import { DeleteFirewallManagerRuleGroupsCommandInput, DeleteFirewallManagerRuleGroupsCommandOutput } from "./commands/DeleteFirewallManagerRuleGroupsCommand";
|
|
10
11
|
import { DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand";
|
|
11
12
|
import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "./commands/DeleteLoggingConfigurationCommand";
|
|
@@ -96,6 +97,12 @@ export interface WAFV2 {
|
|
|
96
97
|
createWebACL(args: CreateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebACLCommandOutput>;
|
|
97
98
|
createWebACL(args: CreateWebACLCommandInput, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
98
99
|
createWebACL(args: CreateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
100
|
+
/**
|
|
101
|
+
* @see {@link DeleteAPIKeyCommand}
|
|
102
|
+
*/
|
|
103
|
+
deleteAPIKey(args: DeleteAPIKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAPIKeyCommandOutput>;
|
|
104
|
+
deleteAPIKey(args: DeleteAPIKeyCommandInput, cb: (err: any, data?: DeleteAPIKeyCommandOutput) => void): void;
|
|
105
|
+
deleteAPIKey(args: DeleteAPIKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAPIKeyCommandOutput) => void): void;
|
|
99
106
|
/**
|
|
100
107
|
* @see {@link DeleteFirewallManagerRuleGroupsCommand}
|
|
101
108
|
*/
|
|
@@ -15,6 +15,7 @@ import { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/Cr
|
|
|
15
15
|
import { CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput } from "./commands/CreateRegexPatternSetCommand";
|
|
16
16
|
import { CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput } from "./commands/CreateRuleGroupCommand";
|
|
17
17
|
import { CreateWebACLCommandInput, CreateWebACLCommandOutput } from "./commands/CreateWebACLCommand";
|
|
18
|
+
import { DeleteAPIKeyCommandInput, DeleteAPIKeyCommandOutput } from "./commands/DeleteAPIKeyCommand";
|
|
18
19
|
import { DeleteFirewallManagerRuleGroupsCommandInput, DeleteFirewallManagerRuleGroupsCommandOutput } from "./commands/DeleteFirewallManagerRuleGroupsCommand";
|
|
19
20
|
import { DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand";
|
|
20
21
|
import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "./commands/DeleteLoggingConfigurationCommand";
|
|
@@ -67,11 +68,11 @@ export { __Client };
|
|
|
67
68
|
/**
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
|
-
export type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateAPIKeyCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeAllManagedProductsCommandInput | DescribeManagedProductsByVendorCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetDecryptedAPIKeyCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAPIKeysCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
|
|
71
|
+
export type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateAPIKeyCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteAPIKeyCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeAllManagedProductsCommandInput | DescribeManagedProductsByVendorCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetDecryptedAPIKeyCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAPIKeysCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
|
|
71
72
|
/**
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
|
-
export type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateAPIKeyCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeAllManagedProductsCommandOutput | DescribeManagedProductsByVendorCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetDecryptedAPIKeyCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAPIKeysCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
|
|
75
|
+
export type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateAPIKeyCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteAPIKeyCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeAllManagedProductsCommandOutput | DescribeManagedProductsByVendorCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetDecryptedAPIKeyCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAPIKeysCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
|
|
75
76
|
/**
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteAPIKeyRequest, DeleteAPIKeyResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeleteAPIKeyCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeleteAPIKeyCommandInput extends DeleteAPIKeyRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeleteAPIKeyCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteAPIKeyCommandOutput extends DeleteAPIKeyResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeleteAPIKeyCommand_base: {
|
|
24
|
+
new (input: DeleteAPIKeyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAPIKeyCommandInput, DeleteAPIKeyCommandOutput, WAFV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Deletes the specified API key. </p>
|
|
30
|
+
* <p>After you delete a key, it can take up to 24 hours for WAF to disallow use of the key in all regions. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WAFV2Client, DeleteAPIKeyCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
35
|
+
* // const { WAFV2Client, DeleteAPIKeyCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
36
|
+
* const client = new WAFV2Client(config);
|
|
37
|
+
* const input = { // DeleteAPIKeyRequest
|
|
38
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
39
|
+
* APIKey: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteAPIKeyCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteAPIKeyCommandInput - {@link DeleteAPIKeyCommandInput}
|
|
48
|
+
* @returns {@link DeleteAPIKeyCommandOutput}
|
|
49
|
+
* @see {@link DeleteAPIKeyCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteAPIKeyCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
54
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
55
|
+
* problem. Retry your request. </p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
58
|
+
* <p>The operation isn't valid. </p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
61
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
62
|
+
* example: </p>
|
|
63
|
+
* <ul>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
69
|
+
* can’t be nested. </p>
|
|
70
|
+
* </li>
|
|
71
|
+
* <li>
|
|
72
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
73
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
77
|
+
* with which a web ACL can't be associated.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* </ul>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
82
|
+
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
83
|
+
* If you've just created a resource that you're using in this operation, you might
|
|
84
|
+
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
85
|
+
* for changes to propagate. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link WAFOptimisticLockException} (client fault)
|
|
88
|
+
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
89
|
+
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
90
|
+
* need to make to the new copy, and retry your operation. </p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link WAFV2ServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
export declare class DeleteAPIKeyCommand extends DeleteAPIKeyCommand_base {
|
|
97
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./CreateIPSetCommand";
|
|
|
5
5
|
export * from "./CreateRegexPatternSetCommand";
|
|
6
6
|
export * from "./CreateRuleGroupCommand";
|
|
7
7
|
export * from "./CreateWebACLCommand";
|
|
8
|
+
export * from "./DeleteAPIKeyCommand";
|
|
8
9
|
export * from "./DeleteFirewallManagerRuleGroupsCommand";
|
|
9
10
|
export * from "./DeleteIPSetCommand";
|
|
10
11
|
export * from "./DeleteLoggingConfigurationCommand";
|
|
@@ -3290,7 +3290,7 @@ export interface CreateAPIKeyRequest {
|
|
|
3290
3290
|
* <p>The client application domains that you want to use this API key for. </p>
|
|
3291
3291
|
* <p>Example JSON: <code>"TokenDomains": ["abc.com", "store.abc.com"]</code>
|
|
3292
3292
|
* </p>
|
|
3293
|
-
* <p>Public suffixes aren't allowed. For example, you can't use <code>
|
|
3293
|
+
* <p>Public suffixes aren't allowed. For example, you can't use <code>gov.au</code> or <code>co.uk</code> as token domains.</p>
|
|
3294
3294
|
*/
|
|
3295
3295
|
TokenDomains: string[] | undefined;
|
|
3296
3296
|
}
|
|
@@ -3770,6 +3770,35 @@ export declare class WAFConfigurationWarningException extends __BaseException {
|
|
|
3770
3770
|
*/
|
|
3771
3771
|
constructor(opts: __ExceptionOptionType<WAFConfigurationWarningException, __BaseException>);
|
|
3772
3772
|
}
|
|
3773
|
+
/**
|
|
3774
|
+
* @public
|
|
3775
|
+
*/
|
|
3776
|
+
export interface DeleteAPIKeyRequest {
|
|
3777
|
+
/**
|
|
3778
|
+
* @public
|
|
3779
|
+
* <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. 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>
|
|
3780
|
+
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3781
|
+
* <ul>
|
|
3782
|
+
* <li>
|
|
3783
|
+
* <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>
|
|
3784
|
+
* </li>
|
|
3785
|
+
* <li>
|
|
3786
|
+
* <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>
|
|
3787
|
+
* </li>
|
|
3788
|
+
* </ul>
|
|
3789
|
+
*/
|
|
3790
|
+
Scope: Scope | undefined;
|
|
3791
|
+
/**
|
|
3792
|
+
* @public
|
|
3793
|
+
* <p>The encrypted API key that you want to delete. </p>
|
|
3794
|
+
*/
|
|
3795
|
+
APIKey: string | undefined;
|
|
3796
|
+
}
|
|
3797
|
+
/**
|
|
3798
|
+
* @public
|
|
3799
|
+
*/
|
|
3800
|
+
export interface DeleteAPIKeyResponse {
|
|
3801
|
+
}
|
|
3773
3802
|
/**
|
|
3774
3803
|
* @public
|
|
3775
3804
|
*/
|
|
@@ -7510,7 +7539,7 @@ export interface CreateWebACLRequest {
|
|
|
7510
7539
|
* <p>Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.</p>
|
|
7511
7540
|
* <p>Example JSON: <code>"TokenDomains": \{ "mywebsite.com", "myotherwebsite.com" \}</code>
|
|
7512
7541
|
* </p>
|
|
7513
|
-
* <p>Public suffixes aren't allowed. For example, you can't use <code>
|
|
7542
|
+
* <p>Public suffixes aren't allowed. For example, you can't use <code>gov.au</code> or <code>co.uk</code> as token domains.</p>
|
|
7514
7543
|
*/
|
|
7515
7544
|
TokenDomains?: string[];
|
|
7516
7545
|
/**
|
|
@@ -7761,7 +7790,7 @@ export interface UpdateWebACLRequest {
|
|
|
7761
7790
|
* <p>Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.</p>
|
|
7762
7791
|
* <p>Example JSON: <code>"TokenDomains": \{ "mywebsite.com", "myotherwebsite.com" \}</code>
|
|
7763
7792
|
* </p>
|
|
7764
|
-
* <p>Public suffixes aren't allowed. For example, you can't use <code>
|
|
7793
|
+
* <p>Public suffixes aren't allowed. For example, you can't use <code>gov.au</code> or <code>co.uk</code> as token domains.</p>
|
|
7765
7794
|
*/
|
|
7766
7795
|
TokenDomains?: string[];
|
|
7767
7796
|
/**
|
|
@@ -7,6 +7,7 @@ import { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "../commands/C
|
|
|
7
7
|
import { CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput } from "../commands/CreateRegexPatternSetCommand";
|
|
8
8
|
import { CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput } from "../commands/CreateRuleGroupCommand";
|
|
9
9
|
import { CreateWebACLCommandInput, CreateWebACLCommandOutput } from "../commands/CreateWebACLCommand";
|
|
10
|
+
import { DeleteAPIKeyCommandInput, DeleteAPIKeyCommandOutput } from "../commands/DeleteAPIKeyCommand";
|
|
10
11
|
import { DeleteFirewallManagerRuleGroupsCommandInput, DeleteFirewallManagerRuleGroupsCommandOutput } from "../commands/DeleteFirewallManagerRuleGroupsCommand";
|
|
11
12
|
import { DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "../commands/DeleteIPSetCommand";
|
|
12
13
|
import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "../commands/DeleteLoggingConfigurationCommand";
|
|
@@ -81,6 +82,10 @@ export declare const se_CreateRuleGroupCommand: (input: CreateRuleGroupCommandIn
|
|
|
81
82
|
* serializeAws_json1_1CreateWebACLCommand
|
|
82
83
|
*/
|
|
83
84
|
export declare const se_CreateWebACLCommand: (input: CreateWebACLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
|
+
/**
|
|
86
|
+
* serializeAws_json1_1DeleteAPIKeyCommand
|
|
87
|
+
*/
|
|
88
|
+
export declare const se_DeleteAPIKeyCommand: (input: DeleteAPIKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
89
|
/**
|
|
85
90
|
* serializeAws_json1_1DeleteFirewallManagerRuleGroupsCommand
|
|
86
91
|
*/
|
|
@@ -293,6 +298,10 @@ export declare const de_CreateRuleGroupCommand: (output: __HttpResponse, context
|
|
|
293
298
|
* deserializeAws_json1_1CreateWebACLCommand
|
|
294
299
|
*/
|
|
295
300
|
export declare const de_CreateWebACLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWebACLCommandOutput>;
|
|
301
|
+
/**
|
|
302
|
+
* deserializeAws_json1_1DeleteAPIKeyCommand
|
|
303
|
+
*/
|
|
304
|
+
export declare const de_DeleteAPIKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAPIKeyCommandOutput>;
|
|
296
305
|
/**
|
|
297
306
|
* deserializeAws_json1_1DeleteFirewallManagerRuleGroupsCommand
|
|
298
307
|
*/
|
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
CreateWebACLCommandInput,
|
|
28
28
|
CreateWebACLCommandOutput,
|
|
29
29
|
} from "./commands/CreateWebACLCommand";
|
|
30
|
+
import {
|
|
31
|
+
DeleteAPIKeyCommandInput,
|
|
32
|
+
DeleteAPIKeyCommandOutput,
|
|
33
|
+
} from "./commands/DeleteAPIKeyCommand";
|
|
30
34
|
import {
|
|
31
35
|
DeleteFirewallManagerRuleGroupsCommandInput,
|
|
32
36
|
DeleteFirewallManagerRuleGroupsCommandOutput,
|
|
@@ -304,6 +308,19 @@ export interface WAFV2 {
|
|
|
304
308
|
options: __HttpHandlerOptions,
|
|
305
309
|
cb: (err: any, data?: CreateWebACLCommandOutput) => void
|
|
306
310
|
): void;
|
|
311
|
+
deleteAPIKey(
|
|
312
|
+
args: DeleteAPIKeyCommandInput,
|
|
313
|
+
options?: __HttpHandlerOptions
|
|
314
|
+
): Promise<DeleteAPIKeyCommandOutput>;
|
|
315
|
+
deleteAPIKey(
|
|
316
|
+
args: DeleteAPIKeyCommandInput,
|
|
317
|
+
cb: (err: any, data?: DeleteAPIKeyCommandOutput) => void
|
|
318
|
+
): void;
|
|
319
|
+
deleteAPIKey(
|
|
320
|
+
args: DeleteAPIKeyCommandInput,
|
|
321
|
+
options: __HttpHandlerOptions,
|
|
322
|
+
cb: (err: any, data?: DeleteAPIKeyCommandOutput) => void
|
|
323
|
+
): void;
|
|
307
324
|
deleteFirewallManagerRuleGroups(
|
|
308
325
|
args: DeleteFirewallManagerRuleGroupsCommandInput,
|
|
309
326
|
options?: __HttpHandlerOptions
|
|
@@ -73,6 +73,10 @@ import {
|
|
|
73
73
|
CreateWebACLCommandInput,
|
|
74
74
|
CreateWebACLCommandOutput,
|
|
75
75
|
} from "./commands/CreateWebACLCommand";
|
|
76
|
+
import {
|
|
77
|
+
DeleteAPIKeyCommandInput,
|
|
78
|
+
DeleteAPIKeyCommandOutput,
|
|
79
|
+
} from "./commands/DeleteAPIKeyCommand";
|
|
76
80
|
import {
|
|
77
81
|
DeleteFirewallManagerRuleGroupsCommandInput,
|
|
78
82
|
DeleteFirewallManagerRuleGroupsCommandOutput,
|
|
@@ -272,6 +276,7 @@ export type ServiceInputTypes =
|
|
|
272
276
|
| CreateRegexPatternSetCommandInput
|
|
273
277
|
| CreateRuleGroupCommandInput
|
|
274
278
|
| CreateWebACLCommandInput
|
|
279
|
+
| DeleteAPIKeyCommandInput
|
|
275
280
|
| DeleteFirewallManagerRuleGroupsCommandInput
|
|
276
281
|
| DeleteIPSetCommandInput
|
|
277
282
|
| DeleteLoggingConfigurationCommandInput
|
|
@@ -326,6 +331,7 @@ export type ServiceOutputTypes =
|
|
|
326
331
|
| CreateRegexPatternSetCommandOutput
|
|
327
332
|
| CreateRuleGroupCommandOutput
|
|
328
333
|
| CreateWebACLCommandOutput
|
|
334
|
+
| DeleteAPIKeyCommandOutput
|
|
329
335
|
| DeleteFirewallManagerRuleGroupsCommandOutput
|
|
330
336
|
| DeleteIPSetCommandOutput
|
|
331
337
|
| DeleteLoggingConfigurationCommandOutput
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteAPIKeyRequest, DeleteAPIKeyResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
WAFV2ClientResolvedConfig,
|
|
8
|
+
} from "../WAFV2Client";
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
export interface DeleteAPIKeyCommandInput extends DeleteAPIKeyRequest {}
|
|
11
|
+
export interface DeleteAPIKeyCommandOutput
|
|
12
|
+
extends DeleteAPIKeyResponse,
|
|
13
|
+
__MetadataBearer {}
|
|
14
|
+
declare const DeleteAPIKeyCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: DeleteAPIKeyCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
DeleteAPIKeyCommandInput,
|
|
19
|
+
DeleteAPIKeyCommandOutput,
|
|
20
|
+
WAFV2ClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class DeleteAPIKeyCommand extends DeleteAPIKeyCommand_base {}
|
|
@@ -5,6 +5,7 @@ export * from "./CreateIPSetCommand";
|
|
|
5
5
|
export * from "./CreateRegexPatternSetCommand";
|
|
6
6
|
export * from "./CreateRuleGroupCommand";
|
|
7
7
|
export * from "./CreateWebACLCommand";
|
|
8
|
+
export * from "./DeleteAPIKeyCommand";
|
|
8
9
|
export * from "./DeleteFirewallManagerRuleGroupsCommand";
|
|
9
10
|
export * from "./DeleteIPSetCommand";
|
|
10
11
|
export * from "./DeleteLoggingConfigurationCommand";
|
|
@@ -1011,6 +1011,11 @@ export declare class WAFConfigurationWarningException extends __BaseException {
|
|
|
1011
1011
|
>
|
|
1012
1012
|
);
|
|
1013
1013
|
}
|
|
1014
|
+
export interface DeleteAPIKeyRequest {
|
|
1015
|
+
Scope: Scope | undefined;
|
|
1016
|
+
APIKey: string | undefined;
|
|
1017
|
+
}
|
|
1018
|
+
export interface DeleteAPIKeyResponse {}
|
|
1014
1019
|
export interface DeleteFirewallManagerRuleGroupsRequest {
|
|
1015
1020
|
WebACLArn: string | undefined;
|
|
1016
1021
|
WebACLLockToken: string | undefined;
|
|
@@ -31,6 +31,10 @@ import {
|
|
|
31
31
|
CreateWebACLCommandInput,
|
|
32
32
|
CreateWebACLCommandOutput,
|
|
33
33
|
} from "../commands/CreateWebACLCommand";
|
|
34
|
+
import {
|
|
35
|
+
DeleteAPIKeyCommandInput,
|
|
36
|
+
DeleteAPIKeyCommandOutput,
|
|
37
|
+
} from "../commands/DeleteAPIKeyCommand";
|
|
34
38
|
import {
|
|
35
39
|
DeleteFirewallManagerRuleGroupsCommandInput,
|
|
36
40
|
DeleteFirewallManagerRuleGroupsCommandOutput,
|
|
@@ -243,6 +247,10 @@ export declare const se_CreateWebACLCommand: (
|
|
|
243
247
|
input: CreateWebACLCommandInput,
|
|
244
248
|
context: __SerdeContext
|
|
245
249
|
) => Promise<__HttpRequest>;
|
|
250
|
+
export declare const se_DeleteAPIKeyCommand: (
|
|
251
|
+
input: DeleteAPIKeyCommandInput,
|
|
252
|
+
context: __SerdeContext
|
|
253
|
+
) => Promise<__HttpRequest>;
|
|
246
254
|
export declare const se_DeleteFirewallManagerRuleGroupsCommand: (
|
|
247
255
|
input: DeleteFirewallManagerRuleGroupsCommandInput,
|
|
248
256
|
context: __SerdeContext
|
|
@@ -455,6 +463,10 @@ export declare const de_CreateWebACLCommand: (
|
|
|
455
463
|
output: __HttpResponse,
|
|
456
464
|
context: __SerdeContext
|
|
457
465
|
) => Promise<CreateWebACLCommandOutput>;
|
|
466
|
+
export declare const de_DeleteAPIKeyCommand: (
|
|
467
|
+
output: __HttpResponse,
|
|
468
|
+
context: __SerdeContext
|
|
469
|
+
) => Promise<DeleteAPIKeyCommandOutput>;
|
|
458
470
|
export declare const de_DeleteFirewallManagerRuleGroupsCommand: (
|
|
459
471
|
output: __HttpResponse,
|
|
460
472
|
context: __SerdeContext
|
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.
|
|
4
|
+
"version": "3.508.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-wafv2",
|