Interface Route53GlobalResolverAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Amazon Route 53 Global Resolver is a global, internet-accessible DNS resolver that enables customers to resolve and forward traffic for both public and private domains while ensuring security and authenticity of queries over the internet. Route 53 Global Resolver supports DNS-over-port 53 (Do53), DNS-over-TLS (DoT), and DNS-over-HTTPS (DoH) protocols through global anycast IP addresses.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionassociateHostedZone(Consumer<AssociateHostedZoneRequest.Builder> associateHostedZoneRequest) Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource.associateHostedZone(AssociateHostedZoneRequest associateHostedZoneRequest) Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource.batchCreateFirewallRule(Consumer<BatchCreateFirewallRuleRequest.Builder> batchCreateFirewallRuleRequest) Creates multiple DNS firewall rules in a single operation.batchCreateFirewallRule(BatchCreateFirewallRuleRequest batchCreateFirewallRuleRequest) Creates multiple DNS firewall rules in a single operation.batchDeleteFirewallRule(Consumer<BatchDeleteFirewallRuleRequest.Builder> batchDeleteFirewallRuleRequest) Deletes multiple DNS firewall rules in a single operation.batchDeleteFirewallRule(BatchDeleteFirewallRuleRequest batchDeleteFirewallRuleRequest) Deletes multiple DNS firewall rules in a single operation.batchUpdateFirewallRule(Consumer<BatchUpdateFirewallRuleRequest.Builder> batchUpdateFirewallRuleRequest) Updates multiple DNS firewall rules in a single operation.batchUpdateFirewallRule(BatchUpdateFirewallRuleRequest batchUpdateFirewallRuleRequest) Updates multiple DNS firewall rules in a single operation.builder()Create a builder that can be used to configure and create aRoute53GlobalResolverAsyncClient.create()Create aRoute53GlobalResolverAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createAccessSource(Consumer<CreateAccessSourceRequest.Builder> createAccessSourceRequest) Creates an access source for a DNS view.createAccessSource(CreateAccessSourceRequest createAccessSourceRequest) Creates an access source for a DNS view.createAccessToken(Consumer<CreateAccessTokenRequest.Builder> createAccessTokenRequest) Creates an access token for a DNS view.createAccessToken(CreateAccessTokenRequest createAccessTokenRequest) Creates an access token for a DNS view.default CompletableFuture<CreateDnsViewResponse> createDNSView(Consumer<CreateDnsViewRequest.Builder> createDnsViewRequest) Creates a DNS view within a Route 53 Global Resolver.default CompletableFuture<CreateDnsViewResponse> createDNSView(CreateDnsViewRequest createDnsViewRequest) Creates a DNS view within a Route 53 Global Resolver.createFirewallDomainList(Consumer<CreateFirewallDomainListRequest.Builder> createFirewallDomainListRequest) Creates a firewall domain list.createFirewallDomainList(CreateFirewallDomainListRequest createFirewallDomainListRequest) Creates a firewall domain list.createFirewallRule(Consumer<CreateFirewallRuleRequest.Builder> createFirewallRuleRequest) Creates a DNS firewall rule.createFirewallRule(CreateFirewallRuleRequest createFirewallRuleRequest) Creates a DNS firewall rule.createGlobalResolver(Consumer<CreateGlobalResolverRequest.Builder> createGlobalResolverRequest) Creates a new Route 53 Global Resolver instance.createGlobalResolver(CreateGlobalResolverRequest createGlobalResolverRequest) Creates a new Route 53 Global Resolver instance.deleteAccessSource(Consumer<DeleteAccessSourceRequest.Builder> deleteAccessSourceRequest) Deletes an access source.deleteAccessSource(DeleteAccessSourceRequest deleteAccessSourceRequest) Deletes an access source.deleteAccessToken(Consumer<DeleteAccessTokenRequest.Builder> deleteAccessTokenRequest) Deletes an access token.deleteAccessToken(DeleteAccessTokenRequest deleteAccessTokenRequest) Deletes an access token.default CompletableFuture<DeleteDnsViewResponse> deleteDNSView(Consumer<DeleteDnsViewRequest.Builder> deleteDnsViewRequest) Deletes a DNS view.default CompletableFuture<DeleteDnsViewResponse> deleteDNSView(DeleteDnsViewRequest deleteDnsViewRequest) Deletes a DNS view.deleteFirewallDomainList(Consumer<DeleteFirewallDomainListRequest.Builder> deleteFirewallDomainListRequest) Deletes a firewall domain list.deleteFirewallDomainList(DeleteFirewallDomainListRequest deleteFirewallDomainListRequest) Deletes a firewall domain list.deleteFirewallRule(Consumer<DeleteFirewallRuleRequest.Builder> deleteFirewallRuleRequest) Deletes a DNS firewall rule.deleteFirewallRule(DeleteFirewallRuleRequest deleteFirewallRuleRequest) Deletes a DNS firewall rule.deleteGlobalResolver(Consumer<DeleteGlobalResolverRequest.Builder> deleteGlobalResolverRequest) Deletes a Route 53 Global Resolver instance.deleteGlobalResolver(DeleteGlobalResolverRequest deleteGlobalResolverRequest) Deletes a Route 53 Global Resolver instance.default CompletableFuture<DisableDnsViewResponse> disableDNSView(Consumer<DisableDnsViewRequest.Builder> disableDnsViewRequest) Disables a DNS view, preventing it from serving DNS queries.default CompletableFuture<DisableDnsViewResponse> disableDNSView(DisableDnsViewRequest disableDnsViewRequest) Disables a DNS view, preventing it from serving DNS queries.disassociateHostedZone(Consumer<DisassociateHostedZoneRequest.Builder> disassociateHostedZoneRequest) Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.disassociateHostedZone(DisassociateHostedZoneRequest disassociateHostedZoneRequest) Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.default CompletableFuture<EnableDnsViewResponse> enableDNSView(Consumer<EnableDnsViewRequest.Builder> enableDnsViewRequest) Enables a disabled DNS view, allowing it to serve DNS queries again.default CompletableFuture<EnableDnsViewResponse> enableDNSView(EnableDnsViewRequest enableDnsViewRequest) Enables a disabled DNS view, allowing it to serve DNS queries again.default CompletableFuture<GetAccessSourceResponse> getAccessSource(Consumer<GetAccessSourceRequest.Builder> getAccessSourceRequest) Retrieves information about an access source.default CompletableFuture<GetAccessSourceResponse> getAccessSource(GetAccessSourceRequest getAccessSourceRequest) Retrieves information about an access source.default CompletableFuture<GetAccessTokenResponse> getAccessToken(Consumer<GetAccessTokenRequest.Builder> getAccessTokenRequest) Retrieves information about an access token.default CompletableFuture<GetAccessTokenResponse> getAccessToken(GetAccessTokenRequest getAccessTokenRequest) Retrieves information about an access token.default CompletableFuture<GetDnsViewResponse> getDNSView(Consumer<GetDnsViewRequest.Builder> getDnsViewRequest) Retrieves information about a DNS view.default CompletableFuture<GetDnsViewResponse> getDNSView(GetDnsViewRequest getDnsViewRequest) Retrieves information about a DNS view.getFirewallDomainList(Consumer<GetFirewallDomainListRequest.Builder> getFirewallDomainListRequest) Retrieves information about a firewall domain list.getFirewallDomainList(GetFirewallDomainListRequest getFirewallDomainListRequest) Retrieves information about a firewall domain list.default CompletableFuture<GetFirewallRuleResponse> getFirewallRule(Consumer<GetFirewallRuleRequest.Builder> getFirewallRuleRequest) Retrieves information about a DNS firewall rule.default CompletableFuture<GetFirewallRuleResponse> getFirewallRule(GetFirewallRuleRequest getFirewallRuleRequest) Retrieves information about a DNS firewall rule.getGlobalResolver(Consumer<GetGlobalResolverRequest.Builder> getGlobalResolverRequest) Retrieves information about a Route 53 Global Resolver instance.getGlobalResolver(GetGlobalResolverRequest getGlobalResolverRequest) Retrieves information about a Route 53 Global Resolver instance.getHostedZoneAssociation(Consumer<GetHostedZoneAssociationRequest.Builder> getHostedZoneAssociationRequest) Retrieves information about a hosted zone association.getHostedZoneAssociation(GetHostedZoneAssociationRequest getHostedZoneAssociationRequest) Retrieves information about a hosted zone association.getManagedFirewallDomainList(Consumer<GetManagedFirewallDomainListRequest.Builder> getManagedFirewallDomainListRequest) Retrieves information about an AWS-managed firewall domain list.getManagedFirewallDomainList(GetManagedFirewallDomainListRequest getManagedFirewallDomainListRequest) Retrieves information about an AWS-managed firewall domain list.importFirewallDomains(Consumer<ImportFirewallDomainsRequest.Builder> importFirewallDomainsRequest) Imports a list of domains from an Amazon S3 file into a firewall domain list.importFirewallDomains(ImportFirewallDomainsRequest importFirewallDomainsRequest) Imports a list of domains from an Amazon S3 file into a firewall domain list.listAccessSources(Consumer<ListAccessSourcesRequest.Builder> listAccessSourcesRequest) Lists all access sources with pagination support.listAccessSources(ListAccessSourcesRequest listAccessSourcesRequest) Lists all access sources with pagination support.default ListAccessSourcesPublisherlistAccessSourcesPaginator(Consumer<ListAccessSourcesRequest.Builder> listAccessSourcesRequest) This is a variant oflistAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation.default ListAccessSourcesPublisherlistAccessSourcesPaginator(ListAccessSourcesRequest listAccessSourcesRequest) This is a variant oflistAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation.listAccessTokens(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) Lists all access tokens for a DNS view with pagination support.listAccessTokens(ListAccessTokensRequest listAccessTokensRequest) Lists all access tokens for a DNS view with pagination support.default ListAccessTokensPublisherlistAccessTokensPaginator(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) This is a variant oflistAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation.default ListAccessTokensPublisherlistAccessTokensPaginator(ListAccessTokensRequest listAccessTokensRequest) This is a variant oflistAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation.default CompletableFuture<ListDnsViewsResponse> listDNSViews(Consumer<ListDnsViewsRequest.Builder> listDnsViewsRequest) Lists all DNS views for a Route 53 Global Resolver with pagination support.default CompletableFuture<ListDnsViewsResponse> listDNSViews(ListDnsViewsRequest listDnsViewsRequest) Lists all DNS views for a Route 53 Global Resolver with pagination support.default ListDNSViewsPublisherlistDNSViewsPaginator(Consumer<ListDnsViewsRequest.Builder> listDnsViewsRequest) This is a variant oflistDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation.default ListDNSViewsPublisherlistDNSViewsPaginator(ListDnsViewsRequest listDnsViewsRequest) This is a variant oflistDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation.listFirewallDomainLists(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) Lists all firewall domain lists for a Route 53 Global Resolver with pagination support.listFirewallDomainLists(ListFirewallDomainListsRequest listFirewallDomainListsRequest) Lists all firewall domain lists for a Route 53 Global Resolver with pagination support.default ListFirewallDomainListsPublisherlistFirewallDomainListsPaginator(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) This is a variant oflistFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation.default ListFirewallDomainListsPublisherlistFirewallDomainListsPaginator(ListFirewallDomainListsRequest listFirewallDomainListsRequest) This is a variant oflistFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation.listFirewallDomains(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) Lists all the domains in DNS Firewall domain list you have created.listFirewallDomains(ListFirewallDomainsRequest listFirewallDomainsRequest) Lists all the domains in DNS Firewall domain list you have created.default ListFirewallDomainsPublisherlistFirewallDomainsPaginator(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) This is a variant oflistFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation.default ListFirewallDomainsPublisherlistFirewallDomainsPaginator(ListFirewallDomainsRequest listFirewallDomainsRequest) This is a variant oflistFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation.listFirewallRules(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) Lists all DNS firewall rules for a DNS view with pagination support.listFirewallRules(ListFirewallRulesRequest listFirewallRulesRequest) Lists all DNS firewall rules for a DNS view with pagination support.default ListFirewallRulesPublisherlistFirewallRulesPaginator(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) This is a variant oflistFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation.default ListFirewallRulesPublisherlistFirewallRulesPaginator(ListFirewallRulesRequest listFirewallRulesRequest) This is a variant oflistFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation.listGlobalResolvers(Consumer<ListGlobalResolversRequest.Builder> listGlobalResolversRequest) Lists all Route 53 Global Resolver instances in your account with pagination support.listGlobalResolvers(ListGlobalResolversRequest listGlobalResolversRequest) Lists all Route 53 Global Resolver instances in your account with pagination support.default ListGlobalResolversPublisherlistGlobalResolversPaginator(Consumer<ListGlobalResolversRequest.Builder> listGlobalResolversRequest) This is a variant oflistGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation.default ListGlobalResolversPublisherlistGlobalResolversPaginator(ListGlobalResolversRequest listGlobalResolversRequest) This is a variant oflistGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation.listHostedZoneAssociations(Consumer<ListHostedZoneAssociationsRequest.Builder> listHostedZoneAssociationsRequest) Lists all hosted zone associations for a Route 53 Global Resolver resource with pagination support.listHostedZoneAssociations(ListHostedZoneAssociationsRequest listHostedZoneAssociationsRequest) Lists all hosted zone associations for a Route 53 Global Resolver resource with pagination support.listHostedZoneAssociationsPaginator(Consumer<ListHostedZoneAssociationsRequest.Builder> listHostedZoneAssociationsRequest) This is a variant oflistHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation.listHostedZoneAssociationsPaginator(ListHostedZoneAssociationsRequest listHostedZoneAssociationsRequest) This is a variant oflistHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation.listManagedFirewallDomainLists(Consumer<ListManagedFirewallDomainListsRequest.Builder> listManagedFirewallDomainListsRequest) Returns a paginated list of the AWS Managed DNS Lists and the categories for DNS Firewall.listManagedFirewallDomainLists(ListManagedFirewallDomainListsRequest listManagedFirewallDomainListsRequest) Returns a paginated list of the AWS Managed DNS Lists and the categories for DNS Firewall.listManagedFirewallDomainListsPaginator(Consumer<ListManagedFirewallDomainListsRequest.Builder> listManagedFirewallDomainListsRequest) listManagedFirewallDomainListsPaginator(ListManagedFirewallDomainListsRequest listManagedFirewallDomainListsRequest) listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags associated with a Route 53 Global Resolver resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags associated with a Route 53 Global Resolver resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags for a Route 53 Global Resolver resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or updates tags for a Route 53 Global Resolver resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a Route 53 Global Resolver resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a Route 53 Global Resolver resource.updateAccessSource(Consumer<UpdateAccessSourceRequest.Builder> updateAccessSourceRequest) Updates the configuration of an access source.updateAccessSource(UpdateAccessSourceRequest updateAccessSourceRequest) Updates the configuration of an access source.updateAccessToken(Consumer<UpdateAccessTokenRequest.Builder> updateAccessTokenRequest) Updates the configuration of an access token.updateAccessToken(UpdateAccessTokenRequest updateAccessTokenRequest) Updates the configuration of an access token.default CompletableFuture<UpdateDnsViewResponse> updateDNSView(Consumer<UpdateDnsViewRequest.Builder> updateDnsViewRequest) Updates the configuration of a DNS view.default CompletableFuture<UpdateDnsViewResponse> updateDNSView(UpdateDnsViewRequest updateDnsViewRequest) Updates the configuration of a DNS view.updateFirewallDomains(Consumer<UpdateFirewallDomainsRequest.Builder> updateFirewallDomainsRequest) Updates a DNS Firewall domain list from an array of specified domains.updateFirewallDomains(UpdateFirewallDomainsRequest updateFirewallDomainsRequest) Updates a DNS Firewall domain list from an array of specified domains.updateFirewallRule(Consumer<UpdateFirewallRuleRequest.Builder> updateFirewallRuleRequest) Updates the configuration of a DNS firewall rule.updateFirewallRule(UpdateFirewallRuleRequest updateFirewallRuleRequest) Updates the configuration of a DNS firewall rule.updateGlobalResolver(Consumer<UpdateGlobalResolverRequest.Builder> updateGlobalResolverRequest) Updates the configuration of a Route 53 Global Resolver instance.updateGlobalResolver(UpdateGlobalResolverRequest updateGlobalResolverRequest) Updates the configuration of a Route 53 Global Resolver instance.updateHostedZoneAssociation(Consumer<UpdateHostedZoneAssociationRequest.Builder> updateHostedZoneAssociationRequest) Updates the configuration of a hosted zone association.updateHostedZoneAssociation(UpdateHostedZoneAssociationRequest updateHostedZoneAssociationRequest) Updates the configuration of a hosted zone association.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateHostedZone
default CompletableFuture<AssociateHostedZoneResponse> associateHostedZone(AssociateHostedZoneRequest associateHostedZoneRequest) Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource. This allows the resolver to resolve DNS queries for the private hosted zone from anywhere globally.
- Parameters:
associateHostedZoneRequest-- Returns:
- A Java Future containing the result of the AssociateHostedZone operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateHostedZone
default CompletableFuture<AssociateHostedZoneResponse> associateHostedZone(Consumer<AssociateHostedZoneRequest.Builder> associateHostedZoneRequest) Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource. This allows the resolver to resolve DNS queries for the private hosted zone from anywhere globally.
This is a convenience which creates an instance of the
AssociateHostedZoneRequest.Builderavoiding the need to create one manually viaAssociateHostedZoneRequest.builder()- Parameters:
associateHostedZoneRequest- AConsumerthat will call methods onAssociateHostedZoneRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateHostedZone operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchCreateFirewallRule
default CompletableFuture<BatchCreateFirewallRuleResponse> batchCreateFirewallRule(BatchCreateFirewallRuleRequest batchCreateFirewallRuleRequest) Creates multiple DNS firewall rules in a single operation. This is more efficient than creating rules individually when you need to set up multiple rules at once.
- Parameters:
batchCreateFirewallRuleRequest-- Returns:
- A Java Future containing the result of the BatchCreateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchCreateFirewallRule
default CompletableFuture<BatchCreateFirewallRuleResponse> batchCreateFirewallRule(Consumer<BatchCreateFirewallRuleRequest.Builder> batchCreateFirewallRuleRequest) Creates multiple DNS firewall rules in a single operation. This is more efficient than creating rules individually when you need to set up multiple rules at once.
This is a convenience which creates an instance of the
BatchCreateFirewallRuleRequest.Builderavoiding the need to create one manually viaBatchCreateFirewallRuleRequest.builder()- Parameters:
batchCreateFirewallRuleRequest- AConsumerthat will call methods onBatchCreateFirewallRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchCreateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeleteFirewallRule
default CompletableFuture<BatchDeleteFirewallRuleResponse> batchDeleteFirewallRule(BatchDeleteFirewallRuleRequest batchDeleteFirewallRuleRequest) Deletes multiple DNS firewall rules in a single operation. This is more efficient than deleting rules individually.
- Parameters:
batchDeleteFirewallRuleRequest-- Returns:
- A Java Future containing the result of the BatchDeleteFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeleteFirewallRule
default CompletableFuture<BatchDeleteFirewallRuleResponse> batchDeleteFirewallRule(Consumer<BatchDeleteFirewallRuleRequest.Builder> batchDeleteFirewallRuleRequest) Deletes multiple DNS firewall rules in a single operation. This is more efficient than deleting rules individually.
This is a convenience which creates an instance of the
BatchDeleteFirewallRuleRequest.Builderavoiding the need to create one manually viaBatchDeleteFirewallRuleRequest.builder()- Parameters:
batchDeleteFirewallRuleRequest- AConsumerthat will call methods onBatchDeleteFirewallRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchDeleteFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchUpdateFirewallRule
default CompletableFuture<BatchUpdateFirewallRuleResponse> batchUpdateFirewallRule(BatchUpdateFirewallRuleRequest batchUpdateFirewallRuleRequest) Updates multiple DNS firewall rules in a single operation. This is more efficient than updating rules individually.
- Parameters:
batchUpdateFirewallRuleRequest-- Returns:
- A Java Future containing the result of the BatchUpdateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchUpdateFirewallRule
default CompletableFuture<BatchUpdateFirewallRuleResponse> batchUpdateFirewallRule(Consumer<BatchUpdateFirewallRuleRequest.Builder> batchUpdateFirewallRuleRequest) Updates multiple DNS firewall rules in a single operation. This is more efficient than updating rules individually.
This is a convenience which creates an instance of the
BatchUpdateFirewallRuleRequest.Builderavoiding the need to create one manually viaBatchUpdateFirewallRuleRequest.builder()- Parameters:
batchUpdateFirewallRuleRequest- AConsumerthat will call methods onBatchUpdateFirewallRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchUpdateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAccessSource
default CompletableFuture<CreateAccessSourceResponse> createAccessSource(CreateAccessSourceRequest createAccessSourceRequest) Creates an access source for a DNS view. Access sources define IP addresses or CIDR ranges that are allowed to send DNS queries to the Route 53 Global Resolver, along with the permitted DNS protocols.
- Parameters:
createAccessSourceRequest-- Returns:
- A Java Future containing the result of the CreateAccessSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAccessSource
default CompletableFuture<CreateAccessSourceResponse> createAccessSource(Consumer<CreateAccessSourceRequest.Builder> createAccessSourceRequest) Creates an access source for a DNS view. Access sources define IP addresses or CIDR ranges that are allowed to send DNS queries to the Route 53 Global Resolver, along with the permitted DNS protocols.
This is a convenience which creates an instance of the
CreateAccessSourceRequest.Builderavoiding the need to create one manually viaCreateAccessSourceRequest.builder()- Parameters:
createAccessSourceRequest- AConsumerthat will call methods onCreateAccessSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAccessSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAccessToken
default CompletableFuture<CreateAccessTokenResponse> createAccessToken(CreateAccessTokenRequest createAccessTokenRequest) Creates an access token for a DNS view. Access tokens provide token-based authentication for DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) connections to the Route 53 Global Resolver.
- Parameters:
createAccessTokenRequest-- Returns:
- A Java Future containing the result of the CreateAccessToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAccessToken
default CompletableFuture<CreateAccessTokenResponse> createAccessToken(Consumer<CreateAccessTokenRequest.Builder> createAccessTokenRequest) Creates an access token for a DNS view. Access tokens provide token-based authentication for DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) connections to the Route 53 Global Resolver.
This is a convenience which creates an instance of the
CreateAccessTokenRequest.Builderavoiding the need to create one manually viaCreateAccessTokenRequest.builder()- Parameters:
createAccessTokenRequest- AConsumerthat will call methods onCreateAccessTokenRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAccessToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDNSView
default CompletableFuture<CreateDnsViewResponse> createDNSView(CreateDnsViewRequest createDnsViewRequest) Creates a DNS view within a Route 53 Global Resolver. A DNS view models end users, user groups, networks, and devices, and serves as a parent resource that holds configurations controlling access, authorization, DNS firewall rules, and forwarding rules.
- Parameters:
createDnsViewRequest-- Returns:
- A Java Future containing the result of the CreateDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDNSView
default CompletableFuture<CreateDnsViewResponse> createDNSView(Consumer<CreateDnsViewRequest.Builder> createDnsViewRequest) Creates a DNS view within a Route 53 Global Resolver. A DNS view models end users, user groups, networks, and devices, and serves as a parent resource that holds configurations controlling access, authorization, DNS firewall rules, and forwarding rules.
This is a convenience which creates an instance of the
CreateDnsViewRequest.Builderavoiding the need to create one manually viaCreateDnsViewRequest.builder()- Parameters:
createDnsViewRequest- AConsumerthat will call methods onCreateDnsViewRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFirewallDomainList
default CompletableFuture<CreateFirewallDomainListResponse> createFirewallDomainList(CreateFirewallDomainListRequest createFirewallDomainListRequest) Creates a firewall domain list. Domain lists are reusable sets of domain specifications that you use in DNS firewall rules to allow, block, or alert on DNS queries to specific domains.
- Parameters:
createFirewallDomainListRequest-- Returns:
- A Java Future containing the result of the CreateFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFirewallDomainList
default CompletableFuture<CreateFirewallDomainListResponse> createFirewallDomainList(Consumer<CreateFirewallDomainListRequest.Builder> createFirewallDomainListRequest) Creates a firewall domain list. Domain lists are reusable sets of domain specifications that you use in DNS firewall rules to allow, block, or alert on DNS queries to specific domains.
This is a convenience which creates an instance of the
CreateFirewallDomainListRequest.Builderavoiding the need to create one manually viaCreateFirewallDomainListRequest.builder()- Parameters:
createFirewallDomainListRequest- AConsumerthat will call methods onCreateFirewallDomainListRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFirewallRule
default CompletableFuture<CreateFirewallRuleResponse> createFirewallRule(CreateFirewallRuleRequest createFirewallRuleRequest) Creates a DNS firewall rule. Firewall rules define actions (ALLOW, BLOCK, or ALERT) to take on DNS queries that match specified domain lists, managed domain lists, or advanced threat protections.
- Parameters:
createFirewallRuleRequest-- Returns:
- A Java Future containing the result of the CreateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFirewallRule
default CompletableFuture<CreateFirewallRuleResponse> createFirewallRule(Consumer<CreateFirewallRuleRequest.Builder> createFirewallRuleRequest) Creates a DNS firewall rule. Firewall rules define actions (ALLOW, BLOCK, or ALERT) to take on DNS queries that match specified domain lists, managed domain lists, or advanced threat protections.
This is a convenience which creates an instance of the
CreateFirewallRuleRequest.Builderavoiding the need to create one manually viaCreateFirewallRuleRequest.builder()- Parameters:
createFirewallRuleRequest- AConsumerthat will call methods onCreateFirewallRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGlobalResolver
default CompletableFuture<CreateGlobalResolverResponse> createGlobalResolver(CreateGlobalResolverRequest createGlobalResolverRequest) Creates a new Route 53 Global Resolver instance. A Route 53 Global Resolver is a global, internet-accessible DNS resolver that provides secure DNS resolution for both public and private domains through global anycast IP addresses.
- Parameters:
createGlobalResolverRequest-- Returns:
- A Java Future containing the result of the CreateGlobalResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGlobalResolver
default CompletableFuture<CreateGlobalResolverResponse> createGlobalResolver(Consumer<CreateGlobalResolverRequest.Builder> createGlobalResolverRequest) Creates a new Route 53 Global Resolver instance. A Route 53 Global Resolver is a global, internet-accessible DNS resolver that provides secure DNS resolution for both public and private domains through global anycast IP addresses.
This is a convenience which creates an instance of the
CreateGlobalResolverRequest.Builderavoiding the need to create one manually viaCreateGlobalResolverRequest.builder()- Parameters:
createGlobalResolverRequest- AConsumerthat will call methods onCreateGlobalResolverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateGlobalResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccessSource
default CompletableFuture<DeleteAccessSourceResponse> deleteAccessSource(DeleteAccessSourceRequest deleteAccessSourceRequest) Deletes an access source. This operation cannot be undone.
- Parameters:
deleteAccessSourceRequest-- Returns:
- A Java Future containing the result of the DeleteAccessSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccessSource
default CompletableFuture<DeleteAccessSourceResponse> deleteAccessSource(Consumer<DeleteAccessSourceRequest.Builder> deleteAccessSourceRequest) Deletes an access source. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteAccessSourceRequest.Builderavoiding the need to create one manually viaDeleteAccessSourceRequest.builder()- Parameters:
deleteAccessSourceRequest- AConsumerthat will call methods onDeleteAccessSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAccessSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccessToken
default CompletableFuture<DeleteAccessTokenResponse> deleteAccessToken(DeleteAccessTokenRequest deleteAccessTokenRequest) Deletes an access token. This operation cannot be undone.
- Parameters:
deleteAccessTokenRequest-- Returns:
- A Java Future containing the result of the DeleteAccessToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccessToken
default CompletableFuture<DeleteAccessTokenResponse> deleteAccessToken(Consumer<DeleteAccessTokenRequest.Builder> deleteAccessTokenRequest) Deletes an access token. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteAccessTokenRequest.Builderavoiding the need to create one manually viaDeleteAccessTokenRequest.builder()- Parameters:
deleteAccessTokenRequest- AConsumerthat will call methods onDeleteAccessTokenRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAccessToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDNSView
default CompletableFuture<DeleteDnsViewResponse> deleteDNSView(DeleteDnsViewRequest deleteDnsViewRequest) Deletes a DNS view. This operation cannot be undone.
- Parameters:
deleteDnsViewRequest-- Returns:
- A Java Future containing the result of the DeleteDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDNSView
default CompletableFuture<DeleteDnsViewResponse> deleteDNSView(Consumer<DeleteDnsViewRequest.Builder> deleteDnsViewRequest) Deletes a DNS view. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteDnsViewRequest.Builderavoiding the need to create one manually viaDeleteDnsViewRequest.builder()- Parameters:
deleteDnsViewRequest- AConsumerthat will call methods onDeleteDnsViewRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFirewallDomainList
default CompletableFuture<DeleteFirewallDomainListResponse> deleteFirewallDomainList(DeleteFirewallDomainListRequest deleteFirewallDomainListRequest) Deletes a firewall domain list. This operation cannot be undone.
- Parameters:
deleteFirewallDomainListRequest-- Returns:
- A Java Future containing the result of the DeleteFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFirewallDomainList
default CompletableFuture<DeleteFirewallDomainListResponse> deleteFirewallDomainList(Consumer<DeleteFirewallDomainListRequest.Builder> deleteFirewallDomainListRequest) Deletes a firewall domain list. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteFirewallDomainListRequest.Builderavoiding the need to create one manually viaDeleteFirewallDomainListRequest.builder()- Parameters:
deleteFirewallDomainListRequest- AConsumerthat will call methods onDeleteFirewallDomainListRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFirewallRule
default CompletableFuture<DeleteFirewallRuleResponse> deleteFirewallRule(DeleteFirewallRuleRequest deleteFirewallRuleRequest) Deletes a DNS firewall rule. This operation cannot be undone.
- Parameters:
deleteFirewallRuleRequest-- Returns:
- A Java Future containing the result of the DeleteFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFirewallRule
default CompletableFuture<DeleteFirewallRuleResponse> deleteFirewallRule(Consumer<DeleteFirewallRuleRequest.Builder> deleteFirewallRuleRequest) Deletes a DNS firewall rule. This operation cannot be undone.
This is a convenience which creates an instance of the
DeleteFirewallRuleRequest.Builderavoiding the need to create one manually viaDeleteFirewallRuleRequest.builder()- Parameters:
deleteFirewallRuleRequest- AConsumerthat will call methods onDeleteFirewallRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGlobalResolver
default CompletableFuture<DeleteGlobalResolverResponse> deleteGlobalResolver(DeleteGlobalResolverRequest deleteGlobalResolverRequest) Deletes a Route 53 Global Resolver instance. This operation cannot be undone. All associated DNS views, access sources, tokens, and firewall rules are also deleted.
- Parameters:
deleteGlobalResolverRequest-- Returns:
- A Java Future containing the result of the DeleteGlobalResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGlobalResolver
default CompletableFuture<DeleteGlobalResolverResponse> deleteGlobalResolver(Consumer<DeleteGlobalResolverRequest.Builder> deleteGlobalResolverRequest) Deletes a Route 53 Global Resolver instance. This operation cannot be undone. All associated DNS views, access sources, tokens, and firewall rules are also deleted.
This is a convenience which creates an instance of the
DeleteGlobalResolverRequest.Builderavoiding the need to create one manually viaDeleteGlobalResolverRequest.builder()- Parameters:
deleteGlobalResolverRequest- AConsumerthat will call methods onDeleteGlobalResolverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteGlobalResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableDNSView
default CompletableFuture<DisableDnsViewResponse> disableDNSView(DisableDnsViewRequest disableDnsViewRequest) Disables a DNS view, preventing it from serving DNS queries.
- Parameters:
disableDnsViewRequest-- Returns:
- A Java Future containing the result of the DisableDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableDNSView
default CompletableFuture<DisableDnsViewResponse> disableDNSView(Consumer<DisableDnsViewRequest.Builder> disableDnsViewRequest) Disables a DNS view, preventing it from serving DNS queries.
This is a convenience which creates an instance of the
DisableDnsViewRequest.Builderavoiding the need to create one manually viaDisableDnsViewRequest.builder()- Parameters:
disableDnsViewRequest- AConsumerthat will call methods onDisableDnsViewRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisableDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateHostedZone
default CompletableFuture<DisassociateHostedZoneResponse> disassociateHostedZone(DisassociateHostedZoneRequest disassociateHostedZoneRequest) Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.
- Parameters:
disassociateHostedZoneRequest-- Returns:
- A Java Future containing the result of the DisassociateHostedZone operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateHostedZone
default CompletableFuture<DisassociateHostedZoneResponse> disassociateHostedZone(Consumer<DisassociateHostedZoneRequest.Builder> disassociateHostedZoneRequest) Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.
This is a convenience which creates an instance of the
DisassociateHostedZoneRequest.Builderavoiding the need to create one manually viaDisassociateHostedZoneRequest.builder()- Parameters:
disassociateHostedZoneRequest- AConsumerthat will call methods onDisassociateHostedZoneRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateHostedZone operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableDNSView
default CompletableFuture<EnableDnsViewResponse> enableDNSView(EnableDnsViewRequest enableDnsViewRequest) Enables a disabled DNS view, allowing it to serve DNS queries again.
- Parameters:
enableDnsViewRequest-- Returns:
- A Java Future containing the result of the EnableDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableDNSView
default CompletableFuture<EnableDnsViewResponse> enableDNSView(Consumer<EnableDnsViewRequest.Builder> enableDnsViewRequest) Enables a disabled DNS view, allowing it to serve DNS queries again.
This is a convenience which creates an instance of the
EnableDnsViewRequest.Builderavoiding the need to create one manually viaEnableDnsViewRequest.builder()- Parameters:
enableDnsViewRequest- AConsumerthat will call methods onEnableDnsViewRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the EnableDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccessSource
default CompletableFuture<GetAccessSourceResponse> getAccessSource(GetAccessSourceRequest getAccessSourceRequest) Retrieves information about an access source.
- Parameters:
getAccessSourceRequest-- Returns:
- A Java Future containing the result of the GetAccessSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccessSource
default CompletableFuture<GetAccessSourceResponse> getAccessSource(Consumer<GetAccessSourceRequest.Builder> getAccessSourceRequest) Retrieves information about an access source.
This is a convenience which creates an instance of the
GetAccessSourceRequest.Builderavoiding the need to create one manually viaGetAccessSourceRequest.builder()- Parameters:
getAccessSourceRequest- AConsumerthat will call methods onGetAccessSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccessSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccessToken
default CompletableFuture<GetAccessTokenResponse> getAccessToken(GetAccessTokenRequest getAccessTokenRequest) Retrieves information about an access token.
- Parameters:
getAccessTokenRequest-- Returns:
- A Java Future containing the result of the GetAccessToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccessToken
default CompletableFuture<GetAccessTokenResponse> getAccessToken(Consumer<GetAccessTokenRequest.Builder> getAccessTokenRequest) Retrieves information about an access token.
This is a convenience which creates an instance of the
GetAccessTokenRequest.Builderavoiding the need to create one manually viaGetAccessTokenRequest.builder()- Parameters:
getAccessTokenRequest- AConsumerthat will call methods onGetAccessTokenRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccessToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDNSView
Retrieves information about a DNS view.
- Parameters:
getDnsViewRequest-- Returns:
- A Java Future containing the result of the GetDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDNSView
default CompletableFuture<GetDnsViewResponse> getDNSView(Consumer<GetDnsViewRequest.Builder> getDnsViewRequest) Retrieves information about a DNS view.
This is a convenience which creates an instance of the
GetDnsViewRequest.Builderavoiding the need to create one manually viaGetDnsViewRequest.builder()- Parameters:
getDnsViewRequest- AConsumerthat will call methods onGetDnsViewRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFirewallDomainList
default CompletableFuture<GetFirewallDomainListResponse> getFirewallDomainList(GetFirewallDomainListRequest getFirewallDomainListRequest) Retrieves information about a firewall domain list.
- Parameters:
getFirewallDomainListRequest-- Returns:
- A Java Future containing the result of the GetFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFirewallDomainList
default CompletableFuture<GetFirewallDomainListResponse> getFirewallDomainList(Consumer<GetFirewallDomainListRequest.Builder> getFirewallDomainListRequest) Retrieves information about a firewall domain list.
This is a convenience which creates an instance of the
GetFirewallDomainListRequest.Builderavoiding the need to create one manually viaGetFirewallDomainListRequest.builder()- Parameters:
getFirewallDomainListRequest- AConsumerthat will call methods onGetFirewallDomainListRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFirewallDomainList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFirewallRule
default CompletableFuture<GetFirewallRuleResponse> getFirewallRule(GetFirewallRuleRequest getFirewallRuleRequest) Retrieves information about a DNS firewall rule.
- Parameters:
getFirewallRuleRequest-- Returns:
- A Java Future containing the result of the GetFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFirewallRule
default CompletableFuture<GetFirewallRuleResponse> getFirewallRule(Consumer<GetFirewallRuleRequest.Builder> getFirewallRuleRequest) Retrieves information about a DNS firewall rule.
This is a convenience which creates an instance of the
GetFirewallRuleRequest.Builderavoiding the need to create one manually viaGetFirewallRuleRequest.builder()- Parameters:
getFirewallRuleRequest- AConsumerthat will call methods onGetFirewallRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGlobalResolver
default CompletableFuture<GetGlobalResolverResponse> getGlobalResolver(GetGlobalResolverRequest getGlobalResolverRequest) Retrieves information about a Route 53 Global Resolver instance.
- Parameters:
getGlobalResolverRequest-- Returns:
- A Java Future containing the result of the GetGlobalResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGlobalResolver
default CompletableFuture<GetGlobalResolverResponse> getGlobalResolver(Consumer<GetGlobalResolverRequest.Builder> getGlobalResolverRequest) Retrieves information about a Route 53 Global Resolver instance.
This is a convenience which creates an instance of the
GetGlobalResolverRequest.Builderavoiding the need to create one manually viaGetGlobalResolverRequest.builder()- Parameters:
getGlobalResolverRequest- AConsumerthat will call methods onGetGlobalResolverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetGlobalResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getHostedZoneAssociation
default CompletableFuture<GetHostedZoneAssociationResponse> getHostedZoneAssociation(GetHostedZoneAssociationRequest getHostedZoneAssociationRequest) Retrieves information about a hosted zone association.
- Parameters:
getHostedZoneAssociationRequest-- Returns:
- A Java Future containing the result of the GetHostedZoneAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getHostedZoneAssociation
default CompletableFuture<GetHostedZoneAssociationResponse> getHostedZoneAssociation(Consumer<GetHostedZoneAssociationRequest.Builder> getHostedZoneAssociationRequest) Retrieves information about a hosted zone association.
This is a convenience which creates an instance of the
GetHostedZoneAssociationRequest.Builderavoiding the need to create one manually viaGetHostedZoneAssociationRequest.builder()- Parameters:
getHostedZoneAssociationRequest- AConsumerthat will call methods onGetHostedZoneAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetHostedZoneAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedFirewallDomainList
default CompletableFuture<GetManagedFirewallDomainListResponse> getManagedFirewallDomainList(GetManagedFirewallDomainListRequest getManagedFirewallDomainListRequest) Retrieves information about an AWS-managed firewall domain list. Managed domain lists contain domains associated with malicious activity, content categories, or specific threats.
- Parameters:
getManagedFirewallDomainListRequest-- Returns:
- A Java Future containing the result of the GetManagedFirewallDomainList operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getManagedFirewallDomainList
default CompletableFuture<GetManagedFirewallDomainListResponse> getManagedFirewallDomainList(Consumer<GetManagedFirewallDomainListRequest.Builder> getManagedFirewallDomainListRequest) Retrieves information about an AWS-managed firewall domain list. Managed domain lists contain domains associated with malicious activity, content categories, or specific threats.
This is a convenience which creates an instance of the
GetManagedFirewallDomainListRequest.Builderavoiding the need to create one manually viaGetManagedFirewallDomainListRequest.builder()- Parameters:
getManagedFirewallDomainListRequest- AConsumerthat will call methods onGetManagedFirewallDomainListRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetManagedFirewallDomainList operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importFirewallDomains
default CompletableFuture<ImportFirewallDomainsResponse> importFirewallDomains(ImportFirewallDomainsRequest importFirewallDomainsRequest) Imports a list of domains from an Amazon S3 file into a firewall domain list. The file should contain one domain per line.
- Parameters:
importFirewallDomainsRequest-- Returns:
- A Java Future containing the result of the ImportFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importFirewallDomains
default CompletableFuture<ImportFirewallDomainsResponse> importFirewallDomains(Consumer<ImportFirewallDomainsRequest.Builder> importFirewallDomainsRequest) Imports a list of domains from an Amazon S3 file into a firewall domain list. The file should contain one domain per line.
This is a convenience which creates an instance of the
ImportFirewallDomainsRequest.Builderavoiding the need to create one manually viaImportFirewallDomainsRequest.builder()- Parameters:
importFirewallDomainsRequest- AConsumerthat will call methods onImportFirewallDomainsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ImportFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessSources
default CompletableFuture<ListAccessSourcesResponse> listAccessSources(ListAccessSourcesRequest listAccessSourcesRequest) Lists all access sources with pagination support.
- Parameters:
listAccessSourcesRequest-- Returns:
- A Java Future containing the result of the ListAccessSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessSources
default CompletableFuture<ListAccessSourcesResponse> listAccessSources(Consumer<ListAccessSourcesRequest.Builder> listAccessSourcesRequest) Lists all access sources with pagination support.
This is a convenience which creates an instance of the
ListAccessSourcesRequest.Builderavoiding the need to create one manually viaListAccessSourcesRequest.builder()- Parameters:
listAccessSourcesRequest- AConsumerthat will call methods onListAccessSourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAccessSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessSourcesPaginator
default ListAccessSourcesPublisher listAccessSourcesPaginator(ListAccessSourcesRequest listAccessSourcesRequest) This is a variant of
listAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesPublisher publisher = client.listAccessSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesPublisher publisher = client.listAccessSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation.- Parameters:
listAccessSourcesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessSourcesPaginator
default ListAccessSourcesPublisher listAccessSourcesPaginator(Consumer<ListAccessSourcesRequest.Builder> listAccessSourcesRequest) This is a variant of
listAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesPublisher publisher = client.listAccessSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListAccessSourcesPublisher publisher = client.listAccessSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessSources(software.amazon.awssdk.services.route53globalresolver.model.ListAccessSourcesRequest)operation.
This is a convenience which creates an instance of the
ListAccessSourcesRequest.Builderavoiding the need to create one manually viaListAccessSourcesRequest.builder()- Parameters:
listAccessSourcesRequest- AConsumerthat will call methods onListAccessSourcesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessTokens
default CompletableFuture<ListAccessTokensResponse> listAccessTokens(ListAccessTokensRequest listAccessTokensRequest) Lists all access tokens for a DNS view with pagination support.
- Parameters:
listAccessTokensRequest-- Returns:
- A Java Future containing the result of the ListAccessTokens operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessTokens
default CompletableFuture<ListAccessTokensResponse> listAccessTokens(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) Lists all access tokens for a DNS view with pagination support.
This is a convenience which creates an instance of the
ListAccessTokensRequest.Builderavoiding the need to create one manually viaListAccessTokensRequest.builder()- Parameters:
listAccessTokensRequest- AConsumerthat will call methods onListAccessTokensRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAccessTokens operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessTokensPaginator
default ListAccessTokensPublisher listAccessTokensPaginator(ListAccessTokensRequest listAccessTokensRequest) This is a variant of
listAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensPublisher publisher = client.listAccessTokensPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensPublisher publisher = client.listAccessTokensPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation.- Parameters:
listAccessTokensRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessTokensPaginator
default ListAccessTokensPublisher listAccessTokensPaginator(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) This is a variant of
listAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensPublisher publisher = client.listAccessTokensPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListAccessTokensPublisher publisher = client.listAccessTokensPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessTokens(software.amazon.awssdk.services.route53globalresolver.model.ListAccessTokensRequest)operation.
This is a convenience which creates an instance of the
ListAccessTokensRequest.Builderavoiding the need to create one manually viaListAccessTokensRequest.builder()- Parameters:
listAccessTokensRequest- AConsumerthat will call methods onListAccessTokensRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDNSViews
default CompletableFuture<ListDnsViewsResponse> listDNSViews(ListDnsViewsRequest listDnsViewsRequest) Lists all DNS views for a Route 53 Global Resolver with pagination support.
- Parameters:
listDnsViewsRequest-- Returns:
- A Java Future containing the result of the ListDNSViews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDNSViews
default CompletableFuture<ListDnsViewsResponse> listDNSViews(Consumer<ListDnsViewsRequest.Builder> listDnsViewsRequest) Lists all DNS views for a Route 53 Global Resolver with pagination support.
This is a convenience which creates an instance of the
ListDnsViewsRequest.Builderavoiding the need to create one manually viaListDnsViewsRequest.builder()- Parameters:
listDnsViewsRequest- AConsumerthat will call methods onListDnsViewsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDNSViews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDNSViewsPaginator
This is a variant of
listDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsPublisher publisher = client.listDNSViewsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsPublisher publisher = client.listDNSViewsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation.- Parameters:
listDnsViewsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDNSViewsPaginator
default ListDNSViewsPublisher listDNSViewsPaginator(Consumer<ListDnsViewsRequest.Builder> listDnsViewsRequest) This is a variant of
listDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsPublisher publisher = client.listDNSViewsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListDNSViewsPublisher publisher = client.listDNSViewsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDNSViews(software.amazon.awssdk.services.route53globalresolver.model.ListDnsViewsRequest)operation.
This is a convenience which creates an instance of the
ListDnsViewsRequest.Builderavoiding the need to create one manually viaListDnsViewsRequest.builder()- Parameters:
listDnsViewsRequest- AConsumerthat will call methods onListDnsViewsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomainLists
default CompletableFuture<ListFirewallDomainListsResponse> listFirewallDomainLists(ListFirewallDomainListsRequest listFirewallDomainListsRequest) Lists all firewall domain lists for a Route 53 Global Resolver with pagination support.
- Parameters:
listFirewallDomainListsRequest-- Returns:
- A Java Future containing the result of the ListFirewallDomainLists operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomainLists
default CompletableFuture<ListFirewallDomainListsResponse> listFirewallDomainLists(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) Lists all firewall domain lists for a Route 53 Global Resolver with pagination support.
This is a convenience which creates an instance of the
ListFirewallDomainListsRequest.Builderavoiding the need to create one manually viaListFirewallDomainListsRequest.builder()- Parameters:
listFirewallDomainListsRequest- AConsumerthat will call methods onListFirewallDomainListsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFirewallDomainLists operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomainListsPaginator
default ListFirewallDomainListsPublisher listFirewallDomainListsPaginator(ListFirewallDomainListsRequest listFirewallDomainListsRequest) This is a variant of
listFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation.- Parameters:
listFirewallDomainListsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomainListsPaginator
default ListFirewallDomainListsPublisher listFirewallDomainListsPaginator(Consumer<ListFirewallDomainListsRequest.Builder> listFirewallDomainListsRequest) This is a variant of
listFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainListsPublisher publisher = client.listFirewallDomainListsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainListsRequest)operation.
This is a convenience which creates an instance of the
ListFirewallDomainListsRequest.Builderavoiding the need to create one manually viaListFirewallDomainListsRequest.builder()- Parameters:
listFirewallDomainListsRequest- AConsumerthat will call methods onListFirewallDomainListsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomains
default CompletableFuture<ListFirewallDomainsResponse> listFirewallDomains(ListFirewallDomainsRequest listFirewallDomainsRequest) Lists all the domains in DNS Firewall domain list you have created.
- Parameters:
listFirewallDomainsRequest-- Returns:
- A Java Future containing the result of the ListFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomains
default CompletableFuture<ListFirewallDomainsResponse> listFirewallDomains(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) Lists all the domains in DNS Firewall domain list you have created.
This is a convenience which creates an instance of the
ListFirewallDomainsRequest.Builderavoiding the need to create one manually viaListFirewallDomainsRequest.builder()- Parameters:
listFirewallDomainsRequest- AConsumerthat will call methods onListFirewallDomainsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomainsPaginator
default ListFirewallDomainsPublisher listFirewallDomainsPaginator(ListFirewallDomainsRequest listFirewallDomainsRequest) This is a variant of
listFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation.- Parameters:
listFirewallDomainsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallDomainsPaginator
default ListFirewallDomainsPublisher listFirewallDomainsPaginator(Consumer<ListFirewallDomainsRequest.Builder> listFirewallDomainsRequest) This is a variant of
listFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallDomainsPublisher publisher = client.listFirewallDomainsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallDomains(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallDomainsRequest)operation.
This is a convenience which creates an instance of the
ListFirewallDomainsRequest.Builderavoiding the need to create one manually viaListFirewallDomainsRequest.builder()- Parameters:
listFirewallDomainsRequest- AConsumerthat will call methods onListFirewallDomainsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallRules
default CompletableFuture<ListFirewallRulesResponse> listFirewallRules(ListFirewallRulesRequest listFirewallRulesRequest) Lists all DNS firewall rules for a DNS view with pagination support.
- Parameters:
listFirewallRulesRequest-- Returns:
- A Java Future containing the result of the ListFirewallRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallRules
default CompletableFuture<ListFirewallRulesResponse> listFirewallRules(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) Lists all DNS firewall rules for a DNS view with pagination support.
This is a convenience which creates an instance of the
ListFirewallRulesRequest.Builderavoiding the need to create one manually viaListFirewallRulesRequest.builder()- Parameters:
listFirewallRulesRequest- AConsumerthat will call methods onListFirewallRulesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFirewallRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallRulesPaginator
default ListFirewallRulesPublisher listFirewallRulesPaginator(ListFirewallRulesRequest listFirewallRulesRequest) This is a variant of
listFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation.- Parameters:
listFirewallRulesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFirewallRulesPaginator
default ListFirewallRulesPublisher listFirewallRulesPaginator(Consumer<ListFirewallRulesRequest.Builder> listFirewallRulesRequest) This is a variant of
listFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListFirewallRulesPublisher publisher = client.listFirewallRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFirewallRules(software.amazon.awssdk.services.route53globalresolver.model.ListFirewallRulesRequest)operation.
This is a convenience which creates an instance of the
ListFirewallRulesRequest.Builderavoiding the need to create one manually viaListFirewallRulesRequest.builder()- Parameters:
listFirewallRulesRequest- AConsumerthat will call methods onListFirewallRulesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGlobalResolvers
default CompletableFuture<ListGlobalResolversResponse> listGlobalResolvers(ListGlobalResolversRequest listGlobalResolversRequest) Lists all Route 53 Global Resolver instances in your account with pagination support.
- Parameters:
listGlobalResolversRequest-- Returns:
- A Java Future containing the result of the ListGlobalResolvers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGlobalResolvers
default CompletableFuture<ListGlobalResolversResponse> listGlobalResolvers(Consumer<ListGlobalResolversRequest.Builder> listGlobalResolversRequest) Lists all Route 53 Global Resolver instances in your account with pagination support.
This is a convenience which creates an instance of the
ListGlobalResolversRequest.Builderavoiding the need to create one manually viaListGlobalResolversRequest.builder()- Parameters:
listGlobalResolversRequest- AConsumerthat will call methods onListGlobalResolversRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListGlobalResolvers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGlobalResolversPaginator
default ListGlobalResolversPublisher listGlobalResolversPaginator(ListGlobalResolversRequest listGlobalResolversRequest) This is a variant of
listGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversPublisher publisher = client.listGlobalResolversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversPublisher publisher = client.listGlobalResolversPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation.- Parameters:
listGlobalResolversRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGlobalResolversPaginator
default ListGlobalResolversPublisher listGlobalResolversPaginator(Consumer<ListGlobalResolversRequest.Builder> listGlobalResolversRequest) This is a variant of
listGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversPublisher publisher = client.listGlobalResolversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListGlobalResolversPublisher publisher = client.listGlobalResolversPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGlobalResolvers(software.amazon.awssdk.services.route53globalresolver.model.ListGlobalResolversRequest)operation.
This is a convenience which creates an instance of the
ListGlobalResolversRequest.Builderavoiding the need to create one manually viaListGlobalResolversRequest.builder()- Parameters:
listGlobalResolversRequest- AConsumerthat will call methods onListGlobalResolversRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listHostedZoneAssociations
default CompletableFuture<ListHostedZoneAssociationsResponse> listHostedZoneAssociations(ListHostedZoneAssociationsRequest listHostedZoneAssociationsRequest) Lists all hosted zone associations for a Route 53 Global Resolver resource with pagination support.
- Parameters:
listHostedZoneAssociationsRequest-- Returns:
- A Java Future containing the result of the ListHostedZoneAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listHostedZoneAssociations
default CompletableFuture<ListHostedZoneAssociationsResponse> listHostedZoneAssociations(Consumer<ListHostedZoneAssociationsRequest.Builder> listHostedZoneAssociationsRequest) Lists all hosted zone associations for a Route 53 Global Resolver resource with pagination support.
This is a convenience which creates an instance of the
ListHostedZoneAssociationsRequest.Builderavoiding the need to create one manually viaListHostedZoneAssociationsRequest.builder()- Parameters:
listHostedZoneAssociationsRequest- AConsumerthat will call methods onListHostedZoneAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListHostedZoneAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listHostedZoneAssociationsPaginator
default ListHostedZoneAssociationsPublisher listHostedZoneAssociationsPaginator(ListHostedZoneAssociationsRequest listHostedZoneAssociationsRequest) This is a variant of
listHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsPublisher publisher = client.listHostedZoneAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsPublisher publisher = client.listHostedZoneAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation.- Parameters:
listHostedZoneAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listHostedZoneAssociationsPaginator
default ListHostedZoneAssociationsPublisher listHostedZoneAssociationsPaginator(Consumer<ListHostedZoneAssociationsRequest.Builder> listHostedZoneAssociationsRequest) This is a variant of
listHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsPublisher publisher = client.listHostedZoneAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListHostedZoneAssociationsPublisher publisher = client.listHostedZoneAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHostedZoneAssociations(software.amazon.awssdk.services.route53globalresolver.model.ListHostedZoneAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListHostedZoneAssociationsRequest.Builderavoiding the need to create one manually viaListHostedZoneAssociationsRequest.builder()- Parameters:
listHostedZoneAssociationsRequest- AConsumerthat will call methods onListHostedZoneAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedFirewallDomainLists
default CompletableFuture<ListManagedFirewallDomainListsResponse> listManagedFirewallDomainLists(ListManagedFirewallDomainListsRequest listManagedFirewallDomainListsRequest) Returns a paginated list of the AWS Managed DNS Lists and the categories for DNS Firewall. The categories are either
THREATorCONTENT.- Parameters:
listManagedFirewallDomainListsRequest-- Returns:
- A Java Future containing the result of the ListManagedFirewallDomainLists operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedFirewallDomainLists
default CompletableFuture<ListManagedFirewallDomainListsResponse> listManagedFirewallDomainLists(Consumer<ListManagedFirewallDomainListsRequest.Builder> listManagedFirewallDomainListsRequest) Returns a paginated list of the AWS Managed DNS Lists and the categories for DNS Firewall. The categories are either
THREATorCONTENT.
This is a convenience which creates an instance of the
ListManagedFirewallDomainListsRequest.Builderavoiding the need to create one manually viaListManagedFirewallDomainListsRequest.builder()- Parameters:
listManagedFirewallDomainListsRequest- AConsumerthat will call methods onListManagedFirewallDomainListsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListManagedFirewallDomainLists operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedFirewallDomainListsPaginator
default ListManagedFirewallDomainListsPublisher listManagedFirewallDomainListsPaginator(ListManagedFirewallDomainListsRequest listManagedFirewallDomainListsRequest) This is a variant of
listManagedFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsPublisher publisher = client.listManagedFirewallDomainListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsPublisher publisher = client.listManagedFirewallDomainListsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsRequest)operation.- Parameters:
listManagedFirewallDomainListsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedFirewallDomainListsPaginator
default ListManagedFirewallDomainListsPublisher listManagedFirewallDomainListsPaginator(Consumer<ListManagedFirewallDomainListsRequest.Builder> listManagedFirewallDomainListsRequest) This is a variant of
listManagedFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsPublisher publisher = client.listManagedFirewallDomainListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.route53globalresolver.paginators.ListManagedFirewallDomainListsPublisher publisher = client.listManagedFirewallDomainListsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedFirewallDomainLists(software.amazon.awssdk.services.route53globalresolver.model.ListManagedFirewallDomainListsRequest)operation.
This is a convenience which creates an instance of the
ListManagedFirewallDomainListsRequest.Builderavoiding the need to create one manually viaListManagedFirewallDomainListsRequest.builder()- Parameters:
listManagedFirewallDomainListsRequest- AConsumerthat will call methods onListManagedFirewallDomainListsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags associated with a Route 53 Global Resolver resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags associated with a Route 53 Global Resolver resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds or updates tags for a Route 53 Global Resolver resource. Tags are key-value pairs that help you organize and identify your resources.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags for a Route 53 Global Resolver resource. Tags are key-value pairs that help you organize and identify your resources.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a Route 53 Global Resolver resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a Route 53 Global Resolver resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccessSource
default CompletableFuture<UpdateAccessSourceResponse> updateAccessSource(UpdateAccessSourceRequest updateAccessSourceRequest) Updates the configuration of an access source.
- Parameters:
updateAccessSourceRequest-- Returns:
- A Java Future containing the result of the UpdateAccessSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccessSource
default CompletableFuture<UpdateAccessSourceResponse> updateAccessSource(Consumer<UpdateAccessSourceRequest.Builder> updateAccessSourceRequest) Updates the configuration of an access source.
This is a convenience which creates an instance of the
UpdateAccessSourceRequest.Builderavoiding the need to create one manually viaUpdateAccessSourceRequest.builder()- Parameters:
updateAccessSourceRequest- AConsumerthat will call methods onUpdateAccessSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAccessSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- ServiceQuotaExceededException The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccessToken
default CompletableFuture<UpdateAccessTokenResponse> updateAccessToken(UpdateAccessTokenRequest updateAccessTokenRequest) Updates the configuration of an access token.
- Parameters:
updateAccessTokenRequest-- Returns:
- A Java Future containing the result of the UpdateAccessToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccessToken
default CompletableFuture<UpdateAccessTokenResponse> updateAccessToken(Consumer<UpdateAccessTokenRequest.Builder> updateAccessTokenRequest) Updates the configuration of an access token.
This is a convenience which creates an instance of the
UpdateAccessTokenRequest.Builderavoiding the need to create one manually viaUpdateAccessTokenRequest.builder()- Parameters:
updateAccessTokenRequest- AConsumerthat will call methods onUpdateAccessTokenRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAccessToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDNSView
default CompletableFuture<UpdateDnsViewResponse> updateDNSView(UpdateDnsViewRequest updateDnsViewRequest) Updates the configuration of a DNS view.
- Parameters:
updateDnsViewRequest-- Returns:
- A Java Future containing the result of the UpdateDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDNSView
default CompletableFuture<UpdateDnsViewResponse> updateDNSView(Consumer<UpdateDnsViewRequest.Builder> updateDnsViewRequest) Updates the configuration of a DNS view.
This is a convenience which creates an instance of the
UpdateDnsViewRequest.Builderavoiding the need to create one manually viaUpdateDnsViewRequest.builder()- Parameters:
updateDnsViewRequest- AConsumerthat will call methods onUpdateDnsViewRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDNSView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFirewallDomains
default CompletableFuture<UpdateFirewallDomainsResponse> updateFirewallDomains(UpdateFirewallDomainsRequest updateFirewallDomainsRequest) Updates a DNS Firewall domain list from an array of specified domains.
- Parameters:
updateFirewallDomainsRequest-- Returns:
- A Java Future containing the result of the UpdateFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFirewallDomains
default CompletableFuture<UpdateFirewallDomainsResponse> updateFirewallDomains(Consumer<UpdateFirewallDomainsRequest.Builder> updateFirewallDomainsRequest) Updates a DNS Firewall domain list from an array of specified domains.
This is a convenience which creates an instance of the
UpdateFirewallDomainsRequest.Builderavoiding the need to create one manually viaUpdateFirewallDomainsRequest.builder()- Parameters:
updateFirewallDomainsRequest- AConsumerthat will call methods onUpdateFirewallDomainsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFirewallDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFirewallRule
default CompletableFuture<UpdateFirewallRuleResponse> updateFirewallRule(UpdateFirewallRuleRequest updateFirewallRuleRequest) Updates the configuration of a DNS firewall rule.
- Parameters:
updateFirewallRuleRequest-- Returns:
- A Java Future containing the result of the UpdateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFirewallRule
default CompletableFuture<UpdateFirewallRuleResponse> updateFirewallRule(Consumer<UpdateFirewallRuleRequest.Builder> updateFirewallRuleRequest) Updates the configuration of a DNS firewall rule.
This is a convenience which creates an instance of the
UpdateFirewallRuleRequest.Builderavoiding the need to create one manually viaUpdateFirewallRuleRequest.builder()- Parameters:
updateFirewallRuleRequest- AConsumerthat will call methods onUpdateFirewallRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFirewallRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGlobalResolver
default CompletableFuture<UpdateGlobalResolverResponse> updateGlobalResolver(UpdateGlobalResolverRequest updateGlobalResolverRequest) Updates the configuration of a Route 53 Global Resolver instance. You can modify the name, description, and observability region.
- Parameters:
updateGlobalResolverRequest-- Returns:
- A Java Future containing the result of the UpdateGlobalResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGlobalResolver
default CompletableFuture<UpdateGlobalResolverResponse> updateGlobalResolver(Consumer<UpdateGlobalResolverRequest.Builder> updateGlobalResolverRequest) Updates the configuration of a Route 53 Global Resolver instance. You can modify the name, description, and observability region.
This is a convenience which creates an instance of the
UpdateGlobalResolverRequest.Builderavoiding the need to create one manually viaUpdateGlobalResolverRequest.builder()- Parameters:
updateGlobalResolverRequest- AConsumerthat will call methods onUpdateGlobalResolverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateGlobalResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateHostedZoneAssociation
default CompletableFuture<UpdateHostedZoneAssociationResponse> updateHostedZoneAssociation(UpdateHostedZoneAssociationRequest updateHostedZoneAssociationRequest) Updates the configuration of a hosted zone association.
- Parameters:
updateHostedZoneAssociationRequest-- Returns:
- A Java Future containing the result of the UpdateHostedZoneAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateHostedZoneAssociation
default CompletableFuture<UpdateHostedZoneAssociationResponse> updateHostedZoneAssociation(Consumer<UpdateHostedZoneAssociationRequest.Builder> updateHostedZoneAssociationRequest) Updates the configuration of a hosted zone association.
This is a convenience which creates an instance of the
UpdateHostedZoneAssociationRequest.Builderavoiding the need to create one manually viaUpdateHostedZoneAssociationRequest.builder()- Parameters:
updateHostedZoneAssociationRequest- AConsumerthat will call methods onUpdateHostedZoneAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateHostedZoneAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal server error occurred. Try again later.
- ValidationException The input parameters are invalid. Check the parameter values and try again.
- ConflictException The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
- AccessDeniedException You don't have permission to perform this operation. Check your IAM permissions and try again.
- ThrottlingException The request was throttled due to too many requests. Wait a moment and try again.
- ResourceNotFoundException The specified resource was not found. Verify the resource ID and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53GlobalResolverException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aRoute53GlobalResolverAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aRoute53GlobalResolverAsyncClient.
-