We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs.
A single call might return only a partial list of the configurations. For information, see MaxResults.
MaxResults
Use a bare-bones client and the command you need to make an API call.
import { Route53ResolverClient, ListFirewallConfigsCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import// const { Route53ResolverClient, ListFirewallConfigsCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS importconst client = new Route53ResolverClient(config);const input = { // ListFirewallConfigsRequest MaxResults: Number("int"), NextToken: "STRING_VALUE",};const command = new ListFirewallConfigsCommand(input);const response = await client.send(command);// { // ListFirewallConfigsResponse// NextToken: "STRING_VALUE",// FirewallConfigs: [ // FirewallConfigList// { // FirewallConfig// Id: "STRING_VALUE",// ResourceId: "STRING_VALUE",// OwnerId: "STRING_VALUE",// FirewallFailOpen: "ENABLED" || "DISABLED" || "USE_LOCAL_RESOURCE_SETTING",// },// ],// };
ListFirewallConfigsCommandInput
ListFirewallConfigsCommandOutput
input
response
config
AccessDeniedException (client fault)
The current account doesn't have the IAM permissions required to perform the specified Resolver operation.
InternalServiceErrorException (client fault)
We encountered an unknown error. Try again in a few minutes.
ThrottlingException (client fault)
The request was throttled. Try again in a few minutes.
ValidationException (client fault)
You have provided an invalid command. Supported values are ADD, REMOVE, or REPLACE a domain.
ADD
REMOVE
REPLACE
Route53ResolverServiceException
Base exception class for all service exceptions from Route53Resolver service.
Readonly
Static
Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs.
A single call might return only a partial list of the configurations. For information, see
MaxResults
.Example
Use a bare-bones client and the command you need to make an API call.
Param
ListFirewallConfigsCommandInput
Returns
ListFirewallConfigsCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
The current account doesn't have the IAM permissions required to perform the specified Resolver operation.
Throws
InternalServiceErrorException (client fault)
We encountered an unknown error. Try again in a few minutes.
Throws
ThrottlingException (client fault)
The request was throttled. Try again in a few minutes.
Throws
ValidationException (client fault)
You have provided an invalid command. Supported values are
ADD
,REMOVE
, orREPLACE
a domain.Throws
Route53ResolverServiceException
Base exception class for all service exceptions from Route53Resolver service.