Interface Route53ResolverAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
When you create a VPC using Amazon VPC, you automatically get DNS resolution within the VPC from Route 53 Resolver. By default, Resolver answers DNS queries for VPC domain names such as domain names for EC2 instances or Elastic Load Balancing load balancers. Resolver performs recursive lookups against public name servers for all other domain names.
You can also configure DNS resolution between your VPC and your network over a Direct Connect or VPN connection:
Forward DNS queries from resolvers on your network to Route 53 Resolver
DNS resolvers on your network can forward DNS queries to Resolver in a specified VPC. This allows your DNS resolvers to easily resolve domain names for Amazon Web Services resources such as EC2 instances or records in a Route 53 private hosted zone. For more information, see How DNS Resolvers on Your Network Forward DNS Queries to Route 53 Resolver in the Amazon Route 53 Developer Guide.
Conditionally forward queries from a VPC to resolvers on your network
You can configure Resolver to forward queries that it receives from EC2 instances in your VPCs to DNS resolvers on your network. To forward selected queries, you create Resolver rules that specify the domain names for the DNS queries that you want to forward (such as example.com), and the IP addresses of the DNS resolvers on your network that you want to forward the queries to. If a query matches multiple rules (example.com, acme.example.com), Resolver chooses the rule with the most specific match (acme.example.com) and forwards the query to the IP addresses that you specified in that rule. For more information, see How Route 53 Resolver Forwards DNS Queries from Your VPCs to Your Network in the Amazon Route 53 Developer Guide.
Like Amazon VPC, Resolver is Regional. In each Region where you have VPCs, you can choose whether to forward queries from your VPCs to your network (outbound queries), from your network to your VPCs (inbound queries), or both.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionassociateFirewallRuleGroup
(Consumer<AssociateFirewallRuleGroupRequest.Builder> associateFirewallRuleGroupRequest) Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.associateFirewallRuleGroup
(AssociateFirewallRuleGroupRequest associateFirewallRuleGroupRequest) Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.associateResolverEndpointIpAddress
(Consumer<AssociateResolverEndpointIpAddressRequest.Builder> associateResolverEndpointIpAddressRequest) Adds IP addresses to an inbound or an outbound Resolver endpoint.associateResolverEndpointIpAddress
(AssociateResolverEndpointIpAddressRequest associateResolverEndpointIpAddressRequest) Adds IP addresses to an inbound or an outbound Resolver endpoint.associateResolverQueryLogConfig
(Consumer<AssociateResolverQueryLogConfigRequest.Builder> associateResolverQueryLogConfigRequest) Associates an Amazon VPC with a specified query logging configuration.associateResolverQueryLogConfig
(AssociateResolverQueryLogConfigRequest associateResolverQueryLogConfigRequest) Associates an Amazon VPC with a specified query logging configuration.associateResolverRule
(Consumer<AssociateResolverRuleRequest.Builder> associateResolverRuleRequest) Associates a Resolver rule with a VPC.associateResolverRule
(AssociateResolverRuleRequest associateResolverRuleRequest) Associates a Resolver rule with a VPC.builder()
Create a builder that can be used to configure and create aRoute53ResolverAsyncClient
.static Route53ResolverAsyncClient
create()
Create aRoute53ResolverAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createFirewallDomainList
(Consumer<CreateFirewallDomainListRequest.Builder> createFirewallDomainListRequest) Creates an empty firewall domain list for use in DNS Firewall rules.createFirewallDomainList
(CreateFirewallDomainListRequest createFirewallDomainListRequest) Creates an empty firewall domain list for use in DNS Firewall rules.createFirewallRule
(Consumer<CreateFirewallRuleRequest.Builder> createFirewallRuleRequest) Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.createFirewallRule
(CreateFirewallRuleRequest createFirewallRuleRequest) Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.createFirewallRuleGroup
(Consumer<CreateFirewallRuleGroupRequest.Builder> createFirewallRuleGroupRequest) Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC.createFirewallRuleGroup
(CreateFirewallRuleGroupRequest createFirewallRuleGroupRequest) Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC.createOutpostResolver
(Consumer<CreateOutpostResolverRequest.Builder> createOutpostResolverRequest) Creates a Route 53 Resolver on an Outpost.createOutpostResolver
(CreateOutpostResolverRequest createOutpostResolverRequest) Creates a Route 53 Resolver on an Outpost.createResolverEndpoint
(Consumer<CreateResolverEndpointRequest.Builder> createResolverEndpointRequest) Creates a Resolver endpoint.createResolverEndpoint
(CreateResolverEndpointRequest createResolverEndpointRequest) Creates a Resolver endpoint.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.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.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.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.deleteFirewallDomainList
(Consumer<DeleteFirewallDomainListRequest.Builder> deleteFirewallDomainListRequest) Deletes the specified domain list.deleteFirewallDomainList
(DeleteFirewallDomainListRequest deleteFirewallDomainListRequest) Deletes the specified domain list.deleteFirewallRule
(Consumer<DeleteFirewallRuleRequest.Builder> deleteFirewallRuleRequest) Deletes the specified firewall rule.deleteFirewallRule
(DeleteFirewallRuleRequest deleteFirewallRuleRequest) Deletes the specified firewall rule.deleteFirewallRuleGroup
(Consumer<DeleteFirewallRuleGroupRequest.Builder> deleteFirewallRuleGroupRequest) Deletes the specified firewall rule group.deleteFirewallRuleGroup
(DeleteFirewallRuleGroupRequest deleteFirewallRuleGroupRequest) Deletes the specified firewall rule group.deleteOutpostResolver
(Consumer<DeleteOutpostResolverRequest.Builder> deleteOutpostResolverRequest) Deletes a Resolver on the Outpost.deleteOutpostResolver
(DeleteOutpostResolverRequest deleteOutpostResolverRequest) Deletes a Resolver on the Outpost.deleteResolverEndpoint
(Consumer<DeleteResolverEndpointRequest.Builder> deleteResolverEndpointRequest) Deletes a Resolver endpoint.deleteResolverEndpoint
(DeleteResolverEndpointRequest deleteResolverEndpointRequest) Deletes a Resolver endpoint.deleteResolverQueryLogConfig
(Consumer<DeleteResolverQueryLogConfigRequest.Builder> deleteResolverQueryLogConfigRequest) Deletes a query logging configuration.deleteResolverQueryLogConfig
(DeleteResolverQueryLogConfigRequest deleteResolverQueryLogConfigRequest) Deletes a query logging configuration.deleteResolverRule
(Consumer<DeleteResolverRuleRequest.Builder> deleteResolverRuleRequest) Deletes a Resolver rule.deleteResolverRule
(DeleteResolverRuleRequest deleteResolverRuleRequest) Deletes a Resolver rule.disassociateFirewallRuleGroup
(Consumer<DisassociateFirewallRuleGroupRequest.Builder> disassociateFirewallRuleGroupRequest) Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.disassociateFirewallRuleGroup
(DisassociateFirewallRuleGroupRequest disassociateFirewallRuleGroupRequest) Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.disassociateResolverEndpointIpAddress
(Consumer<DisassociateResolverEndpointIpAddressRequest.Builder> disassociateResolverEndpointIpAddressRequest) Removes IP addresses from an inbound or an outbound Resolver endpoint.disassociateResolverEndpointIpAddress
(DisassociateResolverEndpointIpAddressRequest disassociateResolverEndpointIpAddressRequest) Removes IP addresses from an inbound or an outbound Resolver endpoint.disassociateResolverQueryLogConfig
(Consumer<DisassociateResolverQueryLogConfigRequest.Builder> disassociateResolverQueryLogConfigRequest) Disassociates a VPC from a query logging configuration.disassociateResolverQueryLogConfig
(DisassociateResolverQueryLogConfigRequest disassociateResolverQueryLogConfigRequest) Disassociates a VPC from a query logging configuration.disassociateResolverRule
(Consumer<DisassociateResolverRuleRequest.Builder> disassociateResolverRuleRequest) Removes the association between a specified Resolver rule and a specified VPC.disassociateResolverRule
(DisassociateResolverRuleRequest disassociateResolverRuleRequest) Removes the association between a specified Resolver rule and a specified VPC.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).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).getFirewallDomainList
(Consumer<GetFirewallDomainListRequest.Builder> getFirewallDomainListRequest) Retrieves the specified firewall domain list.getFirewallDomainList
(GetFirewallDomainListRequest getFirewallDomainListRequest) Retrieves the specified firewall domain list.getFirewallRuleGroup
(Consumer<GetFirewallRuleGroupRequest.Builder> getFirewallRuleGroupRequest) Retrieves the specified firewall rule group.getFirewallRuleGroup
(GetFirewallRuleGroupRequest getFirewallRuleGroupRequest) Retrieves the specified firewall rule group.getFirewallRuleGroupAssociation
(Consumer<GetFirewallRuleGroupAssociationRequest.Builder> getFirewallRuleGroupAssociationRequest) Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group.getFirewallRuleGroupAssociation
(GetFirewallRuleGroupAssociationRequest getFirewallRuleGroupAssociationRequest) Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group.getFirewallRuleGroupPolicy
(Consumer<GetFirewallRuleGroupPolicyRequest.Builder> getFirewallRuleGroupPolicyRequest) Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group.getFirewallRuleGroupPolicy
(GetFirewallRuleGroupPolicyRequest getFirewallRuleGroupPolicyRequest) Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group.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.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.getResolverConfig
(Consumer<GetResolverConfigRequest.Builder> getResolverConfigRequest) Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.getResolverConfig
(GetResolverConfigRequest getResolverConfigRequest) Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.getResolverDnssecConfig
(Consumer<GetResolverDnssecConfigRequest.Builder> getResolverDnssecConfigRequest) Gets DNSSEC validation information for a specified resource.getResolverDnssecConfig
(GetResolverDnssecConfigRequest getResolverDnssecConfigRequest) Gets DNSSEC validation information for a specified resource.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.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.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.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.getResolverQueryLogConfigAssociation
(Consumer<GetResolverQueryLogConfigAssociationRequest.Builder> getResolverQueryLogConfigAssociationRequest) Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC.getResolverQueryLogConfigAssociation
(GetResolverQueryLogConfigAssociationRequest getResolverQueryLogConfigAssociationRequest) Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC.getResolverQueryLogConfigPolicy
(Consumer<GetResolverQueryLogConfigPolicyRequest.Builder> getResolverQueryLogConfigPolicyRequest) Gets information about a query logging policy.getResolverQueryLogConfigPolicy
(GetResolverQueryLogConfigPolicyRequest getResolverQueryLogConfigPolicyRequest) Gets information about a query logging policy.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.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.getResolverRuleAssociation
(Consumer<GetResolverRuleAssociationRequest.Builder> getResolverRuleAssociationRequest) Gets information about an association between a specified Resolver rule and a VPC.getResolverRuleAssociation
(GetResolverRuleAssociationRequest getResolverRuleAssociationRequest) Gets information about an association between a specified Resolver rule and a VPC.getResolverRulePolicy
(Consumer<GetResolverRulePolicyRequest.Builder> getResolverRulePolicyRequest) Gets information about the Resolver rule policy for a specified rule.getResolverRulePolicy
(GetResolverRulePolicyRequest getResolverRulePolicyRequest) Gets information about the Resolver rule policy for a specified rule.importFirewallDomains
(Consumer<ImportFirewallDomainsRequest.Builder> importFirewallDomainsRequest) Imports domain names from a file into a domain list, for use in a DNS firewall rule group.importFirewallDomains
(ImportFirewallDomainsRequest importFirewallDomainsRequest) Imports domain names from a file into a domain list, for use in a DNS firewall rule group.listFirewallConfigs
(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest) Retrieves the firewall configurations that you have defined.listFirewallConfigs
(ListFirewallConfigsRequest listFirewallConfigsRequest) Retrieves the firewall configurations that you have defined.default ListFirewallConfigsPublisher
listFirewallConfigsPaginator
(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest) This is a variant oflistFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest)
operation.default ListFirewallConfigsPublisher
listFirewallConfigsPaginator
(ListFirewallConfigsRequest listFirewallConfigsRequest) This is a variant oflistFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest)
operation.listFirewallDomainLists
(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) Retrieves the firewall domain lists that you have defined.listFirewallDomainLists
(ListFirewallDomainListsRequest listFirewallDomainListsRequest) Retrieves the firewall domain lists that you have defined.default ListFirewallDomainListsPublisher
listFirewallDomainListsPaginator
(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) This is a variant oflistFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest)
operation.default ListFirewallDomainListsPublisher
listFirewallDomainListsPaginator
(ListFirewallDomainListsRequest listFirewallDomainListsRequest) This is a variant oflistFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest)
operation.listFirewallDomains
(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) Retrieves the domains that you have defined for the specified firewall domain list.listFirewallDomains
(ListFirewallDomainsRequest listFirewallDomainsRequest) Retrieves the domains that you have defined for the specified firewall domain list.default ListFirewallDomainsPublisher
listFirewallDomainsPaginator
(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) This is a variant oflistFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest)
operation.default ListFirewallDomainsPublisher
listFirewallDomainsPaginator
(ListFirewallDomainsRequest listFirewallDomainsRequest) This is a variant oflistFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest)
operation.listFirewallRuleGroupAssociations
(Consumer<ListFirewallRuleGroupAssociationsRequest.Builder> listFirewallRuleGroupAssociationsRequest) Retrieves the firewall rule group associations that you have defined.listFirewallRuleGroupAssociations
(ListFirewallRuleGroupAssociationsRequest listFirewallRuleGroupAssociationsRequest) Retrieves the firewall rule group associations that you have defined.listFirewallRuleGroupAssociationsPaginator
(Consumer<ListFirewallRuleGroupAssociationsRequest.Builder> listFirewallRuleGroupAssociationsRequest) listFirewallRuleGroupAssociationsPaginator
(ListFirewallRuleGroupAssociationsRequest listFirewallRuleGroupAssociationsRequest) listFirewallRuleGroups
(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest) Retrieves the minimal high-level information for the rule groups that you have defined.listFirewallRuleGroups
(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest) Retrieves the minimal high-level information for the rule groups that you have defined.default ListFirewallRuleGroupsPublisher
listFirewallRuleGroupsPaginator
(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest) This is a variant oflistFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest)
operation.default ListFirewallRuleGroupsPublisher
listFirewallRuleGroupsPaginator
(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest) This is a variant oflistFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest)
operation.listFirewallRules
(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) Retrieves the firewall rules that you have defined for the specified firewall rule group.listFirewallRules
(ListFirewallRulesRequest listFirewallRulesRequest) Retrieves the firewall rules that you have defined for the specified firewall rule group.default ListFirewallRulesPublisher
listFirewallRulesPaginator
(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) This is a variant oflistFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest)
operation.default ListFirewallRulesPublisher
listFirewallRulesPaginator
(ListFirewallRulesRequest listFirewallRulesRequest) This is a variant oflistFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest)
operation.listOutpostResolvers
(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest) Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.listOutpostResolvers
(ListOutpostResolversRequest listOutpostResolversRequest) Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.default ListOutpostResolversPublisher
listOutpostResolversPaginator
(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest) This is a variant oflistOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest)
operation.default ListOutpostResolversPublisher
listOutpostResolversPaginator
(ListOutpostResolversRequest listOutpostResolversRequest) This is a variant oflistOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest)
operation.listResolverConfigs
(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest) Retrieves the Resolver configurations that you have defined.listResolverConfigs
(ListResolverConfigsRequest listResolverConfigsRequest) Retrieves the Resolver configurations that you have defined.default ListResolverConfigsPublisher
listResolverConfigsPaginator
(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest) This is a variant oflistResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest)
operation.default ListResolverConfigsPublisher
listResolverConfigsPaginator
(ListResolverConfigsRequest listResolverConfigsRequest) This is a variant oflistResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest)
operation.listResolverDnssecConfigs
(Consumer<ListResolverDnssecConfigsRequest.Builder> listResolverDnssecConfigsRequest) Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.listResolverDnssecConfigs
(ListResolverDnssecConfigsRequest listResolverDnssecConfigsRequest) Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.listResolverDnssecConfigsPaginator
(Consumer<ListResolverDnssecConfigsRequest.Builder> listResolverDnssecConfigsRequest) This is a variant oflistResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest)
operation.listResolverDnssecConfigsPaginator
(ListResolverDnssecConfigsRequest listResolverDnssecConfigsRequest) This is a variant oflistResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest)
operation.listResolverEndpointIpAddresses
(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest) Gets the IP addresses for a specified Resolver endpoint.listResolverEndpointIpAddresses
(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest) Gets the IP addresses for a specified Resolver endpoint.listResolverEndpointIpAddressesPaginator
(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest) This is a variant oflistResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest)
operation.listResolverEndpointIpAddressesPaginator
(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest) This is a variant oflistResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest)
operation.Lists all the Resolver endpoints that were created using the current Amazon Web Services account.listResolverEndpoints
(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest) Lists all the Resolver endpoints that were created using the current Amazon Web Services account.listResolverEndpoints
(ListResolverEndpointsRequest listResolverEndpointsRequest) Lists all the Resolver endpoints that were created using the current Amazon Web Services account.default ListResolverEndpointsPublisher
This is a variant oflistResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation.default ListResolverEndpointsPublisher
listResolverEndpointsPaginator
(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest) This is a variant oflistResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation.default ListResolverEndpointsPublisher
listResolverEndpointsPaginator
(ListResolverEndpointsRequest listResolverEndpointsRequest) This is a variant oflistResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation.listResolverQueryLogConfigAssociations
(Consumer<ListResolverQueryLogConfigAssociationsRequest.Builder> listResolverQueryLogConfigAssociationsRequest) Lists information about associations between Amazon VPCs and query logging configurations.listResolverQueryLogConfigAssociations
(ListResolverQueryLogConfigAssociationsRequest listResolverQueryLogConfigAssociationsRequest) Lists information about associations between Amazon VPCs and query logging configurations.listResolverQueryLogConfigAssociationsPaginator
(Consumer<ListResolverQueryLogConfigAssociationsRequest.Builder> listResolverQueryLogConfigAssociationsRequest) listResolverQueryLogConfigAssociationsPaginator
(ListResolverQueryLogConfigAssociationsRequest listResolverQueryLogConfigAssociationsRequest) listResolverQueryLogConfigs
(Consumer<ListResolverQueryLogConfigsRequest.Builder> listResolverQueryLogConfigsRequest) Lists information about the specified query logging configurations.listResolverQueryLogConfigs
(ListResolverQueryLogConfigsRequest listResolverQueryLogConfigsRequest) Lists information about the specified query logging configurations.listResolverQueryLogConfigsPaginator
(Consumer<ListResolverQueryLogConfigsRequest.Builder> listResolverQueryLogConfigsRequest) This is a variant oflistResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest)
operation.listResolverQueryLogConfigsPaginator
(ListResolverQueryLogConfigsRequest listResolverQueryLogConfigsRequest) This is a variant oflistResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest)
operation.Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.listResolverRuleAssociations
(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest) Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.listResolverRuleAssociations
(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest) Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.This is a variant oflistResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation.listResolverRuleAssociationsPaginator
(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest) This is a variant oflistResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation.listResolverRuleAssociationsPaginator
(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest) This is a variant oflistResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation.Lists the Resolver rules that were created using the current Amazon Web Services account.listResolverRules
(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest) Lists the Resolver rules that were created using the current Amazon Web Services account.listResolverRules
(ListResolverRulesRequest listResolverRulesRequest) Lists the Resolver rules that were created using the current Amazon Web Services account.default ListResolverRulesPublisher
This is a variant oflistResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation.default ListResolverRulesPublisher
listResolverRulesPaginator
(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest) This is a variant oflistResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation.default ListResolverRulesPublisher
listResolverRulesPaginator
(ListResolverRulesRequest listResolverRulesRequest) This is a variant oflistResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags that you associated with the specified resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags that you associated with the specified resource.default ListTagsForResourcePublisher
listTagsForResourcePaginator
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This is a variant oflistTagsForResource(software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceRequest)
operation.default ListTagsForResourcePublisher
listTagsForResourcePaginator
(ListTagsForResourceRequest listTagsForResourceRequest) This is a variant oflistTagsForResource(software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceRequest)
operation.putFirewallRuleGroupPolicy
(Consumer<PutFirewallRuleGroupPolicyRequest.Builder> putFirewallRuleGroupPolicyRequest) Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group.putFirewallRuleGroupPolicy
(PutFirewallRuleGroupPolicyRequest putFirewallRuleGroupPolicyRequest) Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group.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.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.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.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.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to a specified resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds one or more tags to a specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags from a specified resource.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).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).updateFirewallDomains
(Consumer<UpdateFirewallDomainsRequest.Builder> updateFirewallDomainsRequest) Updates the firewall domain list from an array of domain specifications.updateFirewallDomains
(UpdateFirewallDomainsRequest updateFirewallDomainsRequest) Updates the firewall domain list from an array of domain specifications.updateFirewallRule
(Consumer<UpdateFirewallRuleRequest.Builder> updateFirewallRuleRequest) Updates the specified firewall rule.updateFirewallRule
(UpdateFirewallRuleRequest updateFirewallRuleRequest) Updates the specified firewall rule.updateFirewallRuleGroupAssociation
(Consumer<UpdateFirewallRuleGroupAssociationRequest.Builder> updateFirewallRuleGroupAssociationRequest) Changes the association of a FirewallRuleGroup with a VPC.updateFirewallRuleGroupAssociation
(UpdateFirewallRuleGroupAssociationRequest updateFirewallRuleGroupAssociationRequest) Changes the association of a FirewallRuleGroup with a VPC.updateOutpostResolver
(Consumer<UpdateOutpostResolverRequest.Builder> updateOutpostResolverRequest) You can useUpdateOutpostResolver
to update the instance count, type, or name of a Resolver on an Outpost.updateOutpostResolver
(UpdateOutpostResolverRequest updateOutpostResolverRequest) You can useUpdateOutpostResolver
to update the instance count, type, or name of a Resolver on an Outpost.updateResolverConfig
(Consumer<UpdateResolverConfigRequest.Builder> updateResolverConfigRequest) Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.updateResolverConfig
(UpdateResolverConfigRequest updateResolverConfigRequest) Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.updateResolverDnssecConfig
(Consumer<UpdateResolverDnssecConfigRequest.Builder> updateResolverDnssecConfigRequest) Updates an existing DNSSEC validation configuration.updateResolverDnssecConfig
(UpdateResolverDnssecConfigRequest updateResolverDnssecConfigRequest) Updates an existing DNSSEC validation configuration.updateResolverEndpoint
(Consumer<UpdateResolverEndpointRequest.Builder> updateResolverEndpointRequest) Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint.updateResolverEndpoint
(UpdateResolverEndpointRequest updateResolverEndpointRequest) Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint.updateResolverRule
(Consumer<UpdateResolverRuleRequest.Builder> updateResolverRuleRequest) Updates settings for a specified Resolver rule.updateResolverRule
(UpdateResolverRuleRequest updateResolverRuleRequest) Updates settings for a specified Resolver rule.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateFirewallRuleGroup
default CompletableFuture<AssociateFirewallRuleGroupResponse> associateFirewallRuleGroup(AssociateFirewallRuleGroupRequest associateFirewallRuleGroupRequest) Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
- Parameters:
associateFirewallRuleGroupRequest
-- Returns:
- A Java Future containing the result of the AssociateFirewallRuleGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - LimitExceededException The request caused one or more limits to be exceeded.
- ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateFirewallRuleGroup
default CompletableFuture<AssociateFirewallRuleGroupResponse> associateFirewallRuleGroup(Consumer<AssociateFirewallRuleGroupRequest.Builder> associateFirewallRuleGroupRequest) Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
This is a convenience which creates an instance of the
AssociateFirewallRuleGroupRequest.Builder
avoiding the need to create one manually viaAssociateFirewallRuleGroupRequest.builder()
- Parameters:
associateFirewallRuleGroupRequest
- AConsumer
that will call methods onAssociateFirewallRuleGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateFirewallRuleGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - LimitExceededException The request caused one or more limits to be exceeded.
- ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateResolverEndpointIpAddress
default CompletableFuture<AssociateResolverEndpointIpAddressResponse> associateResolverEndpointIpAddress(AssociateResolverEndpointIpAddressRequest associateResolverEndpointIpAddressRequest) Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address, submit one
AssociateResolverEndpointIpAddress
request for each IP address.To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
- Parameters:
associateResolverEndpointIpAddressRequest
-- Returns:
- A Java Future containing the result of the AssociateResolverEndpointIpAddress operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
associateResolverEndpointIpAddress
default CompletableFuture<AssociateResolverEndpointIpAddressResponse> associateResolverEndpointIpAddress(Consumer<AssociateResolverEndpointIpAddressRequest.Builder> associateResolverEndpointIpAddressRequest) Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address, submit one
AssociateResolverEndpointIpAddress
request for each IP address.To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
This is a convenience which creates an instance of the
AssociateResolverEndpointIpAddressRequest.Builder
avoiding the need to create one manually viaAssociateResolverEndpointIpAddressRequest.builder()
- Parameters:
associateResolverEndpointIpAddressRequest
- AConsumer
that will call methods onAssociateResolverEndpointIpAddressRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateResolverEndpointIpAddress operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
associateResolverQueryLogConfig
default CompletableFuture<AssociateResolverQueryLogConfigResponse> associateResolverQueryLogConfig(AssociateResolverQueryLogConfigRequest associateResolverQueryLogConfigRequest) Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one
AssociateResolverQueryLogConfig
request for each VPC.The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.
To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.
- Parameters:
associateResolverQueryLogConfigRequest
-- Returns:
- A Java Future containing the result of the AssociateResolverQueryLogConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
associateResolverQueryLogConfig
default CompletableFuture<AssociateResolverQueryLogConfigResponse> associateResolverQueryLogConfig(Consumer<AssociateResolverQueryLogConfigRequest.Builder> associateResolverQueryLogConfigRequest) Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one
AssociateResolverQueryLogConfig
request for each VPC.The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.
To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.
This is a convenience which creates an instance of the
AssociateResolverQueryLogConfigRequest.Builder
avoiding the need to create one manually viaAssociateResolverQueryLogConfigRequest.builder()
- Parameters:
associateResolverQueryLogConfigRequest
- AConsumer
that will call methods onAssociateResolverQueryLogConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateResolverQueryLogConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
associateResolverRule
default CompletableFuture<AssociateResolverRuleResponse> associateResolverRule(Consumer<AssociateResolverRuleRequest.Builder> associateResolverRuleRequest) Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.
This is a convenience which creates an instance of the
AssociateResolverRuleRequest.Builder
avoiding the need to create one manually viaAssociateResolverRuleRequest.builder()
- Parameters:
associateResolverRuleRequest
- AConsumer
that will call methods onAssociateResolverRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateResolverRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFirewallDomainList
default CompletableFuture<CreateFirewallDomainListResponse> createFirewallDomainList(Consumer<CreateFirewallDomainListRequest.Builder> createFirewallDomainListRequest) Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.
This is a convenience which creates an instance of the
CreateFirewallDomainListRequest.Builder
avoiding the need to create one manually viaCreateFirewallDomainListRequest.builder()
- Parameters:
createFirewallDomainListRequest
- AConsumer
that will call methods onCreateFirewallDomainListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFirewallRule
default CompletableFuture<CreateFirewallRuleResponse> createFirewallRule(CreateFirewallRuleRequest createFirewallRuleRequest) Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.
- Parameters:
createFirewallRuleRequest
-- Returns:
- A Java Future containing the result of the CreateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - LimitExceededException The request caused one or more limits to be exceeded.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFirewallRule
default CompletableFuture<CreateFirewallRuleResponse> createFirewallRule(Consumer<CreateFirewallRuleRequest.Builder> createFirewallRuleRequest) Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.
This is a convenience which creates an instance of the
CreateFirewallRuleRequest.Builder
avoiding the need to create one manually viaCreateFirewallRuleRequest.builder()
- Parameters:
createFirewallRuleRequest
- AConsumer
that will call methods onCreateFirewallRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - LimitExceededException The request caused one or more limits to be exceeded.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFirewallRuleGroup
default CompletableFuture<CreateFirewallRuleGroupResponse> createFirewallRuleGroup(CreateFirewallRuleGroupRequest createFirewallRuleGroupRequest) Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule.
- Parameters:
createFirewallRuleGroupRequest
-- Returns:
- A Java Future containing the result of the CreateFirewallRuleGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFirewallRuleGroup
default CompletableFuture<CreateFirewallRuleGroupResponse> createFirewallRuleGroup(Consumer<CreateFirewallRuleGroupRequest.Builder> createFirewallRuleGroupRequest) Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule.
This is a convenience which creates an instance of the
CreateFirewallRuleGroupRequest.Builder
avoiding the need to create one manually viaCreateFirewallRuleGroupRequest.builder()
- Parameters:
createFirewallRuleGroupRequest
- AConsumer
that will call methods onCreateFirewallRuleGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateFirewallRuleGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOutpostResolver
default CompletableFuture<CreateOutpostResolverResponse> createOutpostResolver(CreateOutpostResolverRequest createOutpostResolverRequest) Creates a Route 53 Resolver on an Outpost.
- Parameters:
createOutpostResolverRequest
-- Returns:
- A Java Future containing the result of the CreateOutpostResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
createOutpostResolver
default CompletableFuture<CreateOutpostResolverResponse> createOutpostResolver(Consumer<CreateOutpostResolverRequest.Builder> createOutpostResolverRequest) Creates a Route 53 Resolver on an Outpost.
This is a convenience which creates an instance of the
CreateOutpostResolverRequest.Builder
avoiding the need to create one manually viaCreateOutpostResolverRequest.builder()
- Parameters:
createOutpostResolverRequest
- AConsumer
that will call methods onCreateOutpostResolverRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateOutpostResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
createResolverEndpoint
default CompletableFuture<CreateResolverEndpointResponse> createResolverEndpoint(CreateResolverEndpointRequest createResolverEndpointRequest) Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:
-
An inbound Resolver endpoint forwards DNS queries to the DNS service for a VPC from your network.
-
An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.
- Parameters:
createResolverEndpointRequest
-- Returns:
- A Java Future containing the result of the CreateResolverEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
-
createResolverEndpoint
default CompletableFuture<CreateResolverEndpointResponse> createResolverEndpoint(Consumer<CreateResolverEndpointRequest.Builder> createResolverEndpointRequest) Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:
-
An inbound Resolver endpoint forwards DNS queries to the DNS service for a VPC from your network.
-
An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.
This is a convenience which creates an instance of the
CreateResolverEndpointRequest.Builder
avoiding the need to create one manually viaCreateResolverEndpointRequest.builder()
- Parameters:
createResolverEndpointRequest
- AConsumer
that will call methods onCreateResolverEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResolverEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
-
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:
-
createResolverQueryLogConfig
default CompletableFuture<CreateResolverQueryLogConfigResponse> createResolverQueryLogConfig(Consumer<CreateResolverQueryLogConfigRequest.Builder> createResolverQueryLogConfigRequest) Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration.
To specify which VPCs you want to log queries for, you use
AssociateResolverQueryLogConfig
. For more information, see AssociateResolverQueryLogConfig.You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration.
This is a convenience which creates an instance of the
CreateResolverQueryLogConfigRequest.Builder
avoiding the need to create one manually viaCreateResolverQueryLogConfigRequest.builder()
- Parameters:
createResolverQueryLogConfigRequest
- AConsumer
that will call methods onCreateResolverQueryLogConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResolverQueryLogConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
createResolverRule
default CompletableFuture<CreateResolverRuleResponse> createResolverRule(Consumer<CreateResolverRuleRequest.Builder> createResolverRuleRequest) For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.
This is a convenience which creates an instance of the
CreateResolverRuleRequest.Builder
avoiding the need to create one manually viaCreateResolverRuleRequest.builder()
- Parameters:
createResolverRuleRequest
- AConsumer
that will call methods onCreateResolverRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResolverRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
deleteFirewallDomainList
default CompletableFuture<DeleteFirewallDomainListResponse> deleteFirewallDomainList(Consumer<DeleteFirewallDomainListRequest.Builder> deleteFirewallDomainListRequest) Deletes the specified domain list.
This is a convenience which creates an instance of the
DeleteFirewallDomainListRequest.Builder
avoiding the need to create one manually viaDeleteFirewallDomainListRequest.builder()
- Parameters:
deleteFirewallDomainListRequest
- AConsumer
that will call methods onDeleteFirewallDomainListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFirewallRule
default CompletableFuture<DeleteFirewallRuleResponse> deleteFirewallRule(Consumer<DeleteFirewallRuleRequest.Builder> deleteFirewallRuleRequest) Deletes the specified firewall rule.
This is a convenience which creates an instance of the
DeleteFirewallRuleRequest.Builder
avoiding the need to create one manually viaDeleteFirewallRuleRequest.builder()
- Parameters:
deleteFirewallRuleRequest
- AConsumer
that will call methods onDeleteFirewallRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFirewallRuleGroup
default CompletableFuture<DeleteFirewallRuleGroupResponse> deleteFirewallRuleGroup(Consumer<DeleteFirewallRuleGroupRequest.Builder> deleteFirewallRuleGroupRequest) Deletes the specified firewall rule group.
This is a convenience which creates an instance of the
DeleteFirewallRuleGroupRequest.Builder
avoiding the need to create one manually viaDeleteFirewallRuleGroupRequest.builder()
- Parameters:
deleteFirewallRuleGroupRequest
- AConsumer
that will call methods onDeleteFirewallRuleGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteFirewallRuleGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteOutpostResolver
default CompletableFuture<DeleteOutpostResolverResponse> deleteOutpostResolver(DeleteOutpostResolverRequest deleteOutpostResolverRequest) Deletes a Resolver on the Outpost.
- Parameters:
deleteOutpostResolverRequest
-- Returns:
- A Java Future containing the result of the DeleteOutpostResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
deleteOutpostResolver
default CompletableFuture<DeleteOutpostResolverResponse> deleteOutpostResolver(Consumer<DeleteOutpostResolverRequest.Builder> deleteOutpostResolverRequest) Deletes a Resolver on the Outpost.
This is a convenience which creates an instance of the
DeleteOutpostResolverRequest.Builder
avoiding the need to create one manually viaDeleteOutpostResolverRequest.builder()
- Parameters:
deleteOutpostResolverRequest
- AConsumer
that will call methods onDeleteOutpostResolverRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteOutpostResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
deleteResolverEndpoint
default CompletableFuture<DeleteResolverEndpointResponse> deleteResolverEndpoint(DeleteResolverEndpointRequest deleteResolverEndpointRequest) Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends on whether it's an inbound or an outbound Resolver endpoint:
-
Inbound: DNS queries from your network are no longer routed to the DNS service for the specified VPC.
-
Outbound: DNS queries from a VPC are no longer routed to your network.
- Parameters:
deleteResolverEndpointRequest
-- Returns:
- A Java Future containing the result of the DeleteResolverEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
-
deleteResolverEndpoint
default CompletableFuture<DeleteResolverEndpointResponse> deleteResolverEndpoint(Consumer<DeleteResolverEndpointRequest.Builder> deleteResolverEndpointRequest) Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends on whether it's an inbound or an outbound Resolver endpoint:
-
Inbound: DNS queries from your network are no longer routed to the DNS service for the specified VPC.
-
Outbound: DNS queries from a VPC are no longer routed to your network.
This is a convenience which creates an instance of the
DeleteResolverEndpointRequest.Builder
avoiding the need to create one manually viaDeleteResolverEndpointRequest.builder()
- Parameters:
deleteResolverEndpointRequest
- AConsumer
that will call methods onDeleteResolverEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResolverEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
-
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:
-
deleteResolverQueryLogConfig
default CompletableFuture<DeleteResolverQueryLogConfigResponse> deleteResolverQueryLogConfig(Consumer<DeleteResolverQueryLogConfigRequest.Builder> deleteResolverQueryLogConfigRequest) Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration.
Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig.
If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.
This is a convenience which creates an instance of the
DeleteResolverQueryLogConfigRequest.Builder
avoiding the need to create one manually viaDeleteResolverQueryLogConfigRequest.builder()
- Parameters:
deleteResolverQueryLogConfigRequest
- AConsumer
that will call methods onDeleteResolverQueryLogConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResolverQueryLogConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
deleteResolverRule
default CompletableFuture<DeleteResolverRuleResponse> deleteResolverRule(Consumer<DeleteResolverRuleRequest.Builder> deleteResolverRuleRequest) Deletes a Resolver rule. Before you can delete a Resolver rule, you must disassociate it from all the VPCs that you associated the Resolver rule with. For more information, see DisassociateResolverRule.
This is a convenience which creates an instance of the
DeleteResolverRuleRequest.Builder
avoiding the need to create one manually viaDeleteResolverRuleRequest.builder()
- Parameters:
deleteResolverRuleRequest
- AConsumer
that will call methods onDeleteResolverRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResolverRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateFirewallRuleGroup
default CompletableFuture<DisassociateFirewallRuleGroupResponse> disassociateFirewallRuleGroup(Consumer<DisassociateFirewallRuleGroupRequest.Builder> disassociateFirewallRuleGroupRequest) Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.
This is a convenience which creates an instance of the
DisassociateFirewallRuleGroupRequest.Builder
avoiding the need to create one manually viaDisassociateFirewallRuleGroupRequest.builder()
- Parameters:
disassociateFirewallRuleGroupRequest
- AConsumer
that will call methods onDisassociateFirewallRuleGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateFirewallRuleGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateResolverEndpointIpAddress
default CompletableFuture<DisassociateResolverEndpointIpAddressResponse> disassociateResolverEndpointIpAddress(DisassociateResolverEndpointIpAddressRequest disassociateResolverEndpointIpAddressRequest) Removes IP addresses from an inbound or an outbound Resolver endpoint. If you want to remove more than one IP address, submit one
DisassociateResolverEndpointIpAddress
request for each IP address.To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.
- Parameters:
disassociateResolverEndpointIpAddressRequest
-- Returns:
- A Java Future containing the result of the DisassociateResolverEndpointIpAddress operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
disassociateResolverEndpointIpAddress
default CompletableFuture<DisassociateResolverEndpointIpAddressResponse> disassociateResolverEndpointIpAddress(Consumer<DisassociateResolverEndpointIpAddressRequest.Builder> disassociateResolverEndpointIpAddressRequest) Removes IP addresses from an inbound or an outbound Resolver endpoint. If you want to remove more than one IP address, submit one
DisassociateResolverEndpointIpAddress
request for each IP address.To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.
This is a convenience which creates an instance of the
DisassociateResolverEndpointIpAddressRequest.Builder
avoiding the need to create one manually viaDisassociateResolverEndpointIpAddressRequest.builder()
- Parameters:
disassociateResolverEndpointIpAddressRequest
- AConsumer
that will call methods onDisassociateResolverEndpointIpAddressRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateResolverEndpointIpAddress operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
-
disassociateResolverQueryLogConfig
default CompletableFuture<DisassociateResolverQueryLogConfigResponse> disassociateResolverQueryLogConfig(Consumer<DisassociateResolverQueryLogConfigRequest.Builder> disassociateResolverQueryLogConfigRequest) Disassociates a VPC from a query logging configuration.
Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways:
-
The accounts that you shared the configuration with can disassociate VPCs from the configuration.
-
You can stop sharing the configuration.
This is a convenience which creates an instance of the
DisassociateResolverQueryLogConfigRequest.Builder
avoiding the need to create one manually viaDisassociateResolverQueryLogConfigRequest.builder()
- Parameters:
disassociateResolverQueryLogConfigRequest
- AConsumer
that will call methods onDisassociateResolverQueryLogConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateResolverQueryLogConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
-
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:
-
disassociateResolverRule
default CompletableFuture<DisassociateResolverRuleResponse> disassociateResolverRule(Consumer<DisassociateResolverRuleRequest.Builder> disassociateResolverRuleRequest) Removes the association between a specified Resolver rule and a specified VPC.
If you disassociate a Resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the Resolver rule.
This is a convenience which creates an instance of the
DisassociateResolverRuleRequest.Builder
avoiding the need to create one manually viaDisassociateResolverRuleRequest.builder()
- Parameters:
disassociateResolverRuleRequest
- AConsumer
that will call methods onDisassociateResolverRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateResolverRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFirewallConfig
default CompletableFuture<GetFirewallConfigResponse> getFirewallConfig(Consumer<GetFirewallConfigRequest.Builder> getFirewallConfigRequest) Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
This is a convenience which creates an instance of the
GetFirewallConfigRequest.Builder
avoiding the need to create one manually viaGetFirewallConfigRequest.builder()
- Parameters:
getFirewallConfigRequest
- AConsumer
that will call methods onGetFirewallConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFirewallConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFirewallDomainList
default CompletableFuture<GetFirewallDomainListResponse> getFirewallDomainList(GetFirewallDomainListRequest getFirewallDomainListRequest) Retrieves the specified firewall domain list.
- Parameters:
getFirewallDomainListRequest
-- Returns:
- A Java Future containing the result of the GetFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
getFirewallDomainList
default CompletableFuture<GetFirewallDomainListResponse> getFirewallDomainList(Consumer<GetFirewallDomainListRequest.Builder> getFirewallDomainListRequest) Retrieves the specified firewall domain list.
This is a convenience which creates an instance of the
GetFirewallDomainListRequest.Builder
avoiding the need to create one manually viaGetFirewallDomainListRequest.builder()
- Parameters:
getFirewallDomainListRequest
- AConsumer
that will call methods onGetFirewallDomainListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
getFirewallRuleGroup
default CompletableFuture<GetFirewallRuleGroupResponse> getFirewallRuleGroup(Consumer<GetFirewallRuleGroupRequest.Builder> getFirewallRuleGroupRequest) Retrieves the specified firewall rule group.
This is a convenience which creates an instance of the
GetFirewallRuleGroupRequest.Builder
avoiding the need to create one manually viaGetFirewallRuleGroupRequest.builder()
- Parameters:
getFirewallRuleGroupRequest
- AConsumer
that will call methods onGetFirewallRuleGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFirewallRuleGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
getFirewallRuleGroupAssociation
default CompletableFuture<GetFirewallRuleGroupAssociationResponse> getFirewallRuleGroupAssociation(Consumer<GetFirewallRuleGroupAssociationRequest.Builder> getFirewallRuleGroupAssociationRequest) Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC.
This is a convenience which creates an instance of the
GetFirewallRuleGroupAssociationRequest.Builder
avoiding the need to create one manually viaGetFirewallRuleGroupAssociationRequest.builder()
- Parameters:
getFirewallRuleGroupAssociationRequest
- AConsumer
that will call methods onGetFirewallRuleGroupAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFirewallRuleGroupAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ResourceNotFoundException The specified resource doesn't exist.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
getFirewallRuleGroupPolicy
default CompletableFuture<GetFirewallRuleGroupPolicyResponse> getFirewallRuleGroupPolicy(Consumer<GetFirewallRuleGroupPolicyRequest.Builder> getFirewallRuleGroupPolicyRequest) Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
This is a convenience which creates an instance of the
GetFirewallRuleGroupPolicyRequest.Builder
avoiding the need to create one manually viaGetFirewallRuleGroupPolicyRequest.builder()
- Parameters:
getFirewallRuleGroupPolicyRequest
- AConsumer
that will call methods onGetFirewallRuleGroupPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFirewallRuleGroupPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ResourceNotFoundException The specified resource doesn't exist.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
getOutpostResolver
default CompletableFuture<GetOutpostResolverResponse> getOutpostResolver(GetOutpostResolverRequest getOutpostResolverRequest) Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.
- Parameters:
getOutpostResolverRequest
-- Returns:
- A Java Future containing the result of the GetOutpostResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
getOutpostResolver
default CompletableFuture<GetOutpostResolverResponse> getOutpostResolver(Consumer<GetOutpostResolverRequest.Builder> getOutpostResolverRequest) Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.
This is a convenience which creates an instance of the
GetOutpostResolverRequest.Builder
avoiding the need to create one manually viaGetOutpostResolverRequest.builder()
- Parameters:
getOutpostResolverRequest
- AConsumer
that will call methods onGetOutpostResolverRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetOutpostResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
getResolverConfig
default CompletableFuture<GetResolverConfigResponse> getResolverConfig(GetResolverConfigRequest getResolverConfigRequest) Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
- Parameters:
getResolverConfigRequest
-- Returns:
- A Java Future containing the result of the GetResolverConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResolverConfig
default CompletableFuture<GetResolverConfigResponse> getResolverConfig(Consumer<GetResolverConfigRequest.Builder> getResolverConfigRequest) Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
This is a convenience which creates an instance of the
GetResolverConfigRequest.Builder
avoiding the need to create one manually viaGetResolverConfigRequest.builder()
- Parameters:
getResolverConfigRequest
- AConsumer
that will call methods onGetResolverConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResolverConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResolverDnssecConfig
default CompletableFuture<GetResolverDnssecConfigResponse> getResolverDnssecConfig(GetResolverDnssecConfigRequest getResolverDnssecConfigRequest) Gets DNSSEC validation information for a specified resource.
- Parameters:
getResolverDnssecConfigRequest
-- Returns:
- A Java Future containing the result of the GetResolverDnssecConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
getResolverDnssecConfig
default CompletableFuture<GetResolverDnssecConfigResponse> getResolverDnssecConfig(Consumer<GetResolverDnssecConfigRequest.Builder> getResolverDnssecConfigRequest) Gets DNSSEC validation information for a specified resource.
This is a convenience which creates an instance of the
GetResolverDnssecConfigRequest.Builder
avoiding the need to create one manually viaGetResolverDnssecConfigRequest.builder()
- Parameters:
getResolverDnssecConfigRequest
- AConsumer
that will call methods onGetResolverDnssecConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResolverDnssecConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
getResolverEndpoint
default CompletableFuture<GetResolverEndpointResponse> getResolverEndpoint(Consumer<GetResolverEndpointRequest.Builder> getResolverEndpointRequest) Gets information about a specified Resolver endpoint, such as whether it's an inbound or an outbound Resolver endpoint, and the current status of the endpoint.
This is a convenience which creates an instance of the
GetResolverEndpointRequest.Builder
avoiding the need to create one manually viaGetResolverEndpointRequest.builder()
- Parameters:
getResolverEndpointRequest
- AConsumer
that will call methods onGetResolverEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResolverEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
getResolverQueryLogConfig
default CompletableFuture<GetResolverQueryLogConfigResponse> getResolverQueryLogConfig(Consumer<GetResolverQueryLogConfigRequest.Builder> getResolverQueryLogConfigRequest) Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to.
This is a convenience which creates an instance of the
GetResolverQueryLogConfigRequest.Builder
avoiding the need to create one manually viaGetResolverQueryLogConfigRequest.builder()
- Parameters:
getResolverQueryLogConfigRequest
- AConsumer
that will call methods onGetResolverQueryLogConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResolverQueryLogConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
getResolverQueryLogConfigAssociation
default CompletableFuture<GetResolverQueryLogConfigAssociationResponse> getResolverQueryLogConfigAssociation(Consumer<GetResolverQueryLogConfigAssociationRequest.Builder> getResolverQueryLogConfigAssociationRequest) Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC. When you associate a VPC with a query logging configuration, Resolver logs DNS queries that originate in that VPC.
This is a convenience which creates an instance of the
GetResolverQueryLogConfigAssociationRequest.Builder
avoiding the need to create one manually viaGetResolverQueryLogConfigAssociationRequest.builder()
- Parameters:
getResolverQueryLogConfigAssociationRequest
- AConsumer
that will call methods onGetResolverQueryLogConfigAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResolverQueryLogConfigAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
getResolverQueryLogConfigPolicy
default CompletableFuture<GetResolverQueryLogConfigPolicyResponse> getResolverQueryLogConfigPolicy(Consumer<GetResolverQueryLogConfigPolicyRequest.Builder> getResolverQueryLogConfigPolicyRequest) Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.
This is a convenience which creates an instance of the
GetResolverQueryLogConfigPolicyRequest.Builder
avoiding the need to create one manually viaGetResolverQueryLogConfigPolicyRequest.builder()
- Parameters:
getResolverQueryLogConfigPolicyRequest
- AConsumer
that will call methods onGetResolverQueryLogConfigPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResolverQueryLogConfigPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
getResolverRule
default CompletableFuture<GetResolverRuleResponse> getResolverRule(Consumer<GetResolverRuleRequest.Builder> getResolverRuleRequest) Gets information about a specified Resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound Resolver endpoint that the rule is associated with.
This is a convenience which creates an instance of the
GetResolverRuleRequest.Builder
avoiding the need to create one manually viaGetResolverRuleRequest.builder()
- Parameters:
getResolverRuleRequest
- AConsumer
that will call methods onGetResolverRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResolverRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
getResolverRuleAssociation
default CompletableFuture<GetResolverRuleAssociationResponse> getResolverRuleAssociation(Consumer<GetResolverRuleAssociationRequest.Builder> getResolverRuleAssociationRequest) Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule.
This is a convenience which creates an instance of the
GetResolverRuleAssociationRequest.Builder
avoiding the need to create one manually viaGetResolverRuleAssociationRequest.builder()
- Parameters:
getResolverRuleAssociationRequest
- AConsumer
that will call methods onGetResolverRuleAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResolverRuleAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
getResolverRulePolicy
default CompletableFuture<GetResolverRulePolicyResponse> getResolverRulePolicy(Consumer<GetResolverRulePolicyRequest.Builder> getResolverRulePolicyRequest) Gets information about the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use.
This is a convenience which creates an instance of the
GetResolverRulePolicyRequest.Builder
avoiding the need to create one manually viaGetResolverRulePolicyRequest.builder()
- Parameters:
getResolverRulePolicyRequest
- AConsumer
that will call methods onGetResolverRulePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResolverRulePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ResourceNotFoundException The specified resource doesn't exist.
- LimitExceededException The request caused one or more limits to be exceeded.
- ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
-
importFirewallDomains
default CompletableFuture<ImportFirewallDomainsResponse> importFirewallDomains(Consumer<ImportFirewallDomainsRequest.Builder> importFirewallDomainsRequest) Imports domain names from a file into a domain list, for use in a DNS firewall rule group.
Each domain specification in your domain list must satisfy the following requirements:
-
It can optionally start with
*
(asterisk). -
With the exception of the optional starting asterisk, it must only contain the following characters:
A-Z
,a-z
,0-9
,-
(hyphen). -
It must be from 1-255 characters in length.
This is a convenience which creates an instance of the
ImportFirewallDomainsRequest.Builder
avoiding the need to create one manually viaImportFirewallDomainsRequest.builder()
- Parameters:
importFirewallDomainsRequest
- AConsumer
that will call methods onImportFirewallDomainsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ImportFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ResourceNotFoundException The specified resource doesn't exist.
- LimitExceededException The request caused one or more limits to be exceeded.
- ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
-
listFirewallConfigs
default CompletableFuture<ListFirewallConfigsResponse> listFirewallConfigs(ListFirewallConfigsRequest listFirewallConfigsRequest) Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs.
A single call might return only a partial list of the configurations. For information, see
MaxResults
.- Parameters:
listFirewallConfigsRequest
-- Returns:
- A Java Future containing the result of the ListFirewallConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallConfigs
default CompletableFuture<ListFirewallConfigsResponse> listFirewallConfigs(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest) Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs.
A single call might return only a partial list of the configurations. For information, see
MaxResults
.
This is a convenience which creates an instance of the
ListFirewallConfigsRequest.Builder
avoiding the need to create one manually viaListFirewallConfigsRequest.builder()
- Parameters:
listFirewallConfigsRequest
- AConsumer
that will call methods onListFirewallConfigsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListFirewallConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallConfigsPaginator
default ListFirewallConfigsPublisher listFirewallConfigsPaginator(ListFirewallConfigsRequest listFirewallConfigsRequest) This is a variant of
listFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsPublisher publisher = client.listFirewallConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallConfigsPaginator
default ListFirewallConfigsPublisher listFirewallConfigsPaginator(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest) This is a variant of
listFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsPublisher publisher = client.listFirewallConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListFirewallConfigsRequest.builder()
- Parameters:
listFirewallConfigsRequest
- AConsumer
that will call methods onListFirewallConfigsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallDomainLists
default CompletableFuture<ListFirewallDomainListsResponse> listFirewallDomainLists(ListFirewallDomainListsRequest listFirewallDomainListsRequest) Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains.
A single call to this list operation might return only a partial list of the domain lists. For information, see
MaxResults
.- Parameters:
listFirewallDomainListsRequest
-- Returns:
- A Java Future containing the result of the ListFirewallDomainLists operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallDomainLists
default CompletableFuture<ListFirewallDomainListsResponse> listFirewallDomainLists(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains.
A single call to this list operation might return only a partial list of the domain lists. For information, see
MaxResults
.
This is a convenience which creates an instance of the
ListFirewallDomainListsRequest.Builder
avoiding the need to create one manually viaListFirewallDomainListsRequest.builder()
- Parameters:
listFirewallDomainListsRequest
- AConsumer
that will call methods onListFirewallDomainListsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListFirewallDomainLists operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallDomainListsPaginator
default ListFirewallDomainListsPublisher listFirewallDomainListsPaginator(ListFirewallDomainListsRequest listFirewallDomainListsRequest) This is a variant of
listFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallDomainListsPaginator
default ListFirewallDomainListsPublisher listFirewallDomainListsPaginator(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) This is a variant of
listFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListFirewallDomainListsRequest.builder()
- Parameters:
listFirewallDomainListsRequest
- AConsumer
that will call methods onListFirewallDomainListsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallDomains
default CompletableFuture<ListFirewallDomainsResponse> listFirewallDomains(ListFirewallDomainsRequest listFirewallDomainsRequest) Retrieves the domains that you have defined for the specified firewall domain list.
A single call might return only a partial list of the domains. For information, see
MaxResults
.- Parameters:
listFirewallDomainsRequest
-- Returns:
- A Java Future containing the result of the ListFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomains
default CompletableFuture<ListFirewallDomainsResponse> listFirewallDomains(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) Retrieves the domains that you have defined for the specified firewall domain list.
A single call might return only a partial list of the domains. For information, see
MaxResults
.
This is a convenience which creates an instance of the
ListFirewallDomainsRequest.Builder
avoiding the need to create one manually viaListFirewallDomainsRequest.builder()
- Parameters:
listFirewallDomainsRequest
- AConsumer
that will call methods onListFirewallDomainsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomainsPaginator
default ListFirewallDomainsPublisher listFirewallDomainsPaginator(ListFirewallDomainsRequest listFirewallDomainsRequest) This is a variant of
listFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomainsPaginator
default ListFirewallDomainsPublisher listFirewallDomainsPaginator(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) This is a variant of
listFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListFirewallDomainsRequest.builder()
- Parameters:
listFirewallDomainsRequest
- AConsumer
that will call methods onListFirewallDomainsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallRuleGroupAssociations
default CompletableFuture<ListFirewallRuleGroupAssociationsResponse> listFirewallRuleGroupAssociations(ListFirewallRuleGroupAssociationsRequest listFirewallRuleGroupAssociationsRequest) Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group.
A single call might return only a partial list of the associations. For information, see
MaxResults
.- Parameters:
listFirewallRuleGroupAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListFirewallRuleGroupAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallRuleGroupAssociations
default CompletableFuture<ListFirewallRuleGroupAssociationsResponse> listFirewallRuleGroupAssociations(Consumer<ListFirewallRuleGroupAssociationsRequest.Builder> listFirewallRuleGroupAssociationsRequest) Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group.
A single call might return only a partial list of the associations. For information, see
MaxResults
.
This is a convenience which creates an instance of the
ListFirewallRuleGroupAssociationsRequest.Builder
avoiding the need to create one manually viaListFirewallRuleGroupAssociationsRequest.builder()
- Parameters:
listFirewallRuleGroupAssociationsRequest
- AConsumer
that will call methods onListFirewallRuleGroupAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListFirewallRuleGroupAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallRuleGroupAssociationsPaginator
default ListFirewallRuleGroupAssociationsPublisher listFirewallRuleGroupAssociationsPaginator(ListFirewallRuleGroupAssociationsRequest listFirewallRuleGroupAssociationsRequest) This is a variant of
listFirewallRuleGroupAssociations(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsPublisher publisher = client.listFirewallRuleGroupAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallRuleGroupAssociationsPaginator
default ListFirewallRuleGroupAssociationsPublisher listFirewallRuleGroupAssociationsPaginator(Consumer<ListFirewallRuleGroupAssociationsRequest.Builder> listFirewallRuleGroupAssociationsRequest) This is a variant of
listFirewallRuleGroupAssociations(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsPublisher publisher = client.listFirewallRuleGroupAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListFirewallRuleGroupAssociationsRequest.builder()
- Parameters:
listFirewallRuleGroupAssociationsRequest
- AConsumer
that will call methods onListFirewallRuleGroupAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallRuleGroups
default CompletableFuture<ListFirewallRuleGroupsResponse> listFirewallRuleGroups(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest) Retrieves the minimal high-level information for the rule groups that you have defined.
A single call might return only a partial list of the rule groups. For information, see
MaxResults
.- Parameters:
listFirewallRuleGroupsRequest
-- Returns:
- A Java Future containing the result of the ListFirewallRuleGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallRuleGroups
default CompletableFuture<ListFirewallRuleGroupsResponse> listFirewallRuleGroups(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest) Retrieves the minimal high-level information for the rule groups that you have defined.
A single call might return only a partial list of the rule groups. For information, see
MaxResults
.
This is a convenience which creates an instance of the
ListFirewallRuleGroupsRequest.Builder
avoiding the need to create one manually viaListFirewallRuleGroupsRequest.builder()
- Parameters:
listFirewallRuleGroupsRequest
- AConsumer
that will call methods onListFirewallRuleGroupsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListFirewallRuleGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallRuleGroupsPaginator
default ListFirewallRuleGroupsPublisher listFirewallRuleGroupsPaginator(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest) This is a variant of
listFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsPublisher publisher = client.listFirewallRuleGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallRuleGroupsPaginator
default ListFirewallRuleGroupsPublisher listFirewallRuleGroupsPaginator(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest) This is a variant of
listFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsPublisher publisher = client.listFirewallRuleGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListFirewallRuleGroupsRequest.builder()
- Parameters:
listFirewallRuleGroupsRequest
- AConsumer
that will call methods onListFirewallRuleGroupsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
listFirewallRules
default CompletableFuture<ListFirewallRulesResponse> listFirewallRules(ListFirewallRulesRequest listFirewallRulesRequest) Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC.
A single call might return only a partial list of the rules. For information, see
MaxResults
.- Parameters:
listFirewallRulesRequest
-- Returns:
- A Java Future containing the result of the ListFirewallRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallRules
default CompletableFuture<ListFirewallRulesResponse> listFirewallRules(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC.
A single call might return only a partial list of the rules. For information, see
MaxResults
.
This is a convenience which creates an instance of the
ListFirewallRulesRequest.Builder
avoiding the need to create one manually viaListFirewallRulesRequest.builder()
- Parameters:
listFirewallRulesRequest
- AConsumer
that will call methods onListFirewallRulesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListFirewallRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallRulesPaginator
default ListFirewallRulesPublisher listFirewallRulesPaginator(ListFirewallRulesRequest listFirewallRulesRequest) This is a variant of
listFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallRulesPaginator
default ListFirewallRulesPublisher listFirewallRulesPaginator(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) This is a variant of
listFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListFirewallRulesRequest.builder()
- Parameters:
listFirewallRulesRequest
- AConsumer
that will call methods onListFirewallRulesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOutpostResolvers
default CompletableFuture<ListOutpostResolversResponse> listOutpostResolvers(ListOutpostResolversRequest listOutpostResolversRequest) Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.
- Parameters:
listOutpostResolversRequest
-- Returns:
- A Java Future containing the result of the ListOutpostResolvers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
listOutpostResolvers
default CompletableFuture<ListOutpostResolversResponse> listOutpostResolvers(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest) Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.
This is a convenience which creates an instance of the
ListOutpostResolversRequest.Builder
avoiding the need to create one manually viaListOutpostResolversRequest.builder()
- Parameters:
listOutpostResolversRequest
- AConsumer
that will call methods onListOutpostResolversRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListOutpostResolvers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
listOutpostResolversPaginator
default ListOutpostResolversPublisher listOutpostResolversPaginator(ListOutpostResolversRequest listOutpostResolversRequest) This is a variant of
listOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversPublisher publisher = client.listOutpostResolversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
listOutpostResolversPaginator
default ListOutpostResolversPublisher listOutpostResolversPaginator(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest) This is a variant of
listOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversPublisher publisher = client.listOutpostResolversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListOutpostResolversRequest.builder()
- Parameters:
listOutpostResolversRequest
- AConsumer
that will call methods onListOutpostResolversRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
listResolverConfigs
default CompletableFuture<ListResolverConfigsResponse> listResolverConfigs(ListResolverConfigsRequest listResolverConfigsRequest) Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
- Parameters:
listResolverConfigsRequest
-- Returns:
- A Java Future containing the result of the ListResolverConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverConfigs
default CompletableFuture<ListResolverConfigsResponse> listResolverConfigs(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest) Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
This is a convenience which creates an instance of the
ListResolverConfigsRequest.Builder
avoiding the need to create one manually viaListResolverConfigsRequest.builder()
- Parameters:
listResolverConfigsRequest
- AConsumer
that will call methods onListResolverConfigsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResolverConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverConfigsPaginator
default ListResolverConfigsPublisher listResolverConfigsPaginator(ListResolverConfigsRequest listResolverConfigsRequest) This is a variant of
listResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsPublisher publisher = client.listResolverConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverConfigsPaginator
default ListResolverConfigsPublisher listResolverConfigsPaginator(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest) This is a variant of
listResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsPublisher publisher = client.listResolverConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListResolverConfigsRequest.builder()
- Parameters:
listResolverConfigsRequest
- AConsumer
that will call methods onListResolverConfigsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverDnssecConfigs
default CompletableFuture<ListResolverDnssecConfigsResponse> listResolverDnssecConfigs(ListResolverDnssecConfigsRequest listResolverDnssecConfigsRequest) Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.
- Parameters:
listResolverDnssecConfigsRequest
-- Returns:
- A Java Future containing the result of the ListResolverDnssecConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidParameterException One or more parameters in this request are not valid.
- InvalidRequestException The request is invalid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverDnssecConfigs
default CompletableFuture<ListResolverDnssecConfigsResponse> listResolverDnssecConfigs(Consumer<ListResolverDnssecConfigsRequest.Builder> listResolverDnssecConfigsRequest) Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.
This is a convenience which creates an instance of the
ListResolverDnssecConfigsRequest.Builder
avoiding the need to create one manually viaListResolverDnssecConfigsRequest.builder()
- Parameters:
listResolverDnssecConfigsRequest
- AConsumer
that will call methods onListResolverDnssecConfigsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResolverDnssecConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidParameterException One or more parameters in this request are not valid.
- InvalidRequestException The request is invalid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverDnssecConfigsPaginator
default ListResolverDnssecConfigsPublisher listResolverDnssecConfigsPaginator(ListResolverDnssecConfigsRequest listResolverDnssecConfigsRequest) This is a variant of
listResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsPublisher publisher = client.listResolverDnssecConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidParameterException One or more parameters in this request are not valid.
- InvalidRequestException The request is invalid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverDnssecConfigsPaginator
default ListResolverDnssecConfigsPublisher listResolverDnssecConfigsPaginator(Consumer<ListResolverDnssecConfigsRequest.Builder> listResolverDnssecConfigsRequest) This is a variant of
listResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsPublisher publisher = client.listResolverDnssecConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListResolverDnssecConfigsRequest.builder()
- Parameters:
listResolverDnssecConfigsRequest
- AConsumer
that will call methods onListResolverDnssecConfigsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidParameterException One or more parameters in this request are not valid.
- InvalidRequestException The request is invalid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverEndpointIpAddresses
default CompletableFuture<ListResolverEndpointIpAddressesResponse> listResolverEndpointIpAddresses(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest) Gets the IP addresses for a specified Resolver endpoint.
- Parameters:
listResolverEndpointIpAddressesRequest
-- Returns:
- A Java Future containing the result of the ListResolverEndpointIpAddresses operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
NextToken
in aList
request isn't valid. - ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResolverEndpointIpAddresses
default CompletableFuture<ListResolverEndpointIpAddressesResponse> listResolverEndpointIpAddresses(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest) Gets the IP addresses for a specified Resolver endpoint.
This is a convenience which creates an instance of the
ListResolverEndpointIpAddressesRequest.Builder
avoiding the need to create one manually viaListResolverEndpointIpAddressesRequest.builder()
- Parameters:
listResolverEndpointIpAddressesRequest
- AConsumer
that will call methods onListResolverEndpointIpAddressesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResolverEndpointIpAddresses operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
NextToken
in aList
request isn't valid. - ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResolverEndpointIpAddressesPaginator
default ListResolverEndpointIpAddressesPublisher listResolverEndpointIpAddressesPaginator(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest) This is a variant of
listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesPublisher publisher = client.listResolverEndpointIpAddressesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResolverEndpointIpAddressesPaginator
default ListResolverEndpointIpAddressesPublisher listResolverEndpointIpAddressesPaginator(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest) This is a variant of
listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesPublisher publisher = client.listResolverEndpointIpAddressesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListResolverEndpointIpAddressesRequest.builder()
- Parameters:
listResolverEndpointIpAddressesRequest
- AConsumer
that will call methods onListResolverEndpointIpAddressesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
NextToken
in aList
request isn't valid. - ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResolverEndpoints
default CompletableFuture<ListResolverEndpointsResponse> listResolverEndpoints(ListResolverEndpointsRequest listResolverEndpointsRequest) Lists all the Resolver endpoints that were created using the current Amazon Web Services account.
- Parameters:
listResolverEndpointsRequest
-- Returns:
- A Java Future containing the result of the ListResolverEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverEndpoints
default CompletableFuture<ListResolverEndpointsResponse> listResolverEndpoints(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest) Lists all the Resolver endpoints that were created using the current Amazon Web Services account.
This is a convenience which creates an instance of the
ListResolverEndpointsRequest.Builder
avoiding the need to create one manually viaListResolverEndpointsRequest.builder()
- Parameters:
listResolverEndpointsRequest
- AConsumer
that will call methods onListResolverEndpointsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResolverEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverEndpointsPaginator
default ListResolverEndpointsPublisher listResolverEndpointsPaginator(ListResolverEndpointsRequest listResolverEndpointsRequest) This is a variant of
listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverEndpointsPaginator
default ListResolverEndpointsPublisher listResolverEndpointsPaginator(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest) This is a variant of
listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsPublisher publisher = client.listResolverEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListResolverEndpointsRequest.builder()
- Parameters:
listResolverEndpointsRequest
- AConsumer
that will call methods onListResolverEndpointsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverQueryLogConfigAssociations
default CompletableFuture<ListResolverQueryLogConfigAssociationsResponse> listResolverQueryLogConfigAssociations(ListResolverQueryLogConfigAssociationsRequest listResolverQueryLogConfigAssociationsRequest) Lists information about associations between Amazon VPCs and query logging configurations.
- Parameters:
listResolverQueryLogConfigAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListResolverQueryLogConfigAssociations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
listResolverQueryLogConfigAssociations
default CompletableFuture<ListResolverQueryLogConfigAssociationsResponse> listResolverQueryLogConfigAssociations(Consumer<ListResolverQueryLogConfigAssociationsRequest.Builder> listResolverQueryLogConfigAssociationsRequest) Lists information about associations between Amazon VPCs and query logging configurations.
This is a convenience which creates an instance of the
ListResolverQueryLogConfigAssociationsRequest.Builder
avoiding the need to create one manually viaListResolverQueryLogConfigAssociationsRequest.builder()
- Parameters:
listResolverQueryLogConfigAssociationsRequest
- AConsumer
that will call methods onListResolverQueryLogConfigAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResolverQueryLogConfigAssociations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsPublisher publisher = client.listResolverQueryLogConfigAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsPublisher publisher = client.listResolverQueryLogConfigAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListResolverQueryLogConfigAssociationsRequest.builder()
- Parameters:
listResolverQueryLogConfigAssociationsRequest
- AConsumer
that will call methods onListResolverQueryLogConfigAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverQueryLogConfigs
default CompletableFuture<ListResolverQueryLogConfigsResponse> listResolverQueryLogConfigs(Consumer<ListResolverQueryLogConfigsRequest.Builder> listResolverQueryLogConfigsRequest) Lists information about the specified query logging configurations. Each configuration defines where you want Resolver to save DNS query logs and specifies the VPCs that you want to log queries for.
This is a convenience which creates an instance of the
ListResolverQueryLogConfigsRequest.Builder
avoiding the need to create one manually viaListResolverQueryLogConfigsRequest.builder()
- Parameters:
listResolverQueryLogConfigsRequest
- AConsumer
that will call methods onListResolverQueryLogConfigsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResolverQueryLogConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverQueryLogConfigsPaginator
default ListResolverQueryLogConfigsPublisher listResolverQueryLogConfigsPaginator(ListResolverQueryLogConfigsRequest listResolverQueryLogConfigsRequest) This is a variant of
listResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsPublisher publisher = client.listResolverQueryLogConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverQueryLogConfigsPaginator
default ListResolverQueryLogConfigsPublisher listResolverQueryLogConfigsPaginator(Consumer<ListResolverQueryLogConfigsRequest.Builder> listResolverQueryLogConfigsRequest) This is a variant of
listResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsPublisher publisher = client.listResolverQueryLogConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListResolverQueryLogConfigsRequest.builder()
- Parameters:
listResolverQueryLogConfigsRequest
- AConsumer
that will call methods onListResolverQueryLogConfigsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverRuleAssociations
default CompletableFuture<ListResolverRuleAssociationsResponse> listResolverRuleAssociations(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest) Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
- Parameters:
listResolverRuleAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListResolverRuleAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverRuleAssociations
default CompletableFuture<ListResolverRuleAssociationsResponse> listResolverRuleAssociations(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest) Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
This is a convenience which creates an instance of the
ListResolverRuleAssociationsRequest.Builder
avoiding the need to create one manually viaListResolverRuleAssociationsRequest.builder()
- Parameters:
listResolverRuleAssociationsRequest
- AConsumer
that will call methods onListResolverRuleAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResolverRuleAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverRuleAssociationsPaginator
default ListResolverRuleAssociationsPublisher listResolverRuleAssociationsPaginator(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest) This is a variant of
listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverRuleAssociationsPaginator
default ListResolverRuleAssociationsPublisher listResolverRuleAssociationsPaginator(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest) This is a variant of
listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsPublisher publisher = client.listResolverRuleAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListResolverRuleAssociationsRequest.builder()
- Parameters:
listResolverRuleAssociationsRequest
- AConsumer
that will call methods onListResolverRuleAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverRules
default CompletableFuture<ListResolverRulesResponse> listResolverRules(ListResolverRulesRequest listResolverRulesRequest) Lists the Resolver rules that were created using the current Amazon Web Services account.
- Parameters:
listResolverRulesRequest
-- Returns:
- A Java Future containing the result of the ListResolverRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverRules
default CompletableFuture<ListResolverRulesResponse> listResolverRules(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest) Lists the Resolver rules that were created using the current Amazon Web Services account.
This is a convenience which creates an instance of the
ListResolverRulesRequest.Builder
avoiding the need to create one manually viaListResolverRulesRequest.builder()
- Parameters:
listResolverRulesRequest
- AConsumer
that will call methods onListResolverRulesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResolverRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverRulesPaginator
default ListResolverRulesPublisher listResolverRulesPaginator(ListResolverRulesRequest listResolverRulesRequest) This is a variant of
listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listResolverRulesPaginator
default ListResolverRulesPublisher listResolverRulesPaginator(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest) This is a variant of
listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesPublisher publisher = client.listResolverRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListResolverRulesRequest.builder()
- Parameters:
listResolverRulesRequest
- AConsumer
that will call methods onListResolverRulesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidNextTokenException The value that you specified for
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InvalidParameterException One or more parameters in this request are not valid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- InvalidNextTokenException The value that you specified for
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags that you associated with the specified resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags that you associated with the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResourcePaginator
default ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) This is a variant of
listTagsForResource(software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResourcePaginator
default ListTagsForResourcePublisher listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This is a variant of
listTagsForResource(software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
NextToken
in aList
request isn't valid. - InvalidRequestException The request is invalid.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putFirewallRuleGroupPolicy
default CompletableFuture<PutFirewallRuleGroupPolicyResponse> putFirewallRuleGroupPolicy(PutFirewallRuleGroupPolicyRequest putFirewallRuleGroupPolicyRequest) Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
- Parameters:
putFirewallRuleGroupPolicyRequest
-- Returns:
- A Java Future containing the result of the PutFirewallRuleGroupPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ResourceNotFoundException The specified resource doesn't exist.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
putFirewallRuleGroupPolicy
default CompletableFuture<PutFirewallRuleGroupPolicyResponse> putFirewallRuleGroupPolicy(Consumer<PutFirewallRuleGroupPolicyRequest.Builder> putFirewallRuleGroupPolicyRequest) Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
This is a convenience which creates an instance of the
PutFirewallRuleGroupPolicyRequest.Builder
avoiding the need to create one manually viaPutFirewallRuleGroupPolicyRequest.builder()
- Parameters:
putFirewallRuleGroupPolicyRequest
- AConsumer
that will call methods onPutFirewallRuleGroupPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutFirewallRuleGroupPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ResourceNotFoundException The specified resource doesn't exist.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
putResolverQueryLogConfigPolicy
default CompletableFuture<PutResolverQueryLogConfigPolicyResponse> putResolverQueryLogConfigPolicy(PutResolverQueryLogConfigPolicyRequest putResolverQueryLogConfigPolicyRequest) Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.
- Parameters:
putResolverQueryLogConfigPolicyRequest
-- Returns:
- A Java Future containing the result of the PutResolverQueryLogConfigPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
putResolverQueryLogConfigPolicy
default CompletableFuture<PutResolverQueryLogConfigPolicyResponse> putResolverQueryLogConfigPolicy(Consumer<PutResolverQueryLogConfigPolicyRequest.Builder> putResolverQueryLogConfigPolicyRequest) Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.
This is a convenience which creates an instance of the
PutResolverQueryLogConfigPolicyRequest.Builder
avoiding the need to create one manually viaPutResolverQueryLogConfigPolicyRequest.builder()
- Parameters:
putResolverQueryLogConfigPolicyRequest
- AConsumer
that will call methods onPutResolverQueryLogConfigPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutResolverQueryLogConfigPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
putResolverRulePolicy
default CompletableFuture<PutResolverRulePolicyResponse> putResolverRulePolicy(Consumer<PutResolverRulePolicyRequest.Builder> putResolverRulePolicyRequest) Specifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.
This is a convenience which creates an instance of the
PutResolverRulePolicyRequest.Builder
avoiding the need to create one manually viaPutResolverRulePolicyRequest.builder()
- Parameters:
putResolverRulePolicyRequest
- AConsumer
that will call methods onPutResolverRulePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutResolverRulePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
tagResource
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:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to a specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ResourceNotFoundException The specified resource doesn't exist.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
updateFirewallConfig
default CompletableFuture<UpdateFirewallConfigResponse> updateFirewallConfig(Consumer<UpdateFirewallConfigRequest.Builder> updateFirewallConfigRequest) Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
This is a convenience which creates an instance of the
UpdateFirewallConfigRequest.Builder
avoiding the need to create one manually viaUpdateFirewallConfigRequest.builder()
- Parameters:
updateFirewallConfigRequest
- AConsumer
that will call methods onUpdateFirewallConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateFirewallConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ResourceNotFoundException The specified resource doesn't exist.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
updateFirewallDomains
default CompletableFuture<UpdateFirewallDomainsResponse> updateFirewallDomains(UpdateFirewallDomainsRequest updateFirewallDomainsRequest) Updates the firewall domain list from an array of domain specifications.
- Parameters:
updateFirewallDomainsRequest
-- Returns:
- A Java Future containing the result of the UpdateFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ResourceNotFoundException The specified resource doesn't exist.
- LimitExceededException The request caused one or more limits to be exceeded.
- ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
updateFirewallDomains
default CompletableFuture<UpdateFirewallDomainsResponse> updateFirewallDomains(Consumer<UpdateFirewallDomainsRequest.Builder> updateFirewallDomainsRequest) Updates the firewall domain list from an array of domain specifications.
This is a convenience which creates an instance of the
UpdateFirewallDomainsRequest.Builder
avoiding the need to create one manually viaUpdateFirewallDomainsRequest.builder()
- Parameters:
updateFirewallDomainsRequest
- AConsumer
that will call methods onUpdateFirewallDomainsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException You have provided an invalid command. If you ran the
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- ResourceNotFoundException The specified resource doesn't exist.
- LimitExceededException The request caused one or more limits to be exceeded.
- ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ValidationException You have provided an invalid command. If you ran the
- See Also:
-
updateFirewallRule
default CompletableFuture<UpdateFirewallRuleResponse> updateFirewallRule(UpdateFirewallRuleRequest updateFirewallRuleRequest) Updates the specified firewall rule.
- Parameters:
updateFirewallRuleRequest
-- Returns:
- A Java Future containing the result of the UpdateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFirewallRule
default CompletableFuture<UpdateFirewallRuleResponse> updateFirewallRule(Consumer<UpdateFirewallRuleRequest.Builder> updateFirewallRuleRequest) Updates the specified firewall rule.
This is a convenience which creates an instance of the
UpdateFirewallRuleRequest.Builder
avoiding the need to create one manually viaUpdateFirewallRuleRequest.builder()
- Parameters:
updateFirewallRuleRequest
- AConsumer
that will call methods onUpdateFirewallRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFirewallRuleGroupAssociation
default CompletableFuture<UpdateFirewallRuleGroupAssociationResponse> updateFirewallRuleGroupAssociation(UpdateFirewallRuleGroupAssociationRequest updateFirewallRuleGroupAssociationRequest) Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.
- Parameters:
updateFirewallRuleGroupAssociationRequest
-- Returns:
- A Java Future containing the result of the UpdateFirewallRuleGroupAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFirewallRuleGroupAssociation
default CompletableFuture<UpdateFirewallRuleGroupAssociationResponse> updateFirewallRuleGroupAssociation(Consumer<UpdateFirewallRuleGroupAssociationRequest.Builder> updateFirewallRuleGroupAssociationRequest) Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.
This is a convenience which creates an instance of the
UpdateFirewallRuleGroupAssociationRequest.Builder
avoiding the need to create one manually viaUpdateFirewallRuleGroupAssociationRequest.builder()
- Parameters:
updateFirewallRuleGroupAssociationRequest
- AConsumer
that will call methods onUpdateFirewallRuleGroupAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateFirewallRuleGroupAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - ConflictException The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
- InternalServiceErrorException We encountered an unknown error. Try again in a few minutes.
- ThrottlingException The request was throttled. Try again in a few minutes.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateOutpostResolver
default CompletableFuture<UpdateOutpostResolverResponse> updateOutpostResolver(UpdateOutpostResolverRequest updateOutpostResolverRequest) You can use
UpdateOutpostResolver
to update the instance count, type, or name of a Resolver on an Outpost.- Parameters:
updateOutpostResolverRequest
-- Returns:
- A Java Future containing the result of the UpdateOutpostResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
updateOutpostResolver
default CompletableFuture<UpdateOutpostResolverResponse> updateOutpostResolver(Consumer<UpdateOutpostResolverRequest.Builder> updateOutpostResolverRequest) You can use
UpdateOutpostResolver
to update the instance count, type, or name of a Resolver on an Outpost.
This is a convenience which creates an instance of the
UpdateOutpostResolverRequest.Builder
avoiding the need to create one manually viaUpdateOutpostResolverRequest.builder()
- Parameters:
updateOutpostResolverRequest
- AConsumer
that will call methods onUpdateOutpostResolverRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateOutpostResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException The current account doesn't have the IAM permissions required to perform the
specified Resolver operation.
- See Also:
-
updateResolverConfig
default CompletableFuture<UpdateResolverConfigResponse> updateResolverConfig(UpdateResolverConfigRequest updateResolverConfigRequest) Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
- Parameters:
updateResolverConfigRequest
-- Returns:
- A Java Future containing the result of the UpdateResolverConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResolverConfig
default CompletableFuture<UpdateResolverConfigResponse> updateResolverConfig(Consumer<UpdateResolverConfigRequest.Builder> updateResolverConfigRequest) Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
This is a convenience which creates an instance of the
UpdateResolverConfigRequest.Builder
avoiding the need to create one manually viaUpdateResolverConfigRequest.builder()
- Parameters:
updateResolverConfigRequest
- AConsumer
that will call methods onUpdateResolverConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResolverConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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
UpdateFirewallDomains
request. supported values areADD
,REMOVE
, orREPLACE
a domain. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53ResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResolverDnssecConfig
default CompletableFuture<UpdateResolverDnssecConfigResponse> updateResolverDnssecConfig(UpdateResolverDnssecConfigRequest updateResolverDnssecConfigRequest) Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.
- Parameters:
updateResolverDnssecConfigRequest
-- Returns:
- A Java Future containing the result of the UpdateResolverDnssecConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
updateResolverDnssecConfig
default CompletableFuture<UpdateResolverDnssecConfigResponse> updateResolverDnssecConfig(Consumer<UpdateResolverDnssecConfigRequest.Builder> updateResolverDnssecConfigRequest) Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.
This is a convenience which creates an instance of the
UpdateResolverDnssecConfigRequest.Builder
avoiding the need to create one manually viaUpdateResolverDnssecConfigRequest.builder()
- Parameters:
updateResolverDnssecConfigRequest
- AConsumer
that will call methods onUpdateResolverDnssecConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResolverDnssecConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
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:
-
updateResolverEndpoint
default CompletableFuture<UpdateResolverEndpointResponse> updateResolverEndpoint(Consumer<UpdateResolverEndpointRequest.Builder> updateResolverEndpointRequest) Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint. You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated to other type.
This is a convenience which creates an instance of the
UpdateResolverEndpointRequest.Builder
avoiding the need to create one manually viaUpdateResolverEndpointRequest.builder()
- Parameters:
updateResolverEndpointRequest
- AConsumer
that will call methods onUpdateResolverEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResolverEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
updateResolverRule
default CompletableFuture<UpdateResolverRuleResponse> updateResolverRule(UpdateResolverRuleRequest updateResolverRuleRequest) Updates settings for a specified Resolver rule.
ResolverRuleId
is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value.- Parameters:
updateResolverRuleRequest
-- Returns:
- A Java Future containing the result of the UpdateResolverRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
updateResolverRule
default CompletableFuture<UpdateResolverRuleResponse> updateResolverRule(Consumer<UpdateResolverRuleRequest.Builder> updateResolverRuleRequest) Updates settings for a specified Resolver rule.
ResolverRuleId
is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value.
This is a convenience which creates an instance of the
UpdateResolverRuleRequest.Builder
avoiding the need to create one manually viaUpdateResolverRuleRequest.builder()
- Parameters:
updateResolverRuleRequest
- AConsumer
that will call methods onUpdateResolverRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResolverRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to 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:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aRoute53ResolverAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aRoute53ResolverAsyncClient
.
-