All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.networkfirewall.NetworkFirewallAsyncClient Maven / Gradle / Ivy

/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.networkfirewall;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.networkfirewall.model.AssociateFirewallPolicyRequest;
import software.amazon.awssdk.services.networkfirewall.model.AssociateFirewallPolicyResponse;
import software.amazon.awssdk.services.networkfirewall.model.AssociateSubnetsRequest;
import software.amazon.awssdk.services.networkfirewall.model.AssociateSubnetsResponse;
import software.amazon.awssdk.services.networkfirewall.model.CreateFirewallPolicyRequest;
import software.amazon.awssdk.services.networkfirewall.model.CreateFirewallPolicyResponse;
import software.amazon.awssdk.services.networkfirewall.model.CreateFirewallRequest;
import software.amazon.awssdk.services.networkfirewall.model.CreateFirewallResponse;
import software.amazon.awssdk.services.networkfirewall.model.CreateRuleGroupRequest;
import software.amazon.awssdk.services.networkfirewall.model.CreateRuleGroupResponse;
import software.amazon.awssdk.services.networkfirewall.model.CreateTlsInspectionConfigurationRequest;
import software.amazon.awssdk.services.networkfirewall.model.CreateTlsInspectionConfigurationResponse;
import software.amazon.awssdk.services.networkfirewall.model.DeleteFirewallPolicyRequest;
import software.amazon.awssdk.services.networkfirewall.model.DeleteFirewallPolicyResponse;
import software.amazon.awssdk.services.networkfirewall.model.DeleteFirewallRequest;
import software.amazon.awssdk.services.networkfirewall.model.DeleteFirewallResponse;
import software.amazon.awssdk.services.networkfirewall.model.DeleteResourcePolicyRequest;
import software.amazon.awssdk.services.networkfirewall.model.DeleteResourcePolicyResponse;
import software.amazon.awssdk.services.networkfirewall.model.DeleteRuleGroupRequest;
import software.amazon.awssdk.services.networkfirewall.model.DeleteRuleGroupResponse;
import software.amazon.awssdk.services.networkfirewall.model.DeleteTlsInspectionConfigurationRequest;
import software.amazon.awssdk.services.networkfirewall.model.DeleteTlsInspectionConfigurationResponse;
import software.amazon.awssdk.services.networkfirewall.model.DescribeFirewallPolicyRequest;
import software.amazon.awssdk.services.networkfirewall.model.DescribeFirewallPolicyResponse;
import software.amazon.awssdk.services.networkfirewall.model.DescribeFirewallRequest;
import software.amazon.awssdk.services.networkfirewall.model.DescribeFirewallResponse;
import software.amazon.awssdk.services.networkfirewall.model.DescribeLoggingConfigurationRequest;
import software.amazon.awssdk.services.networkfirewall.model.DescribeLoggingConfigurationResponse;
import software.amazon.awssdk.services.networkfirewall.model.DescribeResourcePolicyRequest;
import software.amazon.awssdk.services.networkfirewall.model.DescribeResourcePolicyResponse;
import software.amazon.awssdk.services.networkfirewall.model.DescribeRuleGroupMetadataRequest;
import software.amazon.awssdk.services.networkfirewall.model.DescribeRuleGroupMetadataResponse;
import software.amazon.awssdk.services.networkfirewall.model.DescribeRuleGroupRequest;
import software.amazon.awssdk.services.networkfirewall.model.DescribeRuleGroupResponse;
import software.amazon.awssdk.services.networkfirewall.model.DescribeTlsInspectionConfigurationRequest;
import software.amazon.awssdk.services.networkfirewall.model.DescribeTlsInspectionConfigurationResponse;
import software.amazon.awssdk.services.networkfirewall.model.DisassociateSubnetsRequest;
import software.amazon.awssdk.services.networkfirewall.model.DisassociateSubnetsResponse;
import software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesRequest;
import software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesResponse;
import software.amazon.awssdk.services.networkfirewall.model.ListFirewallsRequest;
import software.amazon.awssdk.services.networkfirewall.model.ListFirewallsResponse;
import software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsRequest;
import software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsResponse;
import software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsRequest;
import software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsResponse;
import software.amazon.awssdk.services.networkfirewall.model.PutResourcePolicyRequest;
import software.amazon.awssdk.services.networkfirewall.model.PutResourcePolicyResponse;
import software.amazon.awssdk.services.networkfirewall.model.TagResourceRequest;
import software.amazon.awssdk.services.networkfirewall.model.TagResourceResponse;
import software.amazon.awssdk.services.networkfirewall.model.UntagResourceRequest;
import software.amazon.awssdk.services.networkfirewall.model.UntagResourceResponse;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallDeleteProtectionRequest;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallDeleteProtectionResponse;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallDescriptionRequest;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallDescriptionResponse;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallEncryptionConfigurationRequest;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallEncryptionConfigurationResponse;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallPolicyChangeProtectionRequest;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallPolicyChangeProtectionResponse;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallPolicyRequest;
import software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallPolicyResponse;
import software.amazon.awssdk.services.networkfirewall.model.UpdateLoggingConfigurationRequest;
import software.amazon.awssdk.services.networkfirewall.model.UpdateLoggingConfigurationResponse;
import software.amazon.awssdk.services.networkfirewall.model.UpdateRuleGroupRequest;
import software.amazon.awssdk.services.networkfirewall.model.UpdateRuleGroupResponse;
import software.amazon.awssdk.services.networkfirewall.model.UpdateSubnetChangeProtectionRequest;
import software.amazon.awssdk.services.networkfirewall.model.UpdateSubnetChangeProtectionResponse;
import software.amazon.awssdk.services.networkfirewall.model.UpdateTlsInspectionConfigurationRequest;
import software.amazon.awssdk.services.networkfirewall.model.UpdateTlsInspectionConfigurationResponse;
import software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallPoliciesPublisher;
import software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallsPublisher;
import software.amazon.awssdk.services.networkfirewall.paginators.ListRuleGroupsPublisher;
import software.amazon.awssdk.services.networkfirewall.paginators.ListTLSInspectionConfigurationsPublisher;
import software.amazon.awssdk.services.networkfirewall.paginators.ListTagsForResourcePublisher;

