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 staticbuilder()method.The asynchronous client performs non-blocking I/O when configured with anySdkAsyncHttpClientsupported 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 Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaAssociateFirewallRuleGroupRequest.builder()- Parameters:
associateFirewallRuleGroupRequest- AConsumerthat will call methods onAssociateFirewallRuleGroupRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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
AssociateResolverEndpointIpAddressrequest 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 invokeThrowable.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:
- AWS API Documentation
-
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
AssociateResolverEndpointIpAddressrequest 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.Builderavoiding the need to create one manually viaAssociateResolverEndpointIpAddressRequest.builder()- Parameters:
associateResolverEndpointIpAddressRequest- AConsumerthat will call methods onAssociateResolverEndpointIpAddressRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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
AssociateResolverQueryLogConfigrequest 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 invokeThrowable.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:
- AWS API Documentation
-
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
AssociateResolverQueryLogConfigrequest 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.Builderavoiding the need to create one manually viaAssociateResolverQueryLogConfigRequest.builder()- Parameters:
associateResolverQueryLogConfigRequest- AConsumerthat will call methods onAssociateResolverQueryLogConfigRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaAssociateResolverRuleRequest.builder()- Parameters:
associateResolverRuleRequest- AConsumerthat will call methods onAssociateResolverRuleRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateFirewallDomainListRequest.builder()- Parameters:
createFirewallDomainListRequest- AConsumerthat will call methods onCreateFirewallDomainListRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateFirewallRuleRequest.builder()- Parameters:
createFirewallRuleRequest- AConsumerthat will call methods onCreateFirewallRuleRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateFirewallRuleGroupRequest.builder()- Parameters:
createFirewallRuleGroupRequest- AConsumerthat will call methods onCreateFirewallRuleGroupRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateOutpostResolverRequest.builder()- Parameters:
createOutpostResolverRequest- AConsumerthat will call methods onCreateOutpostResolverRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
-
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.Builderavoiding the need to create one manually viaCreateResolverEndpointRequest.builder()- Parameters:
createResolverEndpointRequest- AConsumerthat will call methods onCreateResolverEndpointRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateResolverQueryLogConfigRequest.builder()- Parameters:
createResolverQueryLogConfigRequest- AConsumerthat will call methods onCreateResolverQueryLogConfigRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateResolverRuleRequest.builder()- Parameters:
createResolverRuleRequest- AConsumerthat will call methods onCreateResolverRuleRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteFirewallDomainListRequest.builder()- Parameters:
deleteFirewallDomainListRequest- AConsumerthat will call methods onDeleteFirewallDomainListRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa domain. - 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteFirewallRuleRequest.builder()- Parameters:
deleteFirewallRuleRequest- AConsumerthat will call methods onDeleteFirewallRuleRequest.Builderto 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 invokeThrowable.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.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa domain. - 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:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteFirewallRuleGroupRequest.builder()- Parameters:
deleteFirewallRuleGroupRequest- AConsumerthat will call methods onDeleteFirewallRuleGroupRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteOutpostResolverRequest.builder()- Parameters:
deleteOutpostResolverRequest- AConsumerthat will call methods onDeleteOutpostResolverRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
-
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.Builderavoiding the need to create one manually viaDeleteResolverEndpointRequest.builder()- Parameters:
deleteResolverEndpointRequest- AConsumerthat will call methods onDeleteResolverEndpointRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteResolverQueryLogConfigRequest.builder()- Parameters:
deleteResolverQueryLogConfigRequest- AConsumerthat will call methods onDeleteResolverQueryLogConfigRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteResolverRuleRequest.builder()- Parameters:
deleteResolverRuleRequest- AConsumerthat will call methods onDeleteResolverRuleRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDisassociateFirewallRuleGroupRequest.builder()- Parameters:
disassociateFirewallRuleGroupRequest- AConsumerthat will call methods onDisassociateFirewallRuleGroupRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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
DisassociateResolverEndpointIpAddressrequest 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 invokeThrowable.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:
- AWS API Documentation
-
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
DisassociateResolverEndpointIpAddressrequest 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.Builderavoiding the need to create one manually viaDisassociateResolverEndpointIpAddressRequest.builder()- Parameters:
disassociateResolverEndpointIpAddressRequest- AConsumerthat will call methods onDisassociateResolverEndpointIpAddressRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
-
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.Builderavoiding the need to create one manually viaDisassociateResolverQueryLogConfigRequest.builder()- Parameters:
disassociateResolverQueryLogConfigRequest- AConsumerthat will call methods onDisassociateResolverQueryLogConfigRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDisassociateResolverRuleRequest.builder()- Parameters:
disassociateResolverRuleRequest- AConsumerthat will call methods onDisassociateResolverRuleRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetFirewallConfigRequest.builder()- Parameters:
getFirewallConfigRequest- AConsumerthat will call methods onGetFirewallConfigRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetFirewallDomainListRequest.builder()- Parameters:
getFirewallDomainListRequest- AConsumerthat will call methods onGetFirewallDomainListRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetFirewallRuleGroupRequest.builder()- Parameters:
getFirewallRuleGroupRequest- AConsumerthat will call methods onGetFirewallRuleGroupRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetFirewallRuleGroupAssociationRequest.builder()- Parameters:
getFirewallRuleGroupAssociationRequest- AConsumerthat will call methods onGetFirewallRuleGroupAssociationRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetFirewallRuleGroupPolicyRequest.builder()- Parameters:
getFirewallRuleGroupPolicyRequest- AConsumerthat will call methods onGetFirewallRuleGroupPolicyRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetOutpostResolverRequest.builder()- Parameters:
getOutpostResolverRequest- AConsumerthat will call methods onGetOutpostResolverRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetResolverConfigRequest.builder()- Parameters:
getResolverConfigRequest- AConsumerthat will call methods onGetResolverConfigRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetResolverDnssecConfigRequest.builder()- Parameters:
getResolverDnssecConfigRequest- AConsumerthat will call methods onGetResolverDnssecConfigRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetResolverEndpointRequest.builder()- Parameters:
getResolverEndpointRequest- AConsumerthat will call methods onGetResolverEndpointRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetResolverQueryLogConfigRequest.builder()- Parameters:
getResolverQueryLogConfigRequest- AConsumerthat will call methods onGetResolverQueryLogConfigRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetResolverQueryLogConfigAssociationRequest.builder()- Parameters:
getResolverQueryLogConfigAssociationRequest- AConsumerthat will call methods onGetResolverQueryLogConfigAssociationRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetResolverQueryLogConfigPolicyRequest.builder()- Parameters:
getResolverQueryLogConfigPolicyRequest- AConsumerthat will call methods onGetResolverQueryLogConfigPolicyRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetResolverRuleRequest.builder()- Parameters:
getResolverRuleRequest- AConsumerthat will call methods onGetResolverRuleRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetResolverRuleAssociationRequest.builder()- Parameters:
getResolverRuleAssociationRequest- AConsumerthat will call methods onGetResolverRuleAssociationRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetResolverRulePolicyRequest.builder()- Parameters:
getResolverRulePolicyRequest- AConsumerthat will call methods onGetResolverRulePolicyRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
-
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.Builderavoiding the need to create one manually viaImportFirewallDomainsRequest.builder()- Parameters:
importFirewallDomainsRequest- AConsumerthat will call methods onImportFirewallDomainsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListFirewallConfigsRequest.builder()- Parameters:
listFirewallConfigsRequest- AConsumerthat will call methods onListFirewallConfigsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsPublisher publisher = client.listFirewallConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsPublisher publisher = client.listFirewallConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListFirewallConfigsRequest.builder()- Parameters:
listFirewallConfigsRequest- AConsumerthat will call methods onListFirewallConfigsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListFirewallDomainListsRequest.builder()- Parameters:
listFirewallDomainListsRequest- AConsumerthat will call methods onListFirewallDomainListsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListFirewallDomainListsRequest.builder()- Parameters:
listFirewallDomainListsRequest- AConsumerthat will call methods onListFirewallDomainListsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListFirewallDomainsRequest.builder()- Parameters:
listFirewallDomainsRequest- AConsumerthat will call methods onListFirewallDomainsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListFirewallDomainsRequest.builder()- Parameters:
listFirewallDomainsRequest- AConsumerthat will call methods onListFirewallDomainsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListFirewallRuleGroupAssociationsRequest.builder()- Parameters:
listFirewallRuleGroupAssociationsRequest- AConsumerthat will call methods onListFirewallRuleGroupAssociationsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsPublisher publisher = client.listFirewallRuleGroupAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsPublisher publisher = client.listFirewallRuleGroupAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListFirewallRuleGroupAssociationsRequest.builder()- Parameters:
listFirewallRuleGroupAssociationsRequest- AConsumerthat will call methods onListFirewallRuleGroupAssociationsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListFirewallRuleGroupsRequest.builder()- Parameters:
listFirewallRuleGroupsRequest- AConsumerthat will call methods onListFirewallRuleGroupsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsPublisher publisher = client.listFirewallRuleGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsPublisher publisher = client.listFirewallRuleGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListFirewallRuleGroupsRequest.builder()- Parameters:
listFirewallRuleGroupsRequest- AConsumerthat will call methods onListFirewallRuleGroupsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListFirewallRulesRequest.builder()- Parameters:
listFirewallRulesRequest- AConsumerthat will call methods onListFirewallRulesRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListFirewallRulesRequest.builder()- Parameters:
listFirewallRulesRequest- AConsumerthat will call methods onListFirewallRulesRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListOutpostResolversRequest.builder()- Parameters:
listOutpostResolversRequest- AConsumerthat will call methods onListOutpostResolversRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversPublisher publisher = client.listOutpostResolversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversPublisher publisher = client.listOutpostResolversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListOutpostResolversRequest.builder()- Parameters:
listOutpostResolversRequest- AConsumerthat will call methods onListOutpostResolversRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListResolverConfigsRequest.builder()- Parameters:
listResolverConfigsRequest- AConsumerthat will call methods onListResolverConfigsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsPublisher publisher = client.listResolverConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsPublisher publisher = client.listResolverConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListResolverConfigsRequest.builder()- Parameters:
listResolverConfigsRequest- AConsumerthat will call methods onListResolverConfigsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListResolverDnssecConfigsRequest.builder()- Parameters:
listResolverDnssecConfigsRequest- AConsumerthat will call methods onListResolverDnssecConfigsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsPublisher publisher = client.listResolverDnssecConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsPublisher publisher = client.listResolverDnssecConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListResolverDnssecConfigsRequest.builder()- Parameters:
listResolverDnssecConfigsRequest- AConsumerthat will call methods onListResolverDnssecConfigsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 invokeThrowable.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
NextTokenin aListrequest 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListResolverEndpointIpAddressesRequest.builder()- Parameters:
listResolverEndpointIpAddressesRequest- AConsumerthat will call methods onListResolverEndpointIpAddressesRequest.Builderto 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 invokeThrowable.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
NextTokenin aListrequest 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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesPublisher publisher = client.listResolverEndpointIpAddressesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.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
NextTokenin aListrequest 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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesPublisher publisher = client.listResolverEndpointIpAddressesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListResolverEndpointIpAddressesRequest.builder()- Parameters:
listResolverEndpointIpAddressesRequest- AConsumerthat will call methods onListResolverEndpointIpAddressesRequest.Builderto 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 invokeThrowable.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
NextTokenin aListrequest 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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListResolverEndpointsRequest.builder()- Parameters:
listResolverEndpointsRequest- AConsumerthat will call methods onListResolverEndpointsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListResolverEndpointsRequest.builder()- Parameters:
listResolverEndpointsRequest- AConsumerthat will call methods onListResolverEndpointsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListResolverQueryLogConfigAssociationsRequest.builder()- Parameters:
listResolverQueryLogConfigAssociationsRequest- AConsumerthat will call methods onListResolverQueryLogConfigAssociationsRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsPublisher publisher = client.listResolverQueryLogConfigAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsPublisher publisher = client.listResolverQueryLogConfigAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListResolverQueryLogConfigAssociationsRequest.builder()- Parameters:
listResolverQueryLogConfigAssociationsRequest- AConsumerthat will call methods onListResolverQueryLogConfigAssociationsRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListResolverQueryLogConfigsRequest.builder()- Parameters:
listResolverQueryLogConfigsRequest- AConsumerthat will call methods onListResolverQueryLogConfigsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsPublisher publisher = client.listResolverQueryLogConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsPublisher publisher = client.listResolverQueryLogConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListResolverQueryLogConfigsRequest.builder()- Parameters:
listResolverQueryLogConfigsRequest- AConsumerthat will call methods onListResolverQueryLogConfigsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListResolverRuleAssociationsRequest.builder()- Parameters:
listResolverRuleAssociationsRequest- AConsumerthat will call methods onListResolverRuleAssociationsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListResolverRuleAssociationsRequest.builder()- Parameters:
listResolverRuleAssociationsRequest- AConsumerthat will call methods onListResolverRuleAssociationsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListResolverRulesRequest.builder()- Parameters:
listResolverRulesRequest- AConsumerthat will call methods onListResolverRulesRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListResolverRulesRequest.builder()- Parameters:
listResolverRulesRequest- AConsumerthat will call methods onListResolverRulesRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextTokenin aListrequest 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.
- InvalidNextTokenException The value that you specified for
- See Also:
- AWS API Documentation
-
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 invokeThrowable.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
NextTokenin aListrequest 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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 invokeThrowable.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
NextTokenin aListrequest 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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.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
NextTokenin aListrequest 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:
- AWS API Documentation
-
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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 invokeThrowable.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
NextTokenin aListrequest 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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaPutFirewallRuleGroupPolicyRequest.builder()- Parameters:
putFirewallRuleGroupPolicyRequest- AConsumerthat will call methods onPutFirewallRuleGroupPolicyRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaPutResolverQueryLogConfigPolicyRequest.builder()- Parameters:
putResolverQueryLogConfigPolicyRequest- AConsumerthat will call methods onPutResolverQueryLogConfigPolicyRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaPutResolverRulePolicyRequest.builder()- Parameters:
putResolverRulePolicyRequest- AConsumerthat will call methods onPutResolverRulePolicyRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateFirewallConfigRequest.builder()- Parameters:
updateFirewallConfigRequest- AConsumerthat will call methods onUpdateFirewallConfigRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateFirewallDomainsRequest.builder()- Parameters:
updateFirewallDomainsRequest- AConsumerthat will call methods onUpdateFirewallDomainsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateFirewallRuleRequest.builder()- Parameters:
updateFirewallRuleRequest- AConsumerthat will call methods onUpdateFirewallRuleRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateFirewallRuleGroupAssociationRequest.builder()- Parameters:
updateFirewallRuleGroupAssociationRequest- AConsumerthat will call methods onUpdateFirewallRuleGroupAssociationRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource doesn't exist.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
updateOutpostResolver
default CompletableFuture<UpdateOutpostResolverResponse> updateOutpostResolver(UpdateOutpostResolverRequest updateOutpostResolverRequest)
You can use
UpdateOutpostResolverto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
updateOutpostResolver
default CompletableFuture<UpdateOutpostResolverResponse> updateOutpostResolver(Consumer<UpdateOutpostResolverRequest.Builder> updateOutpostResolverRequest)
You can use
UpdateOutpostResolverto update the instance count, type, or name of a Resolver on an Outpost.
This is a convenience which creates an instance of the
UpdateOutpostResolverRequest.Builderavoiding the need to create one manually viaUpdateOutpostResolverRequest.builder()- Parameters:
updateOutpostResolverRequest- AConsumerthat will call methods onUpdateOutpostResolverRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
- AWS API Documentation
-
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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateResolverConfigRequest.builder()- Parameters:
updateResolverConfigRequest- AConsumerthat will call methods onUpdateResolverConfigRequest.Builderto 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 invokeThrowable.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
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa 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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateResolverDnssecConfigRequest.builder()- Parameters:
updateResolverDnssecConfigRequest- AConsumerthat will call methods onUpdateResolverDnssecConfigRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
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 invokeThrowable.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:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateResolverEndpointRequest.builder()- Parameters:
updateResolverEndpointRequest- AConsumerthat will call methods onUpdateResolverEndpointRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
updateResolverRule
default CompletableFuture<UpdateResolverRuleResponse> updateResolverRule(UpdateResolverRuleRequest updateResolverRuleRequest)
Updates settings for a specified Resolver rule.
ResolverRuleIdis 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 invokeThrowable.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:
- AWS API Documentation
-
updateResolverRule
default CompletableFuture<UpdateResolverRuleResponse> updateResolverRule(Consumer<UpdateResolverRuleRequest.Builder> updateResolverRuleRequest)
Updates settings for a specified Resolver rule.
ResolverRuleIdis 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.Builderavoiding the need to create one manually viaUpdateResolverRuleRequest.builder()- Parameters:
updateResolverRuleRequest- AConsumerthat will call methods onUpdateResolverRuleRequest.Builderto 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 invokeThrowable.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:
- AWS API Documentation
-
serviceClientConfiguration
default Route53ResolverServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static Route53ResolverAsyncClient create()
Create aRoute53ResolverAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static Route53ResolverAsyncClientBuilder builder()
Create a builder that can be used to configure and create aRoute53ResolverAsyncClient.
-
-