Interface Route53ResolverClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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
Modifier 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.default AssociateResolverRuleResponse
associateResolverRule
(Consumer<AssociateResolverRuleRequest.Builder> associateResolverRuleRequest) Associates a Resolver rule with a VPC.default AssociateResolverRuleResponse
associateResolverRule
(AssociateResolverRuleRequest associateResolverRuleRequest) Associates a Resolver rule with a VPC.static Route53ResolverClientBuilder
builder()
Create a builder that can be used to configure and create aRoute53ResolverClient
.static Route53ResolverClient
create()
Create aRoute53ResolverClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateFirewallDomainListResponse
createFirewallDomainList
(Consumer<CreateFirewallDomainListRequest.Builder> createFirewallDomainListRequest) Creates an empty firewall domain list for use in DNS Firewall rules.default CreateFirewallDomainListResponse
createFirewallDomainList
(CreateFirewallDomainListRequest createFirewallDomainListRequest) Creates an empty firewall domain list for use in DNS Firewall rules.default CreateFirewallRuleResponse
createFirewallRule
(Consumer<CreateFirewallRuleRequest.Builder> createFirewallRuleRequest) Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.default CreateFirewallRuleResponse
createFirewallRule
(CreateFirewallRuleRequest createFirewallRuleRequest) Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.default CreateFirewallRuleGroupResponse
createFirewallRuleGroup
(Consumer<CreateFirewallRuleGroupRequest.Builder> createFirewallRuleGroupRequest) Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC.default CreateFirewallRuleGroupResponse
createFirewallRuleGroup
(CreateFirewallRuleGroupRequest createFirewallRuleGroupRequest) Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC.default CreateOutpostResolverResponse
createOutpostResolver
(Consumer<CreateOutpostResolverRequest.Builder> createOutpostResolverRequest) Creates a Route 53 Resolver on an Outpost.default CreateOutpostResolverResponse
createOutpostResolver
(CreateOutpostResolverRequest createOutpostResolverRequest) Creates a Route 53 Resolver on an Outpost.default CreateResolverEndpointResponse
createResolverEndpoint
(Consumer<CreateResolverEndpointRequest.Builder> createResolverEndpointRequest) Creates a Resolver endpoint.default CreateResolverEndpointResponse
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.default 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.default 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.default DeleteFirewallDomainListResponse
deleteFirewallDomainList
(Consumer<DeleteFirewallDomainListRequest.Builder> deleteFirewallDomainListRequest) Deletes the specified domain list.default DeleteFirewallDomainListResponse
deleteFirewallDomainList
(DeleteFirewallDomainListRequest deleteFirewallDomainListRequest) Deletes the specified domain list.default DeleteFirewallRuleResponse
deleteFirewallRule
(Consumer<DeleteFirewallRuleRequest.Builder> deleteFirewallRuleRequest) Deletes the specified firewall rule.default DeleteFirewallRuleResponse
deleteFirewallRule
(DeleteFirewallRuleRequest deleteFirewallRuleRequest) Deletes the specified firewall rule.default DeleteFirewallRuleGroupResponse
deleteFirewallRuleGroup
(Consumer<DeleteFirewallRuleGroupRequest.Builder> deleteFirewallRuleGroupRequest) Deletes the specified firewall rule group.default DeleteFirewallRuleGroupResponse
deleteFirewallRuleGroup
(DeleteFirewallRuleGroupRequest deleteFirewallRuleGroupRequest) Deletes the specified firewall rule group.default DeleteOutpostResolverResponse
deleteOutpostResolver
(Consumer<DeleteOutpostResolverRequest.Builder> deleteOutpostResolverRequest) Deletes a Resolver on the Outpost.default DeleteOutpostResolverResponse
deleteOutpostResolver
(DeleteOutpostResolverRequest deleteOutpostResolverRequest) Deletes a Resolver on the Outpost.default DeleteResolverEndpointResponse
deleteResolverEndpoint
(Consumer<DeleteResolverEndpointRequest.Builder> deleteResolverEndpointRequest) Deletes a Resolver endpoint.default DeleteResolverEndpointResponse
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.default DeleteResolverRuleResponse
deleteResolverRule
(Consumer<DeleteResolverRuleRequest.Builder> deleteResolverRuleRequest) Deletes a Resolver rule.default DeleteResolverRuleResponse
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.default DisassociateResolverRuleResponse
disassociateResolverRule
(Consumer<DisassociateResolverRuleRequest.Builder> disassociateResolverRuleRequest) Removes the association between a specified Resolver rule and a specified VPC.default DisassociateResolverRuleResponse
disassociateResolverRule
(DisassociateResolverRuleRequest disassociateResolverRuleRequest) Removes the association between a specified Resolver rule and a specified VPC.default 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).default 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).default GetFirewallDomainListResponse
getFirewallDomainList
(Consumer<GetFirewallDomainListRequest.Builder> getFirewallDomainListRequest) Retrieves the specified firewall domain list.default GetFirewallDomainListResponse
getFirewallDomainList
(GetFirewallDomainListRequest getFirewallDomainListRequest) Retrieves the specified firewall domain list.default GetFirewallRuleGroupResponse
getFirewallRuleGroup
(Consumer<GetFirewallRuleGroupRequest.Builder> getFirewallRuleGroupRequest) Retrieves the specified firewall rule group.default GetFirewallRuleGroupResponse
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.default 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.default 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.default GetResolverConfigResponse
getResolverConfig
(Consumer<GetResolverConfigRequest.Builder> getResolverConfigRequest) Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.default GetResolverConfigResponse
getResolverConfig
(GetResolverConfigRequest getResolverConfigRequest) Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.default GetResolverDnssecConfigResponse
getResolverDnssecConfig
(Consumer<GetResolverDnssecConfigRequest.Builder> getResolverDnssecConfigRequest) Gets DNSSEC validation information for a specified resource.default GetResolverDnssecConfigResponse
getResolverDnssecConfig
(GetResolverDnssecConfigRequest getResolverDnssecConfigRequest) Gets DNSSEC validation information for a specified resource.default 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.default 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.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 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 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.default GetResolverRulePolicyResponse
getResolverRulePolicy
(Consumer<GetResolverRulePolicyRequest.Builder> getResolverRulePolicyRequest) Gets information about the Resolver rule policy for a specified rule.default GetResolverRulePolicyResponse
getResolverRulePolicy
(GetResolverRulePolicyRequest getResolverRulePolicyRequest) Gets information about the Resolver rule policy for a specified rule.default ImportFirewallDomainsResponse
importFirewallDomains
(Consumer<ImportFirewallDomainsRequest.Builder> importFirewallDomainsRequest) Imports domain names from a file into a domain list, for use in a DNS firewall rule group.default ImportFirewallDomainsResponse
importFirewallDomains
(ImportFirewallDomainsRequest importFirewallDomainsRequest) Imports domain names from a file into a domain list, for use in a DNS firewall rule group.default ListFirewallConfigsResponse
listFirewallConfigs
(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest) Retrieves the firewall configurations that you have defined.default ListFirewallConfigsResponse
listFirewallConfigs
(ListFirewallConfigsRequest listFirewallConfigsRequest) Retrieves the firewall configurations that you have defined.default ListFirewallConfigsIterable
listFirewallConfigsPaginator
(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest) This is a variant oflistFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest)
operation.default ListFirewallConfigsIterable
listFirewallConfigsPaginator
(ListFirewallConfigsRequest listFirewallConfigsRequest) This is a variant oflistFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest)
operation.default ListFirewallDomainListsResponse
listFirewallDomainLists
(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) Retrieves the firewall domain lists that you have defined.default ListFirewallDomainListsResponse
listFirewallDomainLists
(ListFirewallDomainListsRequest listFirewallDomainListsRequest) Retrieves the firewall domain lists that you have defined.default ListFirewallDomainListsIterable
listFirewallDomainListsPaginator
(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) This is a variant oflistFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest)
operation.default ListFirewallDomainListsIterable
listFirewallDomainListsPaginator
(ListFirewallDomainListsRequest listFirewallDomainListsRequest) This is a variant oflistFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest)
operation.default ListFirewallDomainsResponse
listFirewallDomains
(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) Retrieves the domains that you have defined for the specified firewall domain list.default ListFirewallDomainsResponse
listFirewallDomains
(ListFirewallDomainsRequest listFirewallDomainsRequest) Retrieves the domains that you have defined for the specified firewall domain list.default ListFirewallDomainsIterable
listFirewallDomainsPaginator
(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) This is a variant oflistFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest)
operation.default ListFirewallDomainsIterable
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) default ListFirewallRuleGroupsResponse
listFirewallRuleGroups
(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest) Retrieves the minimal high-level information for the rule groups that you have defined.default ListFirewallRuleGroupsResponse
listFirewallRuleGroups
(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest) Retrieves the minimal high-level information for the rule groups that you have defined.default ListFirewallRuleGroupsIterable
listFirewallRuleGroupsPaginator
(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest) This is a variant oflistFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest)
operation.default ListFirewallRuleGroupsIterable
listFirewallRuleGroupsPaginator
(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest) This is a variant oflistFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest)
operation.default ListFirewallRulesResponse
listFirewallRules
(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) Retrieves the firewall rules that you have defined for the specified firewall rule group.default ListFirewallRulesResponse
listFirewallRules
(ListFirewallRulesRequest listFirewallRulesRequest) Retrieves the firewall rules that you have defined for the specified firewall rule group.default ListFirewallRulesIterable
listFirewallRulesPaginator
(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) This is a variant oflistFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest)
operation.default ListFirewallRulesIterable
listFirewallRulesPaginator
(ListFirewallRulesRequest listFirewallRulesRequest) This is a variant oflistFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest)
operation.default ListOutpostResolversResponse
listOutpostResolvers
(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest) Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.default ListOutpostResolversResponse
listOutpostResolvers
(ListOutpostResolversRequest listOutpostResolversRequest) Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.default ListOutpostResolversIterable
listOutpostResolversPaginator
(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest) This is a variant oflistOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest)
operation.default ListOutpostResolversIterable
listOutpostResolversPaginator
(ListOutpostResolversRequest listOutpostResolversRequest) This is a variant oflistOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest)
operation.default ListResolverConfigsResponse
listResolverConfigs
(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest) Retrieves the Resolver configurations that you have defined.default ListResolverConfigsResponse
listResolverConfigs
(ListResolverConfigsRequest listResolverConfigsRequest) Retrieves the Resolver configurations that you have defined.default ListResolverConfigsIterable
listResolverConfigsPaginator
(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest) This is a variant oflistResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest)
operation.default ListResolverConfigsIterable
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.default ListResolverEndpointsResponse
Lists all the Resolver endpoints that were created using the current Amazon Web Services account.default ListResolverEndpointsResponse
listResolverEndpoints
(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest) Lists all the Resolver endpoints that were created using the current Amazon Web Services account.default ListResolverEndpointsResponse
listResolverEndpoints
(ListResolverEndpointsRequest listResolverEndpointsRequest) Lists all the Resolver endpoints that were created using the current Amazon Web Services account.default ListResolverEndpointsIterable
This is a variant oflistResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation.default ListResolverEndpointsIterable
listResolverEndpointsPaginator
(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest) This is a variant oflistResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation.default ListResolverEndpointsIterable
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.default ListResolverRulesResponse
Lists the Resolver rules that were created using the current Amazon Web Services account.default ListResolverRulesResponse
listResolverRules
(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest) Lists the Resolver rules that were created using the current Amazon Web Services account.default ListResolverRulesResponse
listResolverRules
(ListResolverRulesRequest listResolverRulesRequest) Lists the Resolver rules that were created using the current Amazon Web Services account.default ListResolverRulesIterable
This is a variant oflistResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation.default ListResolverRulesIterable
listResolverRulesPaginator
(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest) This is a variant oflistResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation.default ListResolverRulesIterable
listResolverRulesPaginator
(ListResolverRulesRequest listResolverRulesRequest) This is a variant oflistResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags that you associated with the specified resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags that you associated with the specified resource.default ListTagsForResourceIterable
listTagsForResourcePaginator
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This is a variant oflistTagsForResource(software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceRequest)
operation.default ListTagsForResourceIterable
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.default 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.default 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.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to a specified resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds one or more tags to a specified resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a specified resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags from a specified resource.default 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).default 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).default UpdateFirewallDomainsResponse
updateFirewallDomains
(Consumer<UpdateFirewallDomainsRequest.Builder> updateFirewallDomainsRequest) Updates the firewall domain list from an array of domain specifications.default UpdateFirewallDomainsResponse
updateFirewallDomains
(UpdateFirewallDomainsRequest updateFirewallDomainsRequest) Updates the firewall domain list from an array of domain specifications.default UpdateFirewallRuleResponse
updateFirewallRule
(Consumer<UpdateFirewallRuleRequest.Builder> updateFirewallRuleRequest) Updates the specified firewall rule.default UpdateFirewallRuleResponse
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.default UpdateOutpostResolverResponse
updateOutpostResolver
(Consumer<UpdateOutpostResolverRequest.Builder> updateOutpostResolverRequest) You can useUpdateOutpostResolver
to update the instance count, type, or name of a Resolver on an Outpost.default UpdateOutpostResolverResponse
updateOutpostResolver
(UpdateOutpostResolverRequest updateOutpostResolverRequest) You can useUpdateOutpostResolver
to update the instance count, type, or name of a Resolver on an Outpost.default UpdateResolverConfigResponse
updateResolverConfig
(Consumer<UpdateResolverConfigRequest.Builder> updateResolverConfigRequest) Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.default UpdateResolverConfigResponse
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.default UpdateResolverEndpointResponse
updateResolverEndpoint
(Consumer<UpdateResolverEndpointRequest.Builder> updateResolverEndpointRequest) Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint.default UpdateResolverEndpointResponse
updateResolverEndpoint
(UpdateResolverEndpointRequest updateResolverEndpointRequest) Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint.default UpdateResolverRuleResponse
updateResolverRule
(Consumer<UpdateResolverRuleRequest.Builder> updateResolverRuleRequest) Updates settings for a specified Resolver rule.default UpdateResolverRuleResponse
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 AssociateFirewallRuleGroupResponse associateFirewallRuleGroup(AssociateFirewallRuleGroupRequest associateFirewallRuleGroupRequest) throws ResourceNotFoundException, ValidationException, LimitExceededException, ConflictException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
- Parameters:
associateFirewallRuleGroupRequest
-- Returns:
- Result of the AssociateFirewallRuleGroup operation returned by the service.
- See Also:
-
associateFirewallRuleGroup
default AssociateFirewallRuleGroupResponse associateFirewallRuleGroup(Consumer<AssociateFirewallRuleGroupRequest.Builder> associateFirewallRuleGroupRequest) throws ResourceNotFoundException, ValidationException, LimitExceededException, ConflictException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the AssociateFirewallRuleGroup operation returned by the service.
- See Also:
-
associateResolverEndpointIpAddress
default AssociateResolverEndpointIpAddressResponse associateResolverEndpointIpAddress(AssociateResolverEndpointIpAddressRequest associateResolverEndpointIpAddressRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, ResourceExistsException, InternalServiceErrorException, LimitExceededException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the AssociateResolverEndpointIpAddress operation returned by the service.
- See Also:
-
associateResolverEndpointIpAddress
default AssociateResolverEndpointIpAddressResponse associateResolverEndpointIpAddress(Consumer<AssociateResolverEndpointIpAddressRequest.Builder> associateResolverEndpointIpAddressRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, ResourceExistsException, InternalServiceErrorException, LimitExceededException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the AssociateResolverEndpointIpAddress operation returned by the service.
- See Also:
-
associateResolverQueryLogConfig
default AssociateResolverQueryLogConfigResponse associateResolverQueryLogConfig(AssociateResolverQueryLogConfigRequest associateResolverQueryLogConfigRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, ResourceExistsException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the AssociateResolverQueryLogConfig operation returned by the service.
- See Also:
-
associateResolverQueryLogConfig
default AssociateResolverQueryLogConfigResponse associateResolverQueryLogConfig(Consumer<AssociateResolverQueryLogConfigRequest.Builder> associateResolverQueryLogConfigRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, ResourceExistsException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the AssociateResolverQueryLogConfig operation returned by the service.
- See Also:
-
associateResolverRule
default AssociateResolverRuleResponse associateResolverRule(AssociateResolverRuleRequest associateResolverRuleRequest) throws ResourceNotFoundException, InvalidRequestException, LimitExceededException, InvalidParameterException, ResourceUnavailableException, ResourceExistsException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the AssociateResolverRule operation returned by the service.
- See Also:
-
associateResolverRule
default AssociateResolverRuleResponse associateResolverRule(Consumer<AssociateResolverRuleRequest.Builder> associateResolverRuleRequest) throws ResourceNotFoundException, InvalidRequestException, LimitExceededException, InvalidParameterException, ResourceUnavailableException, ResourceExistsException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the AssociateResolverRule operation returned by the service.
- See Also:
-
createFirewallDomainList
default CreateFirewallDomainListResponse createFirewallDomainList(CreateFirewallDomainListRequest createFirewallDomainListRequest) throws LimitExceededException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateFirewallDomainList operation returned by the service.
- See Also:
-
createFirewallDomainList
default CreateFirewallDomainListResponse createFirewallDomainList(Consumer<CreateFirewallDomainListRequest.Builder> createFirewallDomainListRequest) throws LimitExceededException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateFirewallDomainList operation returned by the service.
- See Also:
-
createFirewallRule
default CreateFirewallRuleResponse createFirewallRule(CreateFirewallRuleRequest createFirewallRuleRequest) throws ResourceNotFoundException, ValidationException, LimitExceededException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.
- Parameters:
createFirewallRuleRequest
-- Returns:
- Result of the CreateFirewallRule operation returned by the service.
- See Also:
-
createFirewallRule
default CreateFirewallRuleResponse createFirewallRule(Consumer<CreateFirewallRuleRequest.Builder> createFirewallRuleRequest) throws ResourceNotFoundException, ValidationException, LimitExceededException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateFirewallRule operation returned by the service.
- See Also:
-
createFirewallRuleGroup
default CreateFirewallRuleGroupResponse createFirewallRuleGroup(CreateFirewallRuleGroupRequest createFirewallRuleGroupRequest) throws LimitExceededException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateFirewallRuleGroup operation returned by the service.
- See Also:
-
createFirewallRuleGroup
default CreateFirewallRuleGroupResponse createFirewallRuleGroup(Consumer<CreateFirewallRuleGroupRequest.Builder> createFirewallRuleGroupRequest) throws LimitExceededException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateFirewallRuleGroup operation returned by the service.
- See Also:
-
createOutpostResolver
default CreateOutpostResolverResponse createOutpostResolver(CreateOutpostResolverRequest createOutpostResolverRequest) throws AccessDeniedException, InternalServiceErrorException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException Creates a Route 53 Resolver on an Outpost.
- Parameters:
createOutpostResolverRequest
-- Returns:
- Result of the CreateOutpostResolver operation returned by the service.
- See Also:
-
createOutpostResolver
default CreateOutpostResolverResponse createOutpostResolver(Consumer<CreateOutpostResolverRequest.Builder> createOutpostResolverRequest) throws AccessDeniedException, InternalServiceErrorException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateOutpostResolver operation returned by the service.
- See Also:
-
createResolverEndpoint
default CreateResolverEndpointResponse createResolverEndpoint(CreateResolverEndpointRequest createResolverEndpointRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, ResourceExistsException, AccessDeniedException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateResolverEndpoint operation returned by the service.
- See Also:
-
-
createResolverEndpoint
default CreateResolverEndpointResponse createResolverEndpoint(Consumer<CreateResolverEndpointRequest.Builder> createResolverEndpointRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, ResourceExistsException, AccessDeniedException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateResolverEndpoint operation returned by the service.
- See Also:
-
-
createResolverQueryLogConfig
default CreateResolverQueryLogConfigResponse createResolverQueryLogConfig(CreateResolverQueryLogConfigRequest createResolverQueryLogConfigRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, ResourceExistsException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateResolverQueryLogConfig operation returned by the service.
- See Also:
-
createResolverQueryLogConfig
default CreateResolverQueryLogConfigResponse createResolverQueryLogConfig(Consumer<CreateResolverQueryLogConfigRequest.Builder> createResolverQueryLogConfigRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, ResourceExistsException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateResolverQueryLogConfig operation returned by the service.
- See Also:
-
createResolverRule
default CreateResolverRuleResponse createResolverRule(CreateResolverRuleRequest createResolverRuleRequest) throws InvalidParameterException, InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceExistsException, ResourceUnavailableException, InternalServiceErrorException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateResolverRule operation returned by the service.
- See Also:
-
createResolverRule
default CreateResolverRuleResponse createResolverRule(Consumer<CreateResolverRuleRequest.Builder> createResolverRuleRequest) throws InvalidParameterException, InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceExistsException, ResourceUnavailableException, InternalServiceErrorException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the CreateResolverRule operation returned by the service.
- See Also:
-
deleteFirewallDomainList
default DeleteFirewallDomainListResponse deleteFirewallDomainList(DeleteFirewallDomainListRequest deleteFirewallDomainListRequest) throws ResourceNotFoundException, ConflictException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Deletes the specified domain list.
- Parameters:
deleteFirewallDomainListRequest
-- Returns:
- Result of the DeleteFirewallDomainList operation returned by the service.
- See Also:
-
deleteFirewallDomainList
default DeleteFirewallDomainListResponse deleteFirewallDomainList(Consumer<DeleteFirewallDomainListRequest.Builder> deleteFirewallDomainListRequest) throws ResourceNotFoundException, ConflictException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteFirewallDomainList operation returned by the service.
- See Also:
-
deleteFirewallRule
default DeleteFirewallRuleResponse deleteFirewallRule(DeleteFirewallRuleRequest deleteFirewallRuleRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Deletes the specified firewall rule.
- Parameters:
deleteFirewallRuleRequest
-- Returns:
- Result of the DeleteFirewallRule operation returned by the service.
- See Also:
-
deleteFirewallRule
default DeleteFirewallRuleResponse deleteFirewallRule(Consumer<DeleteFirewallRuleRequest.Builder> deleteFirewallRuleRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteFirewallRule operation returned by the service.
- See Also:
-
deleteFirewallRuleGroup
default DeleteFirewallRuleGroupResponse deleteFirewallRuleGroup(DeleteFirewallRuleGroupRequest deleteFirewallRuleGroupRequest) throws ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Deletes the specified firewall rule group.
- Parameters:
deleteFirewallRuleGroupRequest
-- Returns:
- Result of the DeleteFirewallRuleGroup operation returned by the service.
- See Also:
-
deleteFirewallRuleGroup
default DeleteFirewallRuleGroupResponse deleteFirewallRuleGroup(Consumer<DeleteFirewallRuleGroupRequest.Builder> deleteFirewallRuleGroupRequest) throws ResourceNotFoundException, ConflictException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteFirewallRuleGroup operation returned by the service.
- See Also:
-
deleteOutpostResolver
default DeleteOutpostResolverResponse deleteOutpostResolver(DeleteOutpostResolverRequest deleteOutpostResolverRequest) throws AccessDeniedException, ConflictException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException Deletes a Resolver on the Outpost.
- Parameters:
deleteOutpostResolverRequest
-- Returns:
- Result of the DeleteOutpostResolver operation returned by the service.
- See Also:
-
deleteOutpostResolver
default DeleteOutpostResolverResponse deleteOutpostResolver(Consumer<DeleteOutpostResolverRequest.Builder> deleteOutpostResolverRequest) throws AccessDeniedException, ConflictException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteOutpostResolver operation returned by the service.
- See Also:
-
deleteResolverEndpoint
default DeleteResolverEndpointResponse deleteResolverEndpoint(DeleteResolverEndpointRequest deleteResolverEndpointRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteResolverEndpoint operation returned by the service.
- See Also:
-
-
deleteResolverEndpoint
default DeleteResolverEndpointResponse deleteResolverEndpoint(Consumer<DeleteResolverEndpointRequest.Builder> deleteResolverEndpointRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteResolverEndpoint operation returned by the service.
- See Also:
-
-
deleteResolverQueryLogConfig
default DeleteResolverQueryLogConfigResponse deleteResolverQueryLogConfig(DeleteResolverQueryLogConfigRequest deleteResolverQueryLogConfigRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteResolverQueryLogConfig operation returned by the service.
- See Also:
-
deleteResolverQueryLogConfig
default DeleteResolverQueryLogConfigResponse deleteResolverQueryLogConfig(Consumer<DeleteResolverQueryLogConfigRequest.Builder> deleteResolverQueryLogConfigRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteResolverQueryLogConfig operation returned by the service.
- See Also:
-
deleteResolverRule
default DeleteResolverRuleResponse deleteResolverRule(DeleteResolverRuleRequest deleteResolverRuleRequest) throws InvalidParameterException, ResourceNotFoundException, ResourceInUseException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteResolverRule operation returned by the service.
- See Also:
-
deleteResolverRule
default DeleteResolverRuleResponse deleteResolverRule(Consumer<DeleteResolverRuleRequest.Builder> deleteResolverRuleRequest) throws InvalidParameterException, ResourceNotFoundException, ResourceInUseException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DeleteResolverRule operation returned by the service.
- See Also:
-
disassociateFirewallRuleGroup
default DisassociateFirewallRuleGroupResponse disassociateFirewallRuleGroup(DisassociateFirewallRuleGroupRequest disassociateFirewallRuleGroupRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, ConflictException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.
- Parameters:
disassociateFirewallRuleGroupRequest
-- Returns:
- Result of the DisassociateFirewallRuleGroup operation returned by the service.
- See Also:
-
disassociateFirewallRuleGroup
default DisassociateFirewallRuleGroupResponse disassociateFirewallRuleGroup(Consumer<DisassociateFirewallRuleGroupRequest.Builder> disassociateFirewallRuleGroupRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, ConflictException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DisassociateFirewallRuleGroup operation returned by the service.
- See Also:
-
disassociateResolverEndpointIpAddress
default DisassociateResolverEndpointIpAddressResponse disassociateResolverEndpointIpAddress(DisassociateResolverEndpointIpAddressRequest disassociateResolverEndpointIpAddressRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, ResourceExistsException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DisassociateResolverEndpointIpAddress operation returned by the service.
- See Also:
-
disassociateResolverEndpointIpAddress
default DisassociateResolverEndpointIpAddressResponse disassociateResolverEndpointIpAddress(Consumer<DisassociateResolverEndpointIpAddressRequest.Builder> disassociateResolverEndpointIpAddressRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, ResourceExistsException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DisassociateResolverEndpointIpAddress operation returned by the service.
- See Also:
-
disassociateResolverQueryLogConfig
default DisassociateResolverQueryLogConfigResponse disassociateResolverQueryLogConfig(DisassociateResolverQueryLogConfigRequest disassociateResolverQueryLogConfigRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DisassociateResolverQueryLogConfig operation returned by the service.
- See Also:
-
-
disassociateResolverQueryLogConfig
default DisassociateResolverQueryLogConfigResponse disassociateResolverQueryLogConfig(Consumer<DisassociateResolverQueryLogConfigRequest.Builder> disassociateResolverQueryLogConfigRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DisassociateResolverQueryLogConfig operation returned by the service.
- See Also:
-
-
disassociateResolverRule
default DisassociateResolverRuleResponse disassociateResolverRule(DisassociateResolverRuleRequest disassociateResolverRuleRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DisassociateResolverRule operation returned by the service.
- See Also:
-
disassociateResolverRule
default DisassociateResolverRuleResponse disassociateResolverRule(Consumer<DisassociateResolverRuleRequest.Builder> disassociateResolverRuleRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the DisassociateResolverRule operation returned by the service.
- See Also:
-
getFirewallConfig
default GetFirewallConfigResponse getFirewallConfig(GetFirewallConfigRequest getFirewallConfigRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetFirewallConfig operation returned by the service.
- See Also:
-
getFirewallConfig
default GetFirewallConfigResponse getFirewallConfig(Consumer<GetFirewallConfigRequest.Builder> getFirewallConfigRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetFirewallConfig operation returned by the service.
- See Also:
-
getFirewallDomainList
default GetFirewallDomainListResponse getFirewallDomainList(GetFirewallDomainListRequest getFirewallDomainListRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Retrieves the specified firewall domain list.
- Parameters:
getFirewallDomainListRequest
-- Returns:
- Result of the GetFirewallDomainList operation returned by the service.
- See Also:
-
getFirewallDomainList
default GetFirewallDomainListResponse getFirewallDomainList(Consumer<GetFirewallDomainListRequest.Builder> getFirewallDomainListRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetFirewallDomainList operation returned by the service.
- See Also:
-
getFirewallRuleGroup
default GetFirewallRuleGroupResponse getFirewallRuleGroup(GetFirewallRuleGroupRequest getFirewallRuleGroupRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Retrieves the specified firewall rule group.
- Parameters:
getFirewallRuleGroupRequest
-- Returns:
- Result of the GetFirewallRuleGroup operation returned by the service.
- See Also:
-
getFirewallRuleGroup
default GetFirewallRuleGroupResponse getFirewallRuleGroup(Consumer<GetFirewallRuleGroupRequest.Builder> getFirewallRuleGroupRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetFirewallRuleGroup operation returned by the service.
- See Also:
-
getFirewallRuleGroupAssociation
default GetFirewallRuleGroupAssociationResponse getFirewallRuleGroupAssociation(GetFirewallRuleGroupAssociationRequest getFirewallRuleGroupAssociationRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetFirewallRuleGroupAssociation operation returned by the service.
- See Also:
-
getFirewallRuleGroupAssociation
default GetFirewallRuleGroupAssociationResponse getFirewallRuleGroupAssociation(Consumer<GetFirewallRuleGroupAssociationRequest.Builder> getFirewallRuleGroupAssociationRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetFirewallRuleGroupAssociation operation returned by the service.
- See Also:
-
getFirewallRuleGroupPolicy
default GetFirewallRuleGroupPolicyResponse getFirewallRuleGroupPolicy(GetFirewallRuleGroupPolicyRequest getFirewallRuleGroupPolicyRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetFirewallRuleGroupPolicy operation returned by the service.
- See Also:
-
getFirewallRuleGroupPolicy
default GetFirewallRuleGroupPolicyResponse getFirewallRuleGroupPolicy(Consumer<GetFirewallRuleGroupPolicyRequest.Builder> getFirewallRuleGroupPolicyRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetFirewallRuleGroupPolicy operation returned by the service.
- See Also:
-
getOutpostResolver
default GetOutpostResolverResponse getOutpostResolver(GetOutpostResolverRequest getOutpostResolverRequest) throws AccessDeniedException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetOutpostResolver operation returned by the service.
- See Also:
-
getOutpostResolver
default GetOutpostResolverResponse getOutpostResolver(Consumer<GetOutpostResolverRequest.Builder> getOutpostResolverRequest) throws AccessDeniedException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetOutpostResolver operation returned by the service.
- See Also:
-
getResolverConfig
default GetResolverConfigResponse getResolverConfig(GetResolverConfigRequest getResolverConfigRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
- Parameters:
getResolverConfigRequest
-- Returns:
- Result of the GetResolverConfig operation returned by the service.
- See Also:
-
getResolverConfig
default GetResolverConfigResponse getResolverConfig(Consumer<GetResolverConfigRequest.Builder> getResolverConfigRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverConfig operation returned by the service.
- See Also:
-
getResolverDnssecConfig
default GetResolverDnssecConfigResponse getResolverDnssecConfig(GetResolverDnssecConfigRequest getResolverDnssecConfigRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException Gets DNSSEC validation information for a specified resource.
- Parameters:
getResolverDnssecConfigRequest
-- Returns:
- Result of the GetResolverDnssecConfig operation returned by the service.
- See Also:
-
getResolverDnssecConfig
default GetResolverDnssecConfigResponse getResolverDnssecConfig(Consumer<GetResolverDnssecConfigRequest.Builder> getResolverDnssecConfigRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverDnssecConfig operation returned by the service.
- See Also:
-
getResolverEndpoint
default GetResolverEndpointResponse getResolverEndpoint(GetResolverEndpointRequest getResolverEndpointRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverEndpoint operation returned by the service.
- See Also:
-
getResolverEndpoint
default GetResolverEndpointResponse getResolverEndpoint(Consumer<GetResolverEndpointRequest.Builder> getResolverEndpointRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverEndpoint operation returned by the service.
- See Also:
-
getResolverQueryLogConfig
default GetResolverQueryLogConfigResponse getResolverQueryLogConfig(GetResolverQueryLogConfigRequest getResolverQueryLogConfigRequest) throws ResourceNotFoundException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverQueryLogConfig operation returned by the service.
- See Also:
-
getResolverQueryLogConfig
default GetResolverQueryLogConfigResponse getResolverQueryLogConfig(Consumer<GetResolverQueryLogConfigRequest.Builder> getResolverQueryLogConfigRequest) throws ResourceNotFoundException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverQueryLogConfig operation returned by the service.
- See Also:
-
getResolverQueryLogConfigAssociation
default GetResolverQueryLogConfigAssociationResponse getResolverQueryLogConfigAssociation(GetResolverQueryLogConfigAssociationRequest getResolverQueryLogConfigAssociationRequest) throws ResourceNotFoundException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverQueryLogConfigAssociation operation returned by the service.
- See Also:
-
getResolverQueryLogConfigAssociation
default GetResolverQueryLogConfigAssociationResponse getResolverQueryLogConfigAssociation(Consumer<GetResolverQueryLogConfigAssociationRequest.Builder> getResolverQueryLogConfigAssociationRequest) throws ResourceNotFoundException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverQueryLogConfigAssociation operation returned by the service.
- See Also:
-
getResolverQueryLogConfigPolicy
default GetResolverQueryLogConfigPolicyResponse getResolverQueryLogConfigPolicy(GetResolverQueryLogConfigPolicyRequest getResolverQueryLogConfigPolicyRequest) throws InvalidParameterException, InvalidRequestException, UnknownResourceException, InternalServiceErrorException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverQueryLogConfigPolicy operation returned by the service.
- See Also:
-
getResolverQueryLogConfigPolicy
default GetResolverQueryLogConfigPolicyResponse getResolverQueryLogConfigPolicy(Consumer<GetResolverQueryLogConfigPolicyRequest.Builder> getResolverQueryLogConfigPolicyRequest) throws InvalidParameterException, InvalidRequestException, UnknownResourceException, InternalServiceErrorException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverQueryLogConfigPolicy operation returned by the service.
- See Also:
-
getResolverRule
default GetResolverRuleResponse getResolverRule(GetResolverRuleRequest getResolverRuleRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverRule operation returned by the service.
- See Also:
-
getResolverRule
default GetResolverRuleResponse getResolverRule(Consumer<GetResolverRuleRequest.Builder> getResolverRuleRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverRule operation returned by the service.
- See Also:
-
getResolverRuleAssociation
default GetResolverRuleAssociationResponse getResolverRuleAssociation(GetResolverRuleAssociationRequest getResolverRuleAssociationRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverRuleAssociation operation returned by the service.
- See Also:
-
getResolverRuleAssociation
default GetResolverRuleAssociationResponse getResolverRuleAssociation(Consumer<GetResolverRuleAssociationRequest.Builder> getResolverRuleAssociationRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverRuleAssociation operation returned by the service.
- See Also:
-
getResolverRulePolicy
default GetResolverRulePolicyResponse getResolverRulePolicy(GetResolverRulePolicyRequest getResolverRulePolicyRequest) throws InvalidParameterException, UnknownResourceException, InternalServiceErrorException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverRulePolicy operation returned by the service.
- See Also:
-
getResolverRulePolicy
default GetResolverRulePolicyResponse getResolverRulePolicy(Consumer<GetResolverRulePolicyRequest.Builder> getResolverRulePolicyRequest) throws InvalidParameterException, UnknownResourceException, InternalServiceErrorException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the GetResolverRulePolicy operation returned by the service.
- See Also:
-
importFirewallDomains
default ImportFirewallDomainsResponse importFirewallDomains(ImportFirewallDomainsRequest importFirewallDomainsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ImportFirewallDomains operation returned by the service.
- See Also:
-
-
importFirewallDomains
default ImportFirewallDomainsResponse importFirewallDomains(Consumer<ImportFirewallDomainsRequest.Builder> importFirewallDomainsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ImportFirewallDomains operation returned by the service.
- See Also:
-
-
listFirewallConfigs
default ListFirewallConfigsResponse listFirewallConfigs(ListFirewallConfigsRequest listFirewallConfigsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallConfigs operation returned by the service.
- See Also:
-
listFirewallConfigs
default ListFirewallConfigsResponse listFirewallConfigs(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallConfigs operation returned by the service.
- See Also:
-
listFirewallConfigsPaginator
default ListFirewallConfigsIterable listFirewallConfigsPaginator(ListFirewallConfigsRequest listFirewallConfigsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsIterable responses = client.listFirewallConfigsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsIterable responses = client .listFirewallConfigsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsIterable responses = client.listFirewallConfigsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallConfigsPaginator
default ListFirewallConfigsIterable listFirewallConfigsPaginator(Consumer<ListFirewallConfigsRequest.Builder> listFirewallConfigsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallConfigs(software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsIterable responses = client.listFirewallConfigsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsIterable responses = client .listFirewallConfigsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallConfigsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallConfigsIterable responses = client.listFirewallConfigsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallDomainLists
default ListFirewallDomainListsResponse listFirewallDomainLists(ListFirewallDomainListsRequest listFirewallDomainListsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallDomainLists operation returned by the service.
- See Also:
-
listFirewallDomainLists
default ListFirewallDomainListsResponse listFirewallDomainLists(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallDomainLists operation returned by the service.
- See Also:
-
listFirewallDomainListsPaginator
default ListFirewallDomainListsIterable listFirewallDomainListsPaginator(ListFirewallDomainListsRequest listFirewallDomainListsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsIterable responses = client.listFirewallDomainListsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsIterable responses = client .listFirewallDomainListsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsIterable responses = client.listFirewallDomainListsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallDomainListsPaginator
default ListFirewallDomainListsIterable listFirewallDomainListsPaginator(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallDomainLists(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsIterable responses = client.listFirewallDomainListsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsIterable responses = client .listFirewallDomainListsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainListsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainListsIterable responses = client.listFirewallDomainListsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallDomains
default ListFirewallDomainsResponse listFirewallDomains(ListFirewallDomainsRequest listFirewallDomainsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallDomains operation returned by the service.
- See Also:
-
listFirewallDomains
default ListFirewallDomainsResponse listFirewallDomains(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallDomains operation returned by the service.
- See Also:
-
listFirewallDomainsPaginator
default ListFirewallDomainsIterable listFirewallDomainsPaginator(ListFirewallDomainsRequest listFirewallDomainsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsIterable responses = client.listFirewallDomainsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsIterable responses = client .listFirewallDomainsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsIterable responses = client.listFirewallDomainsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallDomainsPaginator
default ListFirewallDomainsIterable listFirewallDomainsPaginator(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallDomains(software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsIterable responses = client.listFirewallDomainsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsIterable responses = client .listFirewallDomainsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallDomainsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallDomainsIterable responses = client.listFirewallDomainsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallRuleGroupAssociations
default ListFirewallRuleGroupAssociationsResponse listFirewallRuleGroupAssociations(ListFirewallRuleGroupAssociationsRequest listFirewallRuleGroupAssociationsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallRuleGroupAssociations operation returned by the service.
- See Also:
-
listFirewallRuleGroupAssociations
default ListFirewallRuleGroupAssociationsResponse listFirewallRuleGroupAssociations(Consumer<ListFirewallRuleGroupAssociationsRequest.Builder> listFirewallRuleGroupAssociationsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallRuleGroupAssociations operation returned by the service.
- See Also:
-
listFirewallRuleGroupAssociationsPaginator
default ListFirewallRuleGroupAssociationsIterable listFirewallRuleGroupAssociationsPaginator(ListFirewallRuleGroupAssociationsRequest listFirewallRuleGroupAssociationsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallRuleGroupAssociations(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsIterable responses = client.listFirewallRuleGroupAssociationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsIterable responses = client .listFirewallRuleGroupAssociationsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsIterable responses = client.listFirewallRuleGroupAssociationsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallRuleGroupAssociationsPaginator
default ListFirewallRuleGroupAssociationsIterable listFirewallRuleGroupAssociationsPaginator(Consumer<ListFirewallRuleGroupAssociationsRequest.Builder> listFirewallRuleGroupAssociationsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallRuleGroupAssociations(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsIterable responses = client.listFirewallRuleGroupAssociationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsIterable responses = client .listFirewallRuleGroupAssociationsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupAssociationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupAssociationsIterable responses = client.listFirewallRuleGroupAssociationsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallRuleGroups
default ListFirewallRuleGroupsResponse listFirewallRuleGroups(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallRuleGroups operation returned by the service.
- See Also:
-
listFirewallRuleGroups
default ListFirewallRuleGroupsResponse listFirewallRuleGroups(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallRuleGroups operation returned by the service.
- See Also:
-
listFirewallRuleGroupsPaginator
default ListFirewallRuleGroupsIterable listFirewallRuleGroupsPaginator(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsIterable responses = client.listFirewallRuleGroupsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsIterable responses = client .listFirewallRuleGroupsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsIterable responses = client.listFirewallRuleGroupsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallRuleGroupsPaginator
default ListFirewallRuleGroupsIterable listFirewallRuleGroupsPaginator(Consumer<ListFirewallRuleGroupsRequest.Builder> listFirewallRuleGroupsRequest) throws ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallRuleGroups(software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsIterable responses = client.listFirewallRuleGroupsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsIterable responses = client .listFirewallRuleGroupsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallRuleGroupsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRuleGroupsIterable responses = client.listFirewallRuleGroupsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallRules
default ListFirewallRulesResponse listFirewallRules(ListFirewallRulesRequest listFirewallRulesRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallRules operation returned by the service.
- See Also:
-
listFirewallRules
default ListFirewallRulesResponse listFirewallRules(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListFirewallRules operation returned by the service.
- See Also:
-
listFirewallRulesPaginator
default ListFirewallRulesIterable listFirewallRulesPaginator(ListFirewallRulesRequest listFirewallRulesRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesIterable responses = client.listFirewallRulesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesIterable responses = client .listFirewallRulesPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesIterable responses = client.listFirewallRulesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFirewallRulesPaginator
default ListFirewallRulesIterable listFirewallRulesPaginator(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listFirewallRules(software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesIterable responses = client.listFirewallRulesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesIterable responses = client .listFirewallRulesPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListFirewallRulesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListFirewallRulesIterable responses = client.listFirewallRulesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listOutpostResolvers
default ListOutpostResolversResponse listOutpostResolvers(ListOutpostResolversRequest listOutpostResolversRequest) throws AccessDeniedException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.
- Parameters:
listOutpostResolversRequest
-- Returns:
- Result of the ListOutpostResolvers operation returned by the service.
- See Also:
-
listOutpostResolvers
default ListOutpostResolversResponse listOutpostResolvers(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest) throws AccessDeniedException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListOutpostResolvers operation returned by the service.
- See Also:
-
listOutpostResolversPaginator
default ListOutpostResolversIterable listOutpostResolversPaginator(ListOutpostResolversRequest listOutpostResolversRequest) throws AccessDeniedException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversIterable responses = client.listOutpostResolversPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversIterable responses = client .listOutpostResolversPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversIterable responses = client.listOutpostResolversPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listOutpostResolversPaginator
default ListOutpostResolversIterable listOutpostResolversPaginator(Consumer<ListOutpostResolversRequest.Builder> listOutpostResolversRequest) throws AccessDeniedException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listOutpostResolvers(software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversIterable responses = client.listOutpostResolversPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversIterable responses = client .listOutpostResolversPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListOutpostResolversResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListOutpostResolversIterable responses = client.listOutpostResolversPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverConfigs
default ListResolverConfigsResponse listResolverConfigs(ListResolverConfigsRequest listResolverConfigsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverConfigs operation returned by the service.
- See Also:
-
listResolverConfigs
default ListResolverConfigsResponse listResolverConfigs(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverConfigs operation returned by the service.
- See Also:
-
listResolverConfigsPaginator
default ListResolverConfigsIterable listResolverConfigsPaginator(ListResolverConfigsRequest listResolverConfigsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsIterable responses = client.listResolverConfigsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsIterable responses = client .listResolverConfigsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsIterable responses = client.listResolverConfigsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverConfigsPaginator
default ListResolverConfigsIterable listResolverConfigsPaginator(Consumer<ListResolverConfigsRequest.Builder> listResolverConfigsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsIterable responses = client.listResolverConfigsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsIterable responses = client .listResolverConfigsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverConfigsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverConfigsIterable responses = client.listResolverConfigsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverDnssecConfigs
default ListResolverDnssecConfigsResponse listResolverDnssecConfigs(ListResolverDnssecConfigsRequest listResolverDnssecConfigsRequest) throws InvalidNextTokenException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.
- Parameters:
listResolverDnssecConfigsRequest
-- Returns:
- Result of the ListResolverDnssecConfigs operation returned by the service.
- See Also:
-
listResolverDnssecConfigs
default ListResolverDnssecConfigsResponse listResolverDnssecConfigs(Consumer<ListResolverDnssecConfigsRequest.Builder> listResolverDnssecConfigsRequest) throws InvalidNextTokenException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverDnssecConfigs operation returned by the service.
- See Also:
-
listResolverDnssecConfigsPaginator
default ListResolverDnssecConfigsIterable listResolverDnssecConfigsPaginator(ListResolverDnssecConfigsRequest listResolverDnssecConfigsRequest) throws InvalidNextTokenException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsIterable responses = client.listResolverDnssecConfigsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsIterable responses = client .listResolverDnssecConfigsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsIterable responses = client.listResolverDnssecConfigsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverDnssecConfigsPaginator
default ListResolverDnssecConfigsIterable listResolverDnssecConfigsPaginator(Consumer<ListResolverDnssecConfigsRequest.Builder> listResolverDnssecConfigsRequest) throws InvalidNextTokenException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverDnssecConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsIterable responses = client.listResolverDnssecConfigsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsIterable responses = client .listResolverDnssecConfigsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverDnssecConfigsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverDnssecConfigsIterable responses = client.listResolverDnssecConfigsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverEndpointIpAddresses
default ListResolverEndpointIpAddressesResponse listResolverEndpointIpAddresses(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Gets the IP addresses for a specified Resolver endpoint.
- Parameters:
listResolverEndpointIpAddressesRequest
-- Returns:
- Result of the ListResolverEndpointIpAddresses operation returned by the service.
- See Also:
-
listResolverEndpointIpAddresses
default ListResolverEndpointIpAddressesResponse listResolverEndpointIpAddresses(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverEndpointIpAddresses operation returned by the service.
- See Also:
-
listResolverEndpointIpAddressesPaginator
default ListResolverEndpointIpAddressesIterable listResolverEndpointIpAddressesPaginator(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client.listResolverEndpointIpAddressesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client .listResolverEndpointIpAddressesPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client.listResolverEndpointIpAddressesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverEndpointIpAddressesPaginator
default ListResolverEndpointIpAddressesIterable listResolverEndpointIpAddressesPaginator(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client.listResolverEndpointIpAddressesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client .listResolverEndpointIpAddressesPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client.listResolverEndpointIpAddressesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverEndpoints
default ListResolverEndpointsResponse listResolverEndpoints(ListResolverEndpointsRequest listResolverEndpointsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Lists all the Resolver endpoints that were created using the current Amazon Web Services account.
- Parameters:
listResolverEndpointsRequest
-- Returns:
- Result of the ListResolverEndpoints operation returned by the service.
- See Also:
-
listResolverEndpoints
default ListResolverEndpointsResponse listResolverEndpoints(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverEndpoints operation returned by the service.
- See Also:
-
listResolverEndpoints
default ListResolverEndpointsResponse listResolverEndpoints() throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverExceptionLists all the Resolver endpoints that were created using the current Amazon Web Services account.
- Returns:
- Result of the ListResolverEndpoints operation returned by the service.
- See Also:
-
listResolverEndpointsPaginator
default ListResolverEndpointsIterable listResolverEndpointsPaginator() throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverExceptionThis is a variant of
listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client .listResolverEndpointsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverEndpointsPaginator
default ListResolverEndpointsIterable listResolverEndpointsPaginator(ListResolverEndpointsRequest listResolverEndpointsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client .listResolverEndpointsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverEndpointsPaginator
default ListResolverEndpointsIterable listResolverEndpointsPaginator(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client .listResolverEndpointsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverQueryLogConfigAssociations
default ListResolverQueryLogConfigAssociationsResponse listResolverQueryLogConfigAssociations(ListResolverQueryLogConfigAssociationsRequest listResolverQueryLogConfigAssociationsRequest) throws InvalidParameterException, InvalidRequestException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException Lists information about associations between Amazon VPCs and query logging configurations.
- Parameters:
listResolverQueryLogConfigAssociationsRequest
-- Returns:
- Result of the ListResolverQueryLogConfigAssociations operation returned by the service.
- See Also:
-
listResolverQueryLogConfigAssociations
default ListResolverQueryLogConfigAssociationsResponse listResolverQueryLogConfigAssociations(Consumer<ListResolverQueryLogConfigAssociationsRequest.Builder> listResolverQueryLogConfigAssociationsRequest) throws InvalidParameterException, InvalidRequestException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverQueryLogConfigAssociations operation returned by the service.
- See Also:
-
listResolverQueryLogConfigAssociationsPaginator
default ListResolverQueryLogConfigAssociationsIterable listResolverQueryLogConfigAssociationsPaginator(ListResolverQueryLogConfigAssociationsRequest listResolverQueryLogConfigAssociationsRequest) throws InvalidParameterException, InvalidRequestException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverQueryLogConfigAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsIterable responses = client.listResolverQueryLogConfigAssociationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsIterable responses = client .listResolverQueryLogConfigAssociationsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsIterable responses = client.listResolverQueryLogConfigAssociationsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverQueryLogConfigAssociationsPaginator
default ListResolverQueryLogConfigAssociationsIterable listResolverQueryLogConfigAssociationsPaginator(Consumer<ListResolverQueryLogConfigAssociationsRequest.Builder> listResolverQueryLogConfigAssociationsRequest) throws InvalidParameterException, InvalidRequestException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverQueryLogConfigAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsIterable responses = client.listResolverQueryLogConfigAssociationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsIterable responses = client .listResolverQueryLogConfigAssociationsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigAssociationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigAssociationsIterable responses = client.listResolverQueryLogConfigAssociationsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverQueryLogConfigs
default ListResolverQueryLogConfigsResponse listResolverQueryLogConfigs(ListResolverQueryLogConfigsRequest listResolverQueryLogConfigsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverQueryLogConfigs operation returned by the service.
- See Also:
-
listResolverQueryLogConfigs
default ListResolverQueryLogConfigsResponse listResolverQueryLogConfigs(Consumer<ListResolverQueryLogConfigsRequest.Builder> listResolverQueryLogConfigsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverQueryLogConfigs operation returned by the service.
- See Also:
-
listResolverQueryLogConfigsPaginator
default ListResolverQueryLogConfigsIterable listResolverQueryLogConfigsPaginator(ListResolverQueryLogConfigsRequest listResolverQueryLogConfigsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsIterable responses = client.listResolverQueryLogConfigsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsIterable responses = client .listResolverQueryLogConfigsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsIterable responses = client.listResolverQueryLogConfigsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverQueryLogConfigsPaginator
default ListResolverQueryLogConfigsIterable listResolverQueryLogConfigsPaginator(Consumer<ListResolverQueryLogConfigsRequest.Builder> listResolverQueryLogConfigsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverQueryLogConfigs(software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsIterable responses = client.listResolverQueryLogConfigsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsIterable responses = client .listResolverQueryLogConfigsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverQueryLogConfigsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverQueryLogConfigsIterable responses = client.listResolverQueryLogConfigsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverRuleAssociations
default ListResolverRuleAssociationsResponse listResolverRuleAssociations(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
- Parameters:
listResolverRuleAssociationsRequest
-- Returns:
- Result of the ListResolverRuleAssociations operation returned by the service.
- See Also:
-
listResolverRuleAssociations
default ListResolverRuleAssociationsResponse listResolverRuleAssociations(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverRuleAssociations operation returned by the service.
- See Also:
-
listResolverRuleAssociations
default ListResolverRuleAssociationsResponse listResolverRuleAssociations() throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverExceptionLists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
- Returns:
- Result of the ListResolverRuleAssociations operation returned by the service.
- See Also:
-
listResolverRuleAssociationsPaginator
default ListResolverRuleAssociationsIterable listResolverRuleAssociationsPaginator() throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverExceptionThis is a variant of
listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client .listResolverRuleAssociationsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverRuleAssociationsPaginator
default ListResolverRuleAssociationsIterable listResolverRuleAssociationsPaginator(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client .listResolverRuleAssociationsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverRuleAssociationsPaginator
default ListResolverRuleAssociationsIterable listResolverRuleAssociationsPaginator(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client .listResolverRuleAssociationsPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverRules
default ListResolverRulesResponse listResolverRules(ListResolverRulesRequest listResolverRulesRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Lists the Resolver rules that were created using the current Amazon Web Services account.
- Parameters:
listResolverRulesRequest
-- Returns:
- Result of the ListResolverRules operation returned by the service.
- See Also:
-
listResolverRules
default ListResolverRulesResponse listResolverRules(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListResolverRules operation returned by the service.
- See Also:
-
listResolverRules
default ListResolverRulesResponse listResolverRules() throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverExceptionLists the Resolver rules that were created using the current Amazon Web Services account.
- Returns:
- Result of the ListResolverRules operation returned by the service.
- See Also:
-
listResolverRulesPaginator
default ListResolverRulesIterable listResolverRulesPaginator() throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverExceptionThis is a variant of
listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client .listResolverRulesPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverRulesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverRulesPaginator
default ListResolverRulesIterable listResolverRulesPaginator(ListResolverRulesRequest listResolverRulesRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client .listResolverRulesPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverRulesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResolverRulesPaginator
default ListResolverRulesIterable listResolverRulesPaginator(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client .listResolverRulesPaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListResolverRulesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidNextTokenException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Lists the tags that you associated with the specified resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidNextTokenException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidNextTokenException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listTagsForResource(software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidNextTokenException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException This is a variant of
listTagsForResource(software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.route53resolver.model.ListTagsForResourceResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.route53resolver.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
putFirewallRuleGroupPolicy
default PutFirewallRuleGroupPolicyResponse putFirewallRuleGroupPolicy(PutFirewallRuleGroupPolicyRequest putFirewallRuleGroupPolicyRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the PutFirewallRuleGroupPolicy operation returned by the service.
- See Also:
-
putFirewallRuleGroupPolicy
default PutFirewallRuleGroupPolicyResponse putFirewallRuleGroupPolicy(Consumer<PutFirewallRuleGroupPolicyRequest.Builder> putFirewallRuleGroupPolicyRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the PutFirewallRuleGroupPolicy operation returned by the service.
- See Also:
-
putResolverQueryLogConfigPolicy
default PutResolverQueryLogConfigPolicyResponse putResolverQueryLogConfigPolicy(PutResolverQueryLogConfigPolicyRequest putResolverQueryLogConfigPolicyRequest) throws InvalidPolicyDocumentException, InvalidParameterException, InvalidRequestException, UnknownResourceException, InternalServiceErrorException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the PutResolverQueryLogConfigPolicy operation returned by the service.
- See Also:
-
putResolverQueryLogConfigPolicy
default PutResolverQueryLogConfigPolicyResponse putResolverQueryLogConfigPolicy(Consumer<PutResolverQueryLogConfigPolicyRequest.Builder> putResolverQueryLogConfigPolicyRequest) throws InvalidPolicyDocumentException, InvalidParameterException, InvalidRequestException, UnknownResourceException, InternalServiceErrorException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the PutResolverQueryLogConfigPolicy operation returned by the service.
- See Also:
-
putResolverRulePolicy
default PutResolverRulePolicyResponse putResolverRulePolicy(PutResolverRulePolicyRequest putResolverRulePolicyRequest) throws InvalidPolicyDocumentException, InvalidParameterException, UnknownResourceException, InternalServiceErrorException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the PutResolverRulePolicy operation returned by the service.
- See Also:
-
putResolverRulePolicy
default PutResolverRulePolicyResponse putResolverRulePolicy(Consumer<PutResolverRulePolicyRequest.Builder> putResolverRulePolicyRequest) throws InvalidPolicyDocumentException, InvalidParameterException, UnknownResourceException, InternalServiceErrorException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the PutResolverRulePolicy operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws LimitExceededException, ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InvalidTagException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Adds one or more tags to a specified resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws LimitExceededException, ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InvalidTagException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Removes one or more tags from a specified resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateFirewallConfig
default UpdateFirewallConfigResponse updateFirewallConfig(UpdateFirewallConfigRequest updateFirewallConfigRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateFirewallConfig operation returned by the service.
- See Also:
-
updateFirewallConfig
default UpdateFirewallConfigResponse updateFirewallConfig(Consumer<UpdateFirewallConfigRequest.Builder> updateFirewallConfigRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateFirewallConfig operation returned by the service.
- See Also:
-
updateFirewallDomains
default UpdateFirewallDomainsResponse updateFirewallDomains(UpdateFirewallDomainsRequest updateFirewallDomainsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Updates the firewall domain list from an array of domain specifications.
- Parameters:
updateFirewallDomainsRequest
-- Returns:
- Result of the UpdateFirewallDomains operation returned by the service.
- See Also:
-
updateFirewallDomains
default UpdateFirewallDomainsResponse updateFirewallDomains(Consumer<UpdateFirewallDomainsRequest.Builder> updateFirewallDomainsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, LimitExceededException, ConflictException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateFirewallDomains operation returned by the service.
- See Also:
-
updateFirewallRule
default UpdateFirewallRuleResponse updateFirewallRule(UpdateFirewallRuleRequest updateFirewallRuleRequest) throws ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Updates the specified firewall rule.
- Parameters:
updateFirewallRuleRequest
-- Returns:
- Result of the UpdateFirewallRule operation returned by the service.
- See Also:
-
updateFirewallRule
default UpdateFirewallRuleResponse updateFirewallRule(Consumer<UpdateFirewallRuleRequest.Builder> updateFirewallRuleRequest) throws ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateFirewallRule operation returned by the service.
- See Also:
-
updateFirewallRuleGroupAssociation
default UpdateFirewallRuleGroupAssociationResponse updateFirewallRuleGroupAssociation(UpdateFirewallRuleGroupAssociationRequest updateFirewallRuleGroupAssociationRequest) throws ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.
- Parameters:
updateFirewallRuleGroupAssociationRequest
-- Returns:
- Result of the UpdateFirewallRuleGroupAssociation operation returned by the service.
- See Also:
-
updateFirewallRuleGroupAssociation
default UpdateFirewallRuleGroupAssociationResponse updateFirewallRuleGroupAssociation(Consumer<UpdateFirewallRuleGroupAssociationRequest.Builder> updateFirewallRuleGroupAssociationRequest) throws ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateFirewallRuleGroupAssociation operation returned by the service.
- See Also:
-
updateOutpostResolver
default UpdateOutpostResolverResponse updateOutpostResolver(UpdateOutpostResolverRequest updateOutpostResolverRequest) throws AccessDeniedException, ConflictException, InternalServiceErrorException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException You can use
UpdateOutpostResolver
to update the instance count, type, or name of a Resolver on an Outpost.- Parameters:
updateOutpostResolverRequest
-- Returns:
- Result of the UpdateOutpostResolver operation returned by the service.
- See Also:
-
updateOutpostResolver
default UpdateOutpostResolverResponse updateOutpostResolver(Consumer<UpdateOutpostResolverRequest.Builder> updateOutpostResolverRequest) throws AccessDeniedException, ConflictException, InternalServiceErrorException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateOutpostResolver operation returned by the service.
- See Also:
-
updateResolverConfig
default UpdateResolverConfigResponse updateResolverConfig(UpdateResolverConfigRequest updateResolverConfigRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceUnavailableException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
- Parameters:
updateResolverConfigRequest
-- Returns:
- Result of the UpdateResolverConfig operation returned by the service.
- See Also:
-
updateResolverConfig
default UpdateResolverConfigResponse updateResolverConfig(Consumer<UpdateResolverConfigRequest.Builder> updateResolverConfigRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceUnavailableException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateResolverConfig operation returned by the service.
- See Also:
-
updateResolverDnssecConfig
default UpdateResolverDnssecConfigResponse updateResolverDnssecConfig(UpdateResolverDnssecConfigRequest updateResolverDnssecConfigRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.
- Parameters:
updateResolverDnssecConfigRequest
-- Returns:
- Result of the UpdateResolverDnssecConfig operation returned by the service.
- See Also:
-
updateResolverDnssecConfig
default UpdateResolverDnssecConfigResponse updateResolverDnssecConfig(Consumer<UpdateResolverDnssecConfigRequest.Builder> updateResolverDnssecConfigRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateResolverDnssecConfig operation returned by the service.
- See Also:
-
updateResolverEndpoint
default UpdateResolverEndpointResponse updateResolverEndpoint(UpdateResolverEndpointRequest updateResolverEndpointRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateResolverEndpoint operation returned by the service.
- See Also:
-
updateResolverEndpoint
default UpdateResolverEndpointResponse updateResolverEndpoint(Consumer<UpdateResolverEndpointRequest.Builder> updateResolverEndpointRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, AccessDeniedException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateResolverEndpoint operation returned by the service.
- See Also:
-
updateResolverRule
default UpdateResolverRuleResponse updateResolverRule(UpdateResolverRuleRequest updateResolverRuleRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceUnavailableException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateResolverRule operation returned by the service.
- See Also:
-
updateResolverRule
default UpdateResolverRuleResponse updateResolverRule(Consumer<UpdateResolverRuleRequest.Builder> updateResolverRuleRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceUnavailableException, LimitExceededException, InternalServiceErrorException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ResolverException 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:
- Result of the UpdateResolverRule operation returned by the service.
- See Also:
-
create
Create aRoute53ResolverClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aRoute53ResolverClient
. -
serviceMetadata
-
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
-