/**
 * Service client for accessing Network Firewall asynchronously. This can be created using the static {@link #builder()}
 * method.
 *
 * 

* This is the API Reference for Network Firewall. This guide is for developers who need detailed information about the * Network Firewall API actions, data types, and errors. *

*
    *
  • *

    * 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 Amazon Web Services REST APIs, see Amazon Web Services APIs. *

    *

    * To access Network Firewall using the REST API endpoint: * https://network-firewall.<region>.amazonaws.com *

    *
  • *
  • *

    * Alternatively, you can use one of the Amazon Web Services SDKs to access an API that's tailored to the programming * language or platform that you're using. For more information, see Amazon * Web Services SDKs. *

    *
  • *
  • *

    * For descriptions of Network Firewall features, including and step-by-step instructions on how to use them through the * Network Firewall console, see the Network Firewall Developer Guide. *

    *
  • *
*

* 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 Direct Connect. * Network Firewall uses rules that are compatible with Suricata, a free, open source network analysis and threat * detection engine. Network Firewall supports Suricata version 6.0.9. For information about Suricata, see the Suricata website. *

*

* You can use Network Firewall to monitor and protect your VPC traffic in a number of ways. The following are just a * few examples: *

*
    *
  • *

    * Allow domains or IP addresses for known Amazon Web Services service endpoints, such as Amazon S3, and block all other * forms of traffic. *

    *
  • *
  • *

    * Use custom lists of known bad domains to limit the types of domain names that your applications can access. *

    *
  • *
  • *

    * Perform deep packet inspection on traffic entering or leaving your VPC. *

    *
  • *
  • *

    * Use stateful protocol detection to filter protocols like HTTPS, regardless of the port used. *

    *
  • *
*

* 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 Amazon VPC User * Guide. *

*

* To start using Network Firewall, do the following: *

*
    *
  1. *

    * (Optional) If you don't already have a VPC that you want to protect, create it in Amazon VPC. *

    *
  2. *
  3. *

    * 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. *

    *
  4. *
  5. *

    * 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. *

    *
  6. *
  7. *

    * In Network Firewall, create a firewall policy that uses your rule groups and specifies additional default traffic * filtering behavior. *

    *
  8. *
  9. *

    * 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. *

    *
  10. *
  11. *

    * In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall endpoints. *

    *
  12. *
*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface NetworkFirewallAsyncClient extends AwsClient { String SERVICE_NAME = "network-firewall"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "network-firewall"; /** *

* Associates a FirewallPolicy to a Firewall. *

*

* 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. *

* * @param associateFirewallPolicyRequest * @return A Java Future containing the result of the AssociateFirewallPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

    *
      *
    • *

      * You specified an unsupported parameter name or value. *

      *
    • *
    • *

      * You tried to update a property with a value that isn't among the available types. *

      *
    • *
    • *

      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

      *
    • *
    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
    • *
    • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
    • *
    • ThrottlingException Unable to process the request due to throttling limitations.
    • *
    • InvalidTokenException The token you provided is stale or isn't valid for the operation.
    • *
    • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
    • *
    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
    • *
    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
    • *
    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
    • *
    * @sample NetworkFirewallAsyncClient.AssociateFirewallPolicy * @see AWS API Documentation */ default CompletableFuture associateFirewallPolicy( AssociateFirewallPolicyRequest associateFirewallPolicyRequest) { throw new UnsupportedOperationException(); } /** *

    * Associates a FirewallPolicy to a Firewall. *

    *

    * 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. *

    *
    *

    * This is a convenience which creates an instance of the {@link AssociateFirewallPolicyRequest.Builder} avoiding * the need to create one manually via {@link AssociateFirewallPolicyRequest#builder()} *

    * * @param associateFirewallPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.AssociateFirewallPolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the AssociateFirewallPolicy operation returned by the service.
    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
      *
    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

      *
        *
      • *

        * You specified an unsupported parameter name or value. *

        *
      • *
      • *

        * You tried to update a property with a value that isn't among the available types. *

        *
      • *
      • *

        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

        *
      • *
      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
      • *
      • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
      • *
      • ThrottlingException Unable to process the request due to throttling limitations.
      • *
      • InvalidTokenException The token you provided is stale or isn't valid for the operation.
      • *
      • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
      • *
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
      • *
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
      • *
      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
      • *
      * @sample NetworkFirewallAsyncClient.AssociateFirewallPolicy * @see AWS API Documentation */ default CompletableFuture associateFirewallPolicy( Consumer associateFirewallPolicyRequest) { return associateFirewallPolicy(AssociateFirewallPolicyRequest.builder().applyMutation(associateFirewallPolicyRequest) .build()); } /** *

      * 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. *

      *

      * This request creates an 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. *

      * * @param associateSubnetsRequest * @return A Java Future containing the result of the AssociateSubnets operation returned by the service.
      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
        *
      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

        *
          *
        • *

          * You specified an unsupported parameter name or value. *

          *
        • *
        • *

          * You tried to update a property with a value that isn't among the available types. *

          *
        • *
        • *

          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

          *
        • *
        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
        • *
        • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
        • *
        • ThrottlingException Unable to process the request due to throttling limitations.
        • *
        • InvalidTokenException The token you provided is stale or isn't valid for the operation.
        • *
        • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
        • *
        • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
        • *
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
        • *
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
        • *
        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
        • *
        * @sample NetworkFirewallAsyncClient.AssociateSubnets * @see AWS API Documentation */ default CompletableFuture associateSubnets(AssociateSubnetsRequest associateSubnetsRequest) { throw new UnsupportedOperationException(); } /** *

        * 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. *

        *

        * This request creates an 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. *

        *
        *

        * This is a convenience which creates an instance of the {@link AssociateSubnetsRequest.Builder} avoiding the need * to create one manually via {@link AssociateSubnetsRequest#builder()} *

        * * @param associateSubnetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.AssociateSubnetsRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateSubnets operation returned by the service.
        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
          *
        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

          *
            *
          • *

            * You specified an unsupported parameter name or value. *

            *
          • *
          • *

            * You tried to update a property with a value that isn't among the available types. *

            *
          • *
          • *

            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

            *
          • *
          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
          • *
          • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
          • *
          • ThrottlingException Unable to process the request due to throttling limitations.
          • *
          • InvalidTokenException The token you provided is stale or isn't valid for the operation.
          • *
          • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
          • *
          • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
          • *
          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
          • *
          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
          • *
          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
          • *
          * @sample NetworkFirewallAsyncClient.AssociateSubnets * @see AWS API Documentation */ default CompletableFuture associateSubnets( Consumer associateSubnetsRequest) { return associateSubnets(AssociateSubnetsRequest.builder().applyMutation(associateSubnetsRequest).build()); } /** *

          * Creates an Network Firewall Firewall and accompanying FirewallStatus for a VPC. *

          *

          * The firewall defines the configuration settings for an 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 Amazon Web Services resource. *

          *

          * After you create a firewall, you can provide additional settings, like the logging configuration. *

          *

          * To update the settings for a firewall, you use the operations that apply to the settings themselves, for example * UpdateLoggingConfiguration, AssociateSubnets, and UpdateFirewallDeleteProtection. *

          *

          * To manage a firewall's tags, use the standard Amazon Web Services resource tagging operations, * ListTagsForResource, TagResource, and UntagResource. *

          *

          * To retrieve information about firewalls, use ListFirewalls and DescribeFirewall. *

          * * @param createFirewallRequest * @return A Java Future containing the result of the CreateFirewall operation returned by the service.
          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
            *
          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

            *
              *
            • *

              * You specified an unsupported parameter name or value. *

              *
            • *
            • *

              * You tried to update a property with a value that isn't among the available types. *

              *
            • *
            • *

              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

              *
            • *
            • LimitExceededException Unable to perform the operation because doing so would violate a limit * setting.
            • *
            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
            • *
            • ThrottlingException Unable to process the request due to throttling limitations.
            • *
            • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
            • *
            • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
            • *
            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
            • *
            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
            • *
            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
            • *
            * @sample NetworkFirewallAsyncClient.CreateFirewall * @see AWS API Documentation */ default CompletableFuture createFirewall(CreateFirewallRequest createFirewallRequest) { throw new UnsupportedOperationException(); } /** *

            * Creates an Network Firewall Firewall and accompanying FirewallStatus for a VPC. *

            *

            * The firewall defines the configuration settings for an 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 Amazon Web Services resource. *

            *

            * After you create a firewall, you can provide additional settings, like the logging configuration. *

            *

            * To update the settings for a firewall, you use the operations that apply to the settings themselves, for example * UpdateLoggingConfiguration, AssociateSubnets, and UpdateFirewallDeleteProtection. *

            *

            * To manage a firewall's tags, use the standard Amazon Web Services resource tagging operations, * ListTagsForResource, TagResource, and UntagResource. *

            *

            * To retrieve information about firewalls, use ListFirewalls and DescribeFirewall. *

            *
            *

            * This is a convenience which creates an instance of the {@link CreateFirewallRequest.Builder} avoiding the need to * create one manually via {@link CreateFirewallRequest#builder()} *

            * * @param createFirewallRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.CreateFirewallRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateFirewall operation returned by the service.
            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
              *
            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

              *
                *
              • *

                * You specified an unsupported parameter name or value. *

                *
              • *
              • *

                * You tried to update a property with a value that isn't among the available types. *

                *
              • *
              • *

                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                *
              • *
              • LimitExceededException Unable to perform the operation because doing so would violate a limit * setting.
              • *
              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
              • *
              • ThrottlingException Unable to process the request due to throttling limitations.
              • *
              • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
              • *
              • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
              • *
              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
              • *
              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
              • *
              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
              • *
              * @sample NetworkFirewallAsyncClient.CreateFirewall * @see AWS API Documentation */ default CompletableFuture createFirewall(Consumer createFirewallRequest) { return createFirewall(CreateFirewallRequest.builder().applyMutation(createFirewallRequest).build()); } /** *

              * Creates the firewall policy for the firewall according to the specifications. *

              *

              * An 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. *

              * * @param createFirewallPolicyRequest * @return A Java Future containing the result of the CreateFirewallPolicy operation returned by the service.
              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                *
              • LimitExceededException Unable to perform the operation because doing so would violate a limit * setting.
              • *
              • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                *
                  *
                • *

                  * You specified an unsupported parameter name or value. *

                  *
                • *
                • *

                  * You tried to update a property with a value that isn't among the available types. *

                  *
                • *
                • *

                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                  *
                • *
                • ThrottlingException Unable to process the request due to throttling limitations.
                • *
                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                • *
                • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
                • *
                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                • *
                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                • *
                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                • *
                * @sample NetworkFirewallAsyncClient.CreateFirewallPolicy * @see AWS API Documentation */ default CompletableFuture createFirewallPolicy( CreateFirewallPolicyRequest createFirewallPolicyRequest) { throw new UnsupportedOperationException(); } /** *

                * Creates the firewall policy for the firewall according to the specifications. *

                *

                * An 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. *

                *
                *

                * This is a convenience which creates an instance of the {@link CreateFirewallPolicyRequest.Builder} avoiding the * need to create one manually via {@link CreateFirewallPolicyRequest#builder()} *

                * * @param createFirewallPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.CreateFirewallPolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateFirewallPolicy operation returned by the service.
                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                  *
                • LimitExceededException Unable to perform the operation because doing so would violate a limit * setting.
                • *
                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                  *
                    *
                  • *

                    * You specified an unsupported parameter name or value. *

                    *
                  • *
                  • *

                    * You tried to update a property with a value that isn't among the available types. *

                    *
                  • *
                  • *

                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                    *
                  • *
                  • ThrottlingException Unable to process the request due to throttling limitations.
                  • *
                  • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                  • *
                  • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
                  • *
                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                  • *
                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                  • *
                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                  • *
                  * @sample NetworkFirewallAsyncClient.CreateFirewallPolicy * @see AWS API Documentation */ default CompletableFuture createFirewallPolicy( Consumer createFirewallPolicyRequest) { return createFirewallPolicy(CreateFirewallPolicyRequest.builder().applyMutation(createFirewallPolicyRequest).build()); } /** *

                  * Creates the specified stateless or stateful rule group, which includes the rules for network traffic inspection, * a capacity setting, and tags. *

                  *

                  * You provide your rule group specification in your request using either RuleGroup or * Rules. *

                  * * @param createRuleGroupRequest * @return A Java Future containing the result of the CreateRuleGroup operation returned by the service.
                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                    *
                  • LimitExceededException Unable to perform the operation because doing so would violate a limit * setting.
                  • *
                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                    *
                      *
                    • *

                      * You specified an unsupported parameter name or value. *

                      *
                    • *
                    • *

                      * You tried to update a property with a value that isn't among the available types. *

                      *
                    • *
                    • *

                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                      *
                    • *
                    • ThrottlingException Unable to process the request due to throttling limitations.
                    • *
                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                    • *
                    • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
                    • *
                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                    • *
                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                    • *
                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                    • *
                    * @sample NetworkFirewallAsyncClient.CreateRuleGroup * @see AWS API Documentation */ default CompletableFuture createRuleGroup(CreateRuleGroupRequest createRuleGroupRequest) { throw new UnsupportedOperationException(); } /** *

                    * Creates the specified stateless or stateful rule group, which includes the rules for network traffic inspection, * a capacity setting, and tags. *

                    *

                    * You provide your rule group specification in your request using either RuleGroup or * Rules. *

                    *
                    *

                    * This is a convenience which creates an instance of the {@link CreateRuleGroupRequest.Builder} avoiding the need * to create one manually via {@link CreateRuleGroupRequest#builder()} *

                    * * @param createRuleGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.CreateRuleGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateRuleGroup operation returned by the service.
                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                      *
                    • LimitExceededException Unable to perform the operation because doing so would violate a limit * setting.
                    • *
                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                      *
                        *
                      • *

                        * You specified an unsupported parameter name or value. *

                        *
                      • *
                      • *

                        * You tried to update a property with a value that isn't among the available types. *

                        *
                      • *
                      • *

                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                        *
                      • *
                      • ThrottlingException Unable to process the request due to throttling limitations.
                      • *
                      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                      • *
                      • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
                      • *
                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                      • *
                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                      • *
                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                      • *
                      * @sample NetworkFirewallAsyncClient.CreateRuleGroup * @see AWS API Documentation */ default CompletableFuture createRuleGroup( Consumer createRuleGroupRequest) { return createRuleGroup(CreateRuleGroupRequest.builder().applyMutation(createRuleGroupRequest).build()); } /** *

                      * Creates an Network Firewall TLS inspection configuration. A TLS inspection configuration contains Certificate * Manager certificate associations between and the scope configurations that Network Firewall uses to decrypt and * re-encrypt traffic traveling through your firewall. *

                      *

                      * After you create a TLS inspection configuration, you can associate it with a new firewall policy. *

                      *

                      * To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration. *

                      *

                      * To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging * operations, ListTagsForResource, TagResource, and UntagResource. *

                      *

                      * To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and * DescribeTLSInspectionConfiguration. *

                      *

                      * For more information about TLS inspection configurations, see Inspecting SSL/TLS * traffic with TLS inspection configurations in the Network Firewall Developer Guide. *

                      * * @param createTlsInspectionConfigurationRequest * @return A Java Future containing the result of the CreateTLSInspectionConfiguration operation returned by the * service.
                      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                        *
                      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                        *
                          *
                        • *

                          * You specified an unsupported parameter name or value. *

                          *
                        • *
                        • *

                          * You tried to update a property with a value that isn't among the available types. *

                          *
                        • *
                        • *

                          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                          *
                        • *
                        • ThrottlingException Unable to process the request due to throttling limitations.
                        • *
                        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                        • *
                        • LimitExceededException Unable to perform the operation because doing so would violate a limit * setting.
                        • *
                        • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
                        • *
                        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                        • *
                        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                        • *
                        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                        • *
                        * @sample NetworkFirewallAsyncClient.CreateTLSInspectionConfiguration * @see AWS API Documentation */ default CompletableFuture createTLSInspectionConfiguration( CreateTlsInspectionConfigurationRequest createTlsInspectionConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

                        * Creates an Network Firewall TLS inspection configuration. A TLS inspection configuration contains Certificate * Manager certificate associations between and the scope configurations that Network Firewall uses to decrypt and * re-encrypt traffic traveling through your firewall. *

                        *

                        * After you create a TLS inspection configuration, you can associate it with a new firewall policy. *

                        *

                        * To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration. *

                        *

                        * To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging * operations, ListTagsForResource, TagResource, and UntagResource. *

                        *

                        * To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and * DescribeTLSInspectionConfiguration. *

                        *

                        * For more information about TLS inspection configurations, see Inspecting SSL/TLS * traffic with TLS inspection configurations in the Network Firewall Developer Guide. *

                        *
                        *

                        * This is a convenience which creates an instance of the {@link CreateTlsInspectionConfigurationRequest.Builder} * avoiding the need to create one manually via {@link CreateTlsInspectionConfigurationRequest#builder()} *

                        * * @param createTlsInspectionConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.CreateTlsInspectionConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the CreateTLSInspectionConfiguration operation returned by the * service.
                        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                          *
                        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                          *
                            *
                          • *

                            * You specified an unsupported parameter name or value. *

                            *
                          • *
                          • *

                            * You tried to update a property with a value that isn't among the available types. *

                            *
                          • *
                          • *

                            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                            *
                          • *
                          • ThrottlingException Unable to process the request due to throttling limitations.
                          • *
                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                          • *
                          • LimitExceededException Unable to perform the operation because doing so would violate a limit * setting.
                          • *
                          • InsufficientCapacityException Amazon Web Services doesn't currently have enough available capacity to * fulfill your request. Try your request later.
                          • *
                          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                          • *
                          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                          • *
                          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                          • *
                          * @sample NetworkFirewallAsyncClient.CreateTLSInspectionConfiguration * @see AWS API Documentation */ default CompletableFuture createTLSInspectionConfiguration( Consumer createTlsInspectionConfigurationRequest) { return createTLSInspectionConfiguration(CreateTlsInspectionConfigurationRequest.builder() .applyMutation(createTlsInspectionConfigurationRequest).build()); } /** *

                          * Deletes the specified Firewall and its FirewallStatus. This operation requires the firewall's * DeleteProtection flag to be FALSE. You can't revert this operation. *

                          *

                          * 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 DescribeFirewall. 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. *

                          *

                          * To delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection, * then delete the firewall by calling DeleteFirewall. *

                          * * @param deleteFirewallRequest * @return A Java Future containing the result of the DeleteFirewall operation returned by the service.
                          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                            *
                          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                            *
                              *
                            • *

                              * You specified an unsupported parameter name or value. *

                              *
                            • *
                            • *

                              * You tried to update a property with a value that isn't among the available types. *

                              *
                            • *
                            • *

                              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                              *
                            • *
                            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                            • *
                            • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                            • *
                            • ThrottlingException Unable to process the request due to throttling limitations.
                            • *
                            • UnsupportedOperationException The operation you requested isn't supported by Network Firewall.
                            • *
                            • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                            • *
                            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                            • *
                            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                            • *
                            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                            • *
                            * @sample NetworkFirewallAsyncClient.DeleteFirewall * @see AWS API Documentation */ default CompletableFuture deleteFirewall(DeleteFirewallRequest deleteFirewallRequest) { throw new UnsupportedOperationException(); } /** *

                            * Deletes the specified Firewall and its FirewallStatus. This operation requires the firewall's * DeleteProtection flag to be FALSE. You can't revert this operation. *

                            *

                            * 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 DescribeFirewall. 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. *

                            *

                            * To delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection, * then delete the firewall by calling DeleteFirewall. *

                            *
                            *

                            * This is a convenience which creates an instance of the {@link DeleteFirewallRequest.Builder} avoiding the need to * create one manually via {@link DeleteFirewallRequest#builder()} *

                            * * @param deleteFirewallRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DeleteFirewallRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteFirewall operation returned by the service.
                            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                              *
                            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                              *
                                *
                              • *

                                * You specified an unsupported parameter name or value. *

                                *
                              • *
                              • *

                                * You tried to update a property with a value that isn't among the available types. *

                                *
                              • *
                              • *

                                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                *
                              • *
                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                              • *
                              • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                              • *
                              • ThrottlingException Unable to process the request due to throttling limitations.
                              • *
                              • UnsupportedOperationException The operation you requested isn't supported by Network Firewall.
                              • *
                              • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                              • *
                              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                              • *
                              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                              • *
                              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                              • *
                              * @sample NetworkFirewallAsyncClient.DeleteFirewall * @see AWS API Documentation */ default CompletableFuture deleteFirewall(Consumer deleteFirewallRequest) { return deleteFirewall(DeleteFirewallRequest.builder().applyMutation(deleteFirewallRequest).build()); } /** *

                              * Deletes the specified FirewallPolicy. *

                              * * @param deleteFirewallPolicyRequest * @return A Java Future containing the result of the DeleteFirewallPolicy operation returned by the service.
                              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                *
                              • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                *
                                  *
                                • *

                                  * You specified an unsupported parameter name or value. *

                                  *
                                • *
                                • *

                                  * You tried to update a property with a value that isn't among the available types. *

                                  *
                                • *
                                • *

                                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                  *
                                • *
                                • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                • *
                                • ThrottlingException Unable to process the request due to throttling limitations.
                                • *
                                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                • *
                                • UnsupportedOperationException The operation you requested isn't supported by Network Firewall.
                                • *
                                • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                                • *
                                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                • *
                                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                • *
                                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                • *
                                * @sample NetworkFirewallAsyncClient.DeleteFirewallPolicy * @see AWS API Documentation */ default CompletableFuture deleteFirewallPolicy( DeleteFirewallPolicyRequest deleteFirewallPolicyRequest) { throw new UnsupportedOperationException(); } /** *

                                * Deletes the specified FirewallPolicy. *

                                *
                                *

                                * This is a convenience which creates an instance of the {@link DeleteFirewallPolicyRequest.Builder} avoiding the * need to create one manually via {@link DeleteFirewallPolicyRequest#builder()} *

                                * * @param deleteFirewallPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DeleteFirewallPolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeleteFirewallPolicy operation returned by the service.
                                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                  *
                                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                  *
                                    *
                                  • *

                                    * You specified an unsupported parameter name or value. *

                                    *
                                  • *
                                  • *

                                    * You tried to update a property with a value that isn't among the available types. *

                                    *
                                  • *
                                  • *

                                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                    *
                                  • *
                                  • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                  • *
                                  • ThrottlingException Unable to process the request due to throttling limitations.
                                  • *
                                  • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                  • *
                                  • UnsupportedOperationException The operation you requested isn't supported by Network Firewall.
                                  • *
                                  • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                                  • *
                                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                  • *
                                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                  • *
                                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                  • *
                                  * @sample NetworkFirewallAsyncClient.DeleteFirewallPolicy * @see AWS API Documentation */ default CompletableFuture deleteFirewallPolicy( Consumer deleteFirewallPolicyRequest) { return deleteFirewallPolicy(DeleteFirewallPolicyRequest.builder().applyMutation(deleteFirewallPolicyRequest).build()); } /** *

                                  * Deletes a resource policy that you created in a PutResourcePolicy request. *

                                  * * @param deleteResourcePolicyRequest * @return A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
                                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                    *
                                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                    *
                                      *
                                    • *

                                      * You specified an unsupported parameter name or value. *

                                      *
                                    • *
                                    • *

                                      * You tried to update a property with a value that isn't among the available types. *

                                      *
                                    • *
                                    • *

                                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                      *
                                    • *
                                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                    • *
                                    • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                    • *
                                    • ThrottlingException Unable to process the request due to throttling limitations.
                                    • *
                                    • InvalidResourcePolicyException The policy statement failed validation.
                                    • *
                                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                    • *
                                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                    • *
                                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                    • *
                                    * @sample NetworkFirewallAsyncClient.DeleteResourcePolicy * @see AWS API Documentation */ default CompletableFuture deleteResourcePolicy( DeleteResourcePolicyRequest deleteResourcePolicyRequest) { throw new UnsupportedOperationException(); } /** *

                                    * Deletes a resource policy that you created in a PutResourcePolicy request. *

                                    *
                                    *

                                    * This is a convenience which creates an instance of the {@link DeleteResourcePolicyRequest.Builder} avoiding the * need to create one manually via {@link DeleteResourcePolicyRequest#builder()} *

                                    * * @param deleteResourcePolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DeleteResourcePolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
                                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                      *
                                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                      *
                                        *
                                      • *

                                        * You specified an unsupported parameter name or value. *

                                        *
                                      • *
                                      • *

                                        * You tried to update a property with a value that isn't among the available types. *

                                        *
                                      • *
                                      • *

                                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                        *
                                      • *
                                      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                      • *
                                      • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                      • *
                                      • ThrottlingException Unable to process the request due to throttling limitations.
                                      • *
                                      • InvalidResourcePolicyException The policy statement failed validation.
                                      • *
                                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                      • *
                                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                      • *
                                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                      • *
                                      * @sample NetworkFirewallAsyncClient.DeleteResourcePolicy * @see AWS API Documentation */ default CompletableFuture deleteResourcePolicy( Consumer deleteResourcePolicyRequest) { return deleteResourcePolicy(DeleteResourcePolicyRequest.builder().applyMutation(deleteResourcePolicyRequest).build()); } /** *

                                      * Deletes the specified RuleGroup. *

                                      * * @param deleteRuleGroupRequest * @return A Java Future containing the result of the DeleteRuleGroup operation returned by the service.
                                      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                        *
                                      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                        *
                                          *
                                        • *

                                          * You specified an unsupported parameter name or value. *

                                          *
                                        • *
                                        • *

                                          * You tried to update a property with a value that isn't among the available types. *

                                          *
                                        • *
                                        • *

                                          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                          *
                                        • *
                                        • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                        • *
                                        • ThrottlingException Unable to process the request due to throttling limitations.
                                        • *
                                        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                        • *
                                        • UnsupportedOperationException The operation you requested isn't supported by Network Firewall.
                                        • *
                                        • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                                        • *
                                        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                        • *
                                        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                        • *
                                        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                        • *
                                        * @sample NetworkFirewallAsyncClient.DeleteRuleGroup * @see AWS API Documentation */ default CompletableFuture deleteRuleGroup(DeleteRuleGroupRequest deleteRuleGroupRequest) { throw new UnsupportedOperationException(); } /** *

                                        * Deletes the specified RuleGroup. *

                                        *
                                        *

                                        * This is a convenience which creates an instance of the {@link DeleteRuleGroupRequest.Builder} avoiding the need * to create one manually via {@link DeleteRuleGroupRequest#builder()} *

                                        * * @param deleteRuleGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DeleteRuleGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteRuleGroup operation returned by the service.
                                        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                          *
                                        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                          *
                                            *
                                          • *

                                            * You specified an unsupported parameter name or value. *

                                            *
                                          • *
                                          • *

                                            * You tried to update a property with a value that isn't among the available types. *

                                            *
                                          • *
                                          • *

                                            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                            *
                                          • *
                                          • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                          • *
                                          • ThrottlingException Unable to process the request due to throttling limitations.
                                          • *
                                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                          • *
                                          • UnsupportedOperationException The operation you requested isn't supported by Network Firewall.
                                          • *
                                          • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                                          • *
                                          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                          • *
                                          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                          • *
                                          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                          • *
                                          * @sample NetworkFirewallAsyncClient.DeleteRuleGroup * @see AWS API Documentation */ default CompletableFuture deleteRuleGroup( Consumer deleteRuleGroupRequest) { return deleteRuleGroup(DeleteRuleGroupRequest.builder().applyMutation(deleteRuleGroupRequest).build()); } /** *

                                          * Deletes the specified TLSInspectionConfiguration. *

                                          * * @param deleteTlsInspectionConfigurationRequest * @return A Java Future containing the result of the DeleteTLSInspectionConfiguration operation returned by the * service.
                                          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                            *
                                          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                            *
                                              *
                                            • *

                                              * You specified an unsupported parameter name or value. *

                                              *
                                            • *
                                            • *

                                              * You tried to update a property with a value that isn't among the available types. *

                                              *
                                            • *
                                            • *

                                              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                              *
                                            • *
                                            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                            • *
                                            • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                            • *
                                            • ThrottlingException Unable to process the request due to throttling limitations.
                                            • *
                                            • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                                            • *
                                            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                            • *
                                            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                            • *
                                            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                            • *
                                            * @sample NetworkFirewallAsyncClient.DeleteTLSInspectionConfiguration * @see AWS API Documentation */ default CompletableFuture deleteTLSInspectionConfiguration( DeleteTlsInspectionConfigurationRequest deleteTlsInspectionConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

                                            * Deletes the specified TLSInspectionConfiguration. *

                                            *
                                            *

                                            * This is a convenience which creates an instance of the {@link DeleteTlsInspectionConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DeleteTlsInspectionConfigurationRequest#builder()} *

                                            * * @param deleteTlsInspectionConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DeleteTlsInspectionConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the DeleteTLSInspectionConfiguration operation returned by the * service.
                                            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                              *
                                            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                              *
                                                *
                                              • *

                                                * You specified an unsupported parameter name or value. *

                                                *
                                              • *
                                              • *

                                                * You tried to update a property with a value that isn't among the available types. *

                                                *
                                              • *
                                              • *

                                                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                *
                                              • *
                                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                              • *
                                              • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                              • *
                                              • ThrottlingException Unable to process the request due to throttling limitations.
                                              • *
                                              • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                                              • *
                                              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                              • *
                                              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                              • *
                                              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                              • *
                                              * @sample NetworkFirewallAsyncClient.DeleteTLSInspectionConfiguration * @see AWS API Documentation */ default CompletableFuture deleteTLSInspectionConfiguration( Consumer deleteTlsInspectionConfigurationRequest) { return deleteTLSInspectionConfiguration(DeleteTlsInspectionConfigurationRequest.builder() .applyMutation(deleteTlsInspectionConfigurationRequest).build()); } /** *

                                              * Returns the data objects for the specified firewall. *

                                              * * @param describeFirewallRequest * @return A Java Future containing the result of the DescribeFirewall operation returned by the service.
                                              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                *
                                              • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                *
                                                  *
                                                • *

                                                  * You specified an unsupported parameter name or value. *

                                                  *
                                                • *
                                                • *

                                                  * You tried to update a property with a value that isn't among the available types. *

                                                  *
                                                • *
                                                • *

                                                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                  *
                                                • *
                                                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                • *
                                                • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                • *
                                                • ThrottlingException Unable to process the request due to throttling limitations.
                                                • *
                                                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                • *
                                                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                • *
                                                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                • *
                                                * @sample NetworkFirewallAsyncClient.DescribeFirewall * @see AWS API Documentation */ default CompletableFuture describeFirewall(DescribeFirewallRequest describeFirewallRequest) { throw new UnsupportedOperationException(); } /** *

                                                * Returns the data objects for the specified firewall. *

                                                *
                                                *

                                                * This is a convenience which creates an instance of the {@link DescribeFirewallRequest.Builder} avoiding the need * to create one manually via {@link DescribeFirewallRequest#builder()} *

                                                * * @param describeFirewallRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DescribeFirewallRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeFirewall operation returned by the service.
                                                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                  *
                                                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                  *
                                                    *
                                                  • *

                                                    * You specified an unsupported parameter name or value. *

                                                    *
                                                  • *
                                                  • *

                                                    * You tried to update a property with a value that isn't among the available types. *

                                                    *
                                                  • *
                                                  • *

                                                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                    *
                                                  • *
                                                  • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                  • *
                                                  • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                  • *
                                                  • ThrottlingException Unable to process the request due to throttling limitations.
                                                  • *
                                                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                  • *
                                                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                  • *
                                                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                  • *
                                                  * @sample NetworkFirewallAsyncClient.DescribeFirewall * @see AWS API Documentation */ default CompletableFuture describeFirewall( Consumer describeFirewallRequest) { return describeFirewall(DescribeFirewallRequest.builder().applyMutation(describeFirewallRequest).build()); } /** *

                                                  * Returns the data objects for the specified firewall policy. *

                                                  * * @param describeFirewallPolicyRequest * @return A Java Future containing the result of the DescribeFirewallPolicy operation returned by the service.
                                                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                    *
                                                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                    *
                                                      *
                                                    • *

                                                      * You specified an unsupported parameter name or value. *

                                                      *
                                                    • *
                                                    • *

                                                      * You tried to update a property with a value that isn't among the available types. *

                                                      *
                                                    • *
                                                    • *

                                                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                      *
                                                    • *
                                                    • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                    • *
                                                    • ThrottlingException Unable to process the request due to throttling limitations.
                                                    • *
                                                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                    • *
                                                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                    • *
                                                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                    • *
                                                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                    • *
                                                    * @sample NetworkFirewallAsyncClient.DescribeFirewallPolicy * @see AWS API Documentation */ default CompletableFuture describeFirewallPolicy( DescribeFirewallPolicyRequest describeFirewallPolicyRequest) { throw new UnsupportedOperationException(); } /** *

                                                    * Returns the data objects for the specified firewall policy. *

                                                    *
                                                    *

                                                    * This is a convenience which creates an instance of the {@link DescribeFirewallPolicyRequest.Builder} avoiding the * need to create one manually via {@link DescribeFirewallPolicyRequest#builder()} *

                                                    * * @param describeFirewallPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DescribeFirewallPolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeFirewallPolicy operation returned by the service.
                                                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                      *
                                                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                      *
                                                        *
                                                      • *

                                                        * You specified an unsupported parameter name or value. *

                                                        *
                                                      • *
                                                      • *

                                                        * You tried to update a property with a value that isn't among the available types. *

                                                        *
                                                      • *
                                                      • *

                                                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                        *
                                                      • *
                                                      • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                      • *
                                                      • ThrottlingException Unable to process the request due to throttling limitations.
                                                      • *
                                                      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                      • *
                                                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                      • *
                                                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                      • *
                                                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                      • *
                                                      * @sample NetworkFirewallAsyncClient.DescribeFirewallPolicy * @see AWS API Documentation */ default CompletableFuture describeFirewallPolicy( Consumer describeFirewallPolicyRequest) { return describeFirewallPolicy(DescribeFirewallPolicyRequest.builder().applyMutation(describeFirewallPolicyRequest) .build()); } /** *

                                                      * Returns the logging configuration for the specified firewall. *

                                                      * * @param describeLoggingConfigurationRequest * @return A Java Future containing the result of the DescribeLoggingConfiguration operation returned by the * service.
                                                      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                        *
                                                      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                        *
                                                          *
                                                        • *

                                                          * You specified an unsupported parameter name or value. *

                                                          *
                                                        • *
                                                        • *

                                                          * You tried to update a property with a value that isn't among the available types. *

                                                          *
                                                        • *
                                                        • *

                                                          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                          *
                                                        • *
                                                        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                        • *
                                                        • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                        • *
                                                        • ThrottlingException Unable to process the request due to throttling limitations.
                                                        • *
                                                        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                        • *
                                                        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                        • *
                                                        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                        • *
                                                        * @sample NetworkFirewallAsyncClient.DescribeLoggingConfiguration * @see AWS API Documentation */ default CompletableFuture describeLoggingConfiguration( DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

                                                        * Returns the logging configuration for the specified firewall. *

                                                        *
                                                        *

                                                        * This is a convenience which creates an instance of the {@link DescribeLoggingConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeLoggingConfigurationRequest#builder()} *

                                                        * * @param describeLoggingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DescribeLoggingConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeLoggingConfiguration operation returned by the * service.
                                                        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                          *
                                                        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                          *
                                                            *
                                                          • *

                                                            * You specified an unsupported parameter name or value. *

                                                            *
                                                          • *
                                                          • *

                                                            * You tried to update a property with a value that isn't among the available types. *

                                                            *
                                                          • *
                                                          • *

                                                            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                            *
                                                          • *
                                                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                          • *
                                                          • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                          • *
                                                          • ThrottlingException Unable to process the request due to throttling limitations.
                                                          • *
                                                          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                          • *
                                                          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                          • *
                                                          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                          • *
                                                          * @sample NetworkFirewallAsyncClient.DescribeLoggingConfiguration * @see AWS API Documentation */ default CompletableFuture describeLoggingConfiguration( Consumer describeLoggingConfigurationRequest) { return describeLoggingConfiguration(DescribeLoggingConfigurationRequest.builder() .applyMutation(describeLoggingConfigurationRequest).build()); } /** *

                                                          * Retrieves a resource policy that you created in a PutResourcePolicy request. *

                                                          * * @param describeResourcePolicyRequest * @return A Java Future containing the result of the DescribeResourcePolicy operation returned by the service.
                                                          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                            *
                                                          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                            *
                                                              *
                                                            • *

                                                              * You specified an unsupported parameter name or value. *

                                                              *
                                                            • *
                                                            • *

                                                              * You tried to update a property with a value that isn't among the available types. *

                                                              *
                                                            • *
                                                            • *

                                                              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                              *
                                                            • *
                                                            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                            • *
                                                            • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                            • *
                                                            • ThrottlingException Unable to process the request due to throttling limitations.
                                                            • *
                                                            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                            • *
                                                            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                            • *
                                                            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                            • *
                                                            * @sample NetworkFirewallAsyncClient.DescribeResourcePolicy * @see AWS API Documentation */ default CompletableFuture describeResourcePolicy( DescribeResourcePolicyRequest describeResourcePolicyRequest) { throw new UnsupportedOperationException(); } /** *

                                                            * Retrieves a resource policy that you created in a PutResourcePolicy request. *

                                                            *
                                                            *

                                                            * This is a convenience which creates an instance of the {@link DescribeResourcePolicyRequest.Builder} avoiding the * need to create one manually via {@link DescribeResourcePolicyRequest#builder()} *

                                                            * * @param describeResourcePolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DescribeResourcePolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeResourcePolicy operation returned by the service.
                                                            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                              *
                                                            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                              *
                                                                *
                                                              • *

                                                                * You specified an unsupported parameter name or value. *

                                                                *
                                                              • *
                                                              • *

                                                                * You tried to update a property with a value that isn't among the available types. *

                                                                *
                                                              • *
                                                              • *

                                                                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                *
                                                              • *
                                                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                              • *
                                                              • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                              • *
                                                              • ThrottlingException Unable to process the request due to throttling limitations.
                                                              • *
                                                              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                              • *
                                                              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                              • *
                                                              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                              • *
                                                              * @sample NetworkFirewallAsyncClient.DescribeResourcePolicy * @see AWS API Documentation */ default CompletableFuture describeResourcePolicy( Consumer describeResourcePolicyRequest) { return describeResourcePolicy(DescribeResourcePolicyRequest.builder().applyMutation(describeResourcePolicyRequest) .build()); } /** *

                                                              * Returns the data objects for the specified rule group. *

                                                              * * @param describeRuleGroupRequest * @return A Java Future containing the result of the DescribeRuleGroup operation returned by the service.
                                                              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                *
                                                              • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                *
                                                                  *
                                                                • *

                                                                  * You specified an unsupported parameter name or value. *

                                                                  *
                                                                • *
                                                                • *

                                                                  * You tried to update a property with a value that isn't among the available types. *

                                                                  *
                                                                • *
                                                                • *

                                                                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                  *
                                                                • *
                                                                • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                • *
                                                                • ThrottlingException Unable to process the request due to throttling limitations.
                                                                • *
                                                                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                • *
                                                                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                • *
                                                                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                • *
                                                                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                • *
                                                                * @sample NetworkFirewallAsyncClient.DescribeRuleGroup * @see AWS API Documentation */ default CompletableFuture describeRuleGroup(DescribeRuleGroupRequest describeRuleGroupRequest) { throw new UnsupportedOperationException(); } /** *

                                                                * Returns the data objects for the specified rule group. *

                                                                *
                                                                *

                                                                * This is a convenience which creates an instance of the {@link DescribeRuleGroupRequest.Builder} avoiding the need * to create one manually via {@link DescribeRuleGroupRequest#builder()} *

                                                                * * @param describeRuleGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DescribeRuleGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeRuleGroup operation returned by the service.
                                                                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                  *
                                                                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                  *
                                                                    *
                                                                  • *

                                                                    * You specified an unsupported parameter name or value. *

                                                                    *
                                                                  • *
                                                                  • *

                                                                    * You tried to update a property with a value that isn't among the available types. *

                                                                    *
                                                                  • *
                                                                  • *

                                                                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                    *
                                                                  • *
                                                                  • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                  • *
                                                                  • ThrottlingException Unable to process the request due to throttling limitations.
                                                                  • *
                                                                  • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                  • *
                                                                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                  • *
                                                                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                  • *
                                                                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                  • *
                                                                  * @sample NetworkFirewallAsyncClient.DescribeRuleGroup * @see AWS API Documentation */ default CompletableFuture describeRuleGroup( Consumer describeRuleGroupRequest) { return describeRuleGroup(DescribeRuleGroupRequest.builder().applyMutation(describeRuleGroupRequest).build()); } /** *

                                                                  * 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 DescribeRuleGroup. *

                                                                  * * @param describeRuleGroupMetadataRequest * @return A Java Future containing the result of the DescribeRuleGroupMetadata operation returned by the service.
                                                                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                    *
                                                                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                    *
                                                                      *
                                                                    • *

                                                                      * You specified an unsupported parameter name or value. *

                                                                      *
                                                                    • *
                                                                    • *

                                                                      * You tried to update a property with a value that isn't among the available types. *

                                                                      *
                                                                    • *
                                                                    • *

                                                                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                      *
                                                                    • *
                                                                    • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                    • *
                                                                    • ThrottlingException Unable to process the request due to throttling limitations.
                                                                    • *
                                                                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                    • *
                                                                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                    • *
                                                                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                    • *
                                                                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                    • *
                                                                    * @sample NetworkFirewallAsyncClient.DescribeRuleGroupMetadata * @see AWS API Documentation */ default CompletableFuture describeRuleGroupMetadata( DescribeRuleGroupMetadataRequest describeRuleGroupMetadataRequest) { throw new UnsupportedOperationException(); } /** *

                                                                    * 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 DescribeRuleGroup. *

                                                                    *
                                                                    *

                                                                    * This is a convenience which creates an instance of the {@link DescribeRuleGroupMetadataRequest.Builder} avoiding * the need to create one manually via {@link DescribeRuleGroupMetadataRequest#builder()} *

                                                                    * * @param describeRuleGroupMetadataRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DescribeRuleGroupMetadataRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeRuleGroupMetadata operation returned by the service.
                                                                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                      *
                                                                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                      *
                                                                        *
                                                                      • *

                                                                        * You specified an unsupported parameter name or value. *

                                                                        *
                                                                      • *
                                                                      • *

                                                                        * You tried to update a property with a value that isn't among the available types. *

                                                                        *
                                                                      • *
                                                                      • *

                                                                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                        *
                                                                      • *
                                                                      • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                      • *
                                                                      • ThrottlingException Unable to process the request due to throttling limitations.
                                                                      • *
                                                                      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                      • *
                                                                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                      • *
                                                                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                      • *
                                                                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                      • *
                                                                      * @sample NetworkFirewallAsyncClient.DescribeRuleGroupMetadata * @see AWS API Documentation */ default CompletableFuture describeRuleGroupMetadata( Consumer describeRuleGroupMetadataRequest) { return describeRuleGroupMetadata(DescribeRuleGroupMetadataRequest.builder() .applyMutation(describeRuleGroupMetadataRequest).build()); } /** *

                                                                      * Returns the data objects for the specified TLS inspection configuration. *

                                                                      * * @param describeTlsInspectionConfigurationRequest * @return A Java Future containing the result of the DescribeTLSInspectionConfiguration operation returned by the * service.
                                                                      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                        *
                                                                      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                        *
                                                                          *
                                                                        • *

                                                                          * You specified an unsupported parameter name or value. *

                                                                          *
                                                                        • *
                                                                        • *

                                                                          * You tried to update a property with a value that isn't among the available types. *

                                                                          *
                                                                        • *
                                                                        • *

                                                                          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                          *
                                                                        • *
                                                                        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                        • *
                                                                        • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                        • *
                                                                        • ThrottlingException Unable to process the request due to throttling limitations.
                                                                        • *
                                                                        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                        • *
                                                                        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                        • *
                                                                        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                        • *
                                                                        * @sample NetworkFirewallAsyncClient.DescribeTLSInspectionConfiguration * @see AWS API Documentation */ default CompletableFuture describeTLSInspectionConfiguration( DescribeTlsInspectionConfigurationRequest describeTlsInspectionConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

                                                                        * Returns the data objects for the specified TLS inspection configuration. *

                                                                        *
                                                                        *

                                                                        * This is a convenience which creates an instance of the {@link DescribeTlsInspectionConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeTlsInspectionConfigurationRequest#builder()} *

                                                                        * * @param describeTlsInspectionConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DescribeTlsInspectionConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeTLSInspectionConfiguration operation returned by the * service.
                                                                        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                          *
                                                                        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                          *
                                                                            *
                                                                          • *

                                                                            * You specified an unsupported parameter name or value. *

                                                                            *
                                                                          • *
                                                                          • *

                                                                            * You tried to update a property with a value that isn't among the available types. *

                                                                            *
                                                                          • *
                                                                          • *

                                                                            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                            *
                                                                          • *
                                                                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                          • *
                                                                          • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                          • *
                                                                          • ThrottlingException Unable to process the request due to throttling limitations.
                                                                          • *
                                                                          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                          • *
                                                                          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                          • *
                                                                          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                          • *
                                                                          * @sample NetworkFirewallAsyncClient.DescribeTLSInspectionConfiguration * @see AWS API Documentation */ default CompletableFuture describeTLSInspectionConfiguration( Consumer describeTlsInspectionConfigurationRequest) { return describeTLSInspectionConfiguration(DescribeTlsInspectionConfigurationRequest.builder() .applyMutation(describeTlsInspectionConfigurationRequest).build()); } /** *

                                                                          * 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. *

                                                                          * * @param disassociateSubnetsRequest * @return A Java Future containing the result of the DisassociateSubnets operation returned by the service.
                                                                          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                            *
                                                                          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                            *
                                                                              *
                                                                            • *

                                                                              * You specified an unsupported parameter name or value. *

                                                                              *
                                                                            • *
                                                                            • *

                                                                              * You tried to update a property with a value that isn't among the available types. *

                                                                              *
                                                                            • *
                                                                            • *

                                                                              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                              *
                                                                            • *
                                                                            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                            • *
                                                                            • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                            • *
                                                                            • ThrottlingException Unable to process the request due to throttling limitations.
                                                                            • *
                                                                            • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                            • *
                                                                            • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                                                                            • *
                                                                            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                            • *
                                                                            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                            • *
                                                                            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                            • *
                                                                            * @sample NetworkFirewallAsyncClient.DisassociateSubnets * @see AWS API Documentation */ default CompletableFuture disassociateSubnets( DisassociateSubnetsRequest disassociateSubnetsRequest) { throw new UnsupportedOperationException(); } /** *

                                                                            * 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. *

                                                                            *
                                                                            *

                                                                            * This is a convenience which creates an instance of the {@link DisassociateSubnetsRequest.Builder} avoiding the * need to create one manually via {@link DisassociateSubnetsRequest#builder()} *

                                                                            * * @param disassociateSubnetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.DisassociateSubnetsRequest.Builder} to create * a request. * @return A Java Future containing the result of the DisassociateSubnets operation returned by the service.
                                                                            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                              *
                                                                            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                              *
                                                                                *
                                                                              • *

                                                                                * You specified an unsupported parameter name or value. *

                                                                                *
                                                                              • *
                                                                              • *

                                                                                * You tried to update a property with a value that isn't among the available types. *

                                                                                *
                                                                              • *
                                                                              • *

                                                                                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                *
                                                                              • *
                                                                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                              • *
                                                                              • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                              • *
                                                                              • ThrottlingException Unable to process the request due to throttling limitations.
                                                                              • *
                                                                              • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                              • *
                                                                              • InvalidOperationException The operation failed because it's not valid. For example, you might have * tried to delete a rule group or firewall policy that's in use.
                                                                              • *
                                                                              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                              • *
                                                                              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                              • *
                                                                              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                              • *
                                                                              * @sample NetworkFirewallAsyncClient.DisassociateSubnets * @see AWS API Documentation */ default CompletableFuture disassociateSubnets( Consumer disassociateSubnetsRequest) { return disassociateSubnets(DisassociateSubnetsRequest.builder().applyMutation(disassociateSubnetsRequest).build()); } /** *

                                                                              * 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. *

                                                                              * * @param listFirewallPoliciesRequest * @return A Java Future containing the result of the ListFirewallPolicies operation returned by the service.
                                                                              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                *
                                                                              • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                *
                                                                                  *
                                                                                • *

                                                                                  * You specified an unsupported parameter name or value. *

                                                                                  *
                                                                                • *
                                                                                • *

                                                                                  * You tried to update a property with a value that isn't among the available types. *

                                                                                  *
                                                                                • *
                                                                                • *

                                                                                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                  *
                                                                                • *
                                                                                • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                • *
                                                                                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                • *
                                                                                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                • *
                                                                                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                • *
                                                                                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                • *
                                                                                * @sample NetworkFirewallAsyncClient.ListFirewallPolicies * @see AWS API Documentation */ default CompletableFuture listFirewallPolicies( ListFirewallPoliciesRequest listFirewallPoliciesRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                * 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. *

                                                                                *
                                                                                *

                                                                                * This is a convenience which creates an instance of the {@link ListFirewallPoliciesRequest.Builder} avoiding the * need to create one manually via {@link ListFirewallPoliciesRequest#builder()} *

                                                                                * * @param listFirewallPoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListFirewallPolicies operation returned by the service.
                                                                                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                  *
                                                                                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                  *
                                                                                    *
                                                                                  • *

                                                                                    * You specified an unsupported parameter name or value. *

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    * You tried to update a property with a value that isn't among the available types. *

                                                                                    *
                                                                                  • *
                                                                                  • *

                                                                                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                    *
                                                                                  • *
                                                                                  • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                  • *
                                                                                  • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                  • *
                                                                                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                  • *
                                                                                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                  • *
                                                                                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                  • *
                                                                                  * @sample NetworkFirewallAsyncClient.ListFirewallPolicies * @see AWS API Documentation */ default CompletableFuture listFirewallPolicies( Consumer listFirewallPoliciesRequest) { return listFirewallPolicies(ListFirewallPoliciesRequest.builder().applyMutation(listFirewallPoliciesRequest).build()); } /** *

                                                                                  * 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. *

                                                                                  *
                                                                                  *

                                                                                  * This is a variant of * {@link #listFirewallPolicies(software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

                                                                                  *

                                                                                  * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                  * *

                                                                                  * The following are few ways to use the response class: *

                                                                                  * 1) Using the subscribe helper method * *
                                                                                       * {@code
                                                                                       * software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallPoliciesPublisher publisher = client.listFirewallPoliciesPaginator(request);
                                                                                       * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                       * future.get();
                                                                                       * }
                                                                                       * 
                                                                                  * * 2) Using a custom subscriber * *
                                                                                       * {@code
                                                                                       * software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallPoliciesPublisher publisher = client.listFirewallPoliciesPaginator(request);
                                                                                       * publisher.subscribe(new Subscriber() {
                                                                                       * 
                                                                                       * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                       * 
                                                                                       * 
                                                                                       * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesResponse response) { //... };
                                                                                       * });}
                                                                                       * 
                                                                                  * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                  * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                  *

                                                                                  * Note: If you prefer to have control on service calls, use the * {@link #listFirewallPolicies(software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesRequest)} * operation. *

                                                                                  * * @param listFirewallPoliciesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                    *
                                                                                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                    *
                                                                                      *
                                                                                    • *

                                                                                      * You specified an unsupported parameter name or value. *

                                                                                      *
                                                                                    • *
                                                                                    • *

                                                                                      * You tried to update a property with a value that isn't among the available types. *

                                                                                      *
                                                                                    • *
                                                                                    • *

                                                                                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                      *
                                                                                    • *
                                                                                    • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                    • *
                                                                                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                    • *
                                                                                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                    • *
                                                                                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                    • *
                                                                                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                    • *
                                                                                    * @sample NetworkFirewallAsyncClient.ListFirewallPolicies * @see AWS API Documentation */ default ListFirewallPoliciesPublisher listFirewallPoliciesPaginator(ListFirewallPoliciesRequest listFirewallPoliciesRequest) { return new ListFirewallPoliciesPublisher(this, listFirewallPoliciesRequest); } /** *

                                                                                    * 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. *

                                                                                    *
                                                                                    *

                                                                                    * This is a variant of * {@link #listFirewallPolicies(software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

                                                                                    *

                                                                                    * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                    * *

                                                                                    * The following are few ways to use the response class: *

                                                                                    * 1) Using the subscribe helper method * *
                                                                                         * {@code
                                                                                         * software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallPoliciesPublisher publisher = client.listFirewallPoliciesPaginator(request);
                                                                                         * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                         * future.get();
                                                                                         * }
                                                                                         * 
                                                                                    * * 2) Using a custom subscriber * *
                                                                                         * {@code
                                                                                         * software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallPoliciesPublisher publisher = client.listFirewallPoliciesPaginator(request);
                                                                                         * publisher.subscribe(new Subscriber() {
                                                                                         * 
                                                                                         * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                         * 
                                                                                         * 
                                                                                         * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesResponse response) { //... };
                                                                                         * });}
                                                                                         * 
                                                                                    * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                    * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                    *

                                                                                    * Note: If you prefer to have control on service calls, use the * {@link #listFirewallPolicies(software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesRequest)} * operation. *

                                                                                    *

                                                                                    * This is a convenience which creates an instance of the {@link ListFirewallPoliciesRequest.Builder} avoiding the * need to create one manually via {@link ListFirewallPoliciesRequest#builder()} *

                                                                                    * * @param listFirewallPoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListFirewallPoliciesRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                      *
                                                                                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                      *
                                                                                        *
                                                                                      • *

                                                                                        * You specified an unsupported parameter name or value. *

                                                                                        *
                                                                                      • *
                                                                                      • *

                                                                                        * You tried to update a property with a value that isn't among the available types. *

                                                                                        *
                                                                                      • *
                                                                                      • *

                                                                                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                        *
                                                                                      • *
                                                                                      • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                      • *
                                                                                      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                      • *
                                                                                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                      • *
                                                                                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                      • *
                                                                                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                      • *
                                                                                      * @sample NetworkFirewallAsyncClient.ListFirewallPolicies * @see AWS API Documentation */ default ListFirewallPoliciesPublisher listFirewallPoliciesPaginator( Consumer listFirewallPoliciesRequest) { return listFirewallPoliciesPaginator(ListFirewallPoliciesRequest.builder().applyMutation(listFirewallPoliciesRequest) .build()); } /** *

                                                                                      * 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. *

                                                                                      *

                                                                                      * Depending on your setting for max results and the number of firewalls, a single call might not return the full * list. *

                                                                                      * * @param listFirewallsRequest * @return A Java Future containing the result of the ListFirewalls operation returned by the service.
                                                                                      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                        *
                                                                                      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                        *
                                                                                          *
                                                                                        • *

                                                                                          * You specified an unsupported parameter name or value. *

                                                                                          *
                                                                                        • *
                                                                                        • *

                                                                                          * You tried to update a property with a value that isn't among the available types. *

                                                                                          *
                                                                                        • *
                                                                                        • *

                                                                                          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                          *
                                                                                        • *
                                                                                        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                        • *
                                                                                        • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                        • *
                                                                                        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                        • *
                                                                                        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                        • *
                                                                                        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                        • *
                                                                                        * @sample NetworkFirewallAsyncClient.ListFirewalls * @see AWS API Documentation */ default CompletableFuture listFirewalls(ListFirewallsRequest listFirewallsRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                        * 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. *

                                                                                        *

                                                                                        * Depending on your setting for max results and the number of firewalls, a single call might not return the full * list. *

                                                                                        *
                                                                                        *

                                                                                        * This is a convenience which creates an instance of the {@link ListFirewallsRequest.Builder} avoiding the need to * create one manually via {@link ListFirewallsRequest#builder()} *

                                                                                        * * @param listFirewallsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListFirewallsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListFirewalls operation returned by the service.
                                                                                        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                          *
                                                                                        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                          *
                                                                                            *
                                                                                          • *

                                                                                            * You specified an unsupported parameter name or value. *

                                                                                            *
                                                                                          • *
                                                                                          • *

                                                                                            * You tried to update a property with a value that isn't among the available types. *

                                                                                            *
                                                                                          • *
                                                                                          • *

                                                                                            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                            *
                                                                                          • *
                                                                                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                          • *
                                                                                          • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                          • *
                                                                                          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                          • *
                                                                                          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                          • *
                                                                                          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                          • *
                                                                                          * @sample NetworkFirewallAsyncClient.ListFirewalls * @see AWS API Documentation */ default CompletableFuture listFirewalls(Consumer listFirewallsRequest) { return listFirewalls(ListFirewallsRequest.builder().applyMutation(listFirewallsRequest).build()); } /** *

                                                                                          * 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. *

                                                                                          *

                                                                                          * Depending on your setting for max results and the number of firewalls, a single call might not return the full * list. *

                                                                                          *
                                                                                          *

                                                                                          * This is a variant of * {@link #listFirewalls(software.amazon.awssdk.services.networkfirewall.model.ListFirewallsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

                                                                                          *

                                                                                          * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                          * *

                                                                                          * The following are few ways to use the response class: *

                                                                                          * 1) Using the subscribe helper method * *
                                                                                               * {@code
                                                                                               * software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallsPublisher publisher = client.listFirewallsPaginator(request);
                                                                                               * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                               * future.get();
                                                                                               * }
                                                                                               * 
                                                                                          * * 2) Using a custom subscriber * *
                                                                                               * {@code
                                                                                               * software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallsPublisher publisher = client.listFirewallsPaginator(request);
                                                                                               * publisher.subscribe(new Subscriber() {
                                                                                               * 
                                                                                               * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                               * 
                                                                                               * 
                                                                                               * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListFirewallsResponse response) { //... };
                                                                                               * });}
                                                                                               * 
                                                                                          * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                          * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                          *

                                                                                          * Note: If you prefer to have control on service calls, use the * {@link #listFirewalls(software.amazon.awssdk.services.networkfirewall.model.ListFirewallsRequest)} operation. *

                                                                                          * * @param listFirewallsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                            *
                                                                                          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                            *
                                                                                              *
                                                                                            • *

                                                                                              * You specified an unsupported parameter name or value. *

                                                                                              *
                                                                                            • *
                                                                                            • *

                                                                                              * You tried to update a property with a value that isn't among the available types. *

                                                                                              *
                                                                                            • *
                                                                                            • *

                                                                                              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                              *
                                                                                            • *
                                                                                            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                            • *
                                                                                            • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                            • *
                                                                                            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                            • *
                                                                                            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                            • *
                                                                                            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                            • *
                                                                                            * @sample NetworkFirewallAsyncClient.ListFirewalls * @see AWS API Documentation */ default ListFirewallsPublisher listFirewallsPaginator(ListFirewallsRequest listFirewallsRequest) { return new ListFirewallsPublisher(this, listFirewallsRequest); } /** *

                                                                                            * 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. *

                                                                                            *

                                                                                            * Depending on your setting for max results and the number of firewalls, a single call might not return the full * list. *

                                                                                            *
                                                                                            *

                                                                                            * This is a variant of * {@link #listFirewalls(software.amazon.awssdk.services.networkfirewall.model.ListFirewallsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

                                                                                            *

                                                                                            * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                            * *

                                                                                            * The following are few ways to use the response class: *

                                                                                            * 1) Using the subscribe helper method * *
                                                                                                 * {@code
                                                                                                 * software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallsPublisher publisher = client.listFirewallsPaginator(request);
                                                                                                 * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                                 * future.get();
                                                                                                 * }
                                                                                                 * 
                                                                                            * * 2) Using a custom subscriber * *
                                                                                                 * {@code
                                                                                                 * software.amazon.awssdk.services.networkfirewall.paginators.ListFirewallsPublisher publisher = client.listFirewallsPaginator(request);
                                                                                                 * publisher.subscribe(new Subscriber() {
                                                                                                 * 
                                                                                                 * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                                 * 
                                                                                                 * 
                                                                                                 * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListFirewallsResponse response) { //... };
                                                                                                 * });}
                                                                                                 * 
                                                                                            * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                            * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                            *

                                                                                            * Note: If you prefer to have control on service calls, use the * {@link #listFirewalls(software.amazon.awssdk.services.networkfirewall.model.ListFirewallsRequest)} operation. *

                                                                                            *

                                                                                            * This is a convenience which creates an instance of the {@link ListFirewallsRequest.Builder} avoiding the need to * create one manually via {@link ListFirewallsRequest#builder()} *

                                                                                            * * @param listFirewallsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListFirewallsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                              *
                                                                                            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                              *
                                                                                                *
                                                                                              • *

                                                                                                * You specified an unsupported parameter name or value. *

                                                                                                *
                                                                                              • *
                                                                                              • *

                                                                                                * You tried to update a property with a value that isn't among the available types. *

                                                                                                *
                                                                                              • *
                                                                                              • *

                                                                                                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                *
                                                                                              • *
                                                                                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                              • *
                                                                                              • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                              • *
                                                                                              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                              • *
                                                                                              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                              • *
                                                                                              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                              • *
                                                                                              * @sample NetworkFirewallAsyncClient.ListFirewalls * @see AWS API Documentation */ default ListFirewallsPublisher listFirewallsPaginator(Consumer listFirewallsRequest) { return listFirewallsPaginator(ListFirewallsRequest.builder().applyMutation(listFirewallsRequest).build()); } /** *

                                                                                              * 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. *

                                                                                              * * @param listRuleGroupsRequest * @return A Java Future containing the result of the ListRuleGroups operation returned by the service.
                                                                                              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                *
                                                                                              • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                *
                                                                                                  *
                                                                                                • *

                                                                                                  * You specified an unsupported parameter name or value. *

                                                                                                  *
                                                                                                • *
                                                                                                • *

                                                                                                  * You tried to update a property with a value that isn't among the available types. *

                                                                                                  *
                                                                                                • *
                                                                                                • *

                                                                                                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                  *
                                                                                                • *
                                                                                                • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                • *
                                                                                                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                • *
                                                                                                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                • *
                                                                                                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                • *
                                                                                                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                • *
                                                                                                * @sample NetworkFirewallAsyncClient.ListRuleGroups * @see AWS API Documentation */ default CompletableFuture listRuleGroups(ListRuleGroupsRequest listRuleGroupsRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                * 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. *

                                                                                                *
                                                                                                *

                                                                                                * This is a convenience which creates an instance of the {@link ListRuleGroupsRequest.Builder} avoiding the need to * create one manually via {@link ListRuleGroupsRequest#builder()} *

                                                                                                * * @param listRuleGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListRuleGroups operation returned by the service.
                                                                                                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                  *
                                                                                                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                  *
                                                                                                    *
                                                                                                  • *

                                                                                                    * You specified an unsupported parameter name or value. *

                                                                                                    *
                                                                                                  • *
                                                                                                  • *

                                                                                                    * You tried to update a property with a value that isn't among the available types. *

                                                                                                    *
                                                                                                  • *
                                                                                                  • *

                                                                                                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                    *
                                                                                                  • *
                                                                                                  • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                  • *
                                                                                                  • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                  • *
                                                                                                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                  • *
                                                                                                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                  • *
                                                                                                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                  • *
                                                                                                  * @sample NetworkFirewallAsyncClient.ListRuleGroups * @see AWS API Documentation */ default CompletableFuture listRuleGroups(Consumer listRuleGroupsRequest) { return listRuleGroups(ListRuleGroupsRequest.builder().applyMutation(listRuleGroupsRequest).build()); } /** *

                                                                                                  * 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. *

                                                                                                  *
                                                                                                  *

                                                                                                  * This is a variant of * {@link #listRuleGroups(software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

                                                                                                  *

                                                                                                  * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                                  * *

                                                                                                  * The following are few ways to use the response class: *

                                                                                                  * 1) Using the subscribe helper method * *
                                                                                                       * {@code
                                                                                                       * software.amazon.awssdk.services.networkfirewall.paginators.ListRuleGroupsPublisher publisher = client.listRuleGroupsPaginator(request);
                                                                                                       * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                                       * future.get();
                                                                                                       * }
                                                                                                       * 
                                                                                                  * * 2) Using a custom subscriber * *
                                                                                                       * {@code
                                                                                                       * software.amazon.awssdk.services.networkfirewall.paginators.ListRuleGroupsPublisher publisher = client.listRuleGroupsPaginator(request);
                                                                                                       * publisher.subscribe(new Subscriber() {
                                                                                                       * 
                                                                                                       * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                                       * 
                                                                                                       * 
                                                                                                       * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsResponse response) { //... };
                                                                                                       * });}
                                                                                                       * 
                                                                                                  * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                                  * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                                  *

                                                                                                  * Note: If you prefer to have control on service calls, use the * {@link #listRuleGroups(software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsRequest)} * operation. *

                                                                                                  * * @param listRuleGroupsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                    *
                                                                                                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                    *
                                                                                                      *
                                                                                                    • *

                                                                                                      * You specified an unsupported parameter name or value. *

                                                                                                      *
                                                                                                    • *
                                                                                                    • *

                                                                                                      * You tried to update a property with a value that isn't among the available types. *

                                                                                                      *
                                                                                                    • *
                                                                                                    • *

                                                                                                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                      *
                                                                                                    • *
                                                                                                    • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                    • *
                                                                                                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                    • *
                                                                                                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                    • *
                                                                                                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                    • *
                                                                                                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                    • *
                                                                                                    * @sample NetworkFirewallAsyncClient.ListRuleGroups * @see AWS API Documentation */ default ListRuleGroupsPublisher listRuleGroupsPaginator(ListRuleGroupsRequest listRuleGroupsRequest) { return new ListRuleGroupsPublisher(this, listRuleGroupsRequest); } /** *

                                                                                                    * 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. *

                                                                                                    *
                                                                                                    *

                                                                                                    * This is a variant of * {@link #listRuleGroups(software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

                                                                                                    *

                                                                                                    * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                                    * *

                                                                                                    * The following are few ways to use the response class: *

                                                                                                    * 1) Using the subscribe helper method * *
                                                                                                         * {@code
                                                                                                         * software.amazon.awssdk.services.networkfirewall.paginators.ListRuleGroupsPublisher publisher = client.listRuleGroupsPaginator(request);
                                                                                                         * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                                         * future.get();
                                                                                                         * }
                                                                                                         * 
                                                                                                    * * 2) Using a custom subscriber * *
                                                                                                         * {@code
                                                                                                         * software.amazon.awssdk.services.networkfirewall.paginators.ListRuleGroupsPublisher publisher = client.listRuleGroupsPaginator(request);
                                                                                                         * publisher.subscribe(new Subscriber() {
                                                                                                         * 
                                                                                                         * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                                         * 
                                                                                                         * 
                                                                                                         * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsResponse response) { //... };
                                                                                                         * });}
                                                                                                         * 
                                                                                                    * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                                    * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                                    *

                                                                                                    * Note: If you prefer to have control on service calls, use the * {@link #listRuleGroups(software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsRequest)} * operation. *

                                                                                                    *

                                                                                                    * This is a convenience which creates an instance of the {@link ListRuleGroupsRequest.Builder} avoiding the need to * create one manually via {@link ListRuleGroupsRequest#builder()} *

                                                                                                    * * @param listRuleGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                      *
                                                                                                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                      *
                                                                                                        *
                                                                                                      • *

                                                                                                        * You specified an unsupported parameter name or value. *

                                                                                                        *
                                                                                                      • *
                                                                                                      • *

                                                                                                        * You tried to update a property with a value that isn't among the available types. *

                                                                                                        *
                                                                                                      • *
                                                                                                      • *

                                                                                                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                        *
                                                                                                      • *
                                                                                                      • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                      • *
                                                                                                      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                      • *
                                                                                                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                      • *
                                                                                                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                      • *
                                                                                                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                      • *
                                                                                                      * @sample NetworkFirewallAsyncClient.ListRuleGroups * @see AWS API Documentation */ default ListRuleGroupsPublisher listRuleGroupsPaginator(Consumer listRuleGroupsRequest) { return listRuleGroupsPaginator(ListRuleGroupsRequest.builder().applyMutation(listRuleGroupsRequest).build()); } /** *

                                                                                                      * Retrieves the metadata for the TLS inspection configurations that you have defined. Depending on your setting for * max results and the number of TLS inspection configurations, a single call might not return the full list. *

                                                                                                      * * @param listTlsInspectionConfigurationsRequest * @return A Java Future containing the result of the ListTLSInspectionConfigurations operation returned by the * service.
                                                                                                      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                        *
                                                                                                      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                        *
                                                                                                          *
                                                                                                        • *

                                                                                                          * You specified an unsupported parameter name or value. *

                                                                                                          *
                                                                                                        • *
                                                                                                        • *

                                                                                                          * You tried to update a property with a value that isn't among the available types. *

                                                                                                          *
                                                                                                        • *
                                                                                                        • *

                                                                                                          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                          *
                                                                                                        • *
                                                                                                        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                        • *
                                                                                                        • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                        • *
                                                                                                        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                        • *
                                                                                                        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                        • *
                                                                                                        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                        • *
                                                                                                        * @sample NetworkFirewallAsyncClient.ListTLSInspectionConfigurations * @see AWS API Documentation */ default CompletableFuture listTLSInspectionConfigurations( ListTlsInspectionConfigurationsRequest listTlsInspectionConfigurationsRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                        * Retrieves the metadata for the TLS inspection configurations that you have defined. Depending on your setting for * max results and the number of TLS inspection configurations, a single call might not return the full list. *

                                                                                                        *
                                                                                                        *

                                                                                                        * This is a convenience which creates an instance of the {@link ListTlsInspectionConfigurationsRequest.Builder} * avoiding the need to create one manually via {@link ListTlsInspectionConfigurationsRequest#builder()} *

                                                                                                        * * @param listTlsInspectionConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListTLSInspectionConfigurations operation returned by the * service.
                                                                                                        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                          *
                                                                                                        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                          *
                                                                                                            *
                                                                                                          • *

                                                                                                            * You specified an unsupported parameter name or value. *

                                                                                                            *
                                                                                                          • *
                                                                                                          • *

                                                                                                            * You tried to update a property with a value that isn't among the available types. *

                                                                                                            *
                                                                                                          • *
                                                                                                          • *

                                                                                                            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                            *
                                                                                                          • *
                                                                                                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                          • *
                                                                                                          • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                          • *
                                                                                                          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                          • *
                                                                                                          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                          • *
                                                                                                          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                          • *
                                                                                                          * @sample NetworkFirewallAsyncClient.ListTLSInspectionConfigurations * @see AWS API Documentation */ default CompletableFuture listTLSInspectionConfigurations( Consumer listTlsInspectionConfigurationsRequest) { return listTLSInspectionConfigurations(ListTlsInspectionConfigurationsRequest.builder() .applyMutation(listTlsInspectionConfigurationsRequest).build()); } /** *

                                                                                                          * Retrieves the metadata for the TLS inspection configurations that you have defined. Depending on your setting for * max results and the number of TLS inspection configurations, a single call might not return the full list. *

                                                                                                          *
                                                                                                          *

                                                                                                          * This is a variant of * {@link #listTLSInspectionConfigurations(software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

                                                                                                          *

                                                                                                          * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                                          * *

                                                                                                          * The following are few ways to use the response class: *

                                                                                                          * 1) Using the subscribe helper method * *
                                                                                                               * {@code
                                                                                                               * software.amazon.awssdk.services.networkfirewall.paginators.ListTLSInspectionConfigurationsPublisher publisher = client.listTLSInspectionConfigurationsPaginator(request);
                                                                                                               * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                                               * future.get();
                                                                                                               * }
                                                                                                               * 
                                                                                                          * * 2) Using a custom subscriber * *
                                                                                                               * {@code
                                                                                                               * software.amazon.awssdk.services.networkfirewall.paginators.ListTLSInspectionConfigurationsPublisher publisher = client.listTLSInspectionConfigurationsPaginator(request);
                                                                                                               * publisher.subscribe(new Subscriber() {
                                                                                                               * 
                                                                                                               * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                                               * 
                                                                                                               * 
                                                                                                               * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsResponse response) { //... };
                                                                                                               * });}
                                                                                                               * 
                                                                                                          * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                                          * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                                          *

                                                                                                          * Note: If you prefer to have control on service calls, use the * {@link #listTLSInspectionConfigurations(software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsRequest)} * operation. *

                                                                                                          * * @param listTlsInspectionConfigurationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                                          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                            *
                                                                                                          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                            *
                                                                                                              *
                                                                                                            • *

                                                                                                              * You specified an unsupported parameter name or value. *

                                                                                                              *
                                                                                                            • *
                                                                                                            • *

                                                                                                              * You tried to update a property with a value that isn't among the available types. *

                                                                                                              *
                                                                                                            • *
                                                                                                            • *

                                                                                                              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                              *
                                                                                                            • *
                                                                                                            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                            • *
                                                                                                            • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                            • *
                                                                                                            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                            • *
                                                                                                            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                            • *
                                                                                                            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                            • *
                                                                                                            * @sample NetworkFirewallAsyncClient.ListTLSInspectionConfigurations * @see AWS API Documentation */ default ListTLSInspectionConfigurationsPublisher listTLSInspectionConfigurationsPaginator( ListTlsInspectionConfigurationsRequest listTlsInspectionConfigurationsRequest) { return new ListTLSInspectionConfigurationsPublisher(this, listTlsInspectionConfigurationsRequest); } /** *

                                                                                                            * Retrieves the metadata for the TLS inspection configurations that you have defined. Depending on your setting for * max results and the number of TLS inspection configurations, a single call might not return the full list. *

                                                                                                            *
                                                                                                            *

                                                                                                            * This is a variant of * {@link #listTLSInspectionConfigurations(software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

                                                                                                            *

                                                                                                            * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                                            * *

                                                                                                            * The following are few ways to use the response class: *

                                                                                                            * 1) Using the subscribe helper method * *
                                                                                                                 * {@code
                                                                                                                 * software.amazon.awssdk.services.networkfirewall.paginators.ListTLSInspectionConfigurationsPublisher publisher = client.listTLSInspectionConfigurationsPaginator(request);
                                                                                                                 * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                                                 * future.get();
                                                                                                                 * }
                                                                                                                 * 
                                                                                                            * * 2) Using a custom subscriber * *
                                                                                                                 * {@code
                                                                                                                 * software.amazon.awssdk.services.networkfirewall.paginators.ListTLSInspectionConfigurationsPublisher publisher = client.listTLSInspectionConfigurationsPaginator(request);
                                                                                                                 * publisher.subscribe(new Subscriber() {
                                                                                                                 * 
                                                                                                                 * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                                                 * 
                                                                                                                 * 
                                                                                                                 * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsResponse response) { //... };
                                                                                                                 * });}
                                                                                                                 * 
                                                                                                            * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                                            * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                                            *

                                                                                                            * Note: If you prefer to have control on service calls, use the * {@link #listTLSInspectionConfigurations(software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsRequest)} * operation. *

                                                                                                            *

                                                                                                            * This is a convenience which creates an instance of the {@link ListTlsInspectionConfigurationsRequest.Builder} * avoiding the need to create one manually via {@link ListTlsInspectionConfigurationsRequest#builder()} *

                                                                                                            * * @param listTlsInspectionConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListTlsInspectionConfigurationsRequest.Builder} * to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                                            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                              *
                                                                                                            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                              *
                                                                                                                *
                                                                                                              • *

                                                                                                                * You specified an unsupported parameter name or value. *

                                                                                                                *
                                                                                                              • *
                                                                                                              • *

                                                                                                                * You tried to update a property with a value that isn't among the available types. *

                                                                                                                *
                                                                                                              • *
                                                                                                              • *

                                                                                                                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                *
                                                                                                              • *
                                                                                                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                              • *
                                                                                                              • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                              • *
                                                                                                              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                              • *
                                                                                                              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                              • *
                                                                                                              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                              • *
                                                                                                              * @sample NetworkFirewallAsyncClient.ListTLSInspectionConfigurations * @see AWS API Documentation */ default ListTLSInspectionConfigurationsPublisher listTLSInspectionConfigurationsPaginator( Consumer listTlsInspectionConfigurationsRequest) { return listTLSInspectionConfigurationsPaginator(ListTlsInspectionConfigurationsRequest.builder() .applyMutation(listTlsInspectionConfigurationsRequest).build()); } /** *

                                                                                                              * 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 Amazon Web * Services resource, up to 50 tags for a resource. *

                                                                                                              *

                                                                                                              * You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall * policies, and rule groups. *

                                                                                                              * * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
                                                                                                              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                *
                                                                                                              • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                              • *
                                                                                                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                              • *
                                                                                                              • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                              • *
                                                                                                              • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                *
                                                                                                                  *
                                                                                                                • *

                                                                                                                  * You specified an unsupported parameter name or value. *

                                                                                                                  *
                                                                                                                • *
                                                                                                                • *

                                                                                                                  * You tried to update a property with a value that isn't among the available types. *

                                                                                                                  *
                                                                                                                • *
                                                                                                                • *

                                                                                                                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                  *
                                                                                                                • *
                                                                                                                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                • *
                                                                                                                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                • *
                                                                                                                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                • *
                                                                                                                * @sample NetworkFirewallAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                * 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 Amazon Web * Services resource, up to 50 tags for a resource. *

                                                                                                                *

                                                                                                                * You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall * policies, and rule groups. *

                                                                                                                *
                                                                                                                *

                                                                                                                * This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

                                                                                                                * * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
                                                                                                                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                  *
                                                                                                                • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                • *
                                                                                                                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                • *
                                                                                                                • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                • *
                                                                                                                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                  *
                                                                                                                    *
                                                                                                                  • *

                                                                                                                    * You specified an unsupported parameter name or value. *

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • *

                                                                                                                    * You tried to update a property with a value that isn't among the available types. *

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • *

                                                                                                                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                  • *
                                                                                                                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                  • *
                                                                                                                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                  • *
                                                                                                                  * @sample NetworkFirewallAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

                                                                                                                  * 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 Amazon Web * Services resource, up to 50 tags for a resource. *

                                                                                                                  *

                                                                                                                  * You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall * policies, and rule groups. *

                                                                                                                  *
                                                                                                                  *

                                                                                                                  * This is a variant of * {@link #listTagsForResource(software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

                                                                                                                  *

                                                                                                                  * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                                                  * *

                                                                                                                  * The following are few ways to use the response class: *

                                                                                                                  * 1) Using the subscribe helper method * *
                                                                                                                       * {@code
                                                                                                                       * software.amazon.awssdk.services.networkfirewall.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
                                                                                                                       * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                                                       * future.get();
                                                                                                                       * }
                                                                                                                       * 
                                                                                                                  * * 2) Using a custom subscriber * *
                                                                                                                       * {@code
                                                                                                                       * software.amazon.awssdk.services.networkfirewall.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
                                                                                                                       * publisher.subscribe(new Subscriber() {
                                                                                                                       * 
                                                                                                                       * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                                                       * 
                                                                                                                       * 
                                                                                                                       * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceResponse response) { //... };
                                                                                                                       * });}
                                                                                                                       * 
                                                                                                                  * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                                                  * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                                                  *

                                                                                                                  * Note: If you prefer to have control on service calls, use the * {@link #listTagsForResource(software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceRequest)} * operation. *

                                                                                                                  * * @param listTagsForResourceRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                                                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                    *
                                                                                                                  • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                  • *
                                                                                                                  • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                  • *
                                                                                                                  • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                  • *
                                                                                                                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                    *
                                                                                                                      *
                                                                                                                    • *

                                                                                                                      * You specified an unsupported parameter name or value. *

                                                                                                                      *
                                                                                                                    • *
                                                                                                                    • *

                                                                                                                      * You tried to update a property with a value that isn't among the available types. *

                                                                                                                      *
                                                                                                                    • *
                                                                                                                    • *

                                                                                                                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                      *
                                                                                                                    • *
                                                                                                                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                    • *
                                                                                                                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                    • *
                                                                                                                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                    • *
                                                                                                                    * @sample NetworkFirewallAsyncClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) { return new ListTagsForResourcePublisher(this, listTagsForResourceRequest); } /** *

                                                                                                                    * 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 Amazon Web * Services resource, up to 50 tags for a resource. *

                                                                                                                    *

                                                                                                                    * You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall * policies, and rule groups. *

                                                                                                                    *
                                                                                                                    *

                                                                                                                    * This is a variant of * {@link #listTagsForResource(software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

                                                                                                                    *

                                                                                                                    * When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

                                                                                                                    * *

                                                                                                                    * The following are few ways to use the response class: *

                                                                                                                    * 1) Using the subscribe helper method * *
                                                                                                                         * {@code
                                                                                                                         * software.amazon.awssdk.services.networkfirewall.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
                                                                                                                         * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
                                                                                                                         * future.get();
                                                                                                                         * }
                                                                                                                         * 
                                                                                                                    * * 2) Using a custom subscriber * *
                                                                                                                         * {@code
                                                                                                                         * software.amazon.awssdk.services.networkfirewall.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
                                                                                                                         * publisher.subscribe(new Subscriber() {
                                                                                                                         * 
                                                                                                                         * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
                                                                                                                         * 
                                                                                                                         * 
                                                                                                                         * public void onNext(software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceResponse response) { //... };
                                                                                                                         * });}
                                                                                                                         * 
                                                                                                                    * * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

                                                                                                                    * Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

                                                                                                                    *

                                                                                                                    * Note: If you prefer to have control on service calls, use the * {@link #listTagsForResource(software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceRequest)} * operation. *

                                                                                                                    *

                                                                                                                    * This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

                                                                                                                    * * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.ListTagsForResourceRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
                                                                                                                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                      *
                                                                                                                    • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                    • *
                                                                                                                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                    • *
                                                                                                                    • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                    • *
                                                                                                                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                      *
                                                                                                                        *
                                                                                                                      • *

                                                                                                                        * You specified an unsupported parameter name or value. *

                                                                                                                        *
                                                                                                                      • *
                                                                                                                      • *

                                                                                                                        * You tried to update a property with a value that isn't among the available types. *

                                                                                                                        *
                                                                                                                      • *
                                                                                                                      • *

                                                                                                                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                        *
                                                                                                                      • *
                                                                                                                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                      • *
                                                                                                                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                      • *
                                                                                                                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                      • *
                                                                                                                      * @sample NetworkFirewallAsyncClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourcePublisher listTagsForResourcePaginator( Consumer listTagsForResourceRequest) { return listTagsForResourcePaginator(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest) .build()); } /** *

                                                                                                                      * Creates or updates an IAM 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 Amazon Web Services Resource * Access Manager (RAM) service to manage resource sharing for Network Firewall. *

                                                                                                                      *

                                                                                                                      * 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. *

                                                                                                                      *

                                                                                                                      * 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. *

                                                                                                                      * *

                                                                                                                      * For additional information about resource sharing using RAM, see Resource Access Manager User Guide. *

                                                                                                                      * * @param putResourcePolicyRequest * @return A Java Future containing the result of the PutResourcePolicy operation returned by the service.
                                                                                                                      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                        *
                                                                                                                      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                        *
                                                                                                                          *
                                                                                                                        • *

                                                                                                                          * You specified an unsupported parameter name or value. *

                                                                                                                          *
                                                                                                                        • *
                                                                                                                        • *

                                                                                                                          * You tried to update a property with a value that isn't among the available types. *

                                                                                                                          *
                                                                                                                        • *
                                                                                                                        • *

                                                                                                                          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                          *
                                                                                                                        • *
                                                                                                                        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                        • *
                                                                                                                        • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                        • *
                                                                                                                        • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                        • *
                                                                                                                        • InvalidResourcePolicyException The policy statement failed validation.
                                                                                                                        • *
                                                                                                                        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                        • *
                                                                                                                        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                        • *
                                                                                                                        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                        • *
                                                                                                                        * @sample NetworkFirewallAsyncClient.PutResourcePolicy * @see AWS API Documentation */ default CompletableFuture putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                        * Creates or updates an IAM 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 Amazon Web Services Resource * Access Manager (RAM) service to manage resource sharing for Network Firewall. *

                                                                                                                        *

                                                                                                                        * 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. *

                                                                                                                        *

                                                                                                                        * 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. *

                                                                                                                        * *

                                                                                                                        * For additional information about resource sharing using RAM, see Resource Access Manager User Guide. *

                                                                                                                        *
                                                                                                                        *

                                                                                                                        * This is a convenience which creates an instance of the {@link PutResourcePolicyRequest.Builder} avoiding the need * to create one manually via {@link PutResourcePolicyRequest#builder()} *

                                                                                                                        * * @param putResourcePolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.PutResourcePolicyRequest.Builder} to create a * request. * @return A Java Future containing the result of the PutResourcePolicy operation returned by the service.
                                                                                                                        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                          *
                                                                                                                        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                          *
                                                                                                                            *
                                                                                                                          • *

                                                                                                                            * You specified an unsupported parameter name or value. *

                                                                                                                            *
                                                                                                                          • *
                                                                                                                          • *

                                                                                                                            * You tried to update a property with a value that isn't among the available types. *

                                                                                                                            *
                                                                                                                          • *
                                                                                                                          • *

                                                                                                                            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                            *
                                                                                                                          • *
                                                                                                                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                          • *
                                                                                                                          • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                          • *
                                                                                                                          • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                          • *
                                                                                                                          • InvalidResourcePolicyException The policy statement failed validation.
                                                                                                                          • *
                                                                                                                          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                          • *
                                                                                                                          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                          • *
                                                                                                                          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                          • *
                                                                                                                          * @sample NetworkFirewallAsyncClient.PutResourcePolicy * @see AWS API Documentation */ default CompletableFuture putResourcePolicy( Consumer putResourcePolicyRequest) { return putResourcePolicy(PutResourcePolicyRequest.builder().applyMutation(putResourcePolicyRequest).build()); } /** *

                                                                                                                          * 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 Amazon Web Services resource, * up to 50 tags for a resource. *

                                                                                                                          *

                                                                                                                          * You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall * policies, and rule groups. *

                                                                                                                          * * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
                                                                                                                          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                            *
                                                                                                                          • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                          • *
                                                                                                                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                          • *
                                                                                                                          • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                          • *
                                                                                                                          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                            *
                                                                                                                              *
                                                                                                                            • *

                                                                                                                              * You specified an unsupported parameter name or value. *

                                                                                                                              *
                                                                                                                            • *
                                                                                                                            • *

                                                                                                                              * You tried to update a property with a value that isn't among the available types. *

                                                                                                                              *
                                                                                                                            • *
                                                                                                                            • *

                                                                                                                              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                              *
                                                                                                                            • *
                                                                                                                            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                            • *
                                                                                                                            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                            • *
                                                                                                                            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                            • *
                                                                                                                            * @sample NetworkFirewallAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                            * 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 Amazon Web Services resource, * up to 50 tags for a resource. *

                                                                                                                            *

                                                                                                                            * You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall * policies, and rule groups. *

                                                                                                                            *
                                                                                                                            *

                                                                                                                            * This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

                                                                                                                            * * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.TagResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the TagResource operation returned by the service.
                                                                                                                            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                              *
                                                                                                                            • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                            • *
                                                                                                                            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                            • *
                                                                                                                            • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                            • *
                                                                                                                            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                              *
                                                                                                                                *
                                                                                                                              • *

                                                                                                                                * You specified an unsupported parameter name or value. *

                                                                                                                                *
                                                                                                                              • *
                                                                                                                              • *

                                                                                                                                * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                *
                                                                                                                              • *
                                                                                                                              • *

                                                                                                                                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                *
                                                                                                                              • *
                                                                                                                              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                              • *
                                                                                                                              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                              • *
                                                                                                                              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                              • *
                                                                                                                              * @sample NetworkFirewallAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

                                                                                                                              * 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 Amazon Web * Services resource, up to 50 tags for a resource. *

                                                                                                                              *

                                                                                                                              * You can manage tags for the Amazon Web Services resources that you manage through Network Firewall: firewalls, * firewall policies, and rule groups. *

                                                                                                                              * * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
                                                                                                                              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                *
                                                                                                                              • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                              • *
                                                                                                                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                              • *
                                                                                                                              • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                              • *
                                                                                                                              • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                *
                                                                                                                                  *
                                                                                                                                • *

                                                                                                                                  * You specified an unsupported parameter name or value. *

                                                                                                                                  *
                                                                                                                                • *
                                                                                                                                • *

                                                                                                                                  * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                  *
                                                                                                                                • *
                                                                                                                                • *

                                                                                                                                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                  *
                                                                                                                                • *
                                                                                                                                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                • *
                                                                                                                                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                • *
                                                                                                                                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                • *
                                                                                                                                * @sample NetworkFirewallAsyncClient.UntagResource * @see AWS API Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                * 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 Amazon Web * Services resource, up to 50 tags for a resource. *

                                                                                                                                *

                                                                                                                                * You can manage tags for the Amazon Web Services resources that you manage through Network Firewall: firewalls, * firewall policies, and rule groups. *

                                                                                                                                *
                                                                                                                                *

                                                                                                                                * This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

                                                                                                                                * * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UntagResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
                                                                                                                                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                  *
                                                                                                                                • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                • *
                                                                                                                                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                • *
                                                                                                                                • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                • *
                                                                                                                                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                  *
                                                                                                                                    *
                                                                                                                                  • *

                                                                                                                                    * You specified an unsupported parameter name or value. *

                                                                                                                                    *
                                                                                                                                  • *
                                                                                                                                  • *

                                                                                                                                    * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                    *
                                                                                                                                  • *
                                                                                                                                  • *

                                                                                                                                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                    *
                                                                                                                                  • *
                                                                                                                                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                  • *
                                                                                                                                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                  • *
                                                                                                                                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                  • *
                                                                                                                                  * @sample NetworkFirewallAsyncClient.UntagResource * @see AWS API Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

                                                                                                                                  * Modifies the flag, DeleteProtection, which indicates whether it is possible to delete the firewall. * If the flag is set to TRUE, the firewall is protected against deletion. This setting helps protect * against accidentally deleting a firewall that's in use. *

                                                                                                                                  * * @param updateFirewallDeleteProtectionRequest * @return A Java Future containing the result of the UpdateFirewallDeleteProtection operation returned by the * service.
                                                                                                                                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                    *
                                                                                                                                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                    *
                                                                                                                                      *
                                                                                                                                    • *

                                                                                                                                      * You specified an unsupported parameter name or value. *

                                                                                                                                      *
                                                                                                                                    • *
                                                                                                                                    • *

                                                                                                                                      * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                      *
                                                                                                                                    • *
                                                                                                                                    • *

                                                                                                                                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                      *
                                                                                                                                    • *
                                                                                                                                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                    • *
                                                                                                                                    • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                    • *
                                                                                                                                    • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                    • *
                                                                                                                                    • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                    • *
                                                                                                                                    • ResourceOwnerCheckException Unable to change the resource because your account doesn't own it.
                                                                                                                                    • *
                                                                                                                                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                    • *
                                                                                                                                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                    • *
                                                                                                                                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                    • *
                                                                                                                                    * @sample NetworkFirewallAsyncClient.UpdateFirewallDeleteProtection * @see AWS API Documentation */ default CompletableFuture updateFirewallDeleteProtection( UpdateFirewallDeleteProtectionRequest updateFirewallDeleteProtectionRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                    * Modifies the flag, DeleteProtection, which indicates whether it is possible to delete the firewall. * If the flag is set to TRUE, the firewall is protected against deletion. This setting helps protect * against accidentally deleting a firewall that's in use. *

                                                                                                                                    *
                                                                                                                                    *

                                                                                                                                    * This is a convenience which creates an instance of the {@link UpdateFirewallDeleteProtectionRequest.Builder} * avoiding the need to create one manually via {@link UpdateFirewallDeleteProtectionRequest#builder()} *

                                                                                                                                    * * @param updateFirewallDeleteProtectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallDeleteProtectionRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateFirewallDeleteProtection operation returned by the * service.
                                                                                                                                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                      *
                                                                                                                                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                      *
                                                                                                                                        *
                                                                                                                                      • *

                                                                                                                                        * You specified an unsupported parameter name or value. *

                                                                                                                                        *
                                                                                                                                      • *
                                                                                                                                      • *

                                                                                                                                        * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                        *
                                                                                                                                      • *
                                                                                                                                      • *

                                                                                                                                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                        *
                                                                                                                                      • *
                                                                                                                                      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                      • *
                                                                                                                                      • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                      • *
                                                                                                                                      • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                      • *
                                                                                                                                      • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                      • *
                                                                                                                                      • ResourceOwnerCheckException Unable to change the resource because your account doesn't own it.
                                                                                                                                      • *
                                                                                                                                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                      • *
                                                                                                                                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                      • *
                                                                                                                                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                      • *
                                                                                                                                      * @sample NetworkFirewallAsyncClient.UpdateFirewallDeleteProtection * @see AWS API Documentation */ default CompletableFuture updateFirewallDeleteProtection( Consumer updateFirewallDeleteProtectionRequest) { return updateFirewallDeleteProtection(UpdateFirewallDeleteProtectionRequest.builder() .applyMutation(updateFirewallDeleteProtectionRequest).build()); } /** *

                                                                                                                                      * Modifies the description for the specified firewall. Use the description to help you identify the firewall when * you're working with it. *

                                                                                                                                      * * @param updateFirewallDescriptionRequest * @return A Java Future containing the result of the UpdateFirewallDescription operation returned by the service.
                                                                                                                                      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                        *
                                                                                                                                      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                        *
                                                                                                                                          *
                                                                                                                                        • *

                                                                                                                                          * You specified an unsupported parameter name or value. *

                                                                                                                                          *
                                                                                                                                        • *
                                                                                                                                        • *

                                                                                                                                          * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                          *
                                                                                                                                        • *
                                                                                                                                        • *

                                                                                                                                          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                          *
                                                                                                                                        • *
                                                                                                                                        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                        • *
                                                                                                                                        • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                        • *
                                                                                                                                        • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                        • *
                                                                                                                                        • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                        • *
                                                                                                                                        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                        • *
                                                                                                                                        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                        • *
                                                                                                                                        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                        • *
                                                                                                                                        * @sample NetworkFirewallAsyncClient.UpdateFirewallDescription * @see AWS API Documentation */ default CompletableFuture updateFirewallDescription( UpdateFirewallDescriptionRequest updateFirewallDescriptionRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                        * Modifies the description for the specified firewall. Use the description to help you identify the firewall when * you're working with it. *

                                                                                                                                        *
                                                                                                                                        *

                                                                                                                                        * This is a convenience which creates an instance of the {@link UpdateFirewallDescriptionRequest.Builder} avoiding * the need to create one manually via {@link UpdateFirewallDescriptionRequest#builder()} *

                                                                                                                                        * * @param updateFirewallDescriptionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallDescriptionRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateFirewallDescription operation returned by the service.
                                                                                                                                        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                          *
                                                                                                                                        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                          *
                                                                                                                                            *
                                                                                                                                          • *

                                                                                                                                            * You specified an unsupported parameter name or value. *

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • *

                                                                                                                                            * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • *

                                                                                                                                            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                          • *
                                                                                                                                          • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                          • *
                                                                                                                                          • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                          • *
                                                                                                                                          • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                          • *
                                                                                                                                          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                          • *
                                                                                                                                          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                          • *
                                                                                                                                          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                          • *
                                                                                                                                          * @sample NetworkFirewallAsyncClient.UpdateFirewallDescription * @see AWS API Documentation */ default CompletableFuture updateFirewallDescription( Consumer updateFirewallDescriptionRequest) { return updateFirewallDescription(UpdateFirewallDescriptionRequest.builder() .applyMutation(updateFirewallDescriptionRequest).build()); } /** *

                                                                                                                                          * A complex type that contains settings for encryption of your firewall resources. *

                                                                                                                                          * * @param updateFirewallEncryptionConfigurationRequest * @return A Java Future containing the result of the UpdateFirewallEncryptionConfiguration operation returned by * the service.
                                                                                                                                          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                            *
                                                                                                                                          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                            *
                                                                                                                                              *
                                                                                                                                            • *

                                                                                                                                              * You specified an unsupported parameter name or value. *

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            • *

                                                                                                                                              * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            • *

                                                                                                                                              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                            • *
                                                                                                                                            • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                            • *
                                                                                                                                            • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                            • *
                                                                                                                                            • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                            • *
                                                                                                                                            • ResourceOwnerCheckException Unable to change the resource because your account doesn't own it.
                                                                                                                                            • *
                                                                                                                                            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                            • *
                                                                                                                                            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                            • *
                                                                                                                                            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                            • *
                                                                                                                                            * @sample NetworkFirewallAsyncClient.UpdateFirewallEncryptionConfiguration * @see AWS API Documentation */ default CompletableFuture updateFirewallEncryptionConfiguration( UpdateFirewallEncryptionConfigurationRequest updateFirewallEncryptionConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                            * A complex type that contains settings for encryption of your firewall resources. *

                                                                                                                                            *
                                                                                                                                            *

                                                                                                                                            * This is a convenience which creates an instance of the * {@link UpdateFirewallEncryptionConfigurationRequest.Builder} avoiding the need to create one manually via * {@link UpdateFirewallEncryptionConfigurationRequest#builder()} *

                                                                                                                                            * * @param updateFirewallEncryptionConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallEncryptionConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateFirewallEncryptionConfiguration operation returned by * the service.
                                                                                                                                            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                              *
                                                                                                                                            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                              *
                                                                                                                                                *
                                                                                                                                              • *

                                                                                                                                                * You specified an unsupported parameter name or value. *

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              • *

                                                                                                                                                * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              • *

                                                                                                                                                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                              • *
                                                                                                                                              • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                              • *
                                                                                                                                              • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                              • *
                                                                                                                                              • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                              • *
                                                                                                                                              • ResourceOwnerCheckException Unable to change the resource because your account doesn't own it.
                                                                                                                                              • *
                                                                                                                                              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                              • *
                                                                                                                                              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                              • *
                                                                                                                                              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                              • *
                                                                                                                                              * @sample NetworkFirewallAsyncClient.UpdateFirewallEncryptionConfiguration * @see AWS API Documentation */ default CompletableFuture updateFirewallEncryptionConfiguration( Consumer updateFirewallEncryptionConfigurationRequest) { return updateFirewallEncryptionConfiguration(UpdateFirewallEncryptionConfigurationRequest.builder() .applyMutation(updateFirewallEncryptionConfigurationRequest).build()); } /** *

                                                                                                                                              * Updates the properties of the specified firewall policy. *

                                                                                                                                              * * @param updateFirewallPolicyRequest * @return A Java Future containing the result of the UpdateFirewallPolicy operation returned by the service.
                                                                                                                                              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                *
                                                                                                                                              • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                *
                                                                                                                                                  *
                                                                                                                                                • *

                                                                                                                                                  * You specified an unsupported parameter name or value. *

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • *

                                                                                                                                                  * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • *

                                                                                                                                                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                • *
                                                                                                                                                • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                • *
                                                                                                                                                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                • *
                                                                                                                                                • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                • *
                                                                                                                                                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                • *
                                                                                                                                                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                • *
                                                                                                                                                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                • *
                                                                                                                                                * @sample NetworkFirewallAsyncClient.UpdateFirewallPolicy * @see AWS API Documentation */ default CompletableFuture updateFirewallPolicy( UpdateFirewallPolicyRequest updateFirewallPolicyRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                                * Updates the properties of the specified firewall policy. *

                                                                                                                                                *
                                                                                                                                                *

                                                                                                                                                * This is a convenience which creates an instance of the {@link UpdateFirewallPolicyRequest.Builder} avoiding the * need to create one manually via {@link UpdateFirewallPolicyRequest#builder()} *

                                                                                                                                                * * @param updateFirewallPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallPolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateFirewallPolicy operation returned by the service.
                                                                                                                                                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                  *
                                                                                                                                                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                  *
                                                                                                                                                    *
                                                                                                                                                  • *

                                                                                                                                                    * You specified an unsupported parameter name or value. *

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  • *

                                                                                                                                                    * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  • *

                                                                                                                                                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                    *
                                                                                                                                                  • *
                                                                                                                                                  • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                  • *
                                                                                                                                                  • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                  • *
                                                                                                                                                  • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                  • *
                                                                                                                                                  • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                  • *
                                                                                                                                                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                  • *
                                                                                                                                                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                  • *
                                                                                                                                                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                  • *
                                                                                                                                                  * @sample NetworkFirewallAsyncClient.UpdateFirewallPolicy * @see AWS API Documentation */ default CompletableFuture updateFirewallPolicy( Consumer updateFirewallPolicyRequest) { return updateFirewallPolicy(UpdateFirewallPolicyRequest.builder().applyMutation(updateFirewallPolicyRequest).build()); } /** *

                                                                                                                                                  * Modifies the flag, ChangeProtection, which indicates whether it is possible to change the firewall. * If the flag is set to TRUE, the firewall is protected from changes. This setting helps protect * against accidentally changing a firewall that's in use. *

                                                                                                                                                  * * @param updateFirewallPolicyChangeProtectionRequest * @return A Java Future containing the result of the UpdateFirewallPolicyChangeProtection operation returned by the * service.
                                                                                                                                                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                    *
                                                                                                                                                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                    *
                                                                                                                                                      *
                                                                                                                                                    • *

                                                                                                                                                      * You specified an unsupported parameter name or value. *

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • *

                                                                                                                                                      * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • *

                                                                                                                                                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                    • *
                                                                                                                                                    • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                    • *
                                                                                                                                                    • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                    • *
                                                                                                                                                    • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                    • *
                                                                                                                                                    • ResourceOwnerCheckException Unable to change the resource because your account doesn't own it.
                                                                                                                                                    • *
                                                                                                                                                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                    • *
                                                                                                                                                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                    • *
                                                                                                                                                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                    • *
                                                                                                                                                    * @sample NetworkFirewallAsyncClient.UpdateFirewallPolicyChangeProtection * @see AWS API Documentation */ default CompletableFuture updateFirewallPolicyChangeProtection( UpdateFirewallPolicyChangeProtectionRequest updateFirewallPolicyChangeProtectionRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                                    * Modifies the flag, ChangeProtection, which indicates whether it is possible to change the firewall. * If the flag is set to TRUE, the firewall is protected from changes. This setting helps protect * against accidentally changing a firewall that's in use. *

                                                                                                                                                    *
                                                                                                                                                    *

                                                                                                                                                    * This is a convenience which creates an instance of the * {@link UpdateFirewallPolicyChangeProtectionRequest.Builder} avoiding the need to create one manually via * {@link UpdateFirewallPolicyChangeProtectionRequest#builder()} *

                                                                                                                                                    * * @param updateFirewallPolicyChangeProtectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UpdateFirewallPolicyChangeProtectionRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateFirewallPolicyChangeProtection operation returned by the * service.
                                                                                                                                                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                      *
                                                                                                                                                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                      *
                                                                                                                                                        *
                                                                                                                                                      • *

                                                                                                                                                        * You specified an unsupported parameter name or value. *

                                                                                                                                                        *
                                                                                                                                                      • *
                                                                                                                                                      • *

                                                                                                                                                        * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                        *
                                                                                                                                                      • *
                                                                                                                                                      • *

                                                                                                                                                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                        *
                                                                                                                                                      • *
                                                                                                                                                      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                      • *
                                                                                                                                                      • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                      • *
                                                                                                                                                      • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                      • *
                                                                                                                                                      • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                      • *
                                                                                                                                                      • ResourceOwnerCheckException Unable to change the resource because your account doesn't own it.
                                                                                                                                                      • *
                                                                                                                                                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                      • *
                                                                                                                                                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                      • *
                                                                                                                                                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                      • *
                                                                                                                                                      * @sample NetworkFirewallAsyncClient.UpdateFirewallPolicyChangeProtection * @see AWS API Documentation */ default CompletableFuture updateFirewallPolicyChangeProtection( Consumer updateFirewallPolicyChangeProtectionRequest) { return updateFirewallPolicyChangeProtection(UpdateFirewallPolicyChangeProtectionRequest.builder() .applyMutation(updateFirewallPolicyChangeProtectionRequest).build()); } /** *

                                                                                                                                                      * Sets the logging configuration for the specified firewall. *

                                                                                                                                                      *

                                                                                                                                                      * To change the logging configuration, retrieve the LoggingConfiguration by calling * DescribeLoggingConfiguration, then change it and provide the modified object to this update call. You must * change the logging configuration one LogDestinationConfig at a time inside the retrieved * LoggingConfiguration object. *

                                                                                                                                                      *

                                                                                                                                                      * You can perform only one of the following actions in any call to UpdateLoggingConfiguration: *

                                                                                                                                                      *
                                                                                                                                                        *
                                                                                                                                                      • *

                                                                                                                                                        * Create a new log destination object by adding a single LogDestinationConfig array element to * LogDestinationConfigs. *

                                                                                                                                                        *
                                                                                                                                                      • *
                                                                                                                                                      • *

                                                                                                                                                        * Delete a log destination object by removing a single LogDestinationConfig array element from * LogDestinationConfigs. *

                                                                                                                                                        *
                                                                                                                                                      • *
                                                                                                                                                      • *

                                                                                                                                                        * Change the LogDestination setting in a single LogDestinationConfig array element. *

                                                                                                                                                        *
                                                                                                                                                      • *
                                                                                                                                                      *

                                                                                                                                                      * You can't change the LogDestinationType or LogType in a * LogDestinationConfig. To change these settings, delete the existing * LogDestinationConfig object and create a new one, using two separate calls to this update operation. *

                                                                                                                                                      * * @param updateLoggingConfigurationRequest * @return A Java Future containing the result of the UpdateLoggingConfiguration operation returned by the service.
                                                                                                                                                      * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                        *
                                                                                                                                                      • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                        *
                                                                                                                                                          *
                                                                                                                                                        • *

                                                                                                                                                          * You specified an unsupported parameter name or value. *

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        • *

                                                                                                                                                          * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        • *

                                                                                                                                                          * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                        • *
                                                                                                                                                        • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                        • *
                                                                                                                                                        • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                        • *
                                                                                                                                                        • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                        • *
                                                                                                                                                        • LogDestinationPermissionException Unable to send logs to a configured logging destination.
                                                                                                                                                        • *
                                                                                                                                                        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                        • *
                                                                                                                                                        • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                        • *
                                                                                                                                                        • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                        • *
                                                                                                                                                        * @sample NetworkFirewallAsyncClient.UpdateLoggingConfiguration * @see AWS API Documentation */ default CompletableFuture updateLoggingConfiguration( UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                                        * Sets the logging configuration for the specified firewall. *

                                                                                                                                                        *

                                                                                                                                                        * To change the logging configuration, retrieve the LoggingConfiguration by calling * DescribeLoggingConfiguration, then change it and provide the modified object to this update call. You must * change the logging configuration one LogDestinationConfig at a time inside the retrieved * LoggingConfiguration object. *

                                                                                                                                                        *

                                                                                                                                                        * You can perform only one of the following actions in any call to UpdateLoggingConfiguration: *

                                                                                                                                                        *
                                                                                                                                                          *
                                                                                                                                                        • *

                                                                                                                                                          * Create a new log destination object by adding a single LogDestinationConfig array element to * LogDestinationConfigs. *

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        • *

                                                                                                                                                          * Delete a log destination object by removing a single LogDestinationConfig array element from * LogDestinationConfigs. *

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        • *

                                                                                                                                                          * Change the LogDestination setting in a single LogDestinationConfig array element. *

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        *

                                                                                                                                                        * You can't change the LogDestinationType or LogType in a * LogDestinationConfig. To change these settings, delete the existing * LogDestinationConfig object and create a new one, using two separate calls to this update operation. *

                                                                                                                                                        *
                                                                                                                                                        *

                                                                                                                                                        * This is a convenience which creates an instance of the {@link UpdateLoggingConfigurationRequest.Builder} avoiding * the need to create one manually via {@link UpdateLoggingConfigurationRequest#builder()} *

                                                                                                                                                        * * @param updateLoggingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UpdateLoggingConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateLoggingConfiguration operation returned by the service.
                                                                                                                                                        * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                          *
                                                                                                                                                        • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                          *
                                                                                                                                                            *
                                                                                                                                                          • *

                                                                                                                                                            * You specified an unsupported parameter name or value. *

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • *

                                                                                                                                                            * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • *

                                                                                                                                                            * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                          • *
                                                                                                                                                          • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                          • *
                                                                                                                                                          • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                          • *
                                                                                                                                                          • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                          • *
                                                                                                                                                          • LogDestinationPermissionException Unable to send logs to a configured logging destination.
                                                                                                                                                          • *
                                                                                                                                                          • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                          • *
                                                                                                                                                          • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                          • *
                                                                                                                                                          • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                          • *
                                                                                                                                                          * @sample NetworkFirewallAsyncClient.UpdateLoggingConfiguration * @see AWS API Documentation */ default CompletableFuture updateLoggingConfiguration( Consumer updateLoggingConfigurationRequest) { return updateLoggingConfiguration(UpdateLoggingConfigurationRequest.builder() .applyMutation(updateLoggingConfigurationRequest).build()); } /** *

                                                                                                                                                          * 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. *

                                                                                                                                                          *

                                                                                                                                                          * To update a rule group, first call DescribeRuleGroup to retrieve the current RuleGroup object, * update the object as needed, and then provide the updated object to this call. *

                                                                                                                                                          * * @param updateRuleGroupRequest * @return A Java Future containing the result of the UpdateRuleGroup operation returned by the service.
                                                                                                                                                          * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                            *
                                                                                                                                                          • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                          • *
                                                                                                                                                          • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                            *
                                                                                                                                                              *
                                                                                                                                                            • *

                                                                                                                                                              * You specified an unsupported parameter name or value. *

                                                                                                                                                              *
                                                                                                                                                            • *
                                                                                                                                                            • *

                                                                                                                                                              * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                              *
                                                                                                                                                            • *
                                                                                                                                                            • *

                                                                                                                                                              * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                              *
                                                                                                                                                            • *
                                                                                                                                                            • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                            • *
                                                                                                                                                            • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                            • *
                                                                                                                                                            • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                            • *
                                                                                                                                                            • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                            • *
                                                                                                                                                            • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                            • *
                                                                                                                                                            • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                            • *
                                                                                                                                                            * @sample NetworkFirewallAsyncClient.UpdateRuleGroup * @see AWS API Documentation */ default CompletableFuture updateRuleGroup(UpdateRuleGroupRequest updateRuleGroupRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                                            * 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. *

                                                                                                                                                            *

                                                                                                                                                            * To update a rule group, first call DescribeRuleGroup to retrieve the current RuleGroup object, * update the object as needed, and then provide the updated object to this call. *

                                                                                                                                                            *
                                                                                                                                                            *

                                                                                                                                                            * This is a convenience which creates an instance of the {@link UpdateRuleGroupRequest.Builder} avoiding the need * to create one manually via {@link UpdateRuleGroupRequest#builder()} *

                                                                                                                                                            * * @param updateRuleGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UpdateRuleGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateRuleGroup operation returned by the service.
                                                                                                                                                            * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                              *
                                                                                                                                                            • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                            • *
                                                                                                                                                            • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                              *
                                                                                                                                                                *
                                                                                                                                                              • *

                                                                                                                                                                * You specified an unsupported parameter name or value. *

                                                                                                                                                                *
                                                                                                                                                              • *
                                                                                                                                                              • *

                                                                                                                                                                * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                                *
                                                                                                                                                              • *
                                                                                                                                                              • *

                                                                                                                                                                * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                                *
                                                                                                                                                              • *
                                                                                                                                                              • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                              • *
                                                                                                                                                              • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                              • *
                                                                                                                                                              • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                              • *
                                                                                                                                                              • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                              • *
                                                                                                                                                              • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                              • *
                                                                                                                                                              • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                              • *
                                                                                                                                                              * @sample NetworkFirewallAsyncClient.UpdateRuleGroup * @see AWS API Documentation */ default CompletableFuture updateRuleGroup( Consumer updateRuleGroupRequest) { return updateRuleGroup(UpdateRuleGroupRequest.builder().applyMutation(updateRuleGroupRequest).build()); } /** *

                                                                                                                                                              * * @param updateSubnetChangeProtectionRequest * @return A Java Future containing the result of the UpdateSubnetChangeProtection operation returned by the * service.
                                                                                                                                                              * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

                                                                                                                                                                *
                                                                                                                                                              • InvalidRequestException The operation failed because of a problem with your request. Examples * include: *

                                                                                                                                                                *
                                                                                                                                                                  *
                                                                                                                                                                • *

                                                                                                                                                                  * You specified an unsupported parameter name or value. *

                                                                                                                                                                  *
                                                                                                                                                                • *
                                                                                                                                                                • *

                                                                                                                                                                  * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                                  *
                                                                                                                                                                • *
                                                                                                                                                                • *

                                                                                                                                                                  * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                                  *
                                                                                                                                                                • *
                                                                                                                                                                • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                                • *
                                                                                                                                                                • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                                • *
                                                                                                                                                                • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                                • *
                                                                                                                                                                • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                                • *
                                                                                                                                                                • ResourceOwnerCheckException Unable to change the resource because your account doesn't own it.
                                                                                                                                                                • *
                                                                                                                                                                • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                                • *
                                                                                                                                                                • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                                • *
                                                                                                                                                                • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                                • *
                                                                                                                                                                * @sample NetworkFirewallAsyncClient.UpdateSubnetChangeProtection * @see AWS API Documentation */ default CompletableFuture updateSubnetChangeProtection( UpdateSubnetChangeProtectionRequest updateSubnetChangeProtectionRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                                                *
                                                                                                                                                                *

                                                                                                                                                                * This is a convenience which creates an instance of the {@link UpdateSubnetChangeProtectionRequest.Builder} * avoiding the need to create one manually via {@link UpdateSubnetChangeProtectionRequest#builder()} *

                                                                                                                                                                * * @param updateSubnetChangeProtectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UpdateSubnetChangeProtectionRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateSubnetChangeProtection operation returned by the * service.
                                                                                                                                                                * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                                  *
                                                                                                                                                                • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                                  *
                                                                                                                                                                    *
                                                                                                                                                                  • *

                                                                                                                                                                    * You specified an unsupported parameter name or value. *

                                                                                                                                                                    *
                                                                                                                                                                  • *
                                                                                                                                                                  • *

                                                                                                                                                                    * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                                    *
                                                                                                                                                                  • *
                                                                                                                                                                  • *

                                                                                                                                                                    * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                                    *
                                                                                                                                                                  • *
                                                                                                                                                                  • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                                  • *
                                                                                                                                                                  • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                                  • *
                                                                                                                                                                  • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                                  • *
                                                                                                                                                                  • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                                  • *
                                                                                                                                                                  • ResourceOwnerCheckException Unable to change the resource because your account doesn't own it.
                                                                                                                                                                  • *
                                                                                                                                                                  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                                  • *
                                                                                                                                                                  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                                  • *
                                                                                                                                                                  • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                                  • *
                                                                                                                                                                  * @sample NetworkFirewallAsyncClient.UpdateSubnetChangeProtection * @see AWS API Documentation */ default CompletableFuture updateSubnetChangeProtection( Consumer updateSubnetChangeProtectionRequest) { return updateSubnetChangeProtection(UpdateSubnetChangeProtectionRequest.builder() .applyMutation(updateSubnetChangeProtectionRequest).build()); } /** *

                                                                                                                                                                  * Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS * inspection configuration by referencing it in one or more firewall policies. When you modify a TLS inspection * configuration, you modify all firewall policies that use the TLS inspection configuration. *

                                                                                                                                                                  *

                                                                                                                                                                  * To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration to retrieve the * current TLSInspectionConfiguration object, update the object as needed, and then provide the updated * object to this call. *

                                                                                                                                                                  * * @param updateTlsInspectionConfigurationRequest * @return A Java Future containing the result of the UpdateTLSInspectionConfiguration operation returned by the * service.
                                                                                                                                                                  * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                                    *
                                                                                                                                                                  • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                                    *
                                                                                                                                                                      *
                                                                                                                                                                    • *

                                                                                                                                                                      * You specified an unsupported parameter name or value. *

                                                                                                                                                                      *
                                                                                                                                                                    • *
                                                                                                                                                                    • *

                                                                                                                                                                      * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                                      *
                                                                                                                                                                    • *
                                                                                                                                                                    • *

                                                                                                                                                                      * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                                      *
                                                                                                                                                                    • *
                                                                                                                                                                    • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                                    • *
                                                                                                                                                                    • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                                    • *
                                                                                                                                                                    • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                                    • *
                                                                                                                                                                    • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                                    • *
                                                                                                                                                                    • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                                    • *
                                                                                                                                                                    • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                                    • *
                                                                                                                                                                    • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                                    • *
                                                                                                                                                                    * @sample NetworkFirewallAsyncClient.UpdateTLSInspectionConfiguration * @see AWS API Documentation */ default CompletableFuture updateTLSInspectionConfiguration( UpdateTlsInspectionConfigurationRequest updateTlsInspectionConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

                                                                                                                                                                    * Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS * inspection configuration by referencing it in one or more firewall policies. When you modify a TLS inspection * configuration, you modify all firewall policies that use the TLS inspection configuration. *

                                                                                                                                                                    *

                                                                                                                                                                    * To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration to retrieve the * current TLSInspectionConfiguration object, update the object as needed, and then provide the updated * object to this call. *

                                                                                                                                                                    *
                                                                                                                                                                    *

                                                                                                                                                                    * This is a convenience which creates an instance of the {@link UpdateTlsInspectionConfigurationRequest.Builder} * avoiding the need to create one manually via {@link UpdateTlsInspectionConfigurationRequest#builder()} *

                                                                                                                                                                    * * @param updateTlsInspectionConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.networkfirewall.model.UpdateTlsInspectionConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateTLSInspectionConfiguration operation returned by the * service.
                                                                                                                                                                    * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
                                                                                                                                                                      *
                                                                                                                                                                    • InvalidRequestException The operation failed because of a problem with your request. Examples * include:

                                                                                                                                                                      *
                                                                                                                                                                        *
                                                                                                                                                                      • *

                                                                                                                                                                        * You specified an unsupported parameter name or value. *

                                                                                                                                                                        *
                                                                                                                                                                      • *
                                                                                                                                                                      • *

                                                                                                                                                                        * You tried to update a property with a value that isn't among the available types. *

                                                                                                                                                                        *
                                                                                                                                                                      • *
                                                                                                                                                                      • *

                                                                                                                                                                        * Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the * context of the request. *

                                                                                                                                                                        *
                                                                                                                                                                      • *
                                                                                                                                                                      • ResourceNotFoundException Unable to locate a resource using the parameters that you provided.
                                                                                                                                                                      • *
                                                                                                                                                                      • ThrottlingException Unable to process the request due to throttling limitations.
                                                                                                                                                                      • *
                                                                                                                                                                      • InternalServerErrorException Your request is valid, but Network Firewall couldn't perform the * operation because of a system problem. Retry your request.
                                                                                                                                                                      • *
                                                                                                                                                                      • InvalidTokenException The token you provided is stale or isn't valid for the operation.
                                                                                                                                                                      • *
                                                                                                                                                                      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
                                                                                                                                                                      • *
                                                                                                                                                                      • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
                                                                                                                                                                      • *
                                                                                                                                                                      • NetworkFirewallException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
                                                                                                                                                                      • *
                                                                                                                                                                      * @sample NetworkFirewallAsyncClient.UpdateTLSInspectionConfiguration * @see AWS API Documentation */ default CompletableFuture updateTLSInspectionConfiguration( Consumer updateTlsInspectionConfigurationRequest) { return updateTLSInspectionConfiguration(UpdateTlsInspectionConfigurationRequest.builder() .applyMutation(updateTlsInspectionConfigurationRequest).build()); } @Override default NetworkFirewallServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link NetworkFirewallAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static NetworkFirewallAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link NetworkFirewallAsyncClient}. */ static NetworkFirewallAsyncClientBuilder builder() { return new DefaultNetworkFirewallAsyncClientBuilder(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy