Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Route53Resolver

import { Route53Resolver } from "https://aws-api.deno.dev/v0.4/services/route53resolver.ts?docs=full";
class Route53Resolver {
constructor(apiFactory: client.ApiFactory);
async associateFirewallRuleGroup(params: AssociateFirewallRuleGroupRequest, opts?: client.RequestOptions): Promise<AssociateFirewallRuleGroupResponse>;
async associateResolverEndpointIpAddress(params: AssociateResolverEndpointIpAddressRequest, opts?: client.RequestOptions): Promise<AssociateResolverEndpointIpAddressResponse>;
async associateResolverQueryLogConfig(params: AssociateResolverQueryLogConfigRequest, opts?: client.RequestOptions): Promise<AssociateResolverQueryLogConfigResponse>;
async associateResolverRule(params: AssociateResolverRuleRequest, opts?: client.RequestOptions): Promise<AssociateResolverRuleResponse>;
async createFirewallDomainList(params: CreateFirewallDomainListRequest, opts?: client.RequestOptions): Promise<CreateFirewallDomainListResponse>;
async createFirewallRule(params: CreateFirewallRuleRequest, opts?: client.RequestOptions): Promise<CreateFirewallRuleResponse>;
async createFirewallRuleGroup(params: CreateFirewallRuleGroupRequest, opts?: client.RequestOptions): Promise<CreateFirewallRuleGroupResponse>;
async createResolverEndpoint(params: CreateResolverEndpointRequest, opts?: client.RequestOptions): Promise<CreateResolverEndpointResponse>;
async createResolverQueryLogConfig(params: CreateResolverQueryLogConfigRequest, opts?: client.RequestOptions): Promise<CreateResolverQueryLogConfigResponse>;
async createResolverRule(params: CreateResolverRuleRequest, opts?: client.RequestOptions): Promise<CreateResolverRuleResponse>;
async deleteFirewallDomainList(params: DeleteFirewallDomainListRequest, opts?: client.RequestOptions): Promise<DeleteFirewallDomainListResponse>;
async deleteFirewallRule(params: DeleteFirewallRuleRequest, opts?: client.RequestOptions): Promise<DeleteFirewallRuleResponse>;
async deleteFirewallRuleGroup(params: DeleteFirewallRuleGroupRequest, opts?: client.RequestOptions): Promise<DeleteFirewallRuleGroupResponse>;
async deleteResolverEndpoint(params: DeleteResolverEndpointRequest, opts?: client.RequestOptions): Promise<DeleteResolverEndpointResponse>;
async deleteResolverQueryLogConfig(params: DeleteResolverQueryLogConfigRequest, opts?: client.RequestOptions): Promise<DeleteResolverQueryLogConfigResponse>;
async deleteResolverRule(params: DeleteResolverRuleRequest, opts?: client.RequestOptions): Promise<DeleteResolverRuleResponse>;
async disassociateFirewallRuleGroup(params: DisassociateFirewallRuleGroupRequest, opts?: client.RequestOptions): Promise<DisassociateFirewallRuleGroupResponse>;
async disassociateResolverEndpointIpAddress(params: DisassociateResolverEndpointIpAddressRequest, opts?: client.RequestOptions): Promise<DisassociateResolverEndpointIpAddressResponse>;
async disassociateResolverQueryLogConfig(params: DisassociateResolverQueryLogConfigRequest, opts?: client.RequestOptions): Promise<DisassociateResolverQueryLogConfigResponse>;
async disassociateResolverRule(params: DisassociateResolverRuleRequest, opts?: client.RequestOptions): Promise<DisassociateResolverRuleResponse>;
async getFirewallConfig(params: GetFirewallConfigRequest, opts?: client.RequestOptions): Promise<GetFirewallConfigResponse>;
async getFirewallDomainList(params: GetFirewallDomainListRequest, opts?: client.RequestOptions): Promise<GetFirewallDomainListResponse>;
async getFirewallRuleGroup(params: GetFirewallRuleGroupRequest, opts?: client.RequestOptions): Promise<GetFirewallRuleGroupResponse>;
async getFirewallRuleGroupAssociation(params: GetFirewallRuleGroupAssociationRequest, opts?: client.RequestOptions): Promise<GetFirewallRuleGroupAssociationResponse>;
async getFirewallRuleGroupPolicy(params: GetFirewallRuleGroupPolicyRequest, opts?: client.RequestOptions): Promise<GetFirewallRuleGroupPolicyResponse>;
async getResolverConfig(params: GetResolverConfigRequest, opts?: client.RequestOptions): Promise<GetResolverConfigResponse>;
async getResolverDnssecConfig(params: GetResolverDnssecConfigRequest, opts?: client.RequestOptions): Promise<GetResolverDnssecConfigResponse>;
async getResolverEndpoint(params: GetResolverEndpointRequest, opts?: client.RequestOptions): Promise<GetResolverEndpointResponse>;
async getResolverQueryLogConfig(params: GetResolverQueryLogConfigRequest, opts?: client.RequestOptions): Promise<GetResolverQueryLogConfigResponse>;
async getResolverQueryLogConfigAssociation(params: GetResolverQueryLogConfigAssociationRequest, opts?: client.RequestOptions): Promise<GetResolverQueryLogConfigAssociationResponse>;
async getResolverQueryLogConfigPolicy(params: GetResolverQueryLogConfigPolicyRequest, opts?: client.RequestOptions): Promise<GetResolverQueryLogConfigPolicyResponse>;
async getResolverRule(params: GetResolverRuleRequest, opts?: client.RequestOptions): Promise<GetResolverRuleResponse>;
async getResolverRuleAssociation(params: GetResolverRuleAssociationRequest, opts?: client.RequestOptions): Promise<GetResolverRuleAssociationResponse>;
async getResolverRulePolicy(params: GetResolverRulePolicyRequest, opts?: client.RequestOptions): Promise<GetResolverRulePolicyResponse>;
async importFirewallDomains(params: ImportFirewallDomainsRequest, opts?: client.RequestOptions): Promise<ImportFirewallDomainsResponse>;
async listFirewallConfigs(params?: ListFirewallConfigsRequest, opts?: client.RequestOptions): Promise<ListFirewallConfigsResponse>;
async listFirewallDomainLists(params?: ListFirewallDomainListsRequest, opts?: client.RequestOptions): Promise<ListFirewallDomainListsResponse>;
async listFirewallDomains(params: ListFirewallDomainsRequest, opts?: client.RequestOptions): Promise<ListFirewallDomainsResponse>;
async listFirewallRuleGroupAssociations(params?: ListFirewallRuleGroupAssociationsRequest, opts?: client.RequestOptions): Promise<ListFirewallRuleGroupAssociationsResponse>;
async listFirewallRuleGroups(params?: ListFirewallRuleGroupsRequest, opts?: client.RequestOptions): Promise<ListFirewallRuleGroupsResponse>;
async listFirewallRules(params: ListFirewallRulesRequest, opts?: client.RequestOptions): Promise<ListFirewallRulesResponse>;
async listResolverConfigs(params?: ListResolverConfigsRequest, opts?: client.RequestOptions): Promise<ListResolverConfigsResponse>;
async listResolverDnssecConfigs(params?: ListResolverDnssecConfigsRequest, opts?: client.RequestOptions): Promise<ListResolverDnssecConfigsResponse>;
async listResolverEndpointIpAddresses(params: ListResolverEndpointIpAddressesRequest, opts?: client.RequestOptions): Promise<ListResolverEndpointIpAddressesResponse>;
async listResolverEndpoints(params?: ListResolverEndpointsRequest, opts?: client.RequestOptions): Promise<ListResolverEndpointsResponse>;
async listResolverQueryLogConfigAssociations(params?: ListResolverQueryLogConfigAssociationsRequest, opts?: client.RequestOptions): Promise<ListResolverQueryLogConfigAssociationsResponse>;
async listResolverQueryLogConfigs(params?: ListResolverQueryLogConfigsRequest, opts?: client.RequestOptions): Promise<ListResolverQueryLogConfigsResponse>;
async listResolverRuleAssociations(params?: ListResolverRuleAssociationsRequest, opts?: client.RequestOptions): Promise<ListResolverRuleAssociationsResponse>;
async listResolverRules(params?: ListResolverRulesRequest, opts?: client.RequestOptions): Promise<ListResolverRulesResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async putFirewallRuleGroupPolicy(params: PutFirewallRuleGroupPolicyRequest, opts?: client.RequestOptions): Promise<PutFirewallRuleGroupPolicyResponse>;
async putResolverQueryLogConfigPolicy(params: PutResolverQueryLogConfigPolicyRequest, opts?: client.RequestOptions): Promise<PutResolverQueryLogConfigPolicyResponse>;
async putResolverRulePolicy(params: PutResolverRulePolicyRequest, opts?: client.RequestOptions): Promise<PutResolverRulePolicyResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateFirewallConfig(params: UpdateFirewallConfigRequest, opts?: client.RequestOptions): Promise<UpdateFirewallConfigResponse>;
async updateFirewallDomains(params: UpdateFirewallDomainsRequest, opts?: client.RequestOptions): Promise<UpdateFirewallDomainsResponse>;
async updateFirewallRule(params: UpdateFirewallRuleRequest, opts?: client.RequestOptions): Promise<UpdateFirewallRuleResponse>;
async updateFirewallRuleGroupAssociation(params: UpdateFirewallRuleGroupAssociationRequest, opts?: client.RequestOptions): Promise<UpdateFirewallRuleGroupAssociationResponse>;
async updateResolverConfig(params: UpdateResolverConfigRequest, opts?: client.RequestOptions): Promise<UpdateResolverConfigResponse>;
async updateResolverDnssecConfig(params: UpdateResolverDnssecConfigRequest, opts?: client.RequestOptions): Promise<UpdateResolverDnssecConfigResponse>;
async updateResolverEndpoint(params: UpdateResolverEndpointRequest, opts?: client.RequestOptions): Promise<UpdateResolverEndpointResponse>;
async updateResolverRule(params: UpdateResolverRuleRequest, opts?: client.RequestOptions): Promise<UpdateResolverRuleResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Route53Resolver(apiFactory: client.ApiFactory)
[src]

§Methods

§

Associates a "FirewallRuleGroup" with a VPC, to provide DNS filtering for the VPC.

§

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.

§

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.

Note: 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.

§

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.

§

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".

§

Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.

§

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".

§

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.
§

Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration.

To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig. For more information, see AssociateResolverQueryLogConfig.

You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration.

§

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.

§

Deletes the specified domain list.

§

Deletes the specified firewall rule.

§

Deletes the specified firewall rule group.

§

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.
§

Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration.

Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig.

If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.

§

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.

§

Disassociates a "FirewallRuleGroup" from a VPC, to remove DNS filtering from the VPC.

§

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.

§

Disassociates a VPC from a query logging configuration.

Note: Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways: - The accounts that you shared the configuration with can disassociate VPCs from the configuration. - You can stop sharing the configuration.

§

Removes the association between a specified Resolver rule and a specified VPC.

! IMPORTANT: ! 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.

§

Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).

§

Retrieves the specified firewall domain list.

§

Retrieves the specified firewall rule group.

§

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.

§

Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).

§

Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.

§

Gets DNSSEC validation information for a specified resource.

§

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.

§

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.

§

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.

§

Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.

§

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.

§

Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule.

§

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.

§

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.
§

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.

§

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.

§

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.

§

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.

§

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.

§

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.

§

Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.

§

Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.

§

Gets the IP addresses for a specified Resolver endpoint.

§

Lists all the Resolver endpoints that were created using the current Amazon Web Services account.

§

Lists information about associations between Amazon VPCs and query logging configurations.

§

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.

§

Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.

§

Lists the Resolver rules that were created using the current Amazon Web Services account.

§

Lists the tags that you associated with the specified resource.

§

Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).

§

Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.

§

Specifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Adds one or more tags to a specified resource.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes one or more tags from a specified resource.

§

Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).

§

Updates the firewall domain list from an array of domain specifications.

§

Updates the specified firewall rule.

§

Changes the association of a "FirewallRuleGroup" with a VPC. The association enables DNS filtering for the VPC.

§

Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.

§

Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.

§

Updates the name of an inbound or an outbound Resolver endpoint.

§

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.

§Static Properties