@aws-sdk/client-route53resolver 3.1055.0 → 3.1057.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 +28 -0
- package/dist-cjs/index.js +72 -7
- package/dist-cjs/schemas/schemas_0.js +204 -31
- package/dist-es/Route53Resolver.js +10 -0
- package/dist-es/commands/BatchCreateFirewallRuleCommand.js +16 -0
- package/dist-es/commands/BatchDeleteFirewallRuleCommand.js +16 -0
- package/dist-es/commands/BatchUpdateFirewallRuleCommand.js +16 -0
- package/dist-es/commands/ListFirewallRuleTypesCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +11 -7
- package/dist-es/pagination/ListFirewallRuleTypesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +198 -26
- package/dist-types/Route53Resolver.d.ts +36 -0
- package/dist-types/Route53ResolverClient.d.ts +6 -2
- package/dist-types/commands/BatchCreateFirewallRuleCommand.d.ts +189 -0
- package/dist-types/commands/BatchDeleteFirewallRuleCommand.d.ts +145 -0
- package/dist-types/commands/BatchUpdateFirewallRuleCommand.d.ts +189 -0
- package/dist-types/commands/CreateFirewallDomainListCommand.d.ts +2 -0
- package/dist-types/commands/CreateFirewallRuleCommand.d.ts +24 -0
- package/dist-types/commands/DeleteFirewallDomainListCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFirewallRuleCommand.d.ts +12 -0
- package/dist-types/commands/GetFirewallDomainListCommand.d.ts +2 -0
- package/dist-types/commands/ListFirewallDomainListsCommand.d.ts +2 -0
- package/dist-types/commands/ListFirewallRuleTypesCommand.d.ts +101 -0
- package/dist-types/commands/ListFirewallRulesCommand.d.ts +12 -0
- package/dist-types/commands/UpdateFirewallRuleCommand.d.ts +24 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +27 -15
- package/dist-types/models/models_0.d.ts +923 -204
- package/dist-types/pagination/ListFirewallRuleTypesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +23 -0
- package/dist-types/ts3.4/Route53Resolver.d.ts +76 -0
- package/dist-types/ts3.4/Route53ResolverClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/BatchCreateFirewallRuleCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchDeleteFirewallRuleCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/BatchUpdateFirewallRuleCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListFirewallRuleTypesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -9
- package/dist-types/ts3.4/models/models_0.d.ts +137 -19
- package/dist-types/ts3.4/pagination/ListFirewallRuleTypesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +23 -0
- package/package.json +6 -6
|
@@ -10,6 +10,9 @@ import type { AssociateFirewallRuleGroupCommandInput, AssociateFirewallRuleGroup
|
|
|
10
10
|
import type { AssociateResolverEndpointIpAddressCommandInput, AssociateResolverEndpointIpAddressCommandOutput } from "./commands/AssociateResolverEndpointIpAddressCommand";
|
|
11
11
|
import type { AssociateResolverQueryLogConfigCommandInput, AssociateResolverQueryLogConfigCommandOutput } from "./commands/AssociateResolverQueryLogConfigCommand";
|
|
12
12
|
import type { AssociateResolverRuleCommandInput, AssociateResolverRuleCommandOutput } from "./commands/AssociateResolverRuleCommand";
|
|
13
|
+
import type { BatchCreateFirewallRuleCommandInput, BatchCreateFirewallRuleCommandOutput } from "./commands/BatchCreateFirewallRuleCommand";
|
|
14
|
+
import type { BatchDeleteFirewallRuleCommandInput, BatchDeleteFirewallRuleCommandOutput } from "./commands/BatchDeleteFirewallRuleCommand";
|
|
15
|
+
import type { BatchUpdateFirewallRuleCommandInput, BatchUpdateFirewallRuleCommandOutput } from "./commands/BatchUpdateFirewallRuleCommand";
|
|
13
16
|
import type { CreateFirewallDomainListCommandInput, CreateFirewallDomainListCommandOutput } from "./commands/CreateFirewallDomainListCommand";
|
|
14
17
|
import type { CreateFirewallRuleCommandInput, CreateFirewallRuleCommandOutput } from "./commands/CreateFirewallRuleCommand";
|
|
15
18
|
import type { CreateFirewallRuleGroupCommandInput, CreateFirewallRuleGroupCommandOutput } from "./commands/CreateFirewallRuleGroupCommand";
|
|
@@ -50,6 +53,7 @@ import type { ListFirewallDomainsCommandInput, ListFirewallDomainsCommandOutput
|
|
|
50
53
|
import type { ListFirewallRuleGroupAssociationsCommandInput, ListFirewallRuleGroupAssociationsCommandOutput } from "./commands/ListFirewallRuleGroupAssociationsCommand";
|
|
51
54
|
import type { ListFirewallRuleGroupsCommandInput, ListFirewallRuleGroupsCommandOutput } from "./commands/ListFirewallRuleGroupsCommand";
|
|
52
55
|
import type { ListFirewallRulesCommandInput, ListFirewallRulesCommandOutput } from "./commands/ListFirewallRulesCommand";
|
|
56
|
+
import type { ListFirewallRuleTypesCommandInput, ListFirewallRuleTypesCommandOutput } from "./commands/ListFirewallRuleTypesCommand";
|
|
53
57
|
import type { ListOutpostResolversCommandInput, ListOutpostResolversCommandOutput } from "./commands/ListOutpostResolversCommand";
|
|
54
58
|
import type { ListResolverConfigsCommandInput, ListResolverConfigsCommandOutput } from "./commands/ListResolverConfigsCommand";
|
|
55
59
|
import type { ListResolverDnssecConfigsCommandInput, ListResolverDnssecConfigsCommandOutput } from "./commands/ListResolverDnssecConfigsCommand";
|
|
@@ -80,11 +84,11 @@ export { __Client };
|
|
|
80
84
|
/**
|
|
81
85
|
* @public
|
|
82
86
|
*/
|
|
83
|
-
export type ServiceInputTypes = AssociateFirewallRuleGroupCommandInput | AssociateResolverEndpointIpAddressCommandInput | AssociateResolverQueryLogConfigCommandInput | AssociateResolverRuleCommandInput | CreateFirewallDomainListCommandInput | CreateFirewallRuleCommandInput | CreateFirewallRuleGroupCommandInput | CreateOutpostResolverCommandInput | CreateResolverEndpointCommandInput | CreateResolverQueryLogConfigCommandInput | CreateResolverRuleCommandInput | DeleteFirewallDomainListCommandInput | DeleteFirewallRuleCommandInput | DeleteFirewallRuleGroupCommandInput | DeleteOutpostResolverCommandInput | DeleteResolverEndpointCommandInput | DeleteResolverQueryLogConfigCommandInput | DeleteResolverRuleCommandInput | DisassociateFirewallRuleGroupCommandInput | DisassociateResolverEndpointIpAddressCommandInput | DisassociateResolverQueryLogConfigCommandInput | DisassociateResolverRuleCommandInput | GetFirewallConfigCommandInput | GetFirewallDomainListCommandInput | GetFirewallRuleGroupAssociationCommandInput | GetFirewallRuleGroupCommandInput | GetFirewallRuleGroupPolicyCommandInput | GetOutpostResolverCommandInput | GetResolverConfigCommandInput | GetResolverDnssecConfigCommandInput | GetResolverEndpointCommandInput | GetResolverQueryLogConfigAssociationCommandInput | GetResolverQueryLogConfigCommandInput | GetResolverQueryLogConfigPolicyCommandInput | GetResolverRuleAssociationCommandInput | GetResolverRuleCommandInput | GetResolverRulePolicyCommandInput | ImportFirewallDomainsCommandInput | ListFirewallConfigsCommandInput | ListFirewallDomainListsCommandInput | ListFirewallDomainsCommandInput | ListFirewallRuleGroupAssociationsCommandInput | ListFirewallRuleGroupsCommandInput | ListFirewallRulesCommandInput | ListOutpostResolversCommandInput | ListResolverConfigsCommandInput | ListResolverDnssecConfigsCommandInput | ListResolverEndpointIpAddressesCommandInput | ListResolverEndpointsCommandInput | ListResolverQueryLogConfigAssociationsCommandInput | ListResolverQueryLogConfigsCommandInput | ListResolverRuleAssociationsCommandInput | ListResolverRulesCommandInput | ListTagsForResourceCommandInput | PutFirewallRuleGroupPolicyCommandInput | PutResolverQueryLogConfigPolicyCommandInput | PutResolverRulePolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallConfigCommandInput | UpdateFirewallDomainsCommandInput | UpdateFirewallRuleCommandInput | UpdateFirewallRuleGroupAssociationCommandInput | UpdateOutpostResolverCommandInput | UpdateResolverConfigCommandInput | UpdateResolverDnssecConfigCommandInput | UpdateResolverEndpointCommandInput | UpdateResolverRuleCommandInput;
|
|
87
|
+
export type ServiceInputTypes = AssociateFirewallRuleGroupCommandInput | AssociateResolverEndpointIpAddressCommandInput | AssociateResolverQueryLogConfigCommandInput | AssociateResolverRuleCommandInput | BatchCreateFirewallRuleCommandInput | BatchDeleteFirewallRuleCommandInput | BatchUpdateFirewallRuleCommandInput | CreateFirewallDomainListCommandInput | CreateFirewallRuleCommandInput | CreateFirewallRuleGroupCommandInput | CreateOutpostResolverCommandInput | CreateResolverEndpointCommandInput | CreateResolverQueryLogConfigCommandInput | CreateResolverRuleCommandInput | DeleteFirewallDomainListCommandInput | DeleteFirewallRuleCommandInput | DeleteFirewallRuleGroupCommandInput | DeleteOutpostResolverCommandInput | DeleteResolverEndpointCommandInput | DeleteResolverQueryLogConfigCommandInput | DeleteResolverRuleCommandInput | DisassociateFirewallRuleGroupCommandInput | DisassociateResolverEndpointIpAddressCommandInput | DisassociateResolverQueryLogConfigCommandInput | DisassociateResolverRuleCommandInput | GetFirewallConfigCommandInput | GetFirewallDomainListCommandInput | GetFirewallRuleGroupAssociationCommandInput | GetFirewallRuleGroupCommandInput | GetFirewallRuleGroupPolicyCommandInput | GetOutpostResolverCommandInput | GetResolverConfigCommandInput | GetResolverDnssecConfigCommandInput | GetResolverEndpointCommandInput | GetResolverQueryLogConfigAssociationCommandInput | GetResolverQueryLogConfigCommandInput | GetResolverQueryLogConfigPolicyCommandInput | GetResolverRuleAssociationCommandInput | GetResolverRuleCommandInput | GetResolverRulePolicyCommandInput | ImportFirewallDomainsCommandInput | ListFirewallConfigsCommandInput | ListFirewallDomainListsCommandInput | ListFirewallDomainsCommandInput | ListFirewallRuleGroupAssociationsCommandInput | ListFirewallRuleGroupsCommandInput | ListFirewallRuleTypesCommandInput | ListFirewallRulesCommandInput | ListOutpostResolversCommandInput | ListResolverConfigsCommandInput | ListResolverDnssecConfigsCommandInput | ListResolverEndpointIpAddressesCommandInput | ListResolverEndpointsCommandInput | ListResolverQueryLogConfigAssociationsCommandInput | ListResolverQueryLogConfigsCommandInput | ListResolverRuleAssociationsCommandInput | ListResolverRulesCommandInput | ListTagsForResourceCommandInput | PutFirewallRuleGroupPolicyCommandInput | PutResolverQueryLogConfigPolicyCommandInput | PutResolverRulePolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallConfigCommandInput | UpdateFirewallDomainsCommandInput | UpdateFirewallRuleCommandInput | UpdateFirewallRuleGroupAssociationCommandInput | UpdateOutpostResolverCommandInput | UpdateResolverConfigCommandInput | UpdateResolverDnssecConfigCommandInput | UpdateResolverEndpointCommandInput | UpdateResolverRuleCommandInput;
|
|
84
88
|
/**
|
|
85
89
|
* @public
|
|
86
90
|
*/
|
|
87
|
-
export type ServiceOutputTypes = AssociateFirewallRuleGroupCommandOutput | AssociateResolverEndpointIpAddressCommandOutput | AssociateResolverQueryLogConfigCommandOutput | AssociateResolverRuleCommandOutput | CreateFirewallDomainListCommandOutput | CreateFirewallRuleCommandOutput | CreateFirewallRuleGroupCommandOutput | CreateOutpostResolverCommandOutput | CreateResolverEndpointCommandOutput | CreateResolverQueryLogConfigCommandOutput | CreateResolverRuleCommandOutput | DeleteFirewallDomainListCommandOutput | DeleteFirewallRuleCommandOutput | DeleteFirewallRuleGroupCommandOutput | DeleteOutpostResolverCommandOutput | DeleteResolverEndpointCommandOutput | DeleteResolverQueryLogConfigCommandOutput | DeleteResolverRuleCommandOutput | DisassociateFirewallRuleGroupCommandOutput | DisassociateResolverEndpointIpAddressCommandOutput | DisassociateResolverQueryLogConfigCommandOutput | DisassociateResolverRuleCommandOutput | GetFirewallConfigCommandOutput | GetFirewallDomainListCommandOutput | GetFirewallRuleGroupAssociationCommandOutput | GetFirewallRuleGroupCommandOutput | GetFirewallRuleGroupPolicyCommandOutput | GetOutpostResolverCommandOutput | GetResolverConfigCommandOutput | GetResolverDnssecConfigCommandOutput | GetResolverEndpointCommandOutput | GetResolverQueryLogConfigAssociationCommandOutput | GetResolverQueryLogConfigCommandOutput | GetResolverQueryLogConfigPolicyCommandOutput | GetResolverRuleAssociationCommandOutput | GetResolverRuleCommandOutput | GetResolverRulePolicyCommandOutput | ImportFirewallDomainsCommandOutput | ListFirewallConfigsCommandOutput | ListFirewallDomainListsCommandOutput | ListFirewallDomainsCommandOutput | ListFirewallRuleGroupAssociationsCommandOutput | ListFirewallRuleGroupsCommandOutput | ListFirewallRulesCommandOutput | ListOutpostResolversCommandOutput | ListResolverConfigsCommandOutput | ListResolverDnssecConfigsCommandOutput | ListResolverEndpointIpAddressesCommandOutput | ListResolverEndpointsCommandOutput | ListResolverQueryLogConfigAssociationsCommandOutput | ListResolverQueryLogConfigsCommandOutput | ListResolverRuleAssociationsCommandOutput | ListResolverRulesCommandOutput | ListTagsForResourceCommandOutput | PutFirewallRuleGroupPolicyCommandOutput | PutResolverQueryLogConfigPolicyCommandOutput | PutResolverRulePolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallConfigCommandOutput | UpdateFirewallDomainsCommandOutput | UpdateFirewallRuleCommandOutput | UpdateFirewallRuleGroupAssociationCommandOutput | UpdateOutpostResolverCommandOutput | UpdateResolverConfigCommandOutput | UpdateResolverDnssecConfigCommandOutput | UpdateResolverEndpointCommandOutput | UpdateResolverRuleCommandOutput;
|
|
91
|
+
export type ServiceOutputTypes = AssociateFirewallRuleGroupCommandOutput | AssociateResolverEndpointIpAddressCommandOutput | AssociateResolverQueryLogConfigCommandOutput | AssociateResolverRuleCommandOutput | BatchCreateFirewallRuleCommandOutput | BatchDeleteFirewallRuleCommandOutput | BatchUpdateFirewallRuleCommandOutput | CreateFirewallDomainListCommandOutput | CreateFirewallRuleCommandOutput | CreateFirewallRuleGroupCommandOutput | CreateOutpostResolverCommandOutput | CreateResolverEndpointCommandOutput | CreateResolverQueryLogConfigCommandOutput | CreateResolverRuleCommandOutput | DeleteFirewallDomainListCommandOutput | DeleteFirewallRuleCommandOutput | DeleteFirewallRuleGroupCommandOutput | DeleteOutpostResolverCommandOutput | DeleteResolverEndpointCommandOutput | DeleteResolverQueryLogConfigCommandOutput | DeleteResolverRuleCommandOutput | DisassociateFirewallRuleGroupCommandOutput | DisassociateResolverEndpointIpAddressCommandOutput | DisassociateResolverQueryLogConfigCommandOutput | DisassociateResolverRuleCommandOutput | GetFirewallConfigCommandOutput | GetFirewallDomainListCommandOutput | GetFirewallRuleGroupAssociationCommandOutput | GetFirewallRuleGroupCommandOutput | GetFirewallRuleGroupPolicyCommandOutput | GetOutpostResolverCommandOutput | GetResolverConfigCommandOutput | GetResolverDnssecConfigCommandOutput | GetResolverEndpointCommandOutput | GetResolverQueryLogConfigAssociationCommandOutput | GetResolverQueryLogConfigCommandOutput | GetResolverQueryLogConfigPolicyCommandOutput | GetResolverRuleAssociationCommandOutput | GetResolverRuleCommandOutput | GetResolverRulePolicyCommandOutput | ImportFirewallDomainsCommandOutput | ListFirewallConfigsCommandOutput | ListFirewallDomainListsCommandOutput | ListFirewallDomainsCommandOutput | ListFirewallRuleGroupAssociationsCommandOutput | ListFirewallRuleGroupsCommandOutput | ListFirewallRuleTypesCommandOutput | ListFirewallRulesCommandOutput | ListOutpostResolversCommandOutput | ListResolverConfigsCommandOutput | ListResolverDnssecConfigsCommandOutput | ListResolverEndpointIpAddressesCommandOutput | ListResolverEndpointsCommandOutput | ListResolverQueryLogConfigAssociationsCommandOutput | ListResolverQueryLogConfigsCommandOutput | ListResolverRuleAssociationsCommandOutput | ListResolverRulesCommandOutput | ListTagsForResourceCommandOutput | PutFirewallRuleGroupPolicyCommandOutput | PutResolverQueryLogConfigPolicyCommandOutput | PutResolverRulePolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallConfigCommandOutput | UpdateFirewallDomainsCommandOutput | UpdateFirewallRuleCommandOutput | UpdateFirewallRuleGroupAssociationCommandOutput | UpdateOutpostResolverCommandOutput | UpdateResolverConfigCommandOutput | UpdateResolverDnssecConfigCommandOutput | UpdateResolverEndpointCommandOutput | UpdateResolverRuleCommandOutput;
|
|
88
92
|
/**
|
|
89
93
|
* @public
|
|
90
94
|
*/
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchCreateFirewallRuleRequest, BatchCreateFirewallRuleResponse } from "../models/models_0";
|
|
4
|
+
import type { Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ResolverClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchCreateFirewallRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchCreateFirewallRuleCommandInput extends BatchCreateFirewallRuleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchCreateFirewallRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchCreateFirewallRuleCommandOutput extends BatchCreateFirewallRuleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchCreateFirewallRuleCommand_base: {
|
|
25
|
+
new (input: BatchCreateFirewallRuleCommandInput): import("@smithy/core/client").CommandImpl<BatchCreateFirewallRuleCommandInput, BatchCreateFirewallRuleCommandOutput, Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchCreateFirewallRuleCommandInput): import("@smithy/core/client").CommandImpl<BatchCreateFirewallRuleCommandInput, BatchCreateFirewallRuleCommandOutput, Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates multiple DNS Firewall rules in the specified rule group.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Route53ResolverClient, BatchCreateFirewallRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
37
|
+
* // const { Route53ResolverClient, BatchCreateFirewallRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
38
|
+
* // import type { Route53ResolverClientConfig } from "@aws-sdk/client-route53resolver";
|
|
39
|
+
* const config = {}; // type is Route53ResolverClientConfig
|
|
40
|
+
* const client = new Route53ResolverClient(config);
|
|
41
|
+
* const input = { // BatchCreateFirewallRuleRequest
|
|
42
|
+
* CreateFirewallRuleEntries: [ // CreateFirewallRuleEntries // required
|
|
43
|
+
* { // CreateFirewallRuleEntry
|
|
44
|
+
* CreatorRequestId: "STRING_VALUE", // required
|
|
45
|
+
* FirewallRuleGroupId: "STRING_VALUE", // required
|
|
46
|
+
* FirewallDomainListId: "STRING_VALUE",
|
|
47
|
+
* Priority: Number("int"), // required
|
|
48
|
+
* Action: "ALLOW" || "BLOCK" || "ALERT", // required
|
|
49
|
+
* BlockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
50
|
+
* BlockOverrideDomain: "STRING_VALUE",
|
|
51
|
+
* BlockOverrideDnsType: "CNAME",
|
|
52
|
+
* BlockOverrideTtl: Number("int"),
|
|
53
|
+
* Name: "STRING_VALUE", // required
|
|
54
|
+
* FirewallDomainRedirectionAction: "INSPECT_REDIRECTION_DOMAIN" || "TRUST_REDIRECTION_DOMAIN",
|
|
55
|
+
* Qtype: "STRING_VALUE",
|
|
56
|
+
* DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
|
|
57
|
+
* ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
58
|
+
* FirewallRuleType: { // FirewallRuleType
|
|
59
|
+
* FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
|
|
60
|
+
* Category: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
|
|
63
|
+
* Category: "STRING_VALUE", // required
|
|
64
|
+
* },
|
|
65
|
+
* DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
|
|
66
|
+
* Value: "STRING_VALUE", // required
|
|
67
|
+
* ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* };
|
|
73
|
+
* const command = new BatchCreateFirewallRuleCommand(input);
|
|
74
|
+
* const response = await client.send(command);
|
|
75
|
+
* // { // BatchCreateFirewallRuleResponse
|
|
76
|
+
* // CreatedFirewallRules: [ // FirewallRules
|
|
77
|
+
* // { // FirewallRule
|
|
78
|
+
* // FirewallRuleGroupId: "STRING_VALUE",
|
|
79
|
+
* // FirewallDomainListId: "STRING_VALUE",
|
|
80
|
+
* // FirewallThreatProtectionId: "STRING_VALUE",
|
|
81
|
+
* // Name: "STRING_VALUE",
|
|
82
|
+
* // Priority: Number("int"),
|
|
83
|
+
* // Action: "ALLOW" || "BLOCK" || "ALERT",
|
|
84
|
+
* // BlockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
85
|
+
* // BlockOverrideDomain: "STRING_VALUE",
|
|
86
|
+
* // BlockOverrideDnsType: "CNAME",
|
|
87
|
+
* // BlockOverrideTtl: Number("int"),
|
|
88
|
+
* // CreatorRequestId: "STRING_VALUE",
|
|
89
|
+
* // CreationTime: "STRING_VALUE",
|
|
90
|
+
* // ModificationTime: "STRING_VALUE",
|
|
91
|
+
* // FirewallDomainRedirectionAction: "INSPECT_REDIRECTION_DOMAIN" || "TRUST_REDIRECTION_DOMAIN",
|
|
92
|
+
* // Qtype: "STRING_VALUE",
|
|
93
|
+
* // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
|
|
94
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
95
|
+
* // FirewallRuleType: { // FirewallRuleType
|
|
96
|
+
* // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
|
|
97
|
+
* // Category: "STRING_VALUE", // required
|
|
98
|
+
* // },
|
|
99
|
+
* // FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
|
|
100
|
+
* // Category: "STRING_VALUE", // required
|
|
101
|
+
* // },
|
|
102
|
+
* // DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
|
|
103
|
+
* // Value: "STRING_VALUE", // required
|
|
104
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // ],
|
|
109
|
+
* // CreateErrors: [ // BatchCreateFirewallRuleErrors
|
|
110
|
+
* // { // BatchCreateFirewallRuleError
|
|
111
|
+
* // FirewallRule: { // CreateFirewallRuleEntry
|
|
112
|
+
* // CreatorRequestId: "STRING_VALUE", // required
|
|
113
|
+
* // FirewallRuleGroupId: "STRING_VALUE", // required
|
|
114
|
+
* // FirewallDomainListId: "STRING_VALUE",
|
|
115
|
+
* // Priority: Number("int"), // required
|
|
116
|
+
* // Action: "ALLOW" || "BLOCK" || "ALERT", // required
|
|
117
|
+
* // BlockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
118
|
+
* // BlockOverrideDomain: "STRING_VALUE",
|
|
119
|
+
* // BlockOverrideDnsType: "CNAME",
|
|
120
|
+
* // BlockOverrideTtl: Number("int"),
|
|
121
|
+
* // Name: "STRING_VALUE", // required
|
|
122
|
+
* // FirewallDomainRedirectionAction: "INSPECT_REDIRECTION_DOMAIN" || "TRUST_REDIRECTION_DOMAIN",
|
|
123
|
+
* // Qtype: "STRING_VALUE",
|
|
124
|
+
* // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
|
|
125
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
126
|
+
* // FirewallRuleType: {
|
|
127
|
+
* // FirewallAdvancedContentCategory: {
|
|
128
|
+
* // Category: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // FirewallAdvancedThreatCategory: {
|
|
131
|
+
* // Category: "STRING_VALUE", // required
|
|
132
|
+
* // },
|
|
133
|
+
* // DnsThreatProtection: {
|
|
134
|
+
* // Value: "STRING_VALUE", // required
|
|
135
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // Code: "STRING_VALUE",
|
|
140
|
+
* // Message: "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
143
|
+
* // };
|
|
144
|
+
*
|
|
145
|
+
* ```
|
|
146
|
+
*
|
|
147
|
+
* @param BatchCreateFirewallRuleCommandInput - {@link BatchCreateFirewallRuleCommandInput}
|
|
148
|
+
* @returns {@link BatchCreateFirewallRuleCommandOutput}
|
|
149
|
+
* @see {@link BatchCreateFirewallRuleCommandInput} for command's `input` shape.
|
|
150
|
+
* @see {@link BatchCreateFirewallRuleCommandOutput} for command's `response` shape.
|
|
151
|
+
* @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
154
|
+
* <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
|
|
155
|
+
* <p>This error can also be thrown when a customer has reached the 5120 character limit for a
|
|
156
|
+
* resource policy for CloudWatch Logs.</p>
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link InternalServiceErrorException} (client fault)
|
|
159
|
+
* <p>We encountered an unknown error. Try again in a few minutes.</p>
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
162
|
+
* <p>The request caused one or more limits to be exceeded.</p>
|
|
163
|
+
*
|
|
164
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
165
|
+
* <p>The request was throttled. Try again in a few minutes.</p>
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link ValidationException} (client fault)
|
|
168
|
+
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
|
|
169
|
+
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link Route53ResolverServiceException}
|
|
172
|
+
* <p>Base exception class for all service exceptions from Route53Resolver service.</p>
|
|
173
|
+
*
|
|
174
|
+
*
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export declare class BatchCreateFirewallRuleCommand extends BatchCreateFirewallRuleCommand_base {
|
|
178
|
+
/** @internal type navigation helper, not in runtime. */
|
|
179
|
+
protected static __types: {
|
|
180
|
+
api: {
|
|
181
|
+
input: BatchCreateFirewallRuleRequest;
|
|
182
|
+
output: BatchCreateFirewallRuleResponse;
|
|
183
|
+
};
|
|
184
|
+
sdk: {
|
|
185
|
+
input: BatchCreateFirewallRuleCommandInput;
|
|
186
|
+
output: BatchCreateFirewallRuleCommandOutput;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchDeleteFirewallRuleRequest, BatchDeleteFirewallRuleResponse } from "../models/models_0";
|
|
4
|
+
import type { Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ResolverClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDeleteFirewallRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteFirewallRuleCommandInput extends BatchDeleteFirewallRuleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteFirewallRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteFirewallRuleCommandOutput extends BatchDeleteFirewallRuleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchDeleteFirewallRuleCommand_base: {
|
|
25
|
+
new (input: BatchDeleteFirewallRuleCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteFirewallRuleCommandInput, BatchDeleteFirewallRuleCommandOutput, Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchDeleteFirewallRuleCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteFirewallRuleCommandInput, BatchDeleteFirewallRuleCommandOutput, Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes multiple DNS Firewall rules from the specified rule group.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Route53ResolverClient, BatchDeleteFirewallRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
37
|
+
* // const { Route53ResolverClient, BatchDeleteFirewallRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
38
|
+
* // import type { Route53ResolverClientConfig } from "@aws-sdk/client-route53resolver";
|
|
39
|
+
* const config = {}; // type is Route53ResolverClientConfig
|
|
40
|
+
* const client = new Route53ResolverClient(config);
|
|
41
|
+
* const input = { // BatchDeleteFirewallRuleRequest
|
|
42
|
+
* DeleteFirewallRuleEntries: [ // DeleteFirewallRuleEntries // required
|
|
43
|
+
* { // DeleteFirewallRuleEntry
|
|
44
|
+
* FirewallRuleGroupId: "STRING_VALUE", // required
|
|
45
|
+
* FirewallDomainListId: "STRING_VALUE",
|
|
46
|
+
* FirewallThreatProtectionId: "STRING_VALUE",
|
|
47
|
+
* Qtype: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* };
|
|
51
|
+
* const command = new BatchDeleteFirewallRuleCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // BatchDeleteFirewallRuleResponse
|
|
54
|
+
* // DeletedFirewallRules: [ // FirewallRules
|
|
55
|
+
* // { // FirewallRule
|
|
56
|
+
* // FirewallRuleGroupId: "STRING_VALUE",
|
|
57
|
+
* // FirewallDomainListId: "STRING_VALUE",
|
|
58
|
+
* // FirewallThreatProtectionId: "STRING_VALUE",
|
|
59
|
+
* // Name: "STRING_VALUE",
|
|
60
|
+
* // Priority: Number("int"),
|
|
61
|
+
* // Action: "ALLOW" || "BLOCK" || "ALERT",
|
|
62
|
+
* // BlockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
63
|
+
* // BlockOverrideDomain: "STRING_VALUE",
|
|
64
|
+
* // BlockOverrideDnsType: "CNAME",
|
|
65
|
+
* // BlockOverrideTtl: Number("int"),
|
|
66
|
+
* // CreatorRequestId: "STRING_VALUE",
|
|
67
|
+
* // CreationTime: "STRING_VALUE",
|
|
68
|
+
* // ModificationTime: "STRING_VALUE",
|
|
69
|
+
* // FirewallDomainRedirectionAction: "INSPECT_REDIRECTION_DOMAIN" || "TRUST_REDIRECTION_DOMAIN",
|
|
70
|
+
* // Qtype: "STRING_VALUE",
|
|
71
|
+
* // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
|
|
72
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
73
|
+
* // FirewallRuleType: { // FirewallRuleType
|
|
74
|
+
* // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
|
|
75
|
+
* // Category: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
|
|
78
|
+
* // Category: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
|
|
81
|
+
* // Value: "STRING_VALUE", // required
|
|
82
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // ],
|
|
87
|
+
* // DeleteErrors: [ // BatchDeleteFirewallRuleErrors
|
|
88
|
+
* // { // BatchDeleteFirewallRuleError
|
|
89
|
+
* // FirewallRule: { // DeleteFirewallRuleEntry
|
|
90
|
+
* // FirewallRuleGroupId: "STRING_VALUE", // required
|
|
91
|
+
* // FirewallDomainListId: "STRING_VALUE",
|
|
92
|
+
* // FirewallThreatProtectionId: "STRING_VALUE",
|
|
93
|
+
* // Qtype: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // Code: "STRING_VALUE",
|
|
96
|
+
* // Message: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // };
|
|
100
|
+
*
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* @param BatchDeleteFirewallRuleCommandInput - {@link BatchDeleteFirewallRuleCommandInput}
|
|
104
|
+
* @returns {@link BatchDeleteFirewallRuleCommandOutput}
|
|
105
|
+
* @see {@link BatchDeleteFirewallRuleCommandInput} for command's `input` shape.
|
|
106
|
+
* @see {@link BatchDeleteFirewallRuleCommandOutput} for command's `response` shape.
|
|
107
|
+
* @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
110
|
+
* <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
|
|
111
|
+
* <p>This error can also be thrown when a customer has reached the 5120 character limit for a
|
|
112
|
+
* resource policy for CloudWatch Logs.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link InternalServiceErrorException} (client fault)
|
|
115
|
+
* <p>We encountered an unknown error. Try again in a few minutes.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
118
|
+
* <p>The request caused one or more limits to be exceeded.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
121
|
+
* <p>The request was throttled. Try again in a few minutes.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ValidationException} (client fault)
|
|
124
|
+
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
|
|
125
|
+
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link Route53ResolverServiceException}
|
|
128
|
+
* <p>Base exception class for all service exceptions from Route53Resolver service.</p>
|
|
129
|
+
*
|
|
130
|
+
*
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export declare class BatchDeleteFirewallRuleCommand extends BatchDeleteFirewallRuleCommand_base {
|
|
134
|
+
/** @internal type navigation helper, not in runtime. */
|
|
135
|
+
protected static __types: {
|
|
136
|
+
api: {
|
|
137
|
+
input: BatchDeleteFirewallRuleRequest;
|
|
138
|
+
output: BatchDeleteFirewallRuleResponse;
|
|
139
|
+
};
|
|
140
|
+
sdk: {
|
|
141
|
+
input: BatchDeleteFirewallRuleCommandInput;
|
|
142
|
+
output: BatchDeleteFirewallRuleCommandOutput;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BatchUpdateFirewallRuleRequest, BatchUpdateFirewallRuleResponse } from "../models/models_0";
|
|
4
|
+
import type { Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ResolverClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchUpdateFirewallRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchUpdateFirewallRuleCommandInput extends BatchUpdateFirewallRuleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchUpdateFirewallRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchUpdateFirewallRuleCommandOutput extends BatchUpdateFirewallRuleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchUpdateFirewallRuleCommand_base: {
|
|
25
|
+
new (input: BatchUpdateFirewallRuleCommandInput): import("@smithy/core/client").CommandImpl<BatchUpdateFirewallRuleCommandInput, BatchUpdateFirewallRuleCommandOutput, Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchUpdateFirewallRuleCommandInput): import("@smithy/core/client").CommandImpl<BatchUpdateFirewallRuleCommandInput, BatchUpdateFirewallRuleCommandOutput, Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Updates multiple DNS Firewall rules in the specified rule group.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Route53ResolverClient, BatchUpdateFirewallRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
|
|
37
|
+
* // const { Route53ResolverClient, BatchUpdateFirewallRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
|
|
38
|
+
* // import type { Route53ResolverClientConfig } from "@aws-sdk/client-route53resolver";
|
|
39
|
+
* const config = {}; // type is Route53ResolverClientConfig
|
|
40
|
+
* const client = new Route53ResolverClient(config);
|
|
41
|
+
* const input = { // BatchUpdateFirewallRuleRequest
|
|
42
|
+
* UpdateFirewallRuleEntries: [ // UpdateFirewallRuleEntries // required
|
|
43
|
+
* { // UpdateFirewallRuleEntry
|
|
44
|
+
* FirewallRuleGroupId: "STRING_VALUE", // required
|
|
45
|
+
* FirewallDomainListId: "STRING_VALUE",
|
|
46
|
+
* FirewallThreatProtectionId: "STRING_VALUE",
|
|
47
|
+
* Priority: Number("int"),
|
|
48
|
+
* Action: "ALLOW" || "BLOCK" || "ALERT",
|
|
49
|
+
* BlockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
50
|
+
* BlockOverrideDomain: "STRING_VALUE",
|
|
51
|
+
* BlockOverrideDnsType: "CNAME",
|
|
52
|
+
* BlockOverrideTtl: Number("int"),
|
|
53
|
+
* Name: "STRING_VALUE",
|
|
54
|
+
* FirewallDomainRedirectionAction: "INSPECT_REDIRECTION_DOMAIN" || "TRUST_REDIRECTION_DOMAIN",
|
|
55
|
+
* Qtype: "STRING_VALUE",
|
|
56
|
+
* DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
|
|
57
|
+
* ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
58
|
+
* FirewallRuleType: { // FirewallRuleType
|
|
59
|
+
* FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
|
|
60
|
+
* Category: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
|
|
63
|
+
* Category: "STRING_VALUE", // required
|
|
64
|
+
* },
|
|
65
|
+
* DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
|
|
66
|
+
* Value: "STRING_VALUE", // required
|
|
67
|
+
* ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* };
|
|
73
|
+
* const command = new BatchUpdateFirewallRuleCommand(input);
|
|
74
|
+
* const response = await client.send(command);
|
|
75
|
+
* // { // BatchUpdateFirewallRuleResponse
|
|
76
|
+
* // UpdatedFirewallRules: [ // FirewallRules
|
|
77
|
+
* // { // FirewallRule
|
|
78
|
+
* // FirewallRuleGroupId: "STRING_VALUE",
|
|
79
|
+
* // FirewallDomainListId: "STRING_VALUE",
|
|
80
|
+
* // FirewallThreatProtectionId: "STRING_VALUE",
|
|
81
|
+
* // Name: "STRING_VALUE",
|
|
82
|
+
* // Priority: Number("int"),
|
|
83
|
+
* // Action: "ALLOW" || "BLOCK" || "ALERT",
|
|
84
|
+
* // BlockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
85
|
+
* // BlockOverrideDomain: "STRING_VALUE",
|
|
86
|
+
* // BlockOverrideDnsType: "CNAME",
|
|
87
|
+
* // BlockOverrideTtl: Number("int"),
|
|
88
|
+
* // CreatorRequestId: "STRING_VALUE",
|
|
89
|
+
* // CreationTime: "STRING_VALUE",
|
|
90
|
+
* // ModificationTime: "STRING_VALUE",
|
|
91
|
+
* // FirewallDomainRedirectionAction: "INSPECT_REDIRECTION_DOMAIN" || "TRUST_REDIRECTION_DOMAIN",
|
|
92
|
+
* // Qtype: "STRING_VALUE",
|
|
93
|
+
* // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
|
|
94
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
95
|
+
* // FirewallRuleType: { // FirewallRuleType
|
|
96
|
+
* // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
|
|
97
|
+
* // Category: "STRING_VALUE", // required
|
|
98
|
+
* // },
|
|
99
|
+
* // FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
|
|
100
|
+
* // Category: "STRING_VALUE", // required
|
|
101
|
+
* // },
|
|
102
|
+
* // DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
|
|
103
|
+
* // Value: "STRING_VALUE", // required
|
|
104
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // ],
|
|
109
|
+
* // UpdateErrors: [ // BatchUpdateFirewallRuleErrors
|
|
110
|
+
* // { // BatchUpdateFirewallRuleError
|
|
111
|
+
* // FirewallRule: { // UpdateFirewallRuleEntry
|
|
112
|
+
* // FirewallRuleGroupId: "STRING_VALUE", // required
|
|
113
|
+
* // FirewallDomainListId: "STRING_VALUE",
|
|
114
|
+
* // FirewallThreatProtectionId: "STRING_VALUE",
|
|
115
|
+
* // Priority: Number("int"),
|
|
116
|
+
* // Action: "ALLOW" || "BLOCK" || "ALERT",
|
|
117
|
+
* // BlockResponse: "NODATA" || "NXDOMAIN" || "OVERRIDE",
|
|
118
|
+
* // BlockOverrideDomain: "STRING_VALUE",
|
|
119
|
+
* // BlockOverrideDnsType: "CNAME",
|
|
120
|
+
* // BlockOverrideTtl: Number("int"),
|
|
121
|
+
* // Name: "STRING_VALUE",
|
|
122
|
+
* // FirewallDomainRedirectionAction: "INSPECT_REDIRECTION_DOMAIN" || "TRUST_REDIRECTION_DOMAIN",
|
|
123
|
+
* // Qtype: "STRING_VALUE",
|
|
124
|
+
* // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
|
|
125
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
126
|
+
* // FirewallRuleType: {
|
|
127
|
+
* // FirewallAdvancedContentCategory: {
|
|
128
|
+
* // Category: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // FirewallAdvancedThreatCategory: {
|
|
131
|
+
* // Category: "STRING_VALUE", // required
|
|
132
|
+
* // },
|
|
133
|
+
* // DnsThreatProtection: {
|
|
134
|
+
* // Value: "STRING_VALUE", // required
|
|
135
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // Code: "STRING_VALUE",
|
|
140
|
+
* // Message: "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
143
|
+
* // };
|
|
144
|
+
*
|
|
145
|
+
* ```
|
|
146
|
+
*
|
|
147
|
+
* @param BatchUpdateFirewallRuleCommandInput - {@link BatchUpdateFirewallRuleCommandInput}
|
|
148
|
+
* @returns {@link BatchUpdateFirewallRuleCommandOutput}
|
|
149
|
+
* @see {@link BatchUpdateFirewallRuleCommandInput} for command's `input` shape.
|
|
150
|
+
* @see {@link BatchUpdateFirewallRuleCommandOutput} for command's `response` shape.
|
|
151
|
+
* @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
154
|
+
* <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
|
|
155
|
+
* <p>This error can also be thrown when a customer has reached the 5120 character limit for a
|
|
156
|
+
* resource policy for CloudWatch Logs.</p>
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link InternalServiceErrorException} (client fault)
|
|
159
|
+
* <p>We encountered an unknown error. Try again in a few minutes.</p>
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
162
|
+
* <p>The request caused one or more limits to be exceeded.</p>
|
|
163
|
+
*
|
|
164
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
165
|
+
* <p>The request was throttled. Try again in a few minutes.</p>
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link ValidationException} (client fault)
|
|
168
|
+
* <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
|
|
169
|
+
* <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link Route53ResolverServiceException}
|
|
172
|
+
* <p>Base exception class for all service exceptions from Route53Resolver service.</p>
|
|
173
|
+
*
|
|
174
|
+
*
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export declare class BatchUpdateFirewallRuleCommand extends BatchUpdateFirewallRuleCommand_base {
|
|
178
|
+
/** @internal type navigation helper, not in runtime. */
|
|
179
|
+
protected static __types: {
|
|
180
|
+
api: {
|
|
181
|
+
input: BatchUpdateFirewallRuleRequest;
|
|
182
|
+
output: BatchUpdateFirewallRuleResponse;
|
|
183
|
+
};
|
|
184
|
+
sdk: {
|
|
185
|
+
input: BatchUpdateFirewallRuleCommandInput;
|
|
186
|
+
output: BatchUpdateFirewallRuleCommandOutput;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
}
|
|
@@ -62,6 +62,8 @@ declare const CreateFirewallDomainListCommand_base: {
|
|
|
62
62
|
* // CreatorRequestId: "STRING_VALUE",
|
|
63
63
|
* // CreationTime: "STRING_VALUE",
|
|
64
64
|
* // ModificationTime: "STRING_VALUE",
|
|
65
|
+
* // Category: "STRING_VALUE",
|
|
66
|
+
* // ManagedListType: "THREAT" || "CONTENT",
|
|
65
67
|
* // },
|
|
66
68
|
* // };
|
|
67
69
|
*
|
|
@@ -53,6 +53,18 @@ declare const CreateFirewallRuleCommand_base: {
|
|
|
53
53
|
* Qtype: "STRING_VALUE",
|
|
54
54
|
* DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
|
|
55
55
|
* ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
56
|
+
* FirewallRuleType: { // FirewallRuleType
|
|
57
|
+
* FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
|
|
58
|
+
* Category: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
|
|
61
|
+
* Category: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
|
|
64
|
+
* Value: "STRING_VALUE", // required
|
|
65
|
+
* ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
56
68
|
* };
|
|
57
69
|
* const command = new CreateFirewallRuleCommand(input);
|
|
58
70
|
* const response = await client.send(command);
|
|
@@ -75,6 +87,18 @@ declare const CreateFirewallRuleCommand_base: {
|
|
|
75
87
|
* // Qtype: "STRING_VALUE",
|
|
76
88
|
* // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
|
|
77
89
|
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
|
|
90
|
+
* // FirewallRuleType: { // FirewallRuleType
|
|
91
|
+
* // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
|
|
92
|
+
* // Category: "STRING_VALUE", // required
|
|
93
|
+
* // },
|
|
94
|
+
* // FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
|
|
95
|
+
* // Category: "STRING_VALUE", // required
|
|
96
|
+
* // },
|
|
97
|
+
* // DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
|
|
98
|
+
* // Value: "STRING_VALUE", // required
|
|
99
|
+
* // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
78
102
|
* // },
|
|
79
103
|
* // };
|
|
80
104
|
*
|
|
@@ -55,6 +55,8 @@ declare const DeleteFirewallDomainListCommand_base: {
|
|
|
55
55
|
* // CreatorRequestId: "STRING_VALUE",
|
|
56
56
|
* // CreationTime: "STRING_VALUE",
|
|
57
57
|
* // ModificationTime: "STRING_VALUE",
|
|
58
|
+
* // Category: "STRING_VALUE",
|
|
59
|
+
* // ManagedListType: "THREAT" || "CONTENT",
|
|
58
60
|
* // },
|
|
59
61
|
* // };
|
|
60
62
|
*
|