Class: Aws::Route53Resolver::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Route53Resolver::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-route53resolver/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.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
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.
-
#batch_create_firewall_rule(params = {}) ⇒ Types::BatchCreateFirewallRuleResponse
Creates multiple DNS Firewall rules in the specified rule group.
-
#batch_delete_firewall_rule(params = {}) ⇒ Types::BatchDeleteFirewallRuleResponse
Deletes multiple DNS Firewall rules from the specified rule group.
-
#batch_update_firewall_rule(params = {}) ⇒ Types::BatchUpdateFirewallRuleResponse
Updates multiple DNS Firewall rules in the specified rule group.
-
#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.
-
#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_domains(params = {}) ⇒ Types::ListFirewallRuleDomainsResponse
Retrieves the domains of an AutoAllowlist firewall rule.
-
#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_rule_types(params = {}) ⇒ Types::ListFirewallRuleTypesResponse
Retrieves the rule-type variants that can be used in the
FirewallRuleTypefield of CreateFirewallRule and UpdateFirewallRule. -
#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
UpdateOutpostResolverto 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.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
486 487 488 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 486 def initialize(*args) super end |
Instance Method Details
#associate_firewall_rule_group(params = {}) ⇒ Types::AssociateFirewallRuleGroupResponse
Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
If the rule group contains any rule configured with the
PartnerThreatProtection rule type, the calling account must hold an
active Amazon Web Services Marketplace subscription to the named
partner. If the subscription is missing, the association request is
rejected.
585 586 587 588 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 585 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.
655 656 657 658 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 655 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.
To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.
716 717 718 719 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 716 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.
776 777 778 779 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 776 def associate_resolver_rule(params = {}, = {}) req = build_request(:associate_resolver_rule, params) req.send_request() end |
#batch_create_firewall_rule(params = {}) ⇒ Types::BatchCreateFirewallRuleResponse
Creates multiple DNS Firewall rules in the specified rule group.
894 895 896 897 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 894 def batch_create_firewall_rule(params = {}, = {}) req = build_request(:batch_create_firewall_rule, params) req.send_request() end |
#batch_delete_firewall_rule(params = {}) ⇒ Types::BatchDeleteFirewallRuleResponse
Deletes multiple DNS Firewall rules from the specified rule group.
964 965 966 967 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 964 def batch_delete_firewall_rule(params = {}, = {}) req = build_request(:batch_delete_firewall_rule, params) req.send_request() end |
#batch_update_firewall_rule(params = {}) ⇒ Types::BatchUpdateFirewallRuleResponse
Updates multiple DNS Firewall rules in the specified rule group.
1082 1083 1084 1085 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 1082 def batch_update_firewall_rule(params = {}, = {}) req = build_request(:batch_update_firewall_rule, params) req.send_request() 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.
1144 1145 1146 1147 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 1144 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. The rule can use any one of the following match sources, and the chosen source must be supplied through the matching request field — they are mutually exclusive:
FirewallDomainListId— match a customer-managed or Amazon Web Services-managed domain list.DnsThreatProtection— match a built-in DNS Firewall Advanced threat detector (DGA,DNS_TUNNELING, orDICTIONARY_DGA).FirewallRuleType— match one of the rule-type variants:FirewallAdvancedContentCategory,FirewallAdvancedThreatCategory,DnsThreatProtection,PartnerThreatProtection, orAutoAllowlist. ListFirewallRuleTypes returns the first four. ThePartnerThreatProtectionvariant requires an active Amazon Web Services Marketplace subscription to the named partner product.
For rules that require asynchronous provisioning (the
PartnerThreatProtection and AutoAllowlist rule types), the rule's
Status begins at CREATING and transitions to COMPLETE once the
rule is provisioned: for PartnerThreatProtection, when the
marketplace entitlement is verified, and for AutoAllowlist, when DNS
Firewall has read the look-back window of every VPC that uses the rule
group, which can take hours for a rule group that many VPCs use. If
provisioning fails, Status becomes CREATION_FAILED and
StatusMessage contains a human-readable reason; the rule is then
immutable and must be removed with DeleteFirewallRule.
1452 1453 1454 1455 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 1452 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.
1511 1512 1513 1514 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 1511 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.
1589 1590 1591 1592 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 1589 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.
1848 1849 1850 1851 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 1848 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.
1946 1947 1948 1949 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 1946 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.
2079 2080 2081 2082 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2079 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.
2118 2119 2120 2121 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2118 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. Identify the rule using either
FirewallDomainListId (for domain-list and DNS Firewall Advanced
rules) or FirewallThreatProtectionId (for partner-managed and DNS
Firewall Advanced rules) — together with FirewallRuleGroupId.
DeleteFirewallRule is the only operation that succeeds against a
rule whose Status is CREATION_FAILED.
2229 2230 2231 2232 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2229 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.
2268 2269 2270 2271 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2268 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.
2314 2315 2316 2317 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2314 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.
2371 2372 2373 2374 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2371 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.
2429 2430 2431 2432 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2429 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.
2483 2484 2485 2486 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2483 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.
2524 2525 2526 2527 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2524 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.
2592 2593 2594 2595 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2592 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.
The accounts that you shared the configuration with can disassociate VPCs from the configuration.
You can stop sharing the configuration.
2645 2646 2647 2648 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2645 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.
2689 2690 2691 2692 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2689 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).
2722 2723 2724 2725 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2722 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.
2765 2766 2767 2768 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2765 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.
2803 2804 2805 2806 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2803 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.
2846 2847 2848 2849 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2846 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).
2876 2877 2878 2879 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2876 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.
2916 2917 2918 2919 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2916 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.
2948 2949 2950 2951 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2948 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.
2980 2981 2982 2983 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 2980 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.
3032 3033 3034 3035 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3032 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.
3072 3073 3074 3075 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3072 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.
3110 3111 3112 3113 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3110 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.
3141 3142 3143 3144 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3141 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.
3190 3191 3192 3193 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3190 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.
3230 3231 3232 3233 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3230 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.
3262 3263 3264 3265 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3262 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.
You can't import into an AutoAllowlist rule's managed domain list.
To seed such a list, specify ImportFromFirewallDomainListId when you
create the rule.
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.
3328 3329 3330 3331 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3328 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.
3385 3386 3387 3388 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3385 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.
3448 3449 3450 3451 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3448 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.
3505 3506 3507 3508 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3505 def list_firewall_domains(params = {}, = {}) req = build_request(:list_firewall_domains, params) req.send_request() end |
#list_firewall_rule_domains(params = {}) ⇒ Types::ListFirewallRuleDomainsResponse
Retrieves the domains of an AutoAllowlist firewall rule. Only the
owner of the rule group can call this operation. Results are
paginated. Use MaxResults and NextToken to retrieve additional
domains.
Identify the rule by FirewallThreatProtectionId to get the domains
that DNS Firewall observed in the VPCs that use the rule group,
through a rule group association or through a Route 53 Profile that
includes the rule group, including VPCs in other accounts. Each domain
is returned with its DomainStatus and request counts. Use
QueryOptions to filter and sort the results.
Identify the rule's managed domain list by FirewallDomainListId to
get the domains that the rule currently allows. For any other domain
list, use ListFirewallDomains.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3593 3594 3595 3596 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3593 def list_firewall_rule_domains(params = {}, = {}) req = build_request(:list_firewall_rule_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.
3683 3684 3685 3686 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3683 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.
3741 3742 3743 3744 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3741 def list_firewall_rule_groups(params = {}, = {}) req = build_request(:list_firewall_rule_groups, params) req.send_request() end |
#list_firewall_rule_types(params = {}) ⇒ Types::ListFirewallRuleTypesResponse
Retrieves the rule-type variants that can be used in the
FirewallRuleType field of CreateFirewallRule and UpdateFirewallRule.
Each returned FirewallRuleTypeDefinition identifies one variant +
value combination — for example, FirewallAdvancedContentCategory +
VIOLENCE_AND_HATE_SPEECH, or PartnerThreatProtection + a
partner-managed feed.
The supported RuleType filter values are
FirewallAdvancedContentCategory, FirewallAdvancedThreatCategory,
DnsThreatProtection, and PartnerThreatProtection. When a returned
definition's variant requires an external subscription (currently
only PartnerThreatProtection), the response also includes a
SubscriptionInfo identifying the Amazon Web Services Marketplace
product that backs it; absence of SubscriptionInfo means the variant
is fully managed by Amazon Web Services and requires no separate
subscription.
This operation doesn't return the AutoAllowlist variant. Configure
an AutoAllowlist rule with AutoAllowlistConfig.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3817 3818 3819 3820 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3817 def list_firewall_rule_types(params = {}, = {}) req = build_request(:list_firewall_rule_types, 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.
For rules that require asynchronous provisioning, the response
includes Status (see FirewallRule) and, on failure, StatusMessage
with the reason.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3932 3933 3934 3935 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3932 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.
3987 3988 3989 3990 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 3987 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.
4040 4041 4042 4043 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4040 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.
4101 4102 4103 4104 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4101 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.
4160 4161 4162 4163 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4160 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.
4245 4246 4247 4248 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4245 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.
4386 4387 4388 4389 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4386 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.
4531 4532 4533 4534 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4531 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.
4600 4601 4602 4603 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4600 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.
4683 4684 4685 4686 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4683 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.
4733 4734 4735 4736 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4733 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).
4769 4770 4771 4772 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4769 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.
4819 4820 4821 4822 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4819 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.
4873 4874 4875 4876 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4873 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.
4927 4928 4929 4930 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4927 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.
4976 4977 4978 4979 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 4976 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).
5026 5027 5028 5029 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 5026 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.
For an AutoAllowlist rule's managed domain list, use ADD to approve
observed domains, REMOVE to stop allowing domains, unless a wildcard
entry that's still on the list matches them, and DENY to dismiss
observed domains. REPLACE and ImportFirewallDomains aren't
supported for these lists.
DNS Firewall throttles UpdateFirewallDomains requests based on both
the request rate and the total number of domains across your requests.
Best Practice for Updating Domain Lists
If you only need to modify a subset of domains, use the ADD or
REMOVE operations instead of REPLACE. With REPLACE, you send the
complete list you want to end up with, and throttling counts every
domain in that request, including domains that aren't changing, which
can use up your available throttling capacity.
5118 5119 5120 5121 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 5118 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. The rule's FirewallRuleType,
FirewallDomainListId, and top-level DnsThreatProtection match
source cannot be changed after creation. Rules whose Status is
CREATING or CREATION_FAILED cannot be updated; remove a failed
rule with DeleteFirewallRule.
5395 5396 5397 5398 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 5395 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.
5459 5460 5461 5462 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 5459 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.
5516 5517 5518 5519 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 5516 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.
5573 5574 5575 5576 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 5573 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.
5612 5613 5614 5615 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 5612 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.
5788 5789 5790 5791 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 5788 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.
5853 5854 5855 5856 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb', line 5853 def update_resolver_rule(params = {}, = {}) req = build_request(:update_resolver_rule, params) req.send_request() end |