Interface Route53ResolverAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface Route53ResolverAsyncClient extends AwsClient
Service client for accessing Route53Resolver asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

When you create a VPC using Amazon VPC, you automatically get DNS resolution within the VPC from Route 53 Resolver. By default, Resolver answers DNS queries for VPC domain names such as domain names for EC2 instances or Elastic Load Balancing load balancers. Resolver performs recursive lookups against public name servers for all other domain names.

You can also configure DNS resolution between your VPC and your network over a Direct Connect or VPN connection:

Forward DNS queries from resolvers on your network to Route 53 Resolver

DNS resolvers on your network can forward DNS queries to Resolver in a specified VPC. This allows your DNS resolvers to easily resolve domain names for Amazon Web Services resources such as EC2 instances or records in a Route 53 private hosted zone. For more information, see How DNS Resolvers on Your Network Forward DNS Queries to Route 53 Resolver in the Amazon Route 53 Developer Guide.

Conditionally forward queries from a VPC to resolvers on your network

You can configure Resolver to forward queries that it receives from EC2 instances in your VPCs to DNS resolvers on your network. To forward selected queries, you create Resolver rules that specify the domain names for the DNS queries that you want to forward (such as example.com), and the IP addresses of the DNS resolvers on your network that you want to forward the queries to. If a query matches multiple rules (example.com, acme.example.com), Resolver chooses the rule with the most specific match (acme.example.com) and forwards the query to the IP addresses that you specified in that rule. For more information, see How Route 53 Resolver Forwards DNS Queries from Your VPCs to Your Network in the Amazon Route 53 Developer Guide.

Like Amazon VPC, Resolver is Regional. In each Region where you have VPCs, you can choose whether to forward queries from your VPCs to your network (outbound queries), from your network to your VPCs (inbound queries), or both.

  • Field Details

  • Method Details

    • associateFirewallRuleGroup

      default CompletableFuture<AssociateFirewallRuleGroupResponse> associateFirewallRuleGroup(AssociateFirewallRuleGroupRequest associateFirewallRuleGroupRequest)

      Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.

      Parameters:
      associateFirewallRuleGroupRequest -
      Returns:
      A Java Future containing the result of the AssociateFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateFirewallRuleGroup

      default CompletableFuture<AssociateFirewallRuleGroupResponse> associateFirewallRuleGroup(Consumer<AssociateFirewallRuleGroupRequest.Builder> associateFirewallRuleGroupRequest)

      Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.


      This is a convenience which creates an instance of the AssociateFirewallRuleGroupRequest.Builder avoiding the need to create one manually via AssociateFirewallRuleGroupRequest.builder()

      Parameters:
      associateFirewallRuleGroupRequest - A Consumer that will call methods on AssociateFirewallRuleGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateResolverEndpointIpAddress

      default CompletableFuture<AssociateResolverEndpointIpAddressResponse> associateResolverEndpointIpAddress(AssociateResolverEndpointIpAddressRequest associateResolverEndpointIpAddressRequest)

      Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address.

      To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.

      Parameters:
      associateResolverEndpointIpAddressRequest -
      Returns:
      A Java Future containing the result of the AssociateResolverEndpointIpAddress operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateResolverEndpointIpAddress

      default CompletableFuture<AssociateResolverEndpointIpAddressResponse> associateResolverEndpointIpAddress(Consumer<AssociateResolverEndpointIpAddressRequest.Builder> associateResolverEndpointIpAddressRequest)

      Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address.

      To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.


      This is a convenience which creates an instance of the AssociateResolverEndpointIpAddressRequest.Builder avoiding the need to create one manually via AssociateResolverEndpointIpAddressRequest.builder()

      Parameters:
      associateResolverEndpointIpAddressRequest - A Consumer that will call methods on AssociateResolverEndpointIpAddressRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateResolverEndpointIpAddress operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateResolverQueryLogConfig

      default CompletableFuture<AssociateResolverQueryLogConfigResponse> associateResolverQueryLogConfig(AssociateResolverQueryLogConfigRequest associateResolverQueryLogConfigRequest)

      Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC.

      The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.

      To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.

      Parameters:
      associateResolverQueryLogConfigRequest -
      Returns:
      A Java Future containing the result of the AssociateResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateResolverQueryLogConfig

      default CompletableFuture<AssociateResolverQueryLogConfigResponse> associateResolverQueryLogConfig(Consumer<AssociateResolverQueryLogConfigRequest.Builder> associateResolverQueryLogConfigRequest)

      Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC.

      The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.

      To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.


      This is a convenience which creates an instance of the AssociateResolverQueryLogConfigRequest.Builder avoiding the need to create one manually via AssociateResolverQueryLogConfigRequest.builder()

      Parameters:
      associateResolverQueryLogConfigRequest - A Consumer that will call methods on AssociateResolverQueryLogConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateResolverRule

      default CompletableFuture<AssociateResolverRuleResponse> associateResolverRule(AssociateResolverRuleRequest associateResolverRuleRequest)

      Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.

      Parameters:
      associateResolverRuleRequest -
      Returns:
      A Java Future containing the result of the AssociateResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceUnavailableException The specified resource isn't available.
      • ResourceExistsException The resource that you tried to create already exists.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateResolverRule

      default CompletableFuture<AssociateResolverRuleResponse> associateResolverRule(Consumer<AssociateResolverRuleRequest.Builder> associateResolverRuleRequest)

      Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.


      This is a convenience which creates an instance of the AssociateResolverRuleRequest.Builder avoiding the need to create one manually via AssociateResolverRuleRequest.builder()

      Parameters:
      associateResolverRuleRequest - A Consumer that will call methods on AssociateResolverRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceUnavailableException The specified resource isn't available.
      • ResourceExistsException The resource that you tried to create already exists.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createFirewallDomainList

      default CompletableFuture<CreateFirewallDomainListResponse> createFirewallDomainList(CreateFirewallDomainListRequest createFirewallDomainListRequest)

      Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.

      Parameters:
      createFirewallDomainListRequest -
      Returns:
      A Java Future containing the result of the CreateFirewallDomainList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createFirewallDomainList

      default CompletableFuture<CreateFirewallDomainListResponse> createFirewallDomainList(Consumer<CreateFirewallDomainListRequest.Builder> createFirewallDomainListRequest)

      Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.


      This is a convenience which creates an instance of the CreateFirewallDomainListRequest.Builder avoiding the need to create one manually via CreateFirewallDomainListRequest.builder()

      Parameters:
      createFirewallDomainListRequest - A Consumer that will call methods on CreateFirewallDomainListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateFirewallDomainList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createFirewallRule

      default CompletableFuture<CreateFirewallRuleResponse> createFirewallRule(CreateFirewallRuleRequest createFirewallRuleRequest)

      Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.

      Parameters:
      createFirewallRuleRequest -
      Returns:
      A Java Future containing the result of the CreateFirewallRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createFirewallRule

      default CompletableFuture<CreateFirewallRuleResponse> createFirewallRule(Consumer<CreateFirewallRuleRequest.Builder> createFirewallRuleRequest)

      Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.


      This is a convenience which creates an instance of the CreateFirewallRuleRequest.Builder avoiding the need to create one manually via CreateFirewallRuleRequest.builder()

      Parameters:
      createFirewallRuleRequest - A Consumer that will call methods on CreateFirewallRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateFirewallRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createFirewallRuleGroup

      default CompletableFuture<CreateFirewallRuleGroupResponse> createFirewallRuleGroup(CreateFirewallRuleGroupRequest createFirewallRuleGroupRequest)

      Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule.

      Parameters:
      createFirewallRuleGroupRequest -
      Returns:
      A Java Future containing the result of the CreateFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createFirewallRuleGroup

      default CompletableFuture<CreateFirewallRuleGroupResponse> createFirewallRuleGroup(Consumer<CreateFirewallRuleGroupRequest.Builder> createFirewallRuleGroupRequest)

      Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule.


      This is a convenience which creates an instance of the CreateFirewallRuleGroupRequest.Builder avoiding the need to create one manually via CreateFirewallRuleGroupRequest.builder()

      Parameters:
      createFirewallRuleGroupRequest - A Consumer that will call methods on CreateFirewallRuleGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOutpostResolver

      default CompletableFuture<CreateOutpostResolverResponse> createOutpostResolver(CreateOutpostResolverRequest createOutpostResolverRequest)

      Creates a Route 53 Resolver on an Outpost.

      Parameters:
      createOutpostResolverRequest -
      Returns:
      A Java Future containing the result of the CreateOutpostResolver operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ServiceQuotaExceededException Fulfilling the request would cause one or more quotas to be exceeded.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOutpostResolver

      default CompletableFuture<CreateOutpostResolverResponse> createOutpostResolver(Consumer<CreateOutpostResolverRequest.Builder> createOutpostResolverRequest)

      Creates a Route 53 Resolver on an Outpost.


      This is a convenience which creates an instance of the CreateOutpostResolverRequest.Builder avoiding the need to create one manually via CreateOutpostResolverRequest.builder()

      Parameters:
      createOutpostResolverRequest - A Consumer that will call methods on CreateOutpostResolverRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateOutpostResolver operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ServiceQuotaExceededException Fulfilling the request would cause one or more quotas to be exceeded.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResolverEndpoint

      default CompletableFuture<CreateResolverEndpointResponse> createResolverEndpoint(CreateResolverEndpointRequest createResolverEndpointRequest)

      Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:

      • An inbound Resolver endpoint forwards DNS queries to the DNS service for a VPC from your network.

      • An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.

      Parameters:
      createResolverEndpointRequest -
      Returns:
      A Java Future containing the result of the CreateResolverEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResolverEndpoint

      default CompletableFuture<CreateResolverEndpointResponse> createResolverEndpoint(Consumer<CreateResolverEndpointRequest.Builder> createResolverEndpointRequest)

      Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:

      • An inbound Resolver endpoint forwards DNS queries to the DNS service for a VPC from your network.

      • An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.


      This is a convenience which creates an instance of the CreateResolverEndpointRequest.Builder avoiding the need to create one manually via CreateResolverEndpointRequest.builder()

      Parameters:
      createResolverEndpointRequest - A Consumer that will call methods on CreateResolverEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateResolverEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResolverQueryLogConfig

      default CompletableFuture<CreateResolverQueryLogConfigResponse> createResolverQueryLogConfig(CreateResolverQueryLogConfigRequest createResolverQueryLogConfigRequest)

      Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration.

      To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig. For more information, see AssociateResolverQueryLogConfig.

      You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration.

      Parameters:
      createResolverQueryLogConfigRequest -
      Returns:
      A Java Future containing the result of the CreateResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResolverQueryLogConfig

      default CompletableFuture<CreateResolverQueryLogConfigResponse> createResolverQueryLogConfig(Consumer<CreateResolverQueryLogConfigRequest.Builder> createResolverQueryLogConfigRequest)

      Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration.

      To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig. For more information, see AssociateResolverQueryLogConfig.

      You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration.


      This is a convenience which creates an instance of the CreateResolverQueryLogConfigRequest.Builder avoiding the need to create one manually via CreateResolverQueryLogConfigRequest.builder()

      Parameters:
      createResolverQueryLogConfigRequest - A Consumer that will call methods on CreateResolverQueryLogConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResolverRule

      default CompletableFuture<CreateResolverRuleResponse> createResolverRule(CreateResolverRuleRequest createResolverRuleRequest)

      For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.

      Parameters:
      createResolverRuleRequest -
      Returns:
      A Java Future containing the result of the CreateResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ResourceExistsException The resource that you tried to create already exists.
      • ResourceUnavailableException The specified resource isn't available.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResolverRule

      default CompletableFuture<CreateResolverRuleResponse> createResolverRule(Consumer<CreateResolverRuleRequest.Builder> createResolverRuleRequest)

      For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.


      This is a convenience which creates an instance of the CreateResolverRuleRequest.Builder avoiding the need to create one manually via CreateResolverRuleRequest.builder()

      Parameters:
      createResolverRuleRequest - A Consumer that will call methods on CreateResolverRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ResourceExistsException The resource that you tried to create already exists.
      • ResourceUnavailableException The specified resource isn't available.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteFirewallDomainList

      default CompletableFuture<DeleteFirewallDomainListResponse> deleteFirewallDomainList(DeleteFirewallDomainListRequest deleteFirewallDomainListRequest)

      Deletes the specified domain list.

      Parameters:
      deleteFirewallDomainListRequest -
      Returns:
      A Java Future containing the result of the DeleteFirewallDomainList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteFirewallDomainList

      default CompletableFuture<DeleteFirewallDomainListResponse> deleteFirewallDomainList(Consumer<DeleteFirewallDomainListRequest.Builder> deleteFirewallDomainListRequest)

      Deletes the specified domain list.


      This is a convenience which creates an instance of the DeleteFirewallDomainListRequest.Builder avoiding the need to create one manually via DeleteFirewallDomainListRequest.builder()

      Parameters:
      deleteFirewallDomainListRequest - A Consumer that will call methods on DeleteFirewallDomainListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteFirewallDomainList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteFirewallRule

      default CompletableFuture<DeleteFirewallRuleResponse> deleteFirewallRule(DeleteFirewallRuleRequest deleteFirewallRuleRequest)

      Deletes the specified firewall rule.

      Parameters:
      deleteFirewallRuleRequest -
      Returns:
      A Java Future containing the result of the DeleteFirewallRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteFirewallRule

      default CompletableFuture<DeleteFirewallRuleResponse> deleteFirewallRule(Consumer<DeleteFirewallRuleRequest.Builder> deleteFirewallRuleRequest)

      Deletes the specified firewall rule.


      This is a convenience which creates an instance of the DeleteFirewallRuleRequest.Builder avoiding the need to create one manually via DeleteFirewallRuleRequest.builder()

      Parameters:
      deleteFirewallRuleRequest - A Consumer that will call methods on DeleteFirewallRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteFirewallRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteFirewallRuleGroup

      default CompletableFuture<DeleteFirewallRuleGroupResponse> deleteFirewallRuleGroup(DeleteFirewallRuleGroupRequest deleteFirewallRuleGroupRequest)

      Deletes the specified firewall rule group.

      Parameters:
      deleteFirewallRuleGroupRequest -
      Returns:
      A Java Future containing the result of the DeleteFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteFirewallRuleGroup

      default CompletableFuture<DeleteFirewallRuleGroupResponse> deleteFirewallRuleGroup(Consumer<DeleteFirewallRuleGroupRequest.Builder> deleteFirewallRuleGroupRequest)

      Deletes the specified firewall rule group.


      This is a convenience which creates an instance of the DeleteFirewallRuleGroupRequest.Builder avoiding the need to create one manually via DeleteFirewallRuleGroupRequest.builder()

      Parameters:
      deleteFirewallRuleGroupRequest - A Consumer that will call methods on DeleteFirewallRuleGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteOutpostResolver

      default CompletableFuture<DeleteOutpostResolverResponse> deleteOutpostResolver(DeleteOutpostResolverRequest deleteOutpostResolverRequest)

      Deletes a Resolver on the Outpost.

      Parameters:
      deleteOutpostResolverRequest -
      Returns:
      A Java Future containing the result of the DeleteOutpostResolver operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteOutpostResolver

      default CompletableFuture<DeleteOutpostResolverResponse> deleteOutpostResolver(Consumer<DeleteOutpostResolverRequest.Builder> deleteOutpostResolverRequest)

      Deletes a Resolver on the Outpost.


      This is a convenience which creates an instance of the DeleteOutpostResolverRequest.Builder avoiding the need to create one manually via DeleteOutpostResolverRequest.builder()

      Parameters:
      deleteOutpostResolverRequest - A Consumer that will call methods on DeleteOutpostResolverRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteOutpostResolver operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResolverEndpoint

      default CompletableFuture<DeleteResolverEndpointResponse> deleteResolverEndpoint(DeleteResolverEndpointRequest deleteResolverEndpointRequest)

      Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends on whether it's an inbound or an outbound Resolver endpoint:

      • Inbound: DNS queries from your network are no longer routed to the DNS service for the specified VPC.

      • Outbound: DNS queries from a VPC are no longer routed to your network.

      Parameters:
      deleteResolverEndpointRequest -
      Returns:
      A Java Future containing the result of the DeleteResolverEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResolverEndpoint

      default CompletableFuture<DeleteResolverEndpointResponse> deleteResolverEndpoint(Consumer<DeleteResolverEndpointRequest.Builder> deleteResolverEndpointRequest)

      Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends on whether it's an inbound or an outbound Resolver endpoint:

      • Inbound: DNS queries from your network are no longer routed to the DNS service for the specified VPC.

      • Outbound: DNS queries from a VPC are no longer routed to your network.


      This is a convenience which creates an instance of the DeleteResolverEndpointRequest.Builder avoiding the need to create one manually via DeleteResolverEndpointRequest.builder()

      Parameters:
      deleteResolverEndpointRequest - A Consumer that will call methods on DeleteResolverEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteResolverEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResolverQueryLogConfig

      default CompletableFuture<DeleteResolverQueryLogConfigResponse> deleteResolverQueryLogConfig(DeleteResolverQueryLogConfigRequest deleteResolverQueryLogConfigRequest)

      Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration.

      Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig.

      If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.

      Parameters:
      deleteResolverQueryLogConfigRequest -
      Returns:
      A Java Future containing the result of the DeleteResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResolverQueryLogConfig

      default CompletableFuture<DeleteResolverQueryLogConfigResponse> deleteResolverQueryLogConfig(Consumer<DeleteResolverQueryLogConfigRequest.Builder> deleteResolverQueryLogConfigRequest)

      Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration.

      Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig.

      If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.


      This is a convenience which creates an instance of the DeleteResolverQueryLogConfigRequest.Builder avoiding the need to create one manually via DeleteResolverQueryLogConfigRequest.builder()

      Parameters:
      deleteResolverQueryLogConfigRequest - A Consumer that will call methods on DeleteResolverQueryLogConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResolverRule

      default CompletableFuture<DeleteResolverRuleResponse> deleteResolverRule(DeleteResolverRuleRequest deleteResolverRuleRequest)

      Deletes a Resolver rule. Before you can delete a Resolver rule, you must disassociate it from all the VPCs that you associated the Resolver rule with. For more information, see DisassociateResolverRule.

      Parameters:
      deleteResolverRuleRequest -
      Returns:
      A Java Future containing the result of the DeleteResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ResourceInUseException The resource that you tried to update or delete is currently in use.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResolverRule

      default CompletableFuture<DeleteResolverRuleResponse> deleteResolverRule(Consumer<DeleteResolverRuleRequest.Builder> deleteResolverRuleRequest)

      Deletes a Resolver rule. Before you can delete a Resolver rule, you must disassociate it from all the VPCs that you associated the Resolver rule with. For more information, see DisassociateResolverRule.


      This is a convenience which creates an instance of the DeleteResolverRuleRequest.Builder avoiding the need to create one manually via DeleteResolverRuleRequest.builder()

      Parameters:
      deleteResolverRuleRequest - A Consumer that will call methods on DeleteResolverRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ResourceInUseException The resource that you tried to update or delete is currently in use.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateFirewallRuleGroup

      default CompletableFuture<DisassociateFirewallRuleGroupResponse> disassociateFirewallRuleGroup(DisassociateFirewallRuleGroupRequest disassociateFirewallRuleGroupRequest)

      Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.

      Parameters:
      disassociateFirewallRuleGroupRequest -
      Returns:
      A Java Future containing the result of the DisassociateFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateFirewallRuleGroup

      default CompletableFuture<DisassociateFirewallRuleGroupResponse> disassociateFirewallRuleGroup(Consumer<DisassociateFirewallRuleGroupRequest.Builder> disassociateFirewallRuleGroupRequest)

      Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.


      This is a convenience which creates an instance of the DisassociateFirewallRuleGroupRequest.Builder avoiding the need to create one manually via DisassociateFirewallRuleGroupRequest.builder()

      Parameters:
      disassociateFirewallRuleGroupRequest - A Consumer that will call methods on DisassociateFirewallRuleGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateResolverEndpointIpAddress

      default CompletableFuture<DisassociateResolverEndpointIpAddressResponse> disassociateResolverEndpointIpAddress(DisassociateResolverEndpointIpAddressRequest disassociateResolverEndpointIpAddressRequest)

      Removes IP addresses from an inbound or an outbound Resolver endpoint. If you want to remove more than one IP address, submit one DisassociateResolverEndpointIpAddress request for each IP address.

      To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.

      Parameters:
      disassociateResolverEndpointIpAddressRequest -
      Returns:
      A Java Future containing the result of the DisassociateResolverEndpointIpAddress operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateResolverEndpointIpAddress

      default CompletableFuture<DisassociateResolverEndpointIpAddressResponse> disassociateResolverEndpointIpAddress(Consumer<DisassociateResolverEndpointIpAddressRequest.Builder> disassociateResolverEndpointIpAddressRequest)

      Removes IP addresses from an inbound or an outbound Resolver endpoint. If you want to remove more than one IP address, submit one DisassociateResolverEndpointIpAddress request for each IP address.

      To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.


      This is a convenience which creates an instance of the DisassociateResolverEndpointIpAddressRequest.Builder avoiding the need to create one manually via DisassociateResolverEndpointIpAddressRequest.builder()

      Parameters:
      disassociateResolverEndpointIpAddressRequest - A Consumer that will call methods on DisassociateResolverEndpointIpAddressRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateResolverEndpointIpAddress operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • ResourceExistsException The resource that you tried to create already exists.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateResolverQueryLogConfig

      default CompletableFuture<DisassociateResolverQueryLogConfigResponse> disassociateResolverQueryLogConfig(DisassociateResolverQueryLogConfigRequest disassociateResolverQueryLogConfigRequest)

      Disassociates a VPC from a query logging configuration.

      Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways:

      • The accounts that you shared the configuration with can disassociate VPCs from the configuration.

      • You can stop sharing the configuration.

      Parameters:
      disassociateResolverQueryLogConfigRequest -
      Returns:
      A Java Future containing the result of the DisassociateResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateResolverQueryLogConfig

      default CompletableFuture<DisassociateResolverQueryLogConfigResponse> disassociateResolverQueryLogConfig(Consumer<DisassociateResolverQueryLogConfigRequest.Builder> disassociateResolverQueryLogConfigRequest)

      Disassociates a VPC from a query logging configuration.

      Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways:

      • The accounts that you shared the configuration with can disassociate VPCs from the configuration.

      • You can stop sharing the configuration.


      This is a convenience which creates an instance of the DisassociateResolverQueryLogConfigRequest.Builder avoiding the need to create one manually via DisassociateResolverQueryLogConfigRequest.builder()

      Parameters:
      disassociateResolverQueryLogConfigRequest - A Consumer that will call methods on DisassociateResolverQueryLogConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateResolverRule

      default CompletableFuture<DisassociateResolverRuleResponse> disassociateResolverRule(DisassociateResolverRuleRequest disassociateResolverRuleRequest)

      Removes the association between a specified Resolver rule and a specified VPC.

      If you disassociate a Resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the Resolver rule.

      Parameters:
      disassociateResolverRuleRequest -
      Returns:
      A Java Future containing the result of the DisassociateResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateResolverRule

      default CompletableFuture<DisassociateResolverRuleResponse> disassociateResolverRule(Consumer<DisassociateResolverRuleRequest.Builder> disassociateResolverRuleRequest)

      Removes the association between a specified Resolver rule and a specified VPC.

      If you disassociate a Resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the Resolver rule.


      This is a convenience which creates an instance of the DisassociateResolverRuleRequest.Builder avoiding the need to create one manually via DisassociateResolverRuleRequest.builder()

      Parameters:
      disassociateResolverRuleRequest - A Consumer that will call methods on DisassociateResolverRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallConfig

      default CompletableFuture<GetFirewallConfigResponse> getFirewallConfig(GetFirewallConfigRequest getFirewallConfigRequest)

      Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).

      Parameters:
      getFirewallConfigRequest -
      Returns:
      A Java Future containing the result of the GetFirewallConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallConfig

      default CompletableFuture<GetFirewallConfigResponse> getFirewallConfig(Consumer<GetFirewallConfigRequest.Builder> getFirewallConfigRequest)

      Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).


      This is a convenience which creates an instance of the GetFirewallConfigRequest.Builder avoiding the need to create one manually via GetFirewallConfigRequest.builder()

      Parameters:
      getFirewallConfigRequest - A Consumer that will call methods on GetFirewallConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetFirewallConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallDomainList

      default CompletableFuture<GetFirewallDomainListResponse> getFirewallDomainList(GetFirewallDomainListRequest getFirewallDomainListRequest)

      Retrieves the specified firewall domain list.

      Parameters:
      getFirewallDomainListRequest -
      Returns:
      A Java Future containing the result of the GetFirewallDomainList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallDomainList

      default CompletableFuture<GetFirewallDomainListResponse> getFirewallDomainList(Consumer<GetFirewallDomainListRequest.Builder> getFirewallDomainListRequest)

      Retrieves the specified firewall domain list.


      This is a convenience which creates an instance of the GetFirewallDomainListRequest.Builder avoiding the need to create one manually via GetFirewallDomainListRequest.builder()

      Parameters:
      getFirewallDomainListRequest - A Consumer that will call methods on GetFirewallDomainListRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetFirewallDomainList operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallRuleGroup

      default CompletableFuture<GetFirewallRuleGroupResponse> getFirewallRuleGroup(GetFirewallRuleGroupRequest getFirewallRuleGroupRequest)

      Retrieves the specified firewall rule group.

      Parameters:
      getFirewallRuleGroupRequest -
      Returns:
      A Java Future containing the result of the GetFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallRuleGroup

      default CompletableFuture<GetFirewallRuleGroupResponse> getFirewallRuleGroup(Consumer<GetFirewallRuleGroupRequest.Builder> getFirewallRuleGroupRequest)

      Retrieves the specified firewall rule group.


      This is a convenience which creates an instance of the GetFirewallRuleGroupRequest.Builder avoiding the need to create one manually via GetFirewallRuleGroupRequest.builder()

      Parameters:
      getFirewallRuleGroupRequest - A Consumer that will call methods on GetFirewallRuleGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetFirewallRuleGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallRuleGroupAssociation

      default CompletableFuture<GetFirewallRuleGroupAssociationResponse> getFirewallRuleGroupAssociation(GetFirewallRuleGroupAssociationRequest getFirewallRuleGroupAssociationRequest)

      Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC.

      Parameters:
      getFirewallRuleGroupAssociationRequest -
      Returns:
      A Java Future containing the result of the GetFirewallRuleGroupAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallRuleGroupAssociation

      default CompletableFuture<GetFirewallRuleGroupAssociationResponse> getFirewallRuleGroupAssociation(Consumer<GetFirewallRuleGroupAssociationRequest.Builder> getFirewallRuleGroupAssociationRequest)

      Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC.


      This is a convenience which creates an instance of the GetFirewallRuleGroupAssociationRequest.Builder avoiding the need to create one manually via GetFirewallRuleGroupAssociationRequest.builder()

      Parameters:
      getFirewallRuleGroupAssociationRequest - A Consumer that will call methods on GetFirewallRuleGroupAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetFirewallRuleGroupAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallRuleGroupPolicy

      default CompletableFuture<GetFirewallRuleGroupPolicyResponse> getFirewallRuleGroupPolicy(GetFirewallRuleGroupPolicyRequest getFirewallRuleGroupPolicyRequest)

      Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).

      Parameters:
      getFirewallRuleGroupPolicyRequest -
      Returns:
      A Java Future containing the result of the GetFirewallRuleGroupPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFirewallRuleGroupPolicy

      default CompletableFuture<GetFirewallRuleGroupPolicyResponse> getFirewallRuleGroupPolicy(Consumer<GetFirewallRuleGroupPolicyRequest.Builder> getFirewallRuleGroupPolicyRequest)

      Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).


      This is a convenience which creates an instance of the GetFirewallRuleGroupPolicyRequest.Builder avoiding the need to create one manually via GetFirewallRuleGroupPolicyRequest.builder()

      Parameters:
      getFirewallRuleGroupPolicyRequest - A Consumer that will call methods on GetFirewallRuleGroupPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetFirewallRuleGroupPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOutpostResolver

      default CompletableFuture<GetOutpostResolverResponse> getOutpostResolver(GetOutpostResolverRequest getOutpostResolverRequest)

      Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.

      Parameters:
      getOutpostResolverRequest -
      Returns:
      A Java Future containing the result of the GetOutpostResolver operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOutpostResolver

      default CompletableFuture<GetOutpostResolverResponse> getOutpostResolver(Consumer<GetOutpostResolverRequest.Builder> getOutpostResolverRequest)

      Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.


      This is a convenience which creates an instance of the GetOutpostResolverRequest.Builder avoiding the need to create one manually via GetOutpostResolverRequest.builder()

      Parameters:
      getOutpostResolverRequest - A Consumer that will call methods on GetOutpostResolverRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetOutpostResolver operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverConfig

      default CompletableFuture<GetResolverConfigResponse> getResolverConfig(GetResolverConfigRequest getResolverConfigRequest)

      Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.

      Parameters:
      getResolverConfigRequest -
      Returns:
      A Java Future containing the result of the GetResolverConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverConfig

      default CompletableFuture<GetResolverConfigResponse> getResolverConfig(Consumer<GetResolverConfigRequest.Builder> getResolverConfigRequest)

      Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.


      This is a convenience which creates an instance of the GetResolverConfigRequest.Builder avoiding the need to create one manually via GetResolverConfigRequest.builder()

      Parameters:
      getResolverConfigRequest - A Consumer that will call methods on GetResolverConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResolverConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverDnssecConfig

      default CompletableFuture<GetResolverDnssecConfigResponse> getResolverDnssecConfig(GetResolverDnssecConfigRequest getResolverDnssecConfigRequest)

      Gets DNSSEC validation information for a specified resource.

      Parameters:
      getResolverDnssecConfigRequest -
      Returns:
      A Java Future containing the result of the GetResolverDnssecConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverDnssecConfig

      default CompletableFuture<GetResolverDnssecConfigResponse> getResolverDnssecConfig(Consumer<GetResolverDnssecConfigRequest.Builder> getResolverDnssecConfigRequest)

      Gets DNSSEC validation information for a specified resource.


      This is a convenience which creates an instance of the GetResolverDnssecConfigRequest.Builder avoiding the need to create one manually via GetResolverDnssecConfigRequest.builder()

      Parameters:
      getResolverDnssecConfigRequest - A Consumer that will call methods on GetResolverDnssecConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResolverDnssecConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverEndpoint

      default CompletableFuture<GetResolverEndpointResponse> getResolverEndpoint(GetResolverEndpointRequest getResolverEndpointRequest)

      Gets information about a specified Resolver endpoint, such as whether it's an inbound or an outbound Resolver endpoint, and the current status of the endpoint.

      Parameters:
      getResolverEndpointRequest -
      Returns:
      A Java Future containing the result of the GetResolverEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverEndpoint

      default CompletableFuture<GetResolverEndpointResponse> getResolverEndpoint(Consumer<GetResolverEndpointRequest.Builder> getResolverEndpointRequest)

      Gets information about a specified Resolver endpoint, such as whether it's an inbound or an outbound Resolver endpoint, and the current status of the endpoint.


      This is a convenience which creates an instance of the GetResolverEndpointRequest.Builder avoiding the need to create one manually via GetResolverEndpointRequest.builder()

      Parameters:
      getResolverEndpointRequest - A Consumer that will call methods on GetResolverEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResolverEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverQueryLogConfig

      default CompletableFuture<GetResolverQueryLogConfigResponse> getResolverQueryLogConfig(GetResolverQueryLogConfigRequest getResolverQueryLogConfigRequest)

      Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to.

      Parameters:
      getResolverQueryLogConfigRequest -
      Returns:
      A Java Future containing the result of the GetResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverQueryLogConfig

      default CompletableFuture<GetResolverQueryLogConfigResponse> getResolverQueryLogConfig(Consumer<GetResolverQueryLogConfigRequest.Builder> getResolverQueryLogConfigRequest)

      Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to.


      This is a convenience which creates an instance of the GetResolverQueryLogConfigRequest.Builder avoiding the need to create one manually via GetResolverQueryLogConfigRequest.builder()

      Parameters:
      getResolverQueryLogConfigRequest - A Consumer that will call methods on GetResolverQueryLogConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResolverQueryLogConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverQueryLogConfigAssociation

      default CompletableFuture<GetResolverQueryLogConfigAssociationResponse> getResolverQueryLogConfigAssociation(GetResolverQueryLogConfigAssociationRequest getResolverQueryLogConfigAssociationRequest)

      Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC. When you associate a VPC with a query logging configuration, Resolver logs DNS queries that originate in that VPC.

      Parameters:
      getResolverQueryLogConfigAssociationRequest -
      Returns:
      A Java Future containing the result of the GetResolverQueryLogConfigAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverQueryLogConfigAssociation

      default CompletableFuture<GetResolverQueryLogConfigAssociationResponse> getResolverQueryLogConfigAssociation(Consumer<GetResolverQueryLogConfigAssociationRequest.Builder> getResolverQueryLogConfigAssociationRequest)

      Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC. When you associate a VPC with a query logging configuration, Resolver logs DNS queries that originate in that VPC.


      This is a convenience which creates an instance of the GetResolverQueryLogConfigAssociationRequest.Builder avoiding the need to create one manually via GetResolverQueryLogConfigAssociationRequest.builder()

      Parameters:
      getResolverQueryLogConfigAssociationRequest - A Consumer that will call methods on GetResolverQueryLogConfigAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResolverQueryLogConfigAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverQueryLogConfigPolicy

      default CompletableFuture<GetResolverQueryLogConfigPolicyResponse> getResolverQueryLogConfigPolicy(GetResolverQueryLogConfigPolicyRequest getResolverQueryLogConfigPolicyRequest)

      Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.

      Parameters:
      getResolverQueryLogConfigPolicyRequest -
      Returns:
      A Java Future containing the result of the GetResolverQueryLogConfigPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • UnknownResourceException The specified resource doesn't exist.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverQueryLogConfigPolicy

      default CompletableFuture<GetResolverQueryLogConfigPolicyResponse> getResolverQueryLogConfigPolicy(Consumer<GetResolverQueryLogConfigPolicyRequest.Builder> getResolverQueryLogConfigPolicyRequest)

      Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.


      This is a convenience which creates an instance of the GetResolverQueryLogConfigPolicyRequest.Builder avoiding the need to create one manually via GetResolverQueryLogConfigPolicyRequest.builder()

      Parameters:
      getResolverQueryLogConfigPolicyRequest - A Consumer that will call methods on GetResolverQueryLogConfigPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResolverQueryLogConfigPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • UnknownResourceException The specified resource doesn't exist.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverRule

      default CompletableFuture<GetResolverRuleResponse> getResolverRule(GetResolverRuleRequest getResolverRuleRequest)

      Gets information about a specified Resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound Resolver endpoint that the rule is associated with.

      Parameters:
      getResolverRuleRequest -
      Returns:
      A Java Future containing the result of the GetResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverRule

      default CompletableFuture<GetResolverRuleResponse> getResolverRule(Consumer<GetResolverRuleRequest.Builder> getResolverRuleRequest)

      Gets information about a specified Resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound Resolver endpoint that the rule is associated with.


      This is a convenience which creates an instance of the GetResolverRuleRequest.Builder avoiding the need to create one manually via GetResolverRuleRequest.builder()

      Parameters:
      getResolverRuleRequest - A Consumer that will call methods on GetResolverRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverRuleAssociation

      default CompletableFuture<GetResolverRuleAssociationResponse> getResolverRuleAssociation(GetResolverRuleAssociationRequest getResolverRuleAssociationRequest)

      Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule.

      Parameters:
      getResolverRuleAssociationRequest -
      Returns:
      A Java Future containing the result of the GetResolverRuleAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverRuleAssociation

      default CompletableFuture<GetResolverRuleAssociationResponse> getResolverRuleAssociation(Consumer<GetResolverRuleAssociationRequest.Builder> getResolverRuleAssociationRequest)

      Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule.


      This is a convenience which creates an instance of the GetResolverRuleAssociationRequest.Builder avoiding the need to create one manually via GetResolverRuleAssociationRequest.builder()

      Parameters:
      getResolverRuleAssociationRequest - A Consumer that will call methods on GetResolverRuleAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResolverRuleAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverRulePolicy

      default CompletableFuture<GetResolverRulePolicyResponse> getResolverRulePolicy(GetResolverRulePolicyRequest getResolverRulePolicyRequest)

      Gets information about the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use.

      Parameters:
      getResolverRulePolicyRequest -
      Returns:
      A Java Future containing the result of the GetResolverRulePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • UnknownResourceException The specified resource doesn't exist.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResolverRulePolicy

      default CompletableFuture<GetResolverRulePolicyResponse> getResolverRulePolicy(Consumer<GetResolverRulePolicyRequest.Builder> getResolverRulePolicyRequest)

      Gets information about the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use.


      This is a convenience which creates an instance of the GetResolverRulePolicyRequest.Builder avoiding the need to create one manually via GetResolverRulePolicyRequest.builder()

      Parameters:
      getResolverRulePolicyRequest - A Consumer that will call methods on GetResolverRulePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResolverRulePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • UnknownResourceException The specified resource doesn't exist.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importFirewallDomains

      default CompletableFuture<ImportFirewallDomainsResponse> importFirewallDomains(ImportFirewallDomainsRequest importFirewallDomainsRequest)

      Imports domain names from a file into a domain list, for use in a DNS firewall rule group.

      Each domain specification in your domain list must satisfy the following requirements:

      • It can optionally start with * (asterisk).

      • With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen).

      • It must be from 1-255 characters in length.

      Parameters:
      importFirewallDomainsRequest -
      Returns:
      A Java Future containing the result of the ImportFirewallDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ResourceNotFoundException The specified resource doesn't exist.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importFirewallDomains

      default CompletableFuture<ImportFirewallDomainsResponse> importFirewallDomains(Consumer<ImportFirewallDomainsRequest.Builder> importFirewallDomainsRequest)

      Imports domain names from a file into a domain list, for use in a DNS firewall rule group.

      Each domain specification in your domain list must satisfy the following requirements:

      • It can optionally start with * (asterisk).

      • With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen).

      • It must be from 1-255 characters in length.


      This is a convenience which creates an instance of the ImportFirewallDomainsRequest.Builder avoiding the need to create one manually via ImportFirewallDomainsRequest.builder()

      Parameters:
      importFirewallDomainsRequest - A Consumer that will call methods on ImportFirewallDomainsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ImportFirewallDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ResourceNotFoundException The specified resource doesn't exist.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallConfigs

      default CompletableFuture<ListFirewallConfigsResponse> listFirewallConfigs(ListFirewallConfigsRequest listFirewallConfigsRequest)

      Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs.

      A single call might return only a partial list of the configurations. For information, see MaxResults.

      Parameters:
      listFirewallConfigsRequest -
      Returns:
      A Java Future containing the result of the ListFirewallConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallConfigs

      default CompletableFuture<ListFirewallConfigsResponse> listFirewallConfigs(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest)

      Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs.

      A single call might return only a partial list of the configurations. For information, see MaxResults.


      This is a convenience which creates an instance of the ListFirewallConfigsRequest.Builder avoiding the need to create one manually via ListFirewallConfigsRequest.builder()

      Parameters:
      listFirewallConfigsRequest - A Consumer that will call methods on ListFirewallConfigsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListFirewallConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallConfigsPaginator

      default ListFirewallConfigsPublisher listFirewallConfigsPaginator(ListFirewallConfigsRequest listFirewallConfigsRequest)

      This is a variant of listFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsPublisher publisher = client.listFirewallConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsPublisher publisher = client.listFirewallConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsResponse 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 listFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest) operation.

      Parameters:
      listFirewallConfigsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallConfigsPaginator

      default ListFirewallConfigsPublisher listFirewallConfigsPaginator(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest)

      This is a variant of listFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsPublisher publisher = client.listFirewallConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsPublisher publisher = client.listFirewallConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsResponse 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 listFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest) operation.


      This is a convenience which creates an instance of the ListFirewallConfigsRequest.Builder avoiding the need to create one manually via ListFirewallConfigsRequest.builder()

      Parameters:
      listFirewallConfigsRequest - A Consumer that will call methods on ListFirewallConfigsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallDomainLists

      default CompletableFuture<ListFirewallDomainListsResponse> listFirewallDomainLists(ListFirewallDomainListsRequest listFirewallDomainListsRequest)

      Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains.

      A single call to this list operation might return only a partial list of the domain lists. For information, see MaxResults.

      Parameters:
      listFirewallDomainListsRequest -
      Returns:
      A Java Future containing the result of the ListFirewallDomainLists operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallDomainLists

      default CompletableFuture<ListFirewallDomainListsResponse> listFirewallDomainLists(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest)

      Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains.

      A single call to this list operation might return only a partial list of the domain lists. For information, see MaxResults.


      This is a convenience which creates an instance of the ListFirewallDomainListsRequest.Builder avoiding the need to create one manually via ListFirewallDomainListsRequest.builder()

      Parameters:
      listFirewallDomainListsRequest - A Consumer that will call methods on ListFirewallDomainListsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListFirewallDomainLists operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallDomainListsPaginator

      default ListFirewallDomainListsPublisher listFirewallDomainListsPaginator(ListFirewallDomainListsRequest listFirewallDomainListsRequest)

      This is a variant of listFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsResponse 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 listFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest) operation.

      Parameters:
      listFirewallDomainListsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallDomainListsPaginator

      default ListFirewallDomainListsPublisher listFirewallDomainListsPaginator(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest)

      This is a variant of listFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsResponse 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 listFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest) operation.


      This is a convenience which creates an instance of the ListFirewallDomainListsRequest.Builder avoiding the need to create one manually via ListFirewallDomainListsRequest.builder()

      Parameters:
      listFirewallDomainListsRequest - A Consumer that will call methods on ListFirewallDomainListsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallDomains

      default CompletableFuture<ListFirewallDomainsResponse> listFirewallDomains(ListFirewallDomainsRequest listFirewallDomainsRequest)

      Retrieves the domains that you have defined for the specified firewall domain list.

      A single call might return only a partial list of the domains. For information, see MaxResults.

      Parameters:
      listFirewallDomainsRequest -
      Returns:
      A Java Future containing the result of the ListFirewallDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallDomains

      default CompletableFuture<ListFirewallDomainsResponse> listFirewallDomains(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest)

      Retrieves the domains that you have defined for the specified firewall domain list.

      A single call might return only a partial list of the domains. For information, see MaxResults.


      This is a convenience which creates an instance of the ListFirewallDomainsRequest.Builder avoiding the need to create one manually via ListFirewallDomainsRequest.builder()

      Parameters:
      listFirewallDomainsRequest - A Consumer that will call methods on ListFirewallDomainsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListFirewallDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallDomainsPaginator

      default ListFirewallDomainsPublisher listFirewallDomainsPaginator(ListFirewallDomainsRequest listFirewallDomainsRequest)

      This is a variant of listFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsResponse 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 listFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest) operation.

      Parameters:
      listFirewallDomainsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallDomainsPaginator

      default ListFirewallDomainsPublisher listFirewallDomainsPaginator(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest)

      This is a variant of listFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsResponse 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 listFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest) operation.


      This is a convenience which creates an instance of the ListFirewallDomainsRequest.Builder avoiding the need to create one manually via ListFirewallDomainsRequest.builder()

      Parameters:
      listFirewallDomainsRequest - A Consumer that will call methods on ListFirewallDomainsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRuleGroupAssociations

      default CompletableFuture<ListFirewallRuleGroupAssociationsResponse> listFirewallRuleGroupAssociations(ListFirewallRuleGroupAssociationsRequest listFirewallRuleGroupAssociationsRequest)

      Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group.

      A single call might return only a partial list of the associations. For information, see MaxResults.

      Parameters:
      listFirewallRuleGroupAssociationsRequest -
      Returns:
      A Java Future containing the result of the ListFirewallRuleGroupAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRuleGroupAssociations

      default CompletableFuture<ListFirewallRuleGroupAssociationsResponse> listFirewallRuleGroupAssociations(Consumer<ListFirewallRuleGroupAssociationsRequest.Builder> listFirewallRuleGroupAssociationsRequest)

      Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group.

      A single call might return only a partial list of the associations. For information, see MaxResults.


      This is a convenience which creates an instance of the ListFirewallRuleGroupAssociationsRequest.Builder avoiding the need to create one manually via ListFirewallRuleGroupAssociationsRequest.builder()

      Parameters:
      listFirewallRuleGroupAssociationsRequest - A Consumer that will call methods on ListFirewallRuleGroupAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListFirewallRuleGroupAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRuleGroupAssociationsPaginator

      default ListFirewallRuleGroupAssociationsPublisher listFirewallRuleGroupAssociationsPaginator(ListFirewallRuleGroupAssociationsRequest listFirewallRuleGroupAssociationsRequest)

      This is a variant of listFirewallRuleGroupAssociations(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsPublisher publisher = client.listFirewallRuleGroupAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsPublisher publisher = client.listFirewallRuleGroupAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsResponse 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 listFirewallRuleGroupAssociations(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsRequest) operation.

      Parameters:
      listFirewallRuleGroupAssociationsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRuleGroupAssociationsPaginator

      default ListFirewallRuleGroupAssociationsPublisher listFirewallRuleGroupAssociationsPaginator(Consumer<ListFirewallRuleGroupAssociationsRequest.Builder> listFirewallRuleGroupAssociationsRequest)

      This is a variant of listFirewallRuleGroupAssociations(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsPublisher publisher = client.listFirewallRuleGroupAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsPublisher publisher = client.listFirewallRuleGroupAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsResponse 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 listFirewallRuleGroupAssociations(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsRequest) operation.


      This is a convenience which creates an instance of the ListFirewallRuleGroupAssociationsRequest.Builder avoiding the need to create one manually via ListFirewallRuleGroupAssociationsRequest.builder()

      Parameters:
      listFirewallRuleGroupAssociationsRequest - A Consumer that will call methods on ListFirewallRuleGroupAssociationsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRuleGroups

      default CompletableFuture<ListFirewallRuleGroupsResponse> listFirewallRuleGroups(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest)

      Retrieves the minimal high-level information for the rule groups that you have defined.

      A single call might return only a partial list of the rule groups. For information, see MaxResults.

      Parameters:
      listFirewallRuleGroupsRequest -
      Returns:
      A Java Future containing the result of the ListFirewallRuleGroups operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRuleGroups

      default CompletableFuture<ListFirewallRuleGroupsResponse> listFirewallRuleGroups(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest)

      Retrieves the minimal high-level information for the rule groups that you have defined.

      A single call might return only a partial list of the rule groups. For information, see MaxResults.


      This is a convenience which creates an instance of the ListFirewallRuleGroupsRequest.Builder avoiding the need to create one manually via ListFirewallRuleGroupsRequest.builder()

      Parameters:
      listFirewallRuleGroupsRequest - A Consumer that will call methods on ListFirewallRuleGroupsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListFirewallRuleGroups operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRuleGroupsPaginator

      default ListFirewallRuleGroupsPublisher listFirewallRuleGroupsPaginator(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest)

      This is a variant of listFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsPublisher publisher = client.listFirewallRuleGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsPublisher publisher = client.listFirewallRuleGroupsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsResponse 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 listFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest) operation.

      Parameters:
      listFirewallRuleGroupsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRuleGroupsPaginator

      default ListFirewallRuleGroupsPublisher listFirewallRuleGroupsPaginator(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest)

      This is a variant of listFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsPublisher publisher = client.listFirewallRuleGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsPublisher publisher = client.listFirewallRuleGroupsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsResponse 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 listFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest) operation.


      This is a convenience which creates an instance of the ListFirewallRuleGroupsRequest.Builder avoiding the need to create one manually via ListFirewallRuleGroupsRequest.builder()

      Parameters:
      listFirewallRuleGroupsRequest - A Consumer that will call methods on ListFirewallRuleGroupsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRules

      default CompletableFuture<ListFirewallRulesResponse> listFirewallRules(ListFirewallRulesRequest listFirewallRulesRequest)

      Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC.

      A single call might return only a partial list of the rules. For information, see MaxResults.

      Parameters:
      listFirewallRulesRequest -
      Returns:
      A Java Future containing the result of the ListFirewallRules operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRules

      default CompletableFuture<ListFirewallRulesResponse> listFirewallRules(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest)

      Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC.

      A single call might return only a partial list of the rules. For information, see MaxResults.


      This is a convenience which creates an instance of the ListFirewallRulesRequest.Builder avoiding the need to create one manually via ListFirewallRulesRequest.builder()

      Parameters:
      listFirewallRulesRequest - A Consumer that will call methods on ListFirewallRulesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListFirewallRules operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRulesPaginator

      default ListFirewallRulesPublisher listFirewallRulesPaginator(ListFirewallRulesRequest listFirewallRulesRequest)

      This is a variant of listFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesResponse 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 listFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest) operation.

      Parameters:
      listFirewallRulesRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFirewallRulesPaginator

      default ListFirewallRulesPublisher listFirewallRulesPaginator(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest)

      This is a variant of listFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesResponse 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 listFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest) operation.


      This is a convenience which creates an instance of the ListFirewallRulesRequest.Builder avoiding the need to create one manually via ListFirewallRulesRequest.builder()

      Parameters:
      listFirewallRulesRequest - A Consumer that will call methods on ListFirewallRulesRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOutpostResolvers

      default CompletableFuture<ListOutpostResolversResponse> listOutpostResolvers(ListOutpostResolversRequest listOutpostResolversRequest)

      Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.

      Parameters:
      listOutpostResolversRequest -
      Returns:
      A Java Future containing the result of the ListOutpostResolvers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOutpostResolvers

      default CompletableFuture<ListOutpostResolversResponse> listOutpostResolvers(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest)

      Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.


      This is a convenience which creates an instance of the ListOutpostResolversRequest.Builder avoiding the need to create one manually via ListOutpostResolversRequest.builder()

      Parameters:
      listOutpostResolversRequest - A Consumer that will call methods on ListOutpostResolversRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListOutpostResolvers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOutpostResolversPaginator

      default ListOutpostResolversPublisher listOutpostResolversPaginator(ListOutpostResolversRequest listOutpostResolversRequest)

      This is a variant of listOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversPublisher publisher = client.listOutpostResolversPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversPublisher publisher = client.listOutpostResolversPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversResponse 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 listOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest) operation.

      Parameters:
      listOutpostResolversRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOutpostResolversPaginator

      default ListOutpostResolversPublisher listOutpostResolversPaginator(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest)

      This is a variant of listOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversPublisher publisher = client.listOutpostResolversPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversPublisher publisher = client.listOutpostResolversPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversResponse 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 listOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest) operation.


      This is a convenience which creates an instance of the ListOutpostResolversRequest.Builder avoiding the need to create one manually via ListOutpostResolversRequest.builder()

      Parameters:
      listOutpostResolversRequest - A Consumer that will call methods on ListOutpostResolversRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverConfigs

      default CompletableFuture<ListResolverConfigsResponse> listResolverConfigs(ListResolverConfigsRequest listResolverConfigsRequest)

      Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.

      Parameters:
      listResolverConfigsRequest -
      Returns:
      A Java Future containing the result of the ListResolverConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverConfigs

      default CompletableFuture<ListResolverConfigsResponse> listResolverConfigs(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest)

      Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.


      This is a convenience which creates an instance of the ListResolverConfigsRequest.Builder avoiding the need to create one manually via ListResolverConfigsRequest.builder()

      Parameters:
      listResolverConfigsRequest - A Consumer that will call methods on ListResolverConfigsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResolverConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverConfigsPaginator

      default ListResolverConfigsPublisher listResolverConfigsPaginator(ListResolverConfigsRequest listResolverConfigsRequest)

      This is a variant of listResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsPublisher publisher = client.listResolverConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsPublisher publisher = client.listResolverConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsResponse 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 listResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest) operation.

      Parameters:
      listResolverConfigsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverConfigsPaginator

      default ListResolverConfigsPublisher listResolverConfigsPaginator(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest)

      This is a variant of listResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsPublisher publisher = client.listResolverConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsPublisher publisher = client.listResolverConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsResponse 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 listResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest) operation.


      This is a convenience which creates an instance of the ListResolverConfigsRequest.Builder avoiding the need to create one manually via ListResolverConfigsRequest.builder()

      Parameters:
      listResolverConfigsRequest - A Consumer that will call methods on ListResolverConfigsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverDnssecConfigs

      default CompletableFuture<ListResolverDnssecConfigsResponse> listResolverDnssecConfigs(ListResolverDnssecConfigsRequest listResolverDnssecConfigsRequest)

      Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.

      Parameters:
      listResolverDnssecConfigsRequest -
      Returns:
      A Java Future containing the result of the ListResolverDnssecConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverDnssecConfigs

      default CompletableFuture<ListResolverDnssecConfigsResponse> listResolverDnssecConfigs(Consumer<ListResolverDnssecConfigsRequest.Builder> listResolverDnssecConfigsRequest)

      Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.


      This is a convenience which creates an instance of the ListResolverDnssecConfigsRequest.Builder avoiding the need to create one manually via ListResolverDnssecConfigsRequest.builder()

      Parameters:
      listResolverDnssecConfigsRequest - A Consumer that will call methods on ListResolverDnssecConfigsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResolverDnssecConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverDnssecConfigsPaginator

      default ListResolverDnssecConfigsPublisher listResolverDnssecConfigsPaginator(ListResolverDnssecConfigsRequest listResolverDnssecConfigsRequest)

      This is a variant of listResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsPublisher publisher = client.listResolverDnssecConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsPublisher publisher = client.listResolverDnssecConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsResponse 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 listResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest) operation.

      Parameters:
      listResolverDnssecConfigsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverDnssecConfigsPaginator

      default ListResolverDnssecConfigsPublisher listResolverDnssecConfigsPaginator(Consumer<ListResolverDnssecConfigsRequest.Builder> listResolverDnssecConfigsRequest)

      This is a variant of listResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsPublisher publisher = client.listResolverDnssecConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsPublisher publisher = client.listResolverDnssecConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsResponse 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 listResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest) operation.


      This is a convenience which creates an instance of the ListResolverDnssecConfigsRequest.Builder avoiding the need to create one manually via ListResolverDnssecConfigsRequest.builder()

      Parameters:
      listResolverDnssecConfigsRequest - A Consumer that will call methods on ListResolverDnssecConfigsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpointIpAddresses

      default CompletableFuture<ListResolverEndpointIpAddressesResponse> listResolverEndpointIpAddresses(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest)

      Gets the IP addresses for a specified Resolver endpoint.

      Parameters:
      listResolverEndpointIpAddressesRequest -
      Returns:
      A Java Future containing the result of the ListResolverEndpointIpAddresses operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpointIpAddresses

      default CompletableFuture<ListResolverEndpointIpAddressesResponse> listResolverEndpointIpAddresses(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest)

      Gets the IP addresses for a specified Resolver endpoint.


      This is a convenience which creates an instance of the ListResolverEndpointIpAddressesRequest.Builder avoiding the need to create one manually via ListResolverEndpointIpAddressesRequest.builder()

      Parameters:
      listResolverEndpointIpAddressesRequest - A Consumer that will call methods on ListResolverEndpointIpAddressesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResolverEndpointIpAddresses operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpointIpAddressesPaginator

      default ListResolverEndpointIpAddressesPublisher listResolverEndpointIpAddressesPaginator(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest)

      This is a variant of listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesPublisher publisher = client.listResolverEndpointIpAddressesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesPublisher publisher = client.listResolverEndpointIpAddressesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesResponse 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 listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest) operation.

      Parameters:
      listResolverEndpointIpAddressesRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpointIpAddressesPaginator

      default ListResolverEndpointIpAddressesPublisher listResolverEndpointIpAddressesPaginator(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest)

      This is a variant of listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesPublisher publisher = client.listResolverEndpointIpAddressesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesPublisher publisher = client.listResolverEndpointIpAddressesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesResponse 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 listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest) operation.


      This is a convenience which creates an instance of the ListResolverEndpointIpAddressesRequest.Builder avoiding the need to create one manually via ListResolverEndpointIpAddressesRequest.builder()

      Parameters:
      listResolverEndpointIpAddressesRequest - A Consumer that will call methods on ListResolverEndpointIpAddressesRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpoints

      default CompletableFuture<ListResolverEndpointsResponse> listResolverEndpoints(ListResolverEndpointsRequest listResolverEndpointsRequest)

      Lists all the Resolver endpoints that were created using the current Amazon Web Services account.

      Parameters:
      listResolverEndpointsRequest -
      Returns:
      A Java Future containing the result of the ListResolverEndpoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpoints

      default CompletableFuture<ListResolverEndpointsResponse> listResolverEndpoints(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest)

      Lists all the Resolver endpoints that were created using the current Amazon Web Services account.


      This is a convenience which creates an instance of the ListResolverEndpointsRequest.Builder avoiding the need to create one manually via ListResolverEndpointsRequest.builder()

      Parameters:
      listResolverEndpointsRequest - A Consumer that will call methods on ListResolverEndpointsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResolverEndpoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpoints

      default CompletableFuture<ListResolverEndpointsResponse> listResolverEndpoints()

      Lists all the Resolver endpoints that were created using the current Amazon Web Services account.

      Returns:
      A Java Future containing the result of the ListResolverEndpoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpointsPaginator

      default ListResolverEndpointsPublisher listResolverEndpointsPaginator()

      This is a variant of listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsResponse 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 listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest) operation.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpointsPaginator

      default ListResolverEndpointsPublisher listResolverEndpointsPaginator(ListResolverEndpointsRequest listResolverEndpointsRequest)

      This is a variant of listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsResponse 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 listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest) operation.

      Parameters:
      listResolverEndpointsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverEndpointsPaginator

      default ListResolverEndpointsPublisher listResolverEndpointsPaginator(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest)

      This is a variant of listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsResponse 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 listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest) operation.


      This is a convenience which creates an instance of the ListResolverEndpointsRequest.Builder avoiding the need to create one manually via ListResolverEndpointsRequest.builder()

      Parameters:
      listResolverEndpointsRequest - A Consumer that will call methods on ListResolverEndpointsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverQueryLogConfigAssociations

      default CompletableFuture<ListResolverQueryLogConfigAssociationsResponse> listResolverQueryLogConfigAssociations(ListResolverQueryLogConfigAssociationsRequest listResolverQueryLogConfigAssociationsRequest)

      Lists information about associations between Amazon VPCs and query logging configurations.

      Parameters:
      listResolverQueryLogConfigAssociationsRequest -
      Returns:
      A Java Future containing the result of the ListResolverQueryLogConfigAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverQueryLogConfigAssociations

      default CompletableFuture<ListResolverQueryLogConfigAssociationsResponse> listResolverQueryLogConfigAssociations(Consumer<ListResolverQueryLogConfigAssociationsRequest.Builder> listResolverQueryLogConfigAssociationsRequest)

      Lists information about associations between Amazon VPCs and query logging configurations.


      This is a convenience which creates an instance of the ListResolverQueryLogConfigAssociationsRequest.Builder avoiding the need to create one manually via ListResolverQueryLogConfigAssociationsRequest.builder()

      Parameters:
      listResolverQueryLogConfigAssociationsRequest - A Consumer that will call methods on ListResolverQueryLogConfigAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResolverQueryLogConfigAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverQueryLogConfigAssociationsPaginator

      default ListResolverQueryLogConfigAssociationsPublisher listResolverQueryLogConfigAssociationsPaginator(ListResolverQueryLogConfigAssociationsRequest listResolverQueryLogConfigAssociationsRequest)

      This is a variant of listResolverQueryLogConfigAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsPublisher publisher = client.listResolverQueryLogConfigAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsPublisher publisher = client.listResolverQueryLogConfigAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsResponse 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 listResolverQueryLogConfigAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsRequest) operation.

      Parameters:
      listResolverQueryLogConfigAssociationsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverQueryLogConfigAssociationsPaginator

      default ListResolverQueryLogConfigAssociationsPublisher listResolverQueryLogConfigAssociationsPaginator(Consumer<ListResolverQueryLogConfigAssociationsRequest.Builder> listResolverQueryLogConfigAssociationsRequest)

      This is a variant of listResolverQueryLogConfigAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsPublisher publisher = client.listResolverQueryLogConfigAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsPublisher publisher = client.listResolverQueryLogConfigAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsResponse 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 listResolverQueryLogConfigAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsRequest) operation.


      This is a convenience which creates an instance of the ListResolverQueryLogConfigAssociationsRequest.Builder avoiding the need to create one manually via ListResolverQueryLogConfigAssociationsRequest.builder()

      Parameters:
      listResolverQueryLogConfigAssociationsRequest - A Consumer that will call methods on ListResolverQueryLogConfigAssociationsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverQueryLogConfigs

      default CompletableFuture<ListResolverQueryLogConfigsResponse> listResolverQueryLogConfigs(ListResolverQueryLogConfigsRequest listResolverQueryLogConfigsRequest)

      Lists information about the specified query logging configurations. Each configuration defines where you want Resolver to save DNS query logs and specifies the VPCs that you want to log queries for.

      Parameters:
      listResolverQueryLogConfigsRequest -
      Returns:
      A Java Future containing the result of the ListResolverQueryLogConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverQueryLogConfigs

      default CompletableFuture<ListResolverQueryLogConfigsResponse> listResolverQueryLogConfigs(Consumer<ListResolverQueryLogConfigsRequest.Builder> listResolverQueryLogConfigsRequest)

      Lists information about the specified query logging configurations. Each configuration defines where you want Resolver to save DNS query logs and specifies the VPCs that you want to log queries for.


      This is a convenience which creates an instance of the ListResolverQueryLogConfigsRequest.Builder avoiding the need to create one manually via ListResolverQueryLogConfigsRequest.builder()

      Parameters:
      listResolverQueryLogConfigsRequest - A Consumer that will call methods on ListResolverQueryLogConfigsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResolverQueryLogConfigs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverQueryLogConfigsPaginator

      default ListResolverQueryLogConfigsPublisher listResolverQueryLogConfigsPaginator(ListResolverQueryLogConfigsRequest listResolverQueryLogConfigsRequest)

      This is a variant of listResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsPublisher publisher = client.listResolverQueryLogConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsPublisher publisher = client.listResolverQueryLogConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsResponse 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 listResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest) operation.

      Parameters:
      listResolverQueryLogConfigsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverQueryLogConfigsPaginator

      default ListResolverQueryLogConfigsPublisher listResolverQueryLogConfigsPaginator(Consumer<ListResolverQueryLogConfigsRequest.Builder> listResolverQueryLogConfigsRequest)

      This is a variant of listResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsPublisher publisher = client.listResolverQueryLogConfigsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsPublisher publisher = client.listResolverQueryLogConfigsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsResponse 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 listResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest) operation.


      This is a convenience which creates an instance of the ListResolverQueryLogConfigsRequest.Builder avoiding the need to create one manually via ListResolverQueryLogConfigsRequest.builder()

      Parameters:
      listResolverQueryLogConfigsRequest - A Consumer that will call methods on ListResolverQueryLogConfigsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRuleAssociations

      default CompletableFuture<ListResolverRuleAssociationsResponse> listResolverRuleAssociations(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest)

      Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.

      Parameters:
      listResolverRuleAssociationsRequest -
      Returns:
      A Java Future containing the result of the ListResolverRuleAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRuleAssociations

      default CompletableFuture<ListResolverRuleAssociationsResponse> listResolverRuleAssociations(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest)

      Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.


      This is a convenience which creates an instance of the ListResolverRuleAssociationsRequest.Builder avoiding the need to create one manually via ListResolverRuleAssociationsRequest.builder()

      Parameters:
      listResolverRuleAssociationsRequest - A Consumer that will call methods on ListResolverRuleAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResolverRuleAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRuleAssociations

      default CompletableFuture<ListResolverRuleAssociationsResponse> listResolverRuleAssociations()

      Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.

      Returns:
      A Java Future containing the result of the ListResolverRuleAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRuleAssociationsPaginator

      default ListResolverRuleAssociationsPublisher listResolverRuleAssociationsPaginator()

      This is a variant of listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsResponse 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 listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest) operation.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRuleAssociationsPaginator

      default ListResolverRuleAssociationsPublisher listResolverRuleAssociationsPaginator(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest)

      This is a variant of listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsResponse 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 listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest) operation.

      Parameters:
      listResolverRuleAssociationsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRuleAssociationsPaginator

      default ListResolverRuleAssociationsPublisher listResolverRuleAssociationsPaginator(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest)

      This is a variant of listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsResponse 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 listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest) operation.


      This is a convenience which creates an instance of the ListResolverRuleAssociationsRequest.Builder avoiding the need to create one manually via ListResolverRuleAssociationsRequest.builder()

      Parameters:
      listResolverRuleAssociationsRequest - A Consumer that will call methods on ListResolverRuleAssociationsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRules

      default CompletableFuture<ListResolverRulesResponse> listResolverRules(ListResolverRulesRequest listResolverRulesRequest)

      Lists the Resolver rules that were created using the current Amazon Web Services account.

      Parameters:
      listResolverRulesRequest -
      Returns:
      A Java Future containing the result of the ListResolverRules operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRules

      default CompletableFuture<ListResolverRulesResponse> listResolverRules(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest)

      Lists the Resolver rules that were created using the current Amazon Web Services account.


      This is a convenience which creates an instance of the ListResolverRulesRequest.Builder avoiding the need to create one manually via ListResolverRulesRequest.builder()

      Parameters:
      listResolverRulesRequest - A Consumer that will call methods on ListResolverRulesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResolverRules operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRules

      default CompletableFuture<ListResolverRulesResponse> listResolverRules()

      Lists the Resolver rules that were created using the current Amazon Web Services account.

      Returns:
      A Java Future containing the result of the ListResolverRules operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRulesPaginator

      default ListResolverRulesPublisher listResolverRulesPaginator()

      This is a variant of listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverRulesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesResponse 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 listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest) operation.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRulesPaginator

      default ListResolverRulesPublisher listResolverRulesPaginator(ListResolverRulesRequest listResolverRulesRequest)

      This is a variant of listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverRulesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesResponse 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 listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest) operation.

      Parameters:
      listResolverRulesRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResolverRulesPaginator

      default ListResolverRulesPublisher listResolverRulesPaginator(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest)

      This is a variant of listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest) 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListResolverRulesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesResponse 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 listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest) operation.


      This is a convenience which creates an instance of the ListResolverRulesRequest.Builder avoiding the need to create one manually via ListResolverRulesRequest.builder()

      Parameters:
      listResolverRulesRequest - A Consumer that will call methods on ListResolverRulesRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Lists the tags that you associated with the specified resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Lists the tags that you associated with the specified resource.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResourcePaginator

      default ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)

      This is a variant of listTagsForResource(software.amazon.awssdk.services.route53resolver.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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.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 listTagsForResource(software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceRequest) operation.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResourcePaginator

      default ListTagsForResourcePublisher listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      This is a variant of listTagsForResource(software.amazon.awssdk.services.route53resolver.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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new 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
       
       software.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53resolver.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 listTagsForResource(software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceRequest) operation.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidNextTokenException The value that you specified for NextToken in a List request isn't valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putFirewallRuleGroupPolicy

      default CompletableFuture<PutFirewallRuleGroupPolicyResponse> putFirewallRuleGroupPolicy(PutFirewallRuleGroupPolicyRequest putFirewallRuleGroupPolicyRequest)

      Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).

      Parameters:
      putFirewallRuleGroupPolicyRequest -
      Returns:
      A Java Future containing the result of the PutFirewallRuleGroupPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putFirewallRuleGroupPolicy

      default CompletableFuture<PutFirewallRuleGroupPolicyResponse> putFirewallRuleGroupPolicy(Consumer<PutFirewallRuleGroupPolicyRequest.Builder> putFirewallRuleGroupPolicyRequest)

      Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).


      This is a convenience which creates an instance of the PutFirewallRuleGroupPolicyRequest.Builder avoiding the need to create one manually via PutFirewallRuleGroupPolicyRequest.builder()

      Parameters:
      putFirewallRuleGroupPolicyRequest - A Consumer that will call methods on PutFirewallRuleGroupPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutFirewallRuleGroupPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResolverQueryLogConfigPolicy

      default CompletableFuture<PutResolverQueryLogConfigPolicyResponse> putResolverQueryLogConfigPolicy(PutResolverQueryLogConfigPolicyRequest putResolverQueryLogConfigPolicyRequest)

      Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.

      Parameters:
      putResolverQueryLogConfigPolicyRequest -
      Returns:
      A Java Future containing the result of the PutResolverQueryLogConfigPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidPolicyDocumentException The specified Resolver rule policy is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • UnknownResourceException The specified resource doesn't exist.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResolverQueryLogConfigPolicy

      default CompletableFuture<PutResolverQueryLogConfigPolicyResponse> putResolverQueryLogConfigPolicy(Consumer<PutResolverQueryLogConfigPolicyRequest.Builder> putResolverQueryLogConfigPolicyRequest)

      Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.


      This is a convenience which creates an instance of the PutResolverQueryLogConfigPolicyRequest.Builder avoiding the need to create one manually via PutResolverQueryLogConfigPolicyRequest.builder()

      Parameters:
      putResolverQueryLogConfigPolicyRequest - A Consumer that will call methods on PutResolverQueryLogConfigPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutResolverQueryLogConfigPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidPolicyDocumentException The specified Resolver rule policy is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • UnknownResourceException The specified resource doesn't exist.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResolverRulePolicy

      default CompletableFuture<PutResolverRulePolicyResponse> putResolverRulePolicy(PutResolverRulePolicyRequest putResolverRulePolicyRequest)

      Specifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.

      Parameters:
      putResolverRulePolicyRequest -
      Returns:
      A Java Future containing the result of the PutResolverRulePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidPolicyDocumentException The specified Resolver rule policy is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • UnknownResourceException The specified resource doesn't exist.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResolverRulePolicy

      default CompletableFuture<PutResolverRulePolicyResponse> putResolverRulePolicy(Consumer<PutResolverRulePolicyRequest.Builder> putResolverRulePolicyRequest)

      Specifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.


      This is a convenience which creates an instance of the PutResolverRulePolicyRequest.Builder avoiding the need to create one manually via PutResolverRulePolicyRequest.builder()

      Parameters:
      putResolverRulePolicyRequest - A Consumer that will call methods on PutResolverRulePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutResolverRulePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidPolicyDocumentException The specified Resolver rule policy is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • UnknownResourceException The specified resource doesn't exist.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Adds one or more tags to a specified resource.

      Parameters:
      tagResourceRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InvalidTagException The specified tag is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Adds one or more tags to a specified resource.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InvalidTagException The specified tag is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes one or more tags from a specified resource.

      Parameters:
      untagResourceRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes one or more tags from a specified resource.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFirewallConfig

      default CompletableFuture<UpdateFirewallConfigResponse> updateFirewallConfig(UpdateFirewallConfigRequest updateFirewallConfigRequest)

      Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).

      Parameters:
      updateFirewallConfigRequest -
      Returns:
      A Java Future containing the result of the UpdateFirewallConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFirewallConfig

      default CompletableFuture<UpdateFirewallConfigResponse> updateFirewallConfig(Consumer<UpdateFirewallConfigRequest.Builder> updateFirewallConfigRequest)

      Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).


      This is a convenience which creates an instance of the UpdateFirewallConfigRequest.Builder avoiding the need to create one manually via UpdateFirewallConfigRequest.builder()

      Parameters:
      updateFirewallConfigRequest - A Consumer that will call methods on UpdateFirewallConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateFirewallConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ResourceNotFoundException The specified resource doesn't exist.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFirewallDomains

      default CompletableFuture<UpdateFirewallDomainsResponse> updateFirewallDomains(UpdateFirewallDomainsRequest updateFirewallDomainsRequest)

      Updates the firewall domain list from an array of domain specifications.

      Parameters:
      updateFirewallDomainsRequest -
      Returns:
      A Java Future containing the result of the UpdateFirewallDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ResourceNotFoundException The specified resource doesn't exist.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFirewallDomains

      default CompletableFuture<UpdateFirewallDomainsResponse> updateFirewallDomains(Consumer<UpdateFirewallDomainsRequest.Builder> updateFirewallDomainsRequest)

      Updates the firewall domain list from an array of domain specifications.


      This is a convenience which creates an instance of the UpdateFirewallDomainsRequest.Builder avoiding the need to create one manually via UpdateFirewallDomainsRequest.builder()

      Parameters:
      updateFirewallDomainsRequest - A Consumer that will call methods on UpdateFirewallDomainsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateFirewallDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ResourceNotFoundException The specified resource doesn't exist.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFirewallRule

      default CompletableFuture<UpdateFirewallRuleResponse> updateFirewallRule(UpdateFirewallRuleRequest updateFirewallRuleRequest)

      Updates the specified firewall rule.

      Parameters:
      updateFirewallRuleRequest -
      Returns:
      A Java Future containing the result of the UpdateFirewallRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFirewallRule

      default CompletableFuture<UpdateFirewallRuleResponse> updateFirewallRule(Consumer<UpdateFirewallRuleRequest.Builder> updateFirewallRuleRequest)

      Updates the specified firewall rule.


      This is a convenience which creates an instance of the UpdateFirewallRuleRequest.Builder avoiding the need to create one manually via UpdateFirewallRuleRequest.builder()

      Parameters:
      updateFirewallRuleRequest - A Consumer that will call methods on UpdateFirewallRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateFirewallRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFirewallRuleGroupAssociation

      default CompletableFuture<UpdateFirewallRuleGroupAssociationResponse> updateFirewallRuleGroupAssociation(UpdateFirewallRuleGroupAssociationRequest updateFirewallRuleGroupAssociationRequest)

      Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.

      Parameters:
      updateFirewallRuleGroupAssociationRequest -
      Returns:
      A Java Future containing the result of the UpdateFirewallRuleGroupAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFirewallRuleGroupAssociation

      default CompletableFuture<UpdateFirewallRuleGroupAssociationResponse> updateFirewallRuleGroupAssociation(Consumer<UpdateFirewallRuleGroupAssociationRequest.Builder> updateFirewallRuleGroupAssociationRequest)

      Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.


      This is a convenience which creates an instance of the UpdateFirewallRuleGroupAssociationRequest.Builder avoiding the need to create one manually via UpdateFirewallRuleGroupAssociationRequest.builder()

      Parameters:
      updateFirewallRuleGroupAssociationRequest - A Consumer that will call methods on UpdateFirewallRuleGroupAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateFirewallRuleGroupAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateOutpostResolver

      default CompletableFuture<UpdateOutpostResolverResponse> updateOutpostResolver(UpdateOutpostResolverRequest updateOutpostResolverRequest)

      You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost.

      Parameters:
      updateOutpostResolverRequest -
      Returns:
      A Java Future containing the result of the UpdateOutpostResolver operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ServiceQuotaExceededException Fulfilling the request would cause one or more quotas to be exceeded.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateOutpostResolver

      default CompletableFuture<UpdateOutpostResolverResponse> updateOutpostResolver(Consumer<UpdateOutpostResolverRequest.Builder> updateOutpostResolverRequest)

      You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost.


      This is a convenience which creates an instance of the UpdateOutpostResolverRequest.Builder avoiding the need to create one manually via UpdateOutpostResolverRequest.builder()

      Parameters:
      updateOutpostResolverRequest - A Consumer that will call methods on UpdateOutpostResolverRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateOutpostResolver operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ServiceQuotaExceededException Fulfilling the request would cause one or more quotas to be exceeded.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResolverConfig

      default CompletableFuture<UpdateResolverConfigResponse> updateResolverConfig(UpdateResolverConfigRequest updateResolverConfigRequest)

      Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.

      Parameters:
      updateResolverConfigRequest -
      Returns:
      A Java Future containing the result of the UpdateResolverConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ResourceUnavailableException The specified resource isn't available.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResolverConfig

      default CompletableFuture<UpdateResolverConfigResponse> updateResolverConfig(Consumer<UpdateResolverConfigRequest.Builder> updateResolverConfigRequest)

      Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.


      This is a convenience which creates an instance of the UpdateResolverConfigRequest.Builder avoiding the need to create one manually via UpdateResolverConfigRequest.builder()

      Parameters:
      updateResolverConfigRequest - A Consumer that will call methods on UpdateResolverConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateResolverConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ResourceUnavailableException The specified resource isn't available.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • ValidationException You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResolverDnssecConfig

      default CompletableFuture<UpdateResolverDnssecConfigResponse> updateResolverDnssecConfig(UpdateResolverDnssecConfigRequest updateResolverDnssecConfigRequest)

      Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.

      Parameters:
      updateResolverDnssecConfigRequest -
      Returns:
      A Java Future containing the result of the UpdateResolverDnssecConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResolverDnssecConfig

      default CompletableFuture<UpdateResolverDnssecConfigResponse> updateResolverDnssecConfig(Consumer<UpdateResolverDnssecConfigRequest.Builder> updateResolverDnssecConfigRequest)

      Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.


      This is a convenience which creates an instance of the UpdateResolverDnssecConfigRequest.Builder avoiding the need to create one manually via UpdateResolverDnssecConfigRequest.builder()

      Parameters:
      updateResolverDnssecConfigRequest - A Consumer that will call methods on UpdateResolverDnssecConfigRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateResolverDnssecConfig operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidRequestException The request is invalid.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResolverEndpoint

      default CompletableFuture<UpdateResolverEndpointResponse> updateResolverEndpoint(UpdateResolverEndpointRequest updateResolverEndpointRequest)

      Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint. You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated to other type.

      Parameters:
      updateResolverEndpointRequest -
      Returns:
      A Java Future containing the result of the UpdateResolverEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResolverEndpoint

      default CompletableFuture<UpdateResolverEndpointResponse> updateResolverEndpoint(Consumer<UpdateResolverEndpointRequest.Builder> updateResolverEndpointRequest)

      Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint. You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated to other type.


      This is a convenience which creates an instance of the UpdateResolverEndpointRequest.Builder avoiding the need to create one manually via UpdateResolverEndpointRequest.builder()

      Parameters:
      updateResolverEndpointRequest - A Consumer that will call methods on UpdateResolverEndpointRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateResolverEndpoint operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource doesn't exist.
      • InvalidParameterException One or more parameters in this request are not valid.
      • InvalidRequestException The request is invalid.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResolverRule

      default CompletableFuture<UpdateResolverRuleResponse> updateResolverRule(UpdateResolverRuleRequest updateResolverRuleRequest)

      Updates settings for a specified Resolver rule. ResolverRuleId is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value.

      Parameters:
      updateResolverRuleRequest -
      Returns:
      A Java Future containing the result of the UpdateResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ResourceUnavailableException The specified resource isn't available.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResolverRule

      default CompletableFuture<UpdateResolverRuleResponse> updateResolverRule(Consumer<UpdateResolverRuleRequest.Builder> updateResolverRuleRequest)

      Updates settings for a specified Resolver rule. ResolverRuleId is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value.


      This is a convenience which creates an instance of the UpdateResolverRuleRequest.Builder avoiding the need to create one manually via UpdateResolverRuleRequest.builder()

      Parameters:
      updateResolverRuleRequest - A Consumer that will call methods on UpdateResolverRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateResolverRule operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidRequestException The request is invalid.
      • InvalidParameterException One or more parameters in this request are not valid.
      • ResourceNotFoundException The specified resource doesn't exist.
      • ResourceUnavailableException The specified resource isn't available.
      • LimitExceededException The request caused one or more limits to be exceeded.
      • InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
      • ThrottlingException The request was throttled. Try again in a few minutes.
      • AccessDeniedException The current account doesn't have the IAM permissions required to perform the specified Resolver operation.

        This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.

      • 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.
      • Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default Route53ResolverServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static Route53ResolverAsyncClient create()
      Create a Route53ResolverAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a Route53ResolverAsyncClient.