com.amazonaws.services.route53resolver.AmazonRoute53Resolver Maven / Gradle / Ivy
Show all versions of aws-java-sdk-route53resolver Show documentation
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.route53resolver;
import javax.annotation.Generated;
import com.amazonaws.*;
import com.amazonaws.regions.*;
import com.amazonaws.services.route53resolver.model.*;
/**
* Interface for accessing Route53Resolver.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.route53resolver.AbstractAmazonRoute53Resolver} instead.
*
*
*
* When you create a VPC using Amazon VPC, you automatically get DNS resolution within the VPC from Route 53 Resolver.
* By default, Resolver answers DNS queries for VPC domain names such as domain names for EC2 instances or Elastic Load
* Balancing load balancers. Resolver performs recursive lookups against public name servers for all other domain names.
*
*
* You can also configure DNS resolution between your VPC and your network over a Direct Connect or VPN connection:
*
*
* Forward DNS queries from resolvers on your network to Route 53 Resolver
*
*
* DNS resolvers on your network can forward DNS queries to Resolver in a specified VPC. This allows your DNS resolvers
* to easily resolve domain names for AWS resources such as EC2 instances or records in a Route 53 private hosted zone.
* For more information, see How DNS Resolvers on Your Network Forward DNS Queries to Route 53 Resolver in the Amazon Route 53 Developer
* Guide.
*
*
* Conditionally forward queries from a VPC to resolvers on your network
*
*
* You can configure Resolver to forward queries that it receives from EC2 instances in your VPCs to DNS resolvers on
* your network. To forward selected queries, you create Resolver rules that specify the domain names for the DNS
* queries that you want to forward (such as example.com), and the IP addresses of the DNS resolvers on your network
* that you want to forward the queries to. If a query matches multiple rules (example.com, acme.example.com), Resolver
* chooses the rule with the most specific match (acme.example.com) and forwards the query to the IP addresses that you
* specified in that rule. For more information, see How Route 53 Resolver Forwards DNS Queries from Your VPCs to Your Network in the Amazon Route 53 Developer
* Guide.
*
*
* Like Amazon VPC, Resolver is Regional. In each Region where you have VPCs, you can choose whether to forward queries
* from your VPCs to your network (outbound queries), from your network to your VPCs (inbound queries), or both.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonRoute53Resolver {
/**
* The region metadata service name for computing region endpoints. You can use this value to retrieve metadata
* (such as supported regions) of the service.
*
* @see RegionUtils#getRegionsForService(String)
*/
String ENDPOINT_PREFIX = "route53resolver";
/**
*
* Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
*
*
* @param associateFirewallRuleGroupRequest
* @return Result of the AssociateFirewallRuleGroup operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ValidationException
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws ConflictException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.AssociateFirewallRuleGroup
* @see AWS API Documentation
*/
AssociateFirewallRuleGroupResult associateFirewallRuleGroup(AssociateFirewallRuleGroupRequest associateFirewallRuleGroupRequest);
/**
*
* Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address,
* submit one AssociateResolverEndpointIpAddress
request for each IP address.
*
*
* To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
*
*
* @param associateResolverEndpointIpAddressRequest
* @return Result of the AssociateResolverEndpointIpAddress operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws ResourceExistsException
* The resource that you tried to create already exists.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.AssociateResolverEndpointIpAddress
* @see AWS API Documentation
*/
AssociateResolverEndpointIpAddressResult associateResolverEndpointIpAddress(
AssociateResolverEndpointIpAddressRequest associateResolverEndpointIpAddressRequest);
/**
*
* Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that
* originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To
* associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig
request
* for each VPC.
*
*
*
* The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.
*
*
*
* To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.
*
*
* @param associateResolverQueryLogConfigRequest
* @return Result of the AssociateResolverQueryLogConfig operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidRequestException
* The request is invalid.
* @throws ResourceExistsException
* The resource that you tried to create already exists.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.AssociateResolverQueryLogConfig
* @see AWS API Documentation
*/
AssociateResolverQueryLogConfigResult associateResolverQueryLogConfig(AssociateResolverQueryLogConfigRequest associateResolverQueryLogConfigRequest);
/**
*
* Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries
* for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the
* IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.
*
*
* @param associateResolverRuleRequest
* @return Result of the AssociateResolverRule operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidRequestException
* The request is invalid.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws ResourceUnavailableException
* The specified resource isn't available.
* @throws ResourceExistsException
* The resource that you tried to create already exists.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.AssociateResolverRule
* @see AWS API Documentation
*/
AssociateResolverRuleResult associateResolverRule(AssociateResolverRuleRequest associateResolverRuleRequest);
/**
*
* Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new
* list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.
*
*
* @param createFirewallDomainListRequest
* @return Result of the CreateFirewallDomainList operation returned by the service.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.CreateFirewallDomainList
* @see AWS API Documentation
*/
CreateFirewallDomainListResult createFirewallDomainList(CreateFirewallDomainListRequest createFirewallDomainListRequest);
/**
*
* Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.
*
*
* @param createFirewallRuleRequest
* @return Result of the CreateFirewallRule operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ValidationException
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.CreateFirewallRule
* @see AWS API Documentation
*/
CreateFirewallRuleResult createFirewallRule(CreateFirewallRuleRequest createFirewallRuleRequest);
/**
*
* Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new
* rule group by calling CreateFirewallRule.
*
*
* @param createFirewallRuleGroupRequest
* @return Result of the CreateFirewallRuleGroup operation returned by the service.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.CreateFirewallRuleGroup
* @see AWS API Documentation
*/
CreateFirewallRuleGroupResult createFirewallRuleGroup(CreateFirewallRuleGroupRequest createFirewallRuleGroupRequest);
/**
*
* Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound:
*
*
* -
*
* An inbound Resolver endpoint forwards DNS queries to the DNS service for a VPC from your network.
*
*
* -
*
* An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.
*
*
*
*
* @param createResolverEndpointRequest
* @return Result of the CreateResolverEndpoint operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidRequestException
* The request is invalid.
* @throws ResourceExistsException
* The resource that you tried to create already exists.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.CreateResolverEndpoint
* @see AWS API Documentation
*/
CreateResolverEndpointResult createResolverEndpoint(CreateResolverEndpointRequest createResolverEndpointRequest);
/**
*
* Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that
* originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging
* configuration.
*
*
* To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig
. For more
* information, see AssociateResolverQueryLogConfig.
*
*
* You can optionally use AWS Resource Access Manager (AWS RAM) to share a query logging configuration with other
* AWS accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver
* creates for a configuration include all DNS queries that originate in all VPCs that are associated with the
* configuration.
*
*
* @param createResolverQueryLogConfigRequest
* @return Result of the CreateResolverQueryLogConfig operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidRequestException
* The request is invalid.
* @throws ResourceExistsException
* The resource that you tried to create already exists.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.CreateResolverQueryLogConfig
* @see AWS API Documentation
*/
CreateResolverQueryLogConfigResult createResolverQueryLogConfig(CreateResolverQueryLogConfigRequest createResolverQueryLogConfigRequest);
/**
*
* For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through, one
* domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.
*
*
* @param createResolverRuleRequest
* @return Result of the CreateResolverRule operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ResourceExistsException
* The resource that you tried to create already exists.
* @throws ResourceUnavailableException
* The specified resource isn't available.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.CreateResolverRule
* @see AWS API Documentation
*/
CreateResolverRuleResult createResolverRule(CreateResolverRuleRequest createResolverRuleRequest);
/**
*
* Deletes the specified domain list.
*
*
* @param deleteFirewallDomainListRequest
* @return Result of the DeleteFirewallDomainList operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ConflictException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.DeleteFirewallDomainList
* @see AWS API Documentation
*/
DeleteFirewallDomainListResult deleteFirewallDomainList(DeleteFirewallDomainListRequest deleteFirewallDomainListRequest);
/**
*
* Deletes the specified firewall rule.
*
*
* @param deleteFirewallRuleRequest
* @return Result of the DeleteFirewallRule operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.DeleteFirewallRule
* @see AWS API Documentation
*/
DeleteFirewallRuleResult deleteFirewallRule(DeleteFirewallRuleRequest deleteFirewallRuleRequest);
/**
*
* Deletes the specified firewall rule group.
*
*
* @param deleteFirewallRuleGroupRequest
* @return Result of the DeleteFirewallRuleGroup operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ConflictException
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.DeleteFirewallRuleGroup
* @see AWS API Documentation
*/
DeleteFirewallRuleGroupResult deleteFirewallRuleGroup(DeleteFirewallRuleGroupRequest deleteFirewallRuleGroupRequest);
/**
*
* Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends on whether it's an inbound or an
* outbound Resolver endpoint:
*
*
* -
*
* Inbound: DNS queries from your network are no longer routed to the DNS service for the specified VPC.
*
*
* -
*
* Outbound: DNS queries from a VPC are no longer routed to your network.
*
*
*
*
* @param deleteResolverEndpointRequest
* @return Result of the DeleteResolverEndpoint operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.DeleteResolverEndpoint
* @see AWS API Documentation
*/
DeleteResolverEndpointResult deleteResolverEndpoint(DeleteResolverEndpointRequest deleteResolverEndpointRequest);
/**
*
* Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for
* all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging
* configuration is shared with other AWS accounts, and the other accounts have associated VPCs with the shared
* configuration.
*
*
* Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration.
* See DisassociateResolverQueryLogConfig.
*
*
* If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must
* stop sharing the configuration before you can delete a configuration. The accounts that you shared the
* configuration with can first disassociate VPCs that they associated with the configuration, but that's not
* necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the
* configuration.
*
*
* @param deleteResolverQueryLogConfigRequest
* @return Result of the DeleteResolverQueryLogConfig operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.DeleteResolverQueryLogConfig
* @see AWS API Documentation
*/
DeleteResolverQueryLogConfigResult deleteResolverQueryLogConfig(DeleteResolverQueryLogConfigRequest deleteResolverQueryLogConfigRequest);
/**
*
* Deletes a Resolver rule. Before you can delete a Resolver rule, you must disassociate it from all the VPCs that
* you associated the Resolver rule with. For more information, see DisassociateResolverRule.
*
*
* @param deleteResolverRuleRequest
* @return Result of the DeleteResolverRule operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ResourceInUseException
* The resource that you tried to update or delete is currently in use.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.DeleteResolverRule
* @see AWS API Documentation
*/
DeleteResolverRuleResult deleteResolverRule(DeleteResolverRuleRequest deleteResolverRuleRequest);
/**
*
* Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.
*
*
* @param disassociateFirewallRuleGroupRequest
* @return Result of the DisassociateFirewallRuleGroup operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws ConflictException
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.DisassociateFirewallRuleGroup
* @see AWS API Documentation
*/
DisassociateFirewallRuleGroupResult disassociateFirewallRuleGroup(DisassociateFirewallRuleGroupRequest disassociateFirewallRuleGroupRequest);
/**
*
* Removes IP addresses from an inbound or an outbound Resolver endpoint. If you want to remove more than one IP
* address, submit one DisassociateResolverEndpointIpAddress
request for each IP address.
*
*
* To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.
*
*
* @param disassociateResolverEndpointIpAddressRequest
* @return Result of the DisassociateResolverEndpointIpAddress operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws ResourceExistsException
* The resource that you tried to create already exists.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.DisassociateResolverEndpointIpAddress
* @see AWS API Documentation
*/
DisassociateResolverEndpointIpAddressResult disassociateResolverEndpointIpAddress(
DisassociateResolverEndpointIpAddressRequest disassociateResolverEndpointIpAddressRequest);
/**
*
* Disassociates a VPC from a query logging configuration.
*
*
*
* Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration.
* If you used AWS Resource Access Manager (AWS RAM) to share a query logging configuration with other accounts,
* VPCs can be disassociated from the configuration in the following ways:
*
*
* -
*
* The accounts that you shared the configuration with can disassociate VPCs from the configuration.
*
*
* -
*
* You can stop sharing the configuration.
*
*
*
*
*
* @param disassociateResolverQueryLogConfigRequest
* @return Result of the DisassociateResolverQueryLogConfig operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.DisassociateResolverQueryLogConfig
* @see AWS API Documentation
*/
DisassociateResolverQueryLogConfigResult disassociateResolverQueryLogConfig(
DisassociateResolverQueryLogConfigRequest disassociateResolverQueryLogConfigRequest);
/**
*
* Removes the association between a specified Resolver rule and a specified VPC.
*
*
*
* If you disassociate a Resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that
* you specified in the Resolver rule.
*
*
*
* @param disassociateResolverRuleRequest
* @return Result of the DisassociateResolverRule operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.DisassociateResolverRule
* @see AWS API Documentation
*/
DisassociateResolverRuleResult disassociateResolverRule(DisassociateResolverRuleRequest disassociateResolverRuleRequest);
/**
*
* Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon
* Virtual Private Cloud (Amazon VPC).
*
*
* @param getFirewallConfigRequest
* @return Result of the GetFirewallConfig operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws ValidationException
* @sample AmazonRoute53Resolver.GetFirewallConfig
* @see AWS API Documentation
*/
GetFirewallConfigResult getFirewallConfig(GetFirewallConfigRequest getFirewallConfigRequest);
/**
*
* Retrieves the specified firewall domain list.
*
*
* @param getFirewallDomainListRequest
* @return Result of the GetFirewallDomainList operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.GetFirewallDomainList
* @see AWS API Documentation
*/
GetFirewallDomainListResult getFirewallDomainList(GetFirewallDomainListRequest getFirewallDomainListRequest);
/**
*
* Retrieves the specified firewall rule group.
*
*
* @param getFirewallRuleGroupRequest
* @return Result of the GetFirewallRuleGroup operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.GetFirewallRuleGroup
* @see AWS API Documentation
*/
GetFirewallRuleGroupResult getFirewallRuleGroup(GetFirewallRuleGroupRequest getFirewallRuleGroupRequest);
/**
*
* Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can
* have more than one firewall rule group association, and a rule group can be associated with more than one VPC.
*
*
* @param getFirewallRuleGroupAssociationRequest
* @return Result of the GetFirewallRuleGroupAssociation operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.GetFirewallRuleGroupAssociation
* @see AWS API Documentation
*/
GetFirewallRuleGroupAssociationResult getFirewallRuleGroupAssociation(GetFirewallRuleGroupAssociationRequest getFirewallRuleGroupAssociationRequest);
/**
*
* Returns the AWS Identity and Access Management (AWS IAM) policy for sharing the specified rule group. You can use
* the policy to share the rule group using AWS Resource Access Manager (AWS RAM).
*
*
* @param getFirewallRuleGroupPolicyRequest
* @return Result of the GetFirewallRuleGroupPolicy operation returned by the service.
* @throws ValidationException
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.GetFirewallRuleGroupPolicy
* @see AWS API Documentation
*/
GetFirewallRuleGroupPolicyResult getFirewallRuleGroupPolicy(GetFirewallRuleGroupPolicyRequest getFirewallRuleGroupPolicyRequest);
/**
*
* Gets DNSSEC validation information for a specified resource.
*
*
* @param getResolverDnssecConfigRequest
* @return Result of the GetResolverDnssecConfig operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidRequestException
* The request is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.GetResolverDnssecConfig
* @see AWS API Documentation
*/
GetResolverDnssecConfigResult getResolverDnssecConfig(GetResolverDnssecConfigRequest getResolverDnssecConfigRequest);
/**
*
* Gets information about a specified Resolver endpoint, such as whether it's an inbound or an outbound Resolver
* endpoint, and the current status of the endpoint.
*
*
* @param getResolverEndpointRequest
* @return Result of the GetResolverEndpoint operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.GetResolverEndpoint
* @see AWS API Documentation
*/
GetResolverEndpointResult getResolverEndpoint(GetResolverEndpointRequest getResolverEndpointRequest);
/**
*
* Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the
* configuration is logging queries for and the location that logs are sent to.
*
*
* @param getResolverQueryLogConfigRequest
* @return Result of the GetResolverQueryLogConfig operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidRequestException
* The request is invalid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.GetResolverQueryLogConfig
* @see AWS API Documentation
*/
GetResolverQueryLogConfigResult getResolverQueryLogConfig(GetResolverQueryLogConfigRequest getResolverQueryLogConfigRequest);
/**
*
* Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC.
* When you associate a VPC with a query logging configuration, Resolver logs DNS queries that originate in that
* VPC.
*
*
* @param getResolverQueryLogConfigAssociationRequest
* @return Result of the GetResolverQueryLogConfigAssociation operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidRequestException
* The request is invalid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.GetResolverQueryLogConfigAssociation
* @see AWS API Documentation
*/
GetResolverQueryLogConfigAssociationResult getResolverQueryLogConfigAssociation(
GetResolverQueryLogConfigAssociationRequest getResolverQueryLogConfigAssociationRequest);
/**
*
* Gets information about a query logging policy. A query logging policy specifies the Resolver query logging
* operations and resources that you want to allow another AWS account to be able to use.
*
*
* @param getResolverQueryLogConfigPolicyRequest
* @return Result of the GetResolverQueryLogConfigPolicy operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws UnknownResourceException
* The specified resource doesn't exist.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.GetResolverQueryLogConfigPolicy
* @see AWS API Documentation
*/
GetResolverQueryLogConfigPolicyResult getResolverQueryLogConfigPolicy(GetResolverQueryLogConfigPolicyRequest getResolverQueryLogConfigPolicyRequest);
/**
*
* Gets information about a specified Resolver rule, such as the domain name that the rule forwards DNS queries for
* and the ID of the outbound Resolver endpoint that the rule is associated with.
*
*
* @param getResolverRuleRequest
* @return Result of the GetResolverRule operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.GetResolverRule
* @see AWS API Documentation
*/
GetResolverRuleResult getResolverRule(GetResolverRuleRequest getResolverRuleRequest);
/**
*
* Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule
* and a VPC using AssociateResolverRule.
*
*
* @param getResolverRuleAssociationRequest
* @return Result of the GetResolverRuleAssociation operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.GetResolverRuleAssociation
* @see AWS API Documentation
*/
GetResolverRuleAssociationResult getResolverRuleAssociation(GetResolverRuleAssociationRequest getResolverRuleAssociationRequest);
/**
*
* Gets information about the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule
* that you want to share with another account, the account that you want to share the rule with, and the Resolver
* operations that you want to allow the account to use.
*
*
* @param getResolverRulePolicyRequest
* @return Result of the GetResolverRulePolicy operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws UnknownResourceException
* The specified resource doesn't exist.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @sample AmazonRoute53Resolver.GetResolverRulePolicy
* @see AWS API Documentation
*/
GetResolverRulePolicyResult getResolverRulePolicy(GetResolverRulePolicyRequest getResolverRulePolicyRequest);
/**
*
* Imports domain names from a file into a domain list, for use in a DNS firewall rule group.
*
*
* Each domain specification in your domain list must satisfy the following requirements:
*
*
* -
*
* It can optionally start with *
(asterisk).
*
*
* -
*
* With the exception of the optional starting asterisk, it must only contain the following characters:
* A-Z
, a-z
, 0-9
, -
(hyphen).
*
*
* -
*
* It must be from 1-255 characters in length.
*
*
*
*
* @param importFirewallDomainsRequest
* @return Result of the ImportFirewallDomains operation returned by the service.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws ConflictException
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ImportFirewallDomains
* @see AWS API Documentation
*/
ImportFirewallDomainsResult importFirewallDomains(ImportFirewallDomainsRequest importFirewallDomainsRequest);
/**
*
* Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage
* firewall behavior for your VPCs.
*
*
* A single call might return only a partial list of the configurations. For information, see
* MaxResults
.
*
*
* @param listFirewallConfigsRequest
* @return Result of the ListFirewallConfigs operation returned by the service.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListFirewallConfigs
* @see AWS API Documentation
*/
ListFirewallConfigsResult listFirewallConfigs(ListFirewallConfigsRequest listFirewallConfigsRequest);
/**
*
* Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the
* domains that are defined for a list by calling ListFirewallDomains.
*
*
* A single call to this list operation might return only a partial list of the domain lists. For information, see
* MaxResults
.
*
*
* @param listFirewallDomainListsRequest
* @return Result of the ListFirewallDomainLists operation returned by the service.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListFirewallDomainLists
* @see AWS API Documentation
*/
ListFirewallDomainListsResult listFirewallDomainLists(ListFirewallDomainListsRequest listFirewallDomainListsRequest);
/**
*
* Retrieves the domains that you have defined for the specified firewall domain list.
*
*
* A single call might return only a partial list of the domains. For information, see MaxResults
.
*
*
* @param listFirewallDomainsRequest
* @return Result of the ListFirewallDomains operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListFirewallDomains
* @see AWS API Documentation
*/
ListFirewallDomainsResult listFirewallDomains(ListFirewallDomainsRequest listFirewallDomainsRequest);
/**
*
* Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for
* a VPC with one rule group.
*
*
* A single call might return only a partial list of the associations. For information, see MaxResults
.
*
*
* @param listFirewallRuleGroupAssociationsRequest
* @return Result of the ListFirewallRuleGroupAssociations operation returned by the service.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListFirewallRuleGroupAssociations
* @see AWS API Documentation
*/
ListFirewallRuleGroupAssociationsResult listFirewallRuleGroupAssociations(ListFirewallRuleGroupAssociationsRequest listFirewallRuleGroupAssociationsRequest);
/**
*
* Retrieves the minimal high-level information for the rule groups that you have defined.
*
*
* A single call might return only a partial list of the rule groups. For information, see MaxResults
.
*
*
* @param listFirewallRuleGroupsRequest
* @return Result of the ListFirewallRuleGroups operation returned by the service.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListFirewallRuleGroups
* @see AWS API Documentation
*/
ListFirewallRuleGroupsResult listFirewallRuleGroups(ListFirewallRuleGroupsRequest listFirewallRuleGroupsRequest);
/**
*
* Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the
* rules in a rule group to filter DNS network traffic for a VPC.
*
*
* A single call might return only a partial list of the rules. For information, see MaxResults
.
*
*
* @param listFirewallRulesRequest
* @return Result of the ListFirewallRules operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListFirewallRules
* @see AWS API Documentation
*/
ListFirewallRulesResult listFirewallRules(ListFirewallRulesRequest listFirewallRulesRequest);
/**
*
* Lists the configurations for DNSSEC validation that are associated with the current AWS account.
*
*
* @param listResolverDnssecConfigsRequest
* @return Result of the ListResolverDnssecConfigs operation returned by the service.
* @throws InvalidNextTokenException
* The value that you specified for NextToken
in a List
request isn't valid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.ListResolverDnssecConfigs
* @see AWS API Documentation
*/
ListResolverDnssecConfigsResult listResolverDnssecConfigs(ListResolverDnssecConfigsRequest listResolverDnssecConfigsRequest);
/**
*
* Gets the IP addresses for a specified Resolver endpoint.
*
*
* @param listResolverEndpointIpAddressesRequest
* @return Result of the ListResolverEndpointIpAddresses operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws InvalidNextTokenException
* The value that you specified for NextToken
in a List
request isn't valid.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListResolverEndpointIpAddresses
* @see AWS API Documentation
*/
ListResolverEndpointIpAddressesResult listResolverEndpointIpAddresses(ListResolverEndpointIpAddressesRequest listResolverEndpointIpAddressesRequest);
/**
*
* Lists all the Resolver endpoints that were created using the current AWS account.
*
*
* @param listResolverEndpointsRequest
* @return Result of the ListResolverEndpoints operation returned by the service.
* @throws InvalidNextTokenException
* The value that you specified for NextToken
in a List
request isn't valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListResolverEndpoints
* @see AWS API Documentation
*/
ListResolverEndpointsResult listResolverEndpoints(ListResolverEndpointsRequest listResolverEndpointsRequest);
/**
*
* Lists information about associations between Amazon VPCs and query logging configurations.
*
*
* @param listResolverQueryLogConfigAssociationsRequest
* @return Result of the ListResolverQueryLogConfigAssociations operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.ListResolverQueryLogConfigAssociations
* @see AWS API Documentation
*/
ListResolverQueryLogConfigAssociationsResult listResolverQueryLogConfigAssociations(
ListResolverQueryLogConfigAssociationsRequest listResolverQueryLogConfigAssociationsRequest);
/**
*
* Lists information about the specified query logging configurations. Each configuration defines where you want
* Resolver to save DNS query logs and specifies the VPCs that you want to log queries for.
*
*
* @param listResolverQueryLogConfigsRequest
* @return Result of the ListResolverQueryLogConfigs operation returned by the service.
* @throws InvalidNextTokenException
* The value that you specified for NextToken
in a List
request isn't valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.ListResolverQueryLogConfigs
* @see AWS API Documentation
*/
ListResolverQueryLogConfigsResult listResolverQueryLogConfigs(ListResolverQueryLogConfigsRequest listResolverQueryLogConfigsRequest);
/**
*
* Lists the associations that were created between Resolver rules and VPCs using the current AWS account.
*
*
* @param listResolverRuleAssociationsRequest
* @return Result of the ListResolverRuleAssociations operation returned by the service.
* @throws InvalidNextTokenException
* The value that you specified for NextToken
in a List
request isn't valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListResolverRuleAssociations
* @see AWS API Documentation
*/
ListResolverRuleAssociationsResult listResolverRuleAssociations(ListResolverRuleAssociationsRequest listResolverRuleAssociationsRequest);
/**
*
* Lists the Resolver rules that were created using the current AWS account.
*
*
* @param listResolverRulesRequest
* @return Result of the ListResolverRules operation returned by the service.
* @throws InvalidNextTokenException
* The value that you specified for NextToken
in a List
request isn't valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListResolverRules
* @see AWS API Documentation
*/
ListResolverRulesResult listResolverRules(ListResolverRulesRequest listResolverRulesRequest);
/**
*
* Lists the tags that you associated with the specified resource.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidNextTokenException
* The value that you specified for NextToken
in a List
request isn't valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.ListTagsForResource
* @see AWS API Documentation
*/
ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Attaches an AWS Identity and Access Management (AWS IAM) policy for sharing the rule group. You can use the
* policy to share the rule group using AWS Resource Access Manager (AWS RAM).
*
*
* @param putFirewallRuleGroupPolicyRequest
* @return Result of the PutFirewallRuleGroupPolicy operation returned by the service.
* @throws ValidationException
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.PutFirewallRuleGroupPolicy
* @see AWS API Documentation
*/
PutFirewallRuleGroupPolicyResult putFirewallRuleGroupPolicy(PutFirewallRuleGroupPolicyRequest putFirewallRuleGroupPolicyRequest);
/**
*
* Specifies an AWS account that you want to share a query logging configuration with, the query logging
* configuration that you want to share, and the operations that you want the account to be able to perform on the
* configuration.
*
*
* @param putResolverQueryLogConfigPolicyRequest
* @return Result of the PutResolverQueryLogConfigPolicy operation returned by the service.
* @throws InvalidPolicyDocumentException
* The specified Resolver rule policy is invalid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws UnknownResourceException
* The specified resource doesn't exist.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.PutResolverQueryLogConfigPolicy
* @see AWS API Documentation
*/
PutResolverQueryLogConfigPolicyResult putResolverQueryLogConfigPolicy(PutResolverQueryLogConfigPolicyRequest putResolverQueryLogConfigPolicyRequest);
/**
*
* Specifies an AWS rule that you want to share with another account, the account that you want to share the rule
* with, and the operations that you want the account to be able to perform on the rule.
*
*
* @param putResolverRulePolicyRequest
* @return Result of the PutResolverRulePolicy operation returned by the service.
* @throws InvalidPolicyDocumentException
* The specified Resolver rule policy is invalid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws UnknownResourceException
* The specified resource doesn't exist.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @sample AmazonRoute53Resolver.PutResolverRulePolicy
* @see AWS API Documentation
*/
PutResolverRulePolicyResult putResolverRulePolicy(PutResolverRulePolicyRequest putResolverRulePolicyRequest);
/**
*
* Adds one or more tags to a specified resource.
*
*
* @param tagResourceRequest
* @return Result of the TagResource operation returned by the service.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InvalidTagException
* The specified tag is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.TagResource
* @see AWS
* API Documentation
*/
TagResourceResult tagResource(TagResourceRequest tagResourceRequest);
/**
*
* Removes one or more tags from a specified resource.
*
*
* @param untagResourceRequest
* @return Result of the UntagResource operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.UntagResource
* @see AWS
* API Documentation
*/
UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest);
/**
*
* Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual
* Private Cloud (Amazon VPC).
*
*
* @param updateFirewallConfigRequest
* @return Result of the UpdateFirewallConfig operation returned by the service.
* @throws ValidationException
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.UpdateFirewallConfig
* @see AWS API Documentation
*/
UpdateFirewallConfigResult updateFirewallConfig(UpdateFirewallConfigRequest updateFirewallConfigRequest);
/**
*
* Updates the firewall domain list from an array of domain specifications.
*
*
* @param updateFirewallDomainsRequest
* @return Result of the UpdateFirewallDomains operation returned by the service.
* @throws ValidationException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws ConflictException
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.UpdateFirewallDomains
* @see AWS API Documentation
*/
UpdateFirewallDomainsResult updateFirewallDomains(UpdateFirewallDomainsRequest updateFirewallDomainsRequest);
/**
*
* Updates the specified firewall rule.
*
*
* @param updateFirewallRuleRequest
* @return Result of the UpdateFirewallRule operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ValidationException
* @throws ConflictException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.UpdateFirewallRule
* @see AWS API Documentation
*/
UpdateFirewallRuleResult updateFirewallRule(UpdateFirewallRuleRequest updateFirewallRuleRequest);
/**
*
* Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the
* VPC.
*
*
* @param updateFirewallRuleGroupAssociationRequest
* @return Result of the UpdateFirewallRuleGroupAssociation operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ValidationException
* @throws ConflictException
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.UpdateFirewallRuleGroupAssociation
* @see AWS API Documentation
*/
UpdateFirewallRuleGroupAssociationResult updateFirewallRuleGroupAssociation(
UpdateFirewallRuleGroupAssociationRequest updateFirewallRuleGroupAssociationRequest);
/**
*
* Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one
* is created.
*
*
* @param updateResolverDnssecConfigRequest
* @return Result of the UpdateResolverDnssecConfig operation returned by the service.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidRequestException
* The request is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @throws AccessDeniedException
* The current account doesn't have the IAM permissions required to perform the specified Resolver
* operation.
* @sample AmazonRoute53Resolver.UpdateResolverDnssecConfig
* @see AWS API Documentation
*/
UpdateResolverDnssecConfigResult updateResolverDnssecConfig(UpdateResolverDnssecConfigRequest updateResolverDnssecConfigRequest);
/**
*
* Updates the name of an inbound or an outbound Resolver endpoint.
*
*
* @param updateResolverEndpointRequest
* @return Result of the UpdateResolverEndpoint operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws InvalidRequestException
* The request is invalid.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.UpdateResolverEndpoint
* @see AWS API Documentation
*/
UpdateResolverEndpointResult updateResolverEndpoint(UpdateResolverEndpointRequest updateResolverEndpointRequest);
/**
*
* Updates settings for a specified Resolver rule. ResolverRuleId
is required, and all other parameters
* are optional. If you don't specify a parameter, it retains its current value.
*
*
* @param updateResolverRuleRequest
* @return Result of the UpdateResolverRule operation returned by the service.
* @throws InvalidRequestException
* The request is invalid.
* @throws InvalidParameterException
* One or more parameters in this request are not valid.
* @throws ResourceNotFoundException
* The specified resource doesn't exist.
* @throws ResourceUnavailableException
* The specified resource isn't available.
* @throws LimitExceededException
* The request caused one or more limits to be exceeded.
* @throws InternalServiceErrorException
* We encountered an unknown error. Try again in a few minutes.
* @throws ThrottlingException
* The request was throttled. Try again in a few minutes.
* @sample AmazonRoute53Resolver.UpdateResolverRule
* @see AWS API Documentation
*/
UpdateResolverRuleResult updateResolverRule(UpdateResolverRuleRequest updateResolverRuleRequest);
/**
* Shuts down this client object, releasing any resources that might be held open. This is an optional method, and
* callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client
* has been shutdown, it should not be used to make any more requests.
*/
void shutdown();
/**
* Returns additional metadata for a previously executed successful request, typically used for debugging issues
* where a service isn't acting as expected. This data isn't considered part of the result data returned by an
* operation, so it's available through this separate, diagnostic interface.
*
* Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
* information for an executed request, you should use this method to retrieve it as soon as possible after
* executing a request.
*
* @param request
* The originally executed request.
*
* @return The response metadata for the specified request, or null if none is available.
*/
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request);
}