import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AssociateFirewallPolicyCommand , AssociateFirewallPolicyCommandInput , AssociateFirewallPolicyCommandOutput , } from "./commands/AssociateFirewallPolicyCommand" ; import { AssociateSubnetsCommand , AssociateSubnetsCommandInput , AssociateSubnetsCommandOutput , } from "./commands/AssociateSubnetsCommand" ; import { CreateFirewallCommand , CreateFirewallCommandInput , CreateFirewallCommandOutput , } from "./commands/CreateFirewallCommand" ; import { CreateFirewallPolicyCommand , CreateFirewallPolicyCommandInput , CreateFirewallPolicyCommandOutput , } from "./commands/CreateFirewallPolicyCommand" ; import { CreateRuleGroupCommand , CreateRuleGroupCommandInput , CreateRuleGroupCommandOutput , } from "./commands/CreateRuleGroupCommand" ; import { DeleteFirewallCommand , DeleteFirewallCommandInput , DeleteFirewallCommandOutput , } from "./commands/DeleteFirewallCommand" ; import { DeleteFirewallPolicyCommand , DeleteFirewallPolicyCommandInput , DeleteFirewallPolicyCommandOutput , } from "./commands/DeleteFirewallPolicyCommand" ; import { DeleteResourcePolicyCommand , DeleteResourcePolicyCommandInput , DeleteResourcePolicyCommandOutput , } from "./commands/DeleteResourcePolicyCommand" ; import { DeleteRuleGroupCommand , DeleteRuleGroupCommandInput , DeleteRuleGroupCommandOutput , } from "./commands/DeleteRuleGroupCommand" ; import { DescribeFirewallCommand , DescribeFirewallCommandInput , DescribeFirewallCommandOutput , } from "./commands/DescribeFirewallCommand" ; import { DescribeFirewallPolicyCommand , DescribeFirewallPolicyCommandInput , DescribeFirewallPolicyCommandOutput , } from "./commands/DescribeFirewallPolicyCommand" ; import { DescribeLoggingConfigurationCommand , DescribeLoggingConfigurationCommandInput , DescribeLoggingConfigurationCommandOutput , } from "./commands/DescribeLoggingConfigurationCommand" ; import { DescribeResourcePolicyCommand , DescribeResourcePolicyCommandInput , DescribeResourcePolicyCommandOutput , } from "./commands/DescribeResourcePolicyCommand" ; import { DescribeRuleGroupCommand , DescribeRuleGroupCommandInput , DescribeRuleGroupCommandOutput , } from "./commands/DescribeRuleGroupCommand" ; import { DescribeRuleGroupMetadataCommand , DescribeRuleGroupMetadataCommandInput , DescribeRuleGroupMetadataCommandOutput , } from "./commands/DescribeRuleGroupMetadataCommand" ; import { DisassociateSubnetsCommand , DisassociateSubnetsCommandInput , DisassociateSubnetsCommandOutput , } from "./commands/DisassociateSubnetsCommand" ; import { ListFirewallPoliciesCommand , ListFirewallPoliciesCommandInput , ListFirewallPoliciesCommandOutput , } from "./commands/ListFirewallPoliciesCommand" ; import { ListFirewallsCommand , ListFirewallsCommandInput , ListFirewallsCommandOutput , } from "./commands/ListFirewallsCommand" ; import { ListRuleGroupsCommand , ListRuleGroupsCommandInput , ListRuleGroupsCommandOutput , } from "./commands/ListRuleGroupsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { PutResourcePolicyCommand , PutResourcePolicyCommandInput , PutResourcePolicyCommandOutput , } from "./commands/PutResourcePolicyCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateFirewallDeleteProtectionCommand , UpdateFirewallDeleteProtectionCommandInput , UpdateFirewallDeleteProtectionCommandOutput , } from "./commands/UpdateFirewallDeleteProtectionCommand" ; import { UpdateFirewallDescriptionCommand , UpdateFirewallDescriptionCommandInput , UpdateFirewallDescriptionCommandOutput , } from "./commands/UpdateFirewallDescriptionCommand" ; import { UpdateFirewallPolicyChangeProtectionCommand , UpdateFirewallPolicyChangeProtectionCommandInput , UpdateFirewallPolicyChangeProtectionCommandOutput , } from "./commands/UpdateFirewallPolicyChangeProtectionCommand" ; import { UpdateFirewallPolicyCommand , UpdateFirewallPolicyCommandInput , UpdateFirewallPolicyCommandOutput , } from "./commands/UpdateFirewallPolicyCommand" ; import { UpdateLoggingConfigurationCommand , UpdateLoggingConfigurationCommandInput , UpdateLoggingConfigurationCommandOutput , } from "./commands/UpdateLoggingConfigurationCommand" ; import { UpdateRuleGroupCommand , UpdateRuleGroupCommandInput , UpdateRuleGroupCommandOutput , } from "./commands/UpdateRuleGroupCommand" ; import { UpdateSubnetChangeProtectionCommand , UpdateSubnetChangeProtectionCommandInput , UpdateSubnetChangeProtectionCommandOutput , } from "./commands/UpdateSubnetChangeProtectionCommand" ; import { NetworkFirewallClient } from "./NetworkFirewallClient" ; /**
 * <p>This is the API Reference for AWS Network Firewall. This guide is for developers who need
 *          detailed information about the Network Firewall API actions, data types, and errors. </p>
 *          <ul>
 *             <li>
 *                <p>The REST API requires you to handle connection details, such as calculating
 *                signatures, handling request retries, and error handling. For general information
 *                about using the AWS REST APIs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">AWS APIs</a>. </p>
 *                <p>To access Network Firewall using the REST API endpoint:
 *                   <code>https://network-firewall.<region>.amazonaws.com </code>
 *                </p>
 *             </li>
 *             <li>
 *                <p>Alternatively, you can use one of the AWS SDKs to access an API that's tailored to
 *                the programming language or platform that you're using. For more information, see
 *                   <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
 *             </li>
 *             <li>
 *                <p>For descriptions of Network Firewall features, including and step-by-step
 *                instructions on how to use them through the Network Firewall console, see the <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/">Network Firewall Developer
 *                   Guide</a>.</p>
 *             </li>
 *          </ul>
 *          <p>Network Firewall is a stateful, managed, network firewall and intrusion detection and
 *          prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the
 *          perimeter of your VPC. This includes filtering traffic going to and coming from an internet
 *          gateway, NAT gateway, or over VPN or AWS Direct Connect. Network Firewall uses rules that are compatible
 *       with Suricata, a free, open source intrusion detection system (IDS) engine.
 *       AWS Network Firewall supports Suricata version 5.0.2. For information about Suricata,
 *           see the <a href="https://suricata-ids.org/">Suricata website</a>.</p>
 *          <p>You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.
 *          The following are just a few examples: </p>
 *          <ul>
 *             <li>
 *                <p>Allow domains or IP addresses for known AWS service endpoints, such as Amazon S3, and
 *                block all other forms of traffic.</p>
 *             </li>
 *             <li>
 *                <p>Use custom lists of known bad domains to limit the types of domain names that your
 *                applications can access.</p>
 *             </li>
 *             <li>
 *                <p>Perform deep packet inspection on traffic entering or leaving your VPC.</p>
 *             </li>
 *             <li>
 *                <p>Use stateful protocol detection to filter protocols like HTTPS, regardless of the
 *                port used.</p>
 *             </li>
 *          </ul>
 *          <p>To enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in
 *          Network Firewall. For information about using Amazon VPC, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/">Amazon VPC User Guide</a>.</p>
 *          <p>To start using Network Firewall, do the following: </p>
 *          <ol>
 *             <li>
 *                <p>(Optional) If you don't already have a VPC that you want to protect, create it in
 *                Amazon VPC. </p>
 *             </li>
 *             <li>
 *                <p>In Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a
 *                subnet for the sole use of Network Firewall. </p>
 *             </li>
 *             <li>
 *                <p>In Network Firewall, create stateless and stateful rule groups,
 *                  to define the components of the network traffic filtering behavior that you want your firewall to have. </p>
 *             </li>
 *             <li>
 *                <p>In Network Firewall, create a firewall policy that uses your rule groups and
 *                  specifies additional default traffic filtering behavior. </p>
 *             </li>
 *             <li>
 *                <p>In Network Firewall, create a firewall and specify your new firewall policy and
 *                  VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you
 *                specify, with the behavior that's defined in the firewall policy.</p>
 *             </li>
 *             <li>
 *                <p>In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall
 *                endpoints.</p>
 *             </li>
 *          </ol>
 */ export class NetworkFirewall extends NetworkFirewallClient { /**
     * <p>Associates a <a>FirewallPolicy</a> to a <a>Firewall</a>. </p>
     *          <p>A firewall policy defines how to monitor and manage your VPC network traffic, using a
     *          collection of inspection rule groups and other settings. Each firewall requires one
     *          firewall policy association, and you can use the same firewall policy for multiple
     *          firewalls. </p>
     */ public associateFirewallPolicy ( args , options ? ) ; public associateFirewallPolicy ( args , cb ) ; public associateFirewallPolicy ( args , options , cb ) ; public associateFirewallPolicy ( args , optionsOrCb ? , cb ? ) { const command = new AssociateFirewallPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates the specified subnets in the Amazon VPC to the firewall. You can specify one
     *          subnet for each of the Availability Zones that the VPC spans. </p>
     *          <p>This request creates an AWS Network Firewall firewall endpoint in each of the subnets. To
     *          enable the firewall's protections, you must also modify the VPC's route tables for each
     *          subnet's Availability Zone, to redirect the traffic that's coming into and going out of the
     *          zone through the firewall endpoint. </p>
     */ public associateSubnets ( args , options ? ) ; public associateSubnets ( args , cb ) ; public associateSubnets ( args , options , cb ) ; public associateSubnets ( args , optionsOrCb ? , cb ? ) { const command = new AssociateSubnetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an AWS Network Firewall <a>Firewall</a> and accompanying <a>FirewallStatus</a> for a VPC. </p>
     *          <p>The firewall defines the configuration settings for an AWS Network Firewall firewall. The settings that you can define at creation include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource. </p>
     *          <p>After you create a firewall, you can provide additional settings, like the logging configuration. </p>
     *          <p>To update the settings for a firewall, you use the operations that apply to the settings
     *          themselves, for example <a>UpdateLoggingConfiguration</a>, <a>AssociateSubnets</a>, and <a>UpdateFirewallDeleteProtection</a>. </p>
     *          <p>To manage a firewall's tags, use the standard AWS resource tagging operations, <a>ListTagsForResource</a>, <a>TagResource</a>, and <a>UntagResource</a>.</p>
     *          <p>To retrieve information about firewalls, use <a>ListFirewalls</a> and <a>DescribeFirewall</a>.</p>
     */ public createFirewall ( args , options ? ) ; public createFirewall ( args , cb ) ; public createFirewall ( args , options , cb ) ; public createFirewall ( args , optionsOrCb ? , cb ? ) { const command = new CreateFirewallCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates the firewall policy for the firewall according to the specifications. </p>
     *          <p>An AWS Network Firewall firewall policy defines the behavior of a firewall, in a collection of
     *          stateless and stateful rule groups and other settings. You can use one firewall policy for
     *          multiple firewalls. </p>
     */ public createFirewallPolicy ( args , options ? ) ; public createFirewallPolicy ( args , cb ) ; public createFirewallPolicy ( args , options , cb ) ; public createFirewallPolicy ( args , optionsOrCb ? , cb ? ) { const command = new CreateFirewallPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates the specified stateless or stateful rule group, which includes the rules for
     *          network traffic inspection, a capacity setting, and tags. </p>
     *          <p>You provide your rule group specification in your request using either
     *             <code>RuleGroup</code> or <code>Rules</code>.</p>
     */ public createRuleGroup ( args , options ? ) ; public createRuleGroup ( args , cb ) ; public createRuleGroup ( args , options , cb ) ; public createRuleGroup ( args , optionsOrCb ? , cb ? ) { const command = new CreateRuleGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified <a>Firewall</a> and its <a>FirewallStatus</a>.
     *        This operation requires the firewall's <code>DeleteProtection</code> flag to be
     *             <code>FALSE</code>. You can't revert this operation. </p>
     *          <p>You can check whether a firewall is
     *          in use by reviewing the route tables for the Availability Zones where you have
     *          firewall subnet mappings. Retrieve the subnet mappings by calling <a>DescribeFirewall</a>.
     *          You define and update the route tables through Amazon VPC. As needed, update the route tables for the
     *          zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints,
     *          you can remove the firewall safely.</p>
     *          <p>To delete a firewall, remove the delete protection if you need to using <a>UpdateFirewallDeleteProtection</a>,
     *          then delete the firewall by calling <a>DeleteFirewall</a>. </p>
     */ public deleteFirewall ( args , options ? ) ; public deleteFirewall ( args , cb ) ; public deleteFirewall ( args , options , cb ) ; public deleteFirewall ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFirewallCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified <a>FirewallPolicy</a>. </p>
     */ public deleteFirewallPolicy ( args , options ? ) ; public deleteFirewallPolicy ( args , cb ) ; public deleteFirewallPolicy ( args , options , cb ) ; public deleteFirewallPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFirewallPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>
     */ public deleteResourcePolicy ( args , options ? ) ; public deleteResourcePolicy ( args , cb ) ; public deleteResourcePolicy ( args , options , cb ) ; public deleteResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified <a>RuleGroup</a>. </p>
     */ public deleteRuleGroup ( args , options ? ) ; public deleteRuleGroup ( args , cb ) ; public deleteRuleGroup ( args , options , cb ) ; public deleteRuleGroup ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRuleGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the data objects for the specified firewall. </p>
     */ public describeFirewall ( args , options ? ) ; public describeFirewall ( args , cb ) ; public describeFirewall ( args , options , cb ) ; public describeFirewall ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFirewallCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the data objects for the specified firewall policy. </p>
     */ public describeFirewallPolicy ( args , options ? ) ; public describeFirewallPolicy ( args , cb ) ; public describeFirewallPolicy ( args , options , cb ) ; public describeFirewallPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFirewallPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the logging configuration for the specified firewall. </p>
     */ public describeLoggingConfiguration ( args , options ? ) ; public describeLoggingConfiguration ( args , cb ) ; public describeLoggingConfiguration ( args , options , cb ) ; public describeLoggingConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLoggingConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>
     */ public describeResourcePolicy ( args , options ? ) ; public describeResourcePolicy ( args , cb ) ; public describeResourcePolicy ( args , options , cb ) ; public describeResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new DescribeResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the data objects for the specified rule group. </p>
     */ public describeRuleGroup ( args , options ? ) ; public describeRuleGroup ( args , cb ) ; public describeRuleGroup ( args , options , cb ) ; public describeRuleGroup ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRuleGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>High-level information about a rule group, returned by operations like create and describe.
     *          You can use the information provided in the metadata to retrieve and manage a rule group.
     *          You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>.
     *       </p>
     */ public describeRuleGroupMetadata ( args , options ? ) ; public describeRuleGroupMetadata ( args , cb ) ; public describeRuleGroupMetadata ( args , options , cb ) ; public describeRuleGroupMetadata ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRuleGroupMetadataCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified subnet associations from the firewall. This removes the
     *           firewall endpoints from the subnets and removes any network filtering protections that the endpoints
     *           were providing.
     *       </p>
     */ public disassociateSubnets ( args , options ? ) ; public disassociateSubnets ( args , cb ) ; public disassociateSubnets ( args , options , cb ) ; public disassociateSubnets ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateSubnetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the metadata for the firewall policies that you have defined. Depending on
     *          your setting for max results and the number of firewall policies, a single call might not
     *          return the full list. </p>
     */ public listFirewallPolicies ( args , options ? ) ; public listFirewallPolicies ( args , cb ) ; public listFirewallPolicies ( args , options , cb ) ; public listFirewallPolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListFirewallPoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the metadata for the firewalls that you have defined. If you provide VPC
     *          identifiers in your request, this returns only the firewalls for those VPCs.</p>
     *          <p>Depending on your setting for max results and the number of firewalls, a single call
     *          might not return the full list. </p>
     */ public listFirewalls ( args , options ? ) ; public listFirewalls ( args , cb ) ; public listFirewalls ( args , options , cb ) ; public listFirewalls ( args , optionsOrCb ? , cb ? ) { const command = new ListFirewallsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the metadata for the rule groups that you have defined. Depending on your
     *          setting for max results and the number of rule groups, a single call might not return the
     *          full list. </p>
     */ public listRuleGroups ( args , options ? ) ; public listRuleGroups ( args , cb ) ; public listRuleGroups ( args , options , cb ) ; public listRuleGroups ( args , optionsOrCb ? , cb ? ) { const command = new ListRuleGroupsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the tags associated with the specified resource. Tags are key:value pairs that
     *          you can use to categorize and manage your resources, for purposes like billing. For
     *          example, you might set the tag key to "customer" and the value to the customer name or ID.
     *          You can specify one or more tags to add to each AWS resource, up to 50 tags for a
     *          resource.</p>
     *          <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
     *          policies, and rule groups. </p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates or updates an AWS Identity and Access Management policy for your rule group or firewall policy. Use this to share rule groups and firewall policies between accounts. This operation works in conjunction with the AWS Resource Access Manager (RAM) service
     *            to manage resource sharing for Network Firewall. </p>
     *          <p>Use this operation to create or update a resource policy for your rule group or firewall policy. In the policy, you specify the accounts that you want to share the resource with and the operations that you want the accounts to be able to perform. </p>
     *          <p>When you add an account in the resource policy, you then run the following Resource Access Manager (RAM) operations to access and accept the shared rule group or firewall policy. </p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_GetResourceShareInvitations.html">GetResourceShareInvitations</a> - Returns the Amazon Resource Names (ARNs) of the resource share invitations.  </p>
     *            </li>
     *             <li>
     *                <p>
     *                   <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_AcceptResourceShareInvitation.html">AcceptResourceShareInvitation</a> - Accepts the share invitation for a specified resource share. </p>
     *            </li>
     *          </ul>
     *          <p>For additional information about resource sharing using RAM, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/what-is.html">AWS Resource Access Manager User Guide</a>.</p>
     */ public putResourcePolicy ( args , options ? ) ; public putResourcePolicy ( args , cb ) ; public putResourcePolicy ( args , options , cb ) ; public putResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds the specified tags to the specified resource. Tags are key:value pairs that you can
     *          use to categorize and manage your resources, for purposes like billing. For example, you
     *          might set the tag key to "customer" and the value to the customer name or ID. You can
     *          specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
     *          <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
     *          policies, and rule groups. </p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the tags with the specified keys from the specified resource. Tags are key:value
     *          pairs that you can use to categorize and manage your resources, for purposes like billing.
     *          For example, you might set the tag key to "customer" and the value to the customer name or
     *          ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a
     *          resource.</p>
     *          <p>You can manage tags for the AWS resources that you manage through AWS Network Firewall:
     *          firewalls, firewall policies, and rule groups. </p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the flag, <code>DeleteProtection</code>, which indicates whether it is possible
     *          to delete the firewall. If the flag is set to <code>TRUE</code>, the firewall is protected
     *          against deletion. This setting helps protect against accidentally deleting a firewall
     *          that's in use. </p>
     */ public updateFirewallDeleteProtection ( args , options ? ) ; public updateFirewallDeleteProtection ( args , cb ) ; public updateFirewallDeleteProtection ( args , options , cb ) ; public updateFirewallDeleteProtection ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFirewallDeleteProtectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the description for the specified firewall. Use the description to help you
     *          identify the firewall when you're working with it. </p>
     */ public updateFirewallDescription ( args , options ? ) ; public updateFirewallDescription ( args , cb ) ; public updateFirewallDescription ( args , options , cb ) ; public updateFirewallDescription ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFirewallDescriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the properties of the specified firewall policy.</p>
     */ public updateFirewallPolicy ( args , options ? ) ; public updateFirewallPolicy ( args , cb ) ; public updateFirewallPolicy ( args , options , cb ) ; public updateFirewallPolicy ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFirewallPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the flag, <code>ChangeProtection</code>, which indicates whether it
     *          is possible to change the firewall. If the flag is set to <code>TRUE</code>, the firewall is protected
     *          from changes. This setting helps protect against accidentally changing a firewall that's in use.</p>
     */ public updateFirewallPolicyChangeProtection ( args , options ? ) ; public updateFirewallPolicyChangeProtection ( args , cb ) ; public updateFirewallPolicyChangeProtection ( args , options , cb ) ; public updateFirewallPolicyChangeProtection ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFirewallPolicyChangeProtectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets the logging configuration for the specified firewall. </p>
     *          <p>To change the logging configuration, retrieve the <a>LoggingConfiguration</a> by calling <a>DescribeLoggingConfiguration</a>, then change it and provide
     *          the modified object to this update call. You must change the logging configuration one
     *             <a>LogDestinationConfig</a> at a time inside the retrieved <a>LoggingConfiguration</a> object. </p>
     *          <p>You can perform only one of the following actions in any call to
     *             <code>UpdateLoggingConfiguration</code>: </p>
     *          <ul>
     *             <li>
     *                <p>Create a new log destination object by adding a single
     *                   <code>LogDestinationConfig</code> array element to
     *                   <code>LogDestinationConfigs</code>.</p>
     *             </li>
     *             <li>
     *                <p>Delete a log destination object by removing a single
     *                   <code>LogDestinationConfig</code> array element from
     *                   <code>LogDestinationConfigs</code>.</p>
     *             </li>
     *             <li>
     *                <p>Change the <code>LogDestination</code> setting in a single
     *                   <code>LogDestinationConfig</code> array element.</p>
     *             </li>
     *          </ul>
     *          <p>You can't change the <code>LogDestinationType</code> or <code>LogType</code> in a
     *             <code>LogDestinationConfig</code>. To change these settings, delete the existing
     *             <code>LogDestinationConfig</code> object and create a new one, using two separate calls
     *          to this update operation.</p>
     */ public updateLoggingConfiguration ( args , options ? ) ; public updateLoggingConfiguration ( args , cb ) ; public updateLoggingConfiguration ( args , options , cb ) ; public updateLoggingConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateLoggingConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the rule settings for the specified rule group. You use a rule group by
     *          reference in one or more firewall policies. When you modify a rule group, you modify all
     *          firewall policies that use the rule group. </p>
     *          <p>To update a rule group, first call <a>DescribeRuleGroup</a> to retrieve the
     *          current <a>RuleGroup</a> object, update the object as needed, and then provide
     *          the updated object to this call. </p>
     */ public updateRuleGroup ( args , options ? ) ; public updateRuleGroup ( args , cb ) ; public updateRuleGroup ( args , options , cb ) ; public updateRuleGroup ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRuleGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p></p>
     */ public updateSubnetChangeProtection ( args , options ? ) ; public updateSubnetChangeProtection ( args , cb ) ; public updateSubnetChangeProtection ( args , options , cb ) ; public updateSubnetChangeProtection ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSubnetChangeProtectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }