@Generated(value="software.amazon.awssdk:codegen") public interface Route53ResolverClient extends SdkClient
builder() method.
Here's how you set up to query an Amazon Route 53 private hosted zone from your network:
Connect your network to a VPC using AWS Direct Connect or a VPN.
Run the following AWS CLI command to create a Resolver endpoint:
create-resolver-endpoint --name [endpoint_name] --direction INBOUND --creator-request-id [unique_string] --security-group-ids [security_group_with_inbound_rules] --ip-addresses SubnetId=[subnet_id] SubnetId=[subnet_id_in_different_AZ]
Note the resolver endpoint ID that appears in the response. You'll use it in step 3.
Get the IP addresses for the Resolver endpoints:
get-resolver-endpoint --resolver-endpoint-id [resolver_endpoint_id]
In your network configuration, define the IP addresses that you got in step 3 as DNS servers.
You can now query instance names in your VPCs and the names of records in your private hosted zone.
You can also perform the following operations using the AWS CLI:
list-resolver-endpoints: List all endpoints. The syntax includes options for pagination and filtering.
update-resolver-endpoints: Add IP addresses to an endpoint or remove IP addresses from an endpoint.
To delete an endpoint, use the following AWS CLI command:
delete-resolver-endpoint --resolver-endpoint-id [resolver_endpoint_id]
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AssociateResolverEndpointIpAddressResponse |
associateResolverEndpointIpAddress(AssociateResolverEndpointIpAddressRequest associateResolverEndpointIpAddressRequest)
Adds IP addresses to an inbound or an outbound resolver endpoint.
|
default AssociateResolverEndpointIpAddressResponse |
associateResolverEndpointIpAddress(Consumer<AssociateResolverEndpointIpAddressRequest.Builder> associateResolverEndpointIpAddressRequest)
Adds IP addresses to an inbound or an outbound resolver endpoint.
|
default AssociateResolverRuleResponse |
associateResolverRule(AssociateResolverRuleRequest associateResolverRuleRequest)
Associates a resolver rule with a VPC.
|
default AssociateResolverRuleResponse |
associateResolverRule(Consumer<AssociateResolverRuleRequest.Builder> associateResolverRuleRequest)
Associates a resolver rule with a VPC.
|
static Route53ResolverClientBuilder |
builder()
Create a builder that can be used to configure and create a
Route53ResolverClient. |
static Route53ResolverClient |
create()
Create a
Route53ResolverClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateResolverEndpointResponse |
createResolverEndpoint(Consumer<CreateResolverEndpointRequest.Builder> createResolverEndpointRequest)
Creates a resolver endpoint.
|
default CreateResolverEndpointResponse |
createResolverEndpoint(CreateResolverEndpointRequest createResolverEndpointRequest)
Creates a resolver endpoint.
|
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 DeleteResolverEndpointResponse |
deleteResolverEndpoint(Consumer<DeleteResolverEndpointRequest.Builder> deleteResolverEndpointRequest)
Deletes a resolver endpoint.
|
default DeleteResolverEndpointResponse |
deleteResolverEndpoint(DeleteResolverEndpointRequest deleteResolverEndpointRequest)
Deletes a resolver endpoint.
|
default DeleteResolverRuleResponse |
deleteResolverRule(Consumer<DeleteResolverRuleRequest.Builder> deleteResolverRuleRequest)
Deletes a resolver rule.
|
default DeleteResolverRuleResponse |
deleteResolverRule(DeleteResolverRuleRequest deleteResolverRuleRequest)
Deletes a resolver rule.
|
default DisassociateResolverEndpointIpAddressResponse |
disassociateResolverEndpointIpAddress(Consumer<DisassociateResolverEndpointIpAddressRequest.Builder> disassociateResolverEndpointIpAddressRequest)
Removes IP addresses from an inbound or an outbound resolver endpoint.
|
default DisassociateResolverEndpointIpAddressResponse |
disassociateResolverEndpointIpAddress(DisassociateResolverEndpointIpAddressRequest disassociateResolverEndpointIpAddressRequest)
Removes IP addresses from an inbound or an outbound resolver endpoint.
|
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 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.
|
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.
|
default GetResolverRuleAssociationResponse |
getResolverRuleAssociation(Consumer<GetResolverRuleAssociationRequest.Builder> getResolverRuleAssociationRequest)
Gets information about an association between a specified resolver rule and a VPC.
|
default GetResolverRuleAssociationResponse |
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 a resolver rule policy.
|
default GetResolverRulePolicyResponse |
getResolverRulePolicy(GetResolverRulePolicyRequest getResolverRulePolicyRequest)
Gets information about a resolver rule policy.
|
default ListResolverEndpointIpAddressesResponse |
listResolverEndpointIpAddresses(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest)
Gets the IP addresses for a specified resolver endpoint.
|
default ListResolverEndpointIpAddressesResponse |
listResolverEndpointIpAddresses(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest)
Gets the IP addresses for a specified resolver endpoint.
|
default ListResolverEndpointIpAddressesIterable |
listResolverEndpointIpAddressesPaginator(Consumer<ListResolverEndpointIpAddressesRequest.Builder> listResolverEndpointIpAddressesRequest)
Gets the IP addresses for a specified resolver endpoint.
|
default ListResolverEndpointIpAddressesIterable |
listResolverEndpointIpAddressesPaginator(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest)
Gets the IP addresses for a specified resolver endpoint.
|
default ListResolverEndpointsResponse |
listResolverEndpoints(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest)
Lists all the resolver endpoints that were created using the current AWS account.
|
default ListResolverEndpointsResponse |
listResolverEndpoints(ListResolverEndpointsRequest listResolverEndpointsRequest)
Lists all the resolver endpoints that were created using the current AWS account.
|
default ListResolverEndpointsIterable |
listResolverEndpointsPaginator(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest)
Lists all the resolver endpoints that were created using the current AWS account.
|
default ListResolverEndpointsIterable |
listResolverEndpointsPaginator(ListResolverEndpointsRequest listResolverEndpointsRequest)
Lists all the resolver endpoints that were created using the current AWS account.
|
default ListResolverRuleAssociationsResponse |
listResolverRuleAssociations(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest)
Lists the associations that were created between resolver rules and VPCs using the current AWS account.
|
default ListResolverRuleAssociationsResponse |
listResolverRuleAssociations(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest)
Lists the associations that were created between resolver rules and VPCs using the current AWS account.
|
default ListResolverRuleAssociationsIterable |
listResolverRuleAssociationsPaginator(Consumer<ListResolverRuleAssociationsRequest.Builder> listResolverRuleAssociationsRequest)
Lists the associations that were created between resolver rules and VPCs using the current AWS account.
|
default ListResolverRuleAssociationsIterable |
listResolverRuleAssociationsPaginator(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest)
Lists the associations that were created between resolver rules and VPCs using the current AWS account.
|
default ListResolverRulesResponse |
listResolverRules(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest)
Lists the resolver rules that were created using the current AWS account.
|
default ListResolverRulesResponse |
listResolverRules(ListResolverRulesRequest listResolverRulesRequest)
Lists the resolver rules that were created using the current AWS account.
|
default ListResolverRulesIterable |
listResolverRulesPaginator(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest)
Lists the resolver rules that were created using the current AWS account.
|
default ListResolverRulesIterable |
listResolverRulesPaginator(ListResolverRulesRequest listResolverRulesRequest)
Lists the resolver rules that were created using the current AWS account.
|
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 PutResolverRulePolicyResponse |
putResolverRulePolicy(Consumer<PutResolverRulePolicyRequest.Builder> putResolverRulePolicyRequest)
Specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
|
default PutResolverRulePolicyResponse |
putResolverRulePolicy(PutResolverRulePolicyRequest putResolverRulePolicyRequest)
Specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
|
static ServiceMetadata |
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 UpdateResolverEndpointResponse |
updateResolverEndpoint(Consumer<UpdateResolverEndpointRequest.Builder> updateResolverEndpointRequest)
Updates the name of an inbound or an outbound resolver endpoint.
|
default UpdateResolverEndpointResponse |
updateResolverEndpoint(UpdateResolverEndpointRequest updateResolverEndpointRequest)
Updates the name of 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.
|
serviceNameclosestatic final String SERVICE_NAME
static Route53ResolverClient create()
Route53ResolverClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static Route53ResolverClientBuilder builder()
Route53ResolverClient.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 adding more than one IP address,
submit one AssociateResolverEndpointIpAddress request for each IP address.
To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
associateResolverEndpointIpAddressRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.ResourceExistsException - The resource that you tried to create already exists.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.LimitExceededException - The request caused one or more limits to be exceeded.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 adding more than one IP address,
submit one AssociateResolverEndpointIpAddress request for each IP address.
To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
This is a convenience which creates an instance of the AssociateResolverEndpointIpAddressRequest.Builder
avoiding the need to create one manually via AssociateResolverEndpointIpAddressRequest.builder()
associateResolverEndpointIpAddressRequest - A Consumer that will call methods on AssociateResolverEndpointIpAddressRequest.Builder to
create a request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.ResourceExistsException - The resource that you tried to create already exists.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.LimitExceededException - The request caused one or more limits to be exceeded.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateResolverRuleResponse associateResolverRule(AssociateResolverRuleRequest associateResolverRuleRequest) throws ResourceNotFoundException, InvalidRequestException, 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.
associateResolverRuleRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.ResourceUnavailableException - The specified resource isn't available.ResourceExistsException - The resource that you tried to create already exists.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateResolverRuleResponse associateResolverRule(Consumer<AssociateResolverRuleRequest.Builder> associateResolverRuleRequest) throws ResourceNotFoundException, InvalidRequestException, 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 via AssociateResolverRuleRequest.builder()
associateResolverRuleRequest - A Consumer that will call methods on AssociateResolverRuleRequest.Builder to create a
request.ResourceNotFoundException - The specified resource doesn't exist.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.ResourceUnavailableException - The specified resource isn't available.ResourceExistsException - The resource that you tried to create already exists.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResolverEndpointResponse createResolverEndpoint(CreateResolverEndpointRequest createResolverEndpointRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, ResourceExistsException, 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 or another VPC.
An outbound resolver endpoint forwards DNS queries from the DNS service for a VPC to your network or another VPC.
createResolverEndpointRequest - InvalidParameterException - One or more parameters in this request are not valid.ResourceNotFoundException - The specified resource doesn't exist.InvalidRequestException - The request is invalid.ResourceExistsException - The resource that you tried to create already exists.LimitExceededException - The request caused one or more limits to be exceeded.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResolverEndpointResponse createResolverEndpoint(Consumer<CreateResolverEndpointRequest.Builder> createResolverEndpointRequest) throws InvalidParameterException, ResourceNotFoundException, InvalidRequestException, ResourceExistsException, 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 or another VPC.
An outbound resolver endpoint forwards DNS queries from the DNS service for a VPC to your network or another VPC.
This is a convenience which creates an instance of the CreateResolverEndpointRequest.Builder avoiding the
need to create one manually via CreateResolverEndpointRequest.builder()
createResolverEndpointRequest - A Consumer that will call methods on CreateResolverEndpointRequest.Builder to create a
request.InvalidParameterException - One or more parameters in this request are not valid.ResourceNotFoundException - The specified resource doesn't exist.InvalidRequestException - The request is invalid.ResourceExistsException - The resource that you tried to create already exists.LimitExceededException - The request caused one or more limits to be exceeded.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResolverRuleResponse createResolverRule(CreateResolverRuleRequest createResolverRuleRequest) throws InvalidParameterException, InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceExistsException, ResourceUnavailableException, InternalServiceErrorException, 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.
createResolverRuleRequest - InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.LimitExceededException - The request caused one or more limits to be exceeded.ResourceNotFoundException - The specified resource doesn't exist.ResourceExistsException - The resource that you tried to create already exists.ResourceUnavailableException - The specified resource isn't available.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResolverRuleResponse createResolverRule(Consumer<CreateResolverRuleRequest.Builder> createResolverRuleRequest) throws InvalidParameterException, InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceExistsException, ResourceUnavailableException, InternalServiceErrorException, 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 via CreateResolverRuleRequest.builder()
createResolverRuleRequest - A Consumer that will call methods on CreateResolverRuleRequest.Builder to create a
request.InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.LimitExceededException - The request caused one or more limits to be exceeded.ResourceNotFoundException - The specified resource doesn't exist.ResourceExistsException - The resource that you tried to create already exists.ResourceUnavailableException - The specified resource isn't available.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 or another VPC 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 or to another VPC.
deleteResolverEndpointRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 or another VPC 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 or to another VPC.
This is a convenience which creates an instance of the DeleteResolverEndpointRequest.Builder avoiding the
need to create one manually via DeleteResolverEndpointRequest.builder()
deleteResolverEndpointRequest - A Consumer that will call methods on DeleteResolverEndpointRequest.Builder to create a
request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 infomation, see DisassociateResolverRule.
deleteResolverRuleRequest - InvalidParameterException - One or more parameters in this request are not valid.ResourceNotFoundException - The specified resource doesn't exist.ResourceInUseException - The resource that you tried to update or delete is currently in use.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 infomation, see DisassociateResolverRule.
This is a convenience which creates an instance of the DeleteResolverRuleRequest.Builder avoiding the
need to create one manually via DeleteResolverRuleRequest.builder()
deleteResolverRuleRequest - A Consumer that will call methods on DeleteResolverRuleRequest.Builder to create a
request.InvalidParameterException - One or more parameters in this request are not valid.ResourceNotFoundException - The specified resource doesn't exist.ResourceInUseException - The resource that you tried to update or delete is currently in use.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
disassociateResolverEndpointIpAddressRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.ResourceExistsException - The resource that you tried to create already exists.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via
DisassociateResolverEndpointIpAddressRequest.builder()
disassociateResolverEndpointIpAddressRequest - A Consumer that will call methods on DisassociateResolverEndpointIpAddressRequest.Builder
to create a request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.ResourceExistsException - The resource that you tried to create already exists.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
disassociateResolverRuleRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DisassociateResolverRuleRequest.builder()
disassociateResolverRuleRequest - A Consumer that will call methods on DisassociateResolverRuleRequest.Builder to create a
request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
getResolverEndpointRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetResolverEndpointRequest.builder()
getResolverEndpointRequest - A Consumer that will call methods on GetResolverEndpointRequest.Builder to create a
request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
getResolverRuleRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetResolverRuleRequest.builder()
getResolverRuleRequest - A Consumer that will call methods on GetResolverRuleRequest.Builder to create a request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
getResolverRuleAssociationRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetResolverRuleAssociationRequest.builder()
getResolverRuleAssociationRequest - A Consumer that will call methods on GetResolverRuleAssociationRequest.Builder to create a
request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResolverRulePolicyResponse getResolverRulePolicy(GetResolverRulePolicyRequest getResolverRulePolicyRequest) throws InvalidParameterException, UnknownResourceException, InternalServiceErrorException, AwsServiceException, SdkClientException, Route53ResolverException
Gets information about a resolver rule policy. A resolver rule policy specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
getResolverRulePolicyRequest - InvalidParameterException - One or more parameters in this request are not valid.UnknownResourceException - The specified resource doesn't exist.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResolverRulePolicyResponse getResolverRulePolicy(Consumer<GetResolverRulePolicyRequest.Builder> getResolverRulePolicyRequest) throws InvalidParameterException, UnknownResourceException, InternalServiceErrorException, AwsServiceException, SdkClientException, Route53ResolverException
Gets information about a resolver rule policy. A resolver rule policy specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
This is a convenience which creates an instance of the GetResolverRulePolicyRequest.Builder avoiding the
need to create one manually via GetResolverRulePolicyRequest.builder()
getResolverRulePolicyRequest - A Consumer that will call methods on GetResolverRulePolicyRequest.Builder to create a
request.InvalidParameterException - One or more parameters in this request are not valid.UnknownResourceException - The specified resource doesn't exist.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverEndpointIpAddressesResponse listResolverEndpointIpAddresses(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Gets the IP addresses for a specified resolver endpoint.
listResolverEndpointIpAddressesRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ListResolverEndpointIpAddressesRequest.builder()
listResolverEndpointIpAddressesRequest - A Consumer that will call methods on ListResolverEndpointIpAddressesRequest.Builder to
create a request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverEndpointIpAddressesIterable listResolverEndpointIpAddressesPaginator(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Gets the IP addresses for a specified resolver endpoint.
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 Stream
software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client.listResolverEndpointIpAddressesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client.listResolverEndpointIpAddressesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest)
operation.
listResolverEndpointIpAddressesRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverEndpointIpAddressesIterable listResolverEndpointIpAddressesPaginator(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 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 Stream
software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client.listResolverEndpointIpAddressesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointIpAddressesIterable responses = client.listResolverEndpointIpAddressesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listResolverEndpointIpAddresses(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointIpAddressesRequest)
operation.
This is a convenience which creates an instance of the ListResolverEndpointIpAddressesRequest.Builder
avoiding the need to create one manually via ListResolverEndpointIpAddressesRequest.builder()
listResolverEndpointIpAddressesRequest - A Consumer that will call methods on ListResolverEndpointIpAddressesRequest.Builder to
create a request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverEndpointsResponse listResolverEndpoints(ListResolverEndpointsRequest listResolverEndpointsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Lists all the resolver endpoints that were created using the current AWS account.
listResolverEndpointsRequest - InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 AWS account.
This is a convenience which creates an instance of the ListResolverEndpointsRequest.Builder avoiding the
need to create one manually via ListResolverEndpointsRequest.builder()
listResolverEndpointsRequest - A Consumer that will call methods on ListResolverEndpointsRequest.Builder to create a
request.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverEndpointsIterable listResolverEndpointsPaginator(ListResolverEndpointsRequest listResolverEndpointsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Lists all the resolver endpoints that were created using the current AWS account.
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 Stream
software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation.
listResolverEndpointsRequest - InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverEndpointsIterable listResolverEndpointsPaginator(Consumer<ListResolverEndpointsRequest.Builder> listResolverEndpointsRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Lists all the resolver endpoints that were created using the current AWS account.
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 Stream
software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.route53resolver.paginators.ListResolverEndpointsIterable responses = client.listResolverEndpointsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listResolverEndpoints(software.amazon.awssdk.services.route53resolver.model.ListResolverEndpointsRequest)
operation.
This is a convenience which creates an instance of the ListResolverEndpointsRequest.Builder avoiding the
need to create one manually via ListResolverEndpointsRequest.builder()
listResolverEndpointsRequest - A Consumer that will call methods on ListResolverEndpointsRequest.Builder to create a
request.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 AWS account.
listResolverRuleAssociationsRequest - InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 AWS account.
This is a convenience which creates an instance of the ListResolverRuleAssociationsRequest.Builder
avoiding the need to create one manually via ListResolverRuleAssociationsRequest.builder()
listResolverRuleAssociationsRequest - A Consumer that will call methods on ListResolverRuleAssociationsRequest.Builder to create
a request.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverRuleAssociationsIterable listResolverRuleAssociationsPaginator(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 AWS account.
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 Stream
software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation.
listResolverRuleAssociationsRequest - InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverRuleAssociationsIterable listResolverRuleAssociationsPaginator(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 AWS account.
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 Stream
software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.route53resolver.paginators.ListResolverRuleAssociationsIterable responses = client.listResolverRuleAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listResolverRuleAssociations(software.amazon.awssdk.services.route53resolver.model.ListResolverRuleAssociationsRequest)
operation.
This is a convenience which creates an instance of the ListResolverRuleAssociationsRequest.Builder
avoiding the need to create one manually via ListResolverRuleAssociationsRequest.builder()
listResolverRuleAssociationsRequest - A Consumer that will call methods on ListResolverRuleAssociationsRequest.Builder to create
a request.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverRulesResponse listResolverRules(ListResolverRulesRequest listResolverRulesRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Lists the resolver rules that were created using the current AWS account.
listResolverRulesRequest - InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 AWS account.
This is a convenience which creates an instance of the ListResolverRulesRequest.Builder avoiding the need
to create one manually via ListResolverRulesRequest.builder()
listResolverRulesRequest - A Consumer that will call methods on ListResolverRulesRequest.Builder to create a request.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverRulesIterable listResolverRulesPaginator(ListResolverRulesRequest listResolverRulesRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Lists the resolver rules that were created using the current AWS account.
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 Stream
software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation.
listResolverRulesRequest - InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolverRulesIterable listResolverRulesPaginator(Consumer<ListResolverRulesRequest.Builder> listResolverRulesRequest) throws InvalidNextTokenException, InvalidRequestException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Lists the resolver rules that were created using the current AWS account.
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 Stream
software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.amazon.awssdk.services.route53resolver.paginators.ListResolverRulesIterable responses = client.listResolverRulesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listResolverRules(software.amazon.awssdk.services.route53resolver.model.ListResolverRulesRequest)
operation.
This is a convenience which creates an instance of the ListResolverRulesRequest.Builder avoiding the need
to create one manually via ListResolverRulesRequest.builder()
listResolverRulesRequest - A Consumer that will call methods on ListResolverRulesRequest.Builder to create a request.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidNextTokenException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Lists the tags that you associated with the specified resource.
listTagsForResourceRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidNextTokenException - The value that you specified for NextToken in a List request isn't valid.InvalidRequestException - The request is invalid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResolverRulePolicyResponse putResolverRulePolicy(PutResolverRulePolicyRequest putResolverRulePolicyRequest) throws InvalidPolicyDocumentException, InvalidParameterException, UnknownResourceException, InternalServiceErrorException, AwsServiceException, SdkClientException, Route53ResolverException
Specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
putResolverRulePolicyRequest - InvalidPolicyDocumentException - The specified resolver rule policy is invalid.InvalidParameterException - One or more parameters in this request are not valid.UnknownResourceException - The specified resource doesn't exist.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResolverRulePolicyResponse putResolverRulePolicy(Consumer<PutResolverRulePolicyRequest.Builder> putResolverRulePolicyRequest) throws InvalidPolicyDocumentException, InvalidParameterException, UnknownResourceException, InternalServiceErrorException, AwsServiceException, SdkClientException, Route53ResolverException
Specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
This is a convenience which creates an instance of the PutResolverRulePolicyRequest.Builder avoiding the
need to create one manually via PutResolverRulePolicyRequest.builder()
putResolverRulePolicyRequest - A Consumer that will call methods on PutResolverRulePolicyRequest.Builder to create a
request.InvalidPolicyDocumentException - The specified resolver rule policy is invalid.InvalidParameterException - One or more parameters in this request are not valid.UnknownResourceException - The specified resource doesn't exist.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws LimitExceededException, ResourceNotFoundException, InvalidParameterException, InvalidTagException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Adds one or more tags to a specified resource.
tagResourceRequest - LimitExceededException - The request caused one or more limits to be exceeded.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidTagException - The specified tag is invalid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws LimitExceededException, ResourceNotFoundException, InvalidParameterException, 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 via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.LimitExceededException - The request caused one or more limits to be exceeded.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidTagException - The specified tag is invalid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, InvalidParameterException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Removes one or more tags from a specified resource.
untagResourceRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, InvalidParameterException, 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 via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResolverEndpointResponse updateResolverEndpoint(UpdateResolverEndpointRequest updateResolverEndpointRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Updates the name of an inbound or an outbound resolver endpoint.
updateResolverEndpointRequest - ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResolverEndpointResponse updateResolverEndpoint(Consumer<UpdateResolverEndpointRequest.Builder> updateResolverEndpointRequest) throws ResourceNotFoundException, InvalidParameterException, InvalidRequestException, InternalServiceErrorException, ThrottlingException, AwsServiceException, SdkClientException, Route53ResolverException
Updates the name of an inbound or an outbound resolver endpoint.
This is a convenience which creates an instance of the UpdateResolverEndpointRequest.Builder avoiding the
need to create one manually via UpdateResolverEndpointRequest.builder()
updateResolverEndpointRequest - A Consumer that will call methods on UpdateResolverEndpointRequest.Builder to create a
request.ResourceNotFoundException - The specified resource doesn't exist.InvalidParameterException - One or more parameters in this request are not valid.InvalidRequestException - The request is invalid.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResolverRuleResponse updateResolverRule(UpdateResolverRuleRequest updateResolverRuleRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceUnavailableException, LimitExceededException, InternalServiceErrorException, ThrottlingException, 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.
updateResolverRuleRequest - InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.ResourceNotFoundException - The specified resource doesn't exist.ResourceUnavailableException - The specified resource isn't available.LimitExceededException - The request caused one or more limits to be exceeded.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResolverRuleResponse updateResolverRule(Consumer<UpdateResolverRuleRequest.Builder> updateResolverRuleRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceUnavailableException, LimitExceededException, InternalServiceErrorException, ThrottlingException, 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 via UpdateResolverRuleRequest.builder()
updateResolverRuleRequest - A Consumer that will call methods on UpdateResolverRuleRequest.Builder to create a
request.InvalidRequestException - The request is invalid.InvalidParameterException - One or more parameters in this request are not valid.ResourceNotFoundException - The specified resource doesn't exist.ResourceUnavailableException - The specified resource isn't available.LimitExceededException - The request caused one or more limits to be exceeded.InternalServiceErrorException - We encountered an unknown error. Try again in a few minutes.ThrottlingException - The request was throttled. Try again in a few minutes.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ResolverException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.