Class: Aws::Route53Resolver::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Route53Resolver::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-route53resolver/client.rb
Overview
An API client for Route53Resolver. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::Route53Resolver::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#associate_firewall_rule_group(params = {}) ⇒ Types::AssociateFirewallRuleGroupResponse
Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
-
#associate_resolver_endpoint_ip_address(params = {}) ⇒ Types::AssociateResolverEndpointIpAddressResponse
Adds IP addresses to an inbound or an outbound Resolver endpoint.
-
#associate_resolver_query_log_config(params = {}) ⇒ Types::AssociateResolverQueryLogConfigResponse
Associates an Amazon VPC with a specified query logging configuration.
-
#associate_resolver_rule(params = {}) ⇒ Types::AssociateResolverRuleResponse
Associates a Resolver rule with a VPC.
-
#create_firewall_domain_list(params = {}) ⇒ Types::CreateFirewallDomainListResponse
Creates an empty firewall domain list for use in DNS Firewall rules.
-
#create_firewall_rule(params = {}) ⇒ Types::CreateFirewallRuleResponse
Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.
-
#create_firewall_rule_group(params = {}) ⇒ Types::CreateFirewallRuleGroupResponse
Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC.
-
#create_outpost_resolver(params = {}) ⇒ Types::CreateOutpostResolverResponse
Creates a Route 53 Resolver on an Outpost.
-
#create_resolver_endpoint(params = {}) ⇒ Types::CreateResolverEndpointResponse
Creates a Resolver endpoint.
-
#create_resolver_query_log_config(params = {}) ⇒ Types::CreateResolverQueryLogConfigResponse
Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs.
-
#create_resolver_rule(params = {}) ⇒ Types::CreateResolverRuleResponse
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.
-
#delete_firewall_domain_list(params = {}) ⇒ Types::DeleteFirewallDomainListResponse
Deletes the specified domain list.
-
#delete_firewall_rule(params = {}) ⇒ Types::DeleteFirewallRuleResponse
Deletes the specified firewall rule.
-
#delete_firewall_rule_group(params = {}) ⇒ Types::DeleteFirewallRuleGroupResponse
Deletes the specified firewall rule group.
-
#delete_outpost_resolver(params = {}) ⇒ Types::DeleteOutpostResolverResponse
Deletes a Resolver on the Outpost.
-
#delete_resolver_endpoint(params = {}) ⇒ Types::DeleteResolverEndpointResponse
Deletes a Resolver endpoint.
-
#delete_resolver_query_log_config(params = {}) ⇒ Types::DeleteResolverQueryLogConfigResponse
Deletes a query logging configuration.
-
#delete_resolver_rule(params = {}) ⇒ Types::DeleteResolverRuleResponse
Deletes a Resolver rule.
-
#disassociate_firewall_rule_group(params = {}) ⇒ Types::DisassociateFirewallRuleGroupResponse
Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.
-
#disassociate_resolver_endpoint_ip_address(params = {}) ⇒ Types::DisassociateResolverEndpointIpAddressResponse
Removes IP addresses from an inbound or an outbound Resolver endpoint.
-
#disassociate_resolver_query_log_config(params = {}) ⇒ Types::DisassociateResolverQueryLogConfigResponse
Disassociates a VPC from a query logging configuration.
-
#disassociate_resolver_rule(params = {}) ⇒ Types::DisassociateResolverRuleResponse
Removes the association between a specified Resolver rule and a specified VPC.
-
#get_firewall_config(params = {}) ⇒ Types::GetFirewallConfigResponse
Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
-
#get_firewall_domain_list(params = {}) ⇒ Types::GetFirewallDomainListResponse
Retrieves the specified firewall domain list.
-
#get_firewall_rule_group(params = {}) ⇒ Types::GetFirewallRuleGroupResponse
Retrieves the specified firewall rule group.
-
#get_firewall_rule_group_association(params = {}) ⇒ Types::GetFirewallRuleGroupAssociationResponse
Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group.
-
#get_firewall_rule_group_policy(params = {}) ⇒ Types::GetFirewallRuleGroupPolicyResponse
Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group.
-
#get_outpost_resolver(params = {}) ⇒ Types::GetOutpostResolverResponse
Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.
-
#get_resolver_config(params = {}) ⇒ Types::GetResolverConfigResponse
Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
-
#get_resolver_dnssec_config(params = {}) ⇒ Types::GetResolverDnssecConfigResponse
Gets DNSSEC validation information for a specified resource.
-
#get_resolver_endpoint(params = {}) ⇒ Types::GetResolverEndpointResponse
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.
-
#get_resolver_query_log_config(params = {}) ⇒ Types::GetResolverQueryLogConfigResponse
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.
-
#get_resolver_query_log_config_association(params = {}) ⇒ Types::GetResolverQueryLogConfigAssociationResponse
Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC.
-
#get_resolver_query_log_config_policy(params = {}) ⇒ Types::GetResolverQueryLogConfigPolicyResponse
Gets information about a query logging policy.
-
#get_resolver_rule(params = {}) ⇒ Types::GetResolverRuleResponse
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.
-
#get_resolver_rule_association(params = {}) ⇒ Types::GetResolverRuleAssociationResponse
Gets information about an association between a specified Resolver rule and a VPC.
-
#get_resolver_rule_policy(params = {}) ⇒ Types::GetResolverRulePolicyResponse
Gets information about the Resolver rule policy for a specified rule.
-
#import_firewall_domains(params = {}) ⇒ Types::ImportFirewallDomainsResponse
Imports domain names from a file into a domain list, for use in a DNS firewall rule group.
-
#list_firewall_configs(params = {}) ⇒ Types::ListFirewallConfigsResponse
Retrieves the firewall configurations that you have defined.
-
#list_firewall_domain_lists(params = {}) ⇒ Types::ListFirewallDomainListsResponse
Retrieves the firewall domain lists that you have defined.
-
#list_firewall_domains(params = {}) ⇒ Types::ListFirewallDomainsResponse
Retrieves the domains that you have defined for the specified firewall domain list.
-
#list_firewall_rule_group_associations(params = {}) ⇒ Types::ListFirewallRuleGroupAssociationsResponse
Retrieves the firewall rule group associations that you have defined.
-
#list_firewall_rule_groups(params = {}) ⇒ Types::ListFirewallRuleGroupsResponse
Retrieves the minimal high-level information for the rule groups that you have defined.
-
#list_firewall_rules(params = {}) ⇒ Types::ListFirewallRulesResponse
Retrieves the firewall rules that you have defined for the specified firewall rule group.
-
#list_outpost_resolvers(params = {}) ⇒ Types::ListOutpostResolversResponse
Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.
-
#list_resolver_configs(params = {}) ⇒ Types::ListResolverConfigsResponse
Retrieves the Resolver configurations that you have defined.
-
#list_resolver_dnssec_configs(params = {}) ⇒ Types::ListResolverDnssecConfigsResponse
Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.
-
#list_resolver_endpoint_ip_addresses(params = {}) ⇒ Types::ListResolverEndpointIpAddressesResponse
Gets the IP addresses for a specified Resolver endpoint.
-
#list_resolver_endpoints(params = {}) ⇒ Types::ListResolverEndpointsResponse
Lists all the Resolver endpoints that were created using the current Amazon Web Services account.
-
#list_resolver_query_log_config_associations(params = {}) ⇒ Types::ListResolverQueryLogConfigAssociationsResponse
Lists information about associations between Amazon VPCs and query logging configurations.
-
#list_resolver_query_log_configs(params = {}) ⇒ Types::ListResolverQueryLogConfigsResponse
Lists information about the specified query logging configurations.
-
#list_resolver_rule_associations(params = {}) ⇒ Types::ListResolverRuleAssociationsResponse
Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
-
#list_resolver_rules(params = {}) ⇒ Types::ListResolverRulesResponse
Lists the Resolver rules that were created using the current Amazon Web Services account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags that you associated with the specified resource.
-
#put_firewall_rule_group_policy(params = {}) ⇒ Types::PutFirewallRuleGroupPolicyResponse
Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group.
-
#put_resolver_query_log_config_policy(params = {}) ⇒ Types::PutResolverQueryLogConfigPolicyResponse
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.
-
#put_resolver_rule_policy(params = {}) ⇒ Types::PutResolverRulePolicyResponse
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.
-
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to a specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from a specified resource.
-
#update_firewall_config(params = {}) ⇒ Types::UpdateFirewallConfigResponse
Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
-
#update_firewall_domains(params = {}) ⇒ Types::UpdateFirewallDomainsResponse
Updates the firewall domain list from an array of domain specifications.
-
#update_firewall_rule(params = {}) ⇒ Types::UpdateFirewallRuleResponse
Updates the specified firewall rule.
-
#update_firewall_rule_group_association(params = {}) ⇒ Types::UpdateFirewallRuleGroupAssociationResponse
Changes the association of a FirewallRuleGroup with a VPC.
-
#update_outpost_resolver(params = {}) ⇒ Types::UpdateOutpostResolverResponse
You can use ‘UpdateOutpostResolver` to update the instance count, type, or name of a Resolver on an Outpost.
-
#update_resolver_config(params = {}) ⇒ Types::UpdateResolverConfigResponse
Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
-
#update_resolver_dnssec_config(params = {}) ⇒ Types::UpdateResolverDnssecConfigResponse
Updates an existing DNSSEC validation configuration.
-
#update_resolver_endpoint(params = {}) ⇒ Types::UpdateResolverEndpointResponse
Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint.
-
#update_resolver_rule(params = {}) ⇒ Types::UpdateResolverRuleResponse
Updates settings for a specified Resolver rule.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
451 452 453 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 451 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4890 4891 4892 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4890 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4893 4894 4895 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4893 def errors_module Errors end |
Instance Method Details
#associate_firewall_rule_group(params = {}) ⇒ Types::AssociateFirewallRuleGroupResponse
Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
544 545 546 547 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 544 def associate_firewall_rule_group(params = {}, = {}) req = build_request(:associate_firewall_rule_group, params) req.send_request() end |
#associate_resolver_endpoint_ip_address(params = {}) ⇒ Types::AssociateResolverEndpointIpAddressResponse
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].
610 611 612 613 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 610 def associate_resolver_endpoint_ip_address(params = {}, = {}) req = build_request(:associate_resolver_endpoint_ip_address, params) req.send_request() end |
#associate_resolver_query_log_config(params = {}) ⇒ Types::AssociateResolverQueryLogConfigResponse
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 markdown=“1”> The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.
</note>
To remove a VPC from a query logging configuration, see [DisassociateResolverQueryLogConfig].
671 672 673 674 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 671 def associate_resolver_query_log_config(params = {}, = {}) req = build_request(:associate_resolver_query_log_config, params) req.send_request() end |
#associate_resolver_rule(params = {}) ⇒ Types::AssociateResolverRuleResponse
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].
[1]: docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html
727 728 729 730 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 727 def associate_resolver_rule(params = {}, = {}) req = build_request(:associate_resolver_rule, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4863 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::Route53Resolver') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-route53resolver' context[:gem_version] = '1.74.0' Seahorse::Client::Request.new(handlers, context) end |
#create_firewall_domain_list(params = {}) ⇒ Types::CreateFirewallDomainListResponse
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.
787 788 789 790 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 787 def create_firewall_domain_list(params = {}, = {}) req = build_request(:create_firewall_domain_list, params) req.send_request() end |
#create_firewall_rule(params = {}) ⇒ Types::CreateFirewallRuleResponse
Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.
991 992 993 994 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 991 def create_firewall_rule(params = {}, = {}) req = build_request(:create_firewall_rule, params) req.send_request() end |
#create_firewall_rule_group(params = {}) ⇒ Types::CreateFirewallRuleGroupResponse
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.
1050 1051 1052 1053 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1050 def create_firewall_rule_group(params = {}, = {}) req = build_request(:create_firewall_rule_group, params) req.send_request() end |
#create_outpost_resolver(params = {}) ⇒ Types::CreateOutpostResolverResponse
Creates a Route 53 Resolver on an Outpost.
1122 1123 1124 1125 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1122 def create_outpost_resolver(params = {}, = {}) req = build_request(:create_outpost_resolver, params) req.send_request() end |
#create_resolver_endpoint(params = {}) ⇒ Types::CreateResolverEndpointResponse
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.
1286 1287 1288 1289 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1286 def create_resolver_endpoint(params = {}, = {}) req = build_request(:create_resolver_endpoint, params) req.send_request() end |
#create_resolver_query_log_config(params = {}) ⇒ Types::CreateResolverQueryLogConfigResponse
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.
1384 1385 1386 1387 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1384 def create_resolver_query_log_config(params = {}, = {}) req = build_request(:create_resolver_query_log_config, params) req.send_request() end |
#create_resolver_rule(params = {}) ⇒ Types::CreateResolverRuleResponse
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.
1498 1499 1500 1501 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1498 def create_resolver_rule(params = {}, = {}) req = build_request(:create_resolver_rule, params) req.send_request() end |
#delete_firewall_domain_list(params = {}) ⇒ Types::DeleteFirewallDomainListResponse
Deletes the specified domain list.
1535 1536 1537 1538 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1535 def delete_firewall_domain_list(params = {}, = {}) req = build_request(:delete_firewall_domain_list, params) req.send_request() end |
#delete_firewall_rule(params = {}) ⇒ Types::DeleteFirewallRuleResponse
Deletes the specified firewall rule.
1630 1631 1632 1633 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1630 def delete_firewall_rule(params = {}, = {}) req = build_request(:delete_firewall_rule, params) req.send_request() end |
#delete_firewall_rule_group(params = {}) ⇒ Types::DeleteFirewallRuleGroupResponse
Deletes the specified firewall rule group.
1669 1670 1671 1672 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1669 def delete_firewall_rule_group(params = {}, = {}) req = build_request(:delete_firewall_rule_group, params) req.send_request() end |
#delete_outpost_resolver(params = {}) ⇒ Types::DeleteOutpostResolverResponse
Deletes a Resolver on the Outpost.
1707 1708 1709 1710 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1707 def delete_outpost_resolver(params = {}, = {}) req = build_request(:delete_outpost_resolver, params) req.send_request() end |
#delete_resolver_endpoint(params = {}) ⇒ Types::DeleteResolverEndpointResponse
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.
1760 1761 1762 1763 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1760 def delete_resolver_endpoint(params = {}, = {}) req = build_request(:delete_resolver_endpoint, params) req.send_request() end |
#delete_resolver_query_log_config(params = {}) ⇒ Types::DeleteResolverQueryLogConfigResponse
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.
1818 1819 1820 1821 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1818 def delete_resolver_query_log_config(params = {}, = {}) req = build_request(:delete_resolver_query_log_config, params) req.send_request() end |
#delete_resolver_rule(params = {}) ⇒ Types::DeleteResolverRuleResponse
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].
[1]: docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html
1871 1872 1873 1874 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1871 def delete_resolver_rule(params = {}, = {}) req = build_request(:delete_resolver_rule, params) req.send_request() end |
#disassociate_firewall_rule_group(params = {}) ⇒ Types::DisassociateFirewallRuleGroupResponse
Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.
1912 1913 1914 1915 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1912 def disassociate_firewall_rule_group(params = {}, = {}) req = build_request(:disassociate_firewall_rule_group, params) req.send_request() end |
#disassociate_resolver_endpoint_ip_address(params = {}) ⇒ Types::DisassociateResolverEndpointIpAddressResponse
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].
1976 1977 1978 1979 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 1976 def disassociate_resolver_endpoint_ip_address(params = {}, = {}) req = build_request(:disassociate_resolver_endpoint_ip_address, params) req.send_request() end |
#disassociate_resolver_query_log_config(params = {}) ⇒ Types::DisassociateResolverQueryLogConfigResponse
Disassociates a VPC from a query logging configuration.
<note markdown=“1”> 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.
</note>
2029 2030 2031 2032 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2029 def disassociate_resolver_query_log_config(params = {}, = {}) req = build_request(:disassociate_resolver_query_log_config, params) req.send_request() end |
#disassociate_resolver_rule(params = {}) ⇒ Types::DisassociateResolverRuleResponse
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.
2073 2074 2075 2076 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2073 def disassociate_resolver_rule(params = {}, = {}) req = build_request(:disassociate_resolver_rule, params) req.send_request() end |
#get_firewall_config(params = {}) ⇒ Types::GetFirewallConfigResponse
Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
2106 2107 2108 2109 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2106 def get_firewall_config(params = {}, = {}) req = build_request(:get_firewall_config, params) req.send_request() end |
#get_firewall_domain_list(params = {}) ⇒ Types::GetFirewallDomainListResponse
Retrieves the specified firewall domain list.
2143 2144 2145 2146 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2143 def get_firewall_domain_list(params = {}, = {}) req = build_request(:get_firewall_domain_list, params) req.send_request() end |
#get_firewall_rule_group(params = {}) ⇒ Types::GetFirewallRuleGroupResponse
Retrieves the specified firewall rule group.
2181 2182 2183 2184 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2181 def get_firewall_rule_group(params = {}, = {}) req = build_request(:get_firewall_rule_group, params) req.send_request() end |
#get_firewall_rule_group_association(params = {}) ⇒ Types::GetFirewallRuleGroupAssociationResponse
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.
2224 2225 2226 2227 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2224 def get_firewall_rule_group_association(params = {}, = {}) req = build_request(:get_firewall_rule_group_association, params) req.send_request() end |
#get_firewall_rule_group_policy(params = {}) ⇒ Types::GetFirewallRuleGroupPolicyResponse
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).
2254 2255 2256 2257 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2254 def get_firewall_rule_group_policy(params = {}, = {}) req = build_request(:get_firewall_rule_group_policy, params) req.send_request() end |
#get_outpost_resolver(params = {}) ⇒ Types::GetOutpostResolverResponse
Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.
2294 2295 2296 2297 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2294 def get_outpost_resolver(params = {}, = {}) req = build_request(:get_outpost_resolver, params) req.send_request() end |
#get_resolver_config(params = {}) ⇒ Types::GetResolverConfigResponse
Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
2326 2327 2328 2329 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2326 def get_resolver_config(params = {}, = {}) req = build_request(:get_resolver_config, params) req.send_request() end |
#get_resolver_dnssec_config(params = {}) ⇒ Types::GetResolverDnssecConfigResponse
Gets DNSSEC validation information for a specified resource.
2358 2359 2360 2361 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2358 def get_resolver_dnssec_config(params = {}, = {}) req = build_request(:get_resolver_dnssec_config, params) req.send_request() end |
#get_resolver_endpoint(params = {}) ⇒ Types::GetResolverEndpointResponse
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.
2406 2407 2408 2409 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2406 def get_resolver_endpoint(params = {}, = {}) req = build_request(:get_resolver_endpoint, params) req.send_request() end |
#get_resolver_query_log_config(params = {}) ⇒ Types::GetResolverQueryLogConfigResponse
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.
2446 2447 2448 2449 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2446 def get_resolver_query_log_config(params = {}, = {}) req = build_request(:get_resolver_query_log_config, params) req.send_request() end |
#get_resolver_query_log_config_association(params = {}) ⇒ Types::GetResolverQueryLogConfigAssociationResponse
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.
2484 2485 2486 2487 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2484 def get_resolver_query_log_config_association(params = {}, = {}) req = build_request(:get_resolver_query_log_config_association, params) req.send_request() end |
#get_resolver_query_log_config_policy(params = {}) ⇒ Types::GetResolverQueryLogConfigPolicyResponse
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.
2515 2516 2517 2518 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2515 def get_resolver_query_log_config_policy(params = {}, = {}) req = build_request(:get_resolver_query_log_config_policy, params) req.send_request() end |
#get_resolver_rule(params = {}) ⇒ Types::GetResolverRuleResponse
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.
2563 2564 2565 2566 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2563 def get_resolver_rule(params = {}, = {}) req = build_request(:get_resolver_rule, params) req.send_request() end |
#get_resolver_rule_association(params = {}) ⇒ Types::GetResolverRuleAssociationResponse
Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using [AssociateResolverRule].
[1]: docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html
2603 2604 2605 2606 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2603 def get_resolver_rule_association(params = {}, = {}) req = build_request(:get_resolver_rule_association, params) req.send_request() end |
#get_resolver_rule_policy(params = {}) ⇒ Types::GetResolverRulePolicyResponse
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.
2635 2636 2637 2638 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2635 def get_resolver_rule_policy(params = {}, = {}) req = build_request(:get_resolver_rule_policy, params) req.send_request() end |
#import_firewall_domains(params = {}) ⇒ Types::ImportFirewallDomainsResponse
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.
2697 2698 2699 2700 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2697 def import_firewall_domains(params = {}, = {}) req = build_request(:import_firewall_domains, params) req.send_request() end |
#list_firewall_configs(params = {}) ⇒ Types::ListFirewallConfigsResponse
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`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2754 2755 2756 2757 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2754 def list_firewall_configs(params = {}, = {}) req = build_request(:list_firewall_configs, params) req.send_request() end |
#list_firewall_domain_lists(params = {}) ⇒ Types::ListFirewallDomainListsResponse
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`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2812 2813 2814 2815 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2812 def list_firewall_domain_lists(params = {}, = {}) req = build_request(:list_firewall_domain_lists, params) req.send_request() end |
#list_firewall_domains(params = {}) ⇒ Types::ListFirewallDomainsResponse
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`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2869 2870 2871 2872 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2869 def list_firewall_domains(params = {}, = {}) req = build_request(:list_firewall_domains, params) req.send_request() end |
#list_firewall_rule_group_associations(params = {}) ⇒ Types::ListFirewallRuleGroupAssociationsResponse
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`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2959 2960 2961 2962 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 2959 def list_firewall_rule_group_associations(params = {}, = {}) req = build_request(:list_firewall_rule_group_associations, params) req.send_request() end |
#list_firewall_rule_groups(params = {}) ⇒ Types::ListFirewallRuleGroupsResponse
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`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3017 3018 3019 3020 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3017 def list_firewall_rule_groups(params = {}, = {}) req = build_request(:list_firewall_rule_groups, params) req.send_request() end |
#list_firewall_rules(params = {}) ⇒ Types::ListFirewallRulesResponse
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`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3118 3119 3120 3121 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3118 def list_firewall_rules(params = {}, = {}) req = build_request(:list_firewall_rules, params) req.send_request() end |
#list_outpost_resolvers(params = {}) ⇒ Types::ListOutpostResolversResponse
Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3173 3174 3175 3176 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3173 def list_outpost_resolvers(params = {}, = {}) req = build_request(:list_outpost_resolvers, params) req.send_request() end |
#list_resolver_configs(params = {}) ⇒ Types::ListResolverConfigsResponse
Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3226 3227 3228 3229 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3226 def list_resolver_configs(params = {}, = {}) req = build_request(:list_resolver_configs, params) req.send_request() end |
#list_resolver_dnssec_configs(params = {}) ⇒ Types::ListResolverDnssecConfigsResponse
Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3287 3288 3289 3290 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3287 def list_resolver_dnssec_configs(params = {}, = {}) req = build_request(:list_resolver_dnssec_configs, params) req.send_request() end |
#list_resolver_endpoint_ip_addresses(params = {}) ⇒ Types::ListResolverEndpointIpAddressesResponse
Gets the IP addresses for a specified Resolver endpoint.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3346 3347 3348 3349 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3346 def list_resolver_endpoint_ip_addresses(params = {}, = {}) req = build_request(:list_resolver_endpoint_ip_addresses, params) req.send_request() end |
#list_resolver_endpoints(params = {}) ⇒ Types::ListResolverEndpointsResponse
Lists all the Resolver endpoints that were created using the current Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3427 3428 3429 3430 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3427 def list_resolver_endpoints(params = {}, = {}) req = build_request(:list_resolver_endpoints, params) req.send_request() end |
#list_resolver_query_log_config_associations(params = {}) ⇒ Types::ListResolverQueryLogConfigAssociationsResponse
Lists information about associations between Amazon VPCs and query logging configurations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3568 3569 3570 3571 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3568 def list_resolver_query_log_config_associations(params = {}, = {}) req = build_request(:list_resolver_query_log_config_associations, params) req.send_request() end |
#list_resolver_query_log_configs(params = {}) ⇒ Types::ListResolverQueryLogConfigsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3713 3714 3715 3716 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3713 def list_resolver_query_log_configs(params = {}, = {}) req = build_request(:list_resolver_query_log_configs, params) req.send_request() end |
#list_resolver_rule_associations(params = {}) ⇒ Types::ListResolverRuleAssociationsResponse
Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3782 3783 3784 3785 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3782 def list_resolver_rule_associations(params = {}, = {}) req = build_request(:list_resolver_rule_associations, params) req.send_request() end |
#list_resolver_rules(params = {}) ⇒ Types::ListResolverRulesResponse
Lists the Resolver rules that were created using the current Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3864 3865 3866 3867 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3864 def list_resolver_rules(params = {}, = {}) req = build_request(:list_resolver_rules, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags that you associated with the specified resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3914 3915 3916 3917 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3914 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_firewall_rule_group_policy(params = {}) ⇒ Types::PutFirewallRuleGroupPolicyResponse
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).
3950 3951 3952 3953 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 3950 def put_firewall_rule_group_policy(params = {}, = {}) req = build_request(:put_firewall_rule_group_policy, params) req.send_request() end |
#put_resolver_query_log_config_policy(params = {}) ⇒ Types::PutResolverQueryLogConfigPolicyResponse
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.
4000 4001 4002 4003 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4000 def put_resolver_query_log_config_policy(params = {}, = {}) req = build_request(:put_resolver_query_log_config_policy, params) req.send_request() end |
#put_resolver_rule_policy(params = {}) ⇒ Types::PutResolverRulePolicyResponse
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.
4054 4055 4056 4057 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4054 def put_resolver_rule_policy(params = {}, = {}) req = build_request(:put_resolver_rule_policy, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to a specified resource.
4108 4109 4110 4111 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4108 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from a specified resource.
4157 4158 4159 4160 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4157 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_firewall_config(params = {}) ⇒ Types::UpdateFirewallConfigResponse
Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
4207 4208 4209 4210 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4207 def update_firewall_config(params = {}, = {}) req = build_request(:update_firewall_config, params) req.send_request() end |
#update_firewall_domains(params = {}) ⇒ Types::UpdateFirewallDomainsResponse
Updates the firewall domain list from an array of domain specifications.
4272 4273 4274 4275 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4272 def update_firewall_domains(params = {}, = {}) req = build_request(:update_firewall_domains, params) req.send_request() end |
#update_firewall_rule(params = {}) ⇒ Types::UpdateFirewallRuleResponse
Updates the specified firewall rule.
4473 4474 4475 4476 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4473 def update_firewall_rule(params = {}, = {}) req = build_request(:update_firewall_rule, params) req.send_request() end |
#update_firewall_rule_group_association(params = {}) ⇒ Types::UpdateFirewallRuleGroupAssociationResponse
Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.
4537 4538 4539 4540 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4537 def update_firewall_rule_group_association(params = {}, = {}) req = build_request(:update_firewall_rule_group_association, params) req.send_request() end |
#update_outpost_resolver(params = {}) ⇒ Types::UpdateOutpostResolverResponse
You can use ‘UpdateOutpostResolver` to update the instance count, type, or name of a Resolver on an Outpost.
4588 4589 4590 4591 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4588 def update_outpost_resolver(params = {}, = {}) req = build_request(:update_outpost_resolver, params) req.send_request() end |
#update_resolver_config(params = {}) ⇒ Types::UpdateResolverConfigResponse
Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
4645 4646 4647 4648 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4645 def update_resolver_config(params = {}, = {}) req = build_request(:update_resolver_config, params) req.send_request() end |
#update_resolver_dnssec_config(params = {}) ⇒ Types::UpdateResolverDnssecConfigResponse
Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.
4684 4685 4686 4687 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4684 def update_resolver_dnssec_config(params = {}, = {}) req = build_request(:update_resolver_dnssec_config, params) req.send_request() end |
#update_resolver_endpoint(params = {}) ⇒ Types::UpdateResolverEndpointResponse
Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint. You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can’t be updated to other type.
4790 4791 4792 4793 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4790 def update_resolver_endpoint(params = {}, = {}) req = build_request(:update_resolver_endpoint, params) req.send_request() end |
#update_resolver_rule(params = {}) ⇒ Types::UpdateResolverRuleResponse
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.
4854 4855 4856 4857 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4854 def update_resolver_rule(params = {}, = {}) req = build_request(:update_resolver_rule, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4883 4884 4885 |
# File 'lib/aws-sdk-route53resolver/client.rb', line 4883 def waiter_names [] end